nixbot

builds

succeeded libretro-melonds-0-unstable-2026-11-15 checks.x86_64-linux.nixos-bob · build #162 · raw

unpackPhase
1unpacking source archive /nix/store/4hfvsa73khp1n8aqzmwsihl7w33pc85h-source2source root is source
configurePhase
3no configure script, doing nothing
buildPhase
4build flags: -j4 SHELL=/nix/store/hasnvc0j36gg6qrdsfcx7yivx3c2bpqr-bash-5.3p20/bin/bash platform=unix ARCH=x86_645/nix/store/hasnvc0j36gg6qrdsfcx7yivx3c2bpqr-bash-5.3p20/bin/bash: line 1: git: command not found6gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/xxhash/xxhash.o src/xxhash/xxhash.c7gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/tiny-AES-c/aes.o src/tiny-AES-c/aes.c8gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/fatfs/diskio.o src/fatfs/diskio.c9gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/fatfs/ff.o src/fatfs/ff.c10src/fatfs/diskio.c: In function 'disk_write':11src/fatfs/diskio.c:106:28: warning: passing argument 1 of 'WriteCb' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]12 106 | UINT res = WriteCb(buff, sector, count);13 | ^~~~14src/fatfs/diskio.c:106:28: note: expected 'BYTE *' {aka 'unsigned char *'} but argument is of type 'const BYTE *' {aka 'const unsigned char *'}15gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/fatfs/ffsystem.o src/fatfs/ffsystem.c16gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/fatfs/ffunicode.o src/fatfs/ffunicode.c17gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/sha1/sha1.o src/sha1/sha1.c18gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/streams/memory_stream.o src/libretro/libretro-common/streams/memory_stream.c19gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/compat/compat_strl.o src/libretro/libretro-common/compat/compat_strl.c20gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/compat/fopen_utf8.o src/libretro/libretro-common/compat/fopen_utf8.c21gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/compat/compat_posix_string.o src/libretro/libretro-common/compat/compat_posix_string.c22gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/compat/compat_strcasestr.o src/libretro/libretro-common/compat/compat_strcasestr.c23gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/encodings/encoding_utf.o src/libretro/libretro-common/encodings/encoding_utf.c24gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/file/file_path.o src/libretro/libretro-common/file/file_path.c25gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/streams/file_stream.o src/libretro/libretro-common/streams/file_stream.c26gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/streams/file_stream_transforms.o src/libretro/libretro-common/streams/file_stream_transforms.c27gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/string/stdstring.o src/libretro/libretro-common/string/stdstring.c28gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/vfs/vfs_implementation.o src/libretro/libretro-common/vfs/vfs_implementation.c29src/libretro/libretro-common/vfs/vfs_implementation.c: In function 'retro_vfs_file_open_impl':30src/libretro/libretro-common/vfs/vfs_implementation.c:287:36: warning: unused variable 'path_len' [-Wunused-variable]31 287 | int path_len = (int)strlen(path);32 | ^~~~~~~~33gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/glsm/glsm.o src/libretro/libretro-common/glsm/glsm.c34gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/glsym/rglgen.o src/libretro/libretro-common/glsym/rglgen.c35gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/glsym/glsym_gl.o src/libretro/libretro-common/glsym/glsym_gl.c36gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/rthreads/rthreads.o src/libretro/libretro-common/rthreads/rthreads.c37gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro-common/rthreads/rsemaphore.o src/libretro/libretro-common/rthreads/rsemaphore.c38g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/NDS.o src/NDS.cpp39g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/AREngine.o src/AREngine.cpp40g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARCodeFile.o src/ARCodeFile.cpp41g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARM.o src/ARM.cpp42g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARMInterpreter.o src/ARMInterpreter.cpp43src/ARM.cpp: In member function 'virtual void ARMv4::JumpTo(u32, bool)':44src/ARM.cpp:326:9: warning: unused variable 'oldregion' [-Wunused-variable]45 326 | u32 oldregion = R[15] >> 23;46 | ^~~~~~~~~47src/ARM.cpp:327:9: warning: unused variable 'newregion' [-Wunused-variable]48 327 | u32 newregion = addr >> 23;49 | ^~~~~~~~~50g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARMInterpreter_ALU.o src/ARMInterpreter_ALU.cpp51src/NDS.cpp: In function 'bool NDS::DoSavestate_Scheduler(Savestate*)':52src/NDS.cpp:702:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]53 702 | if (j == funcid) break;54 | ~~^~~~~~~~~55src/NDS.cpp: In function 'void NDS::DivDone(u32)':56src/NDS.cpp:1732:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]57 1732 | *(s64*)&DivRemainder[0] = num;58 | ^~~~~~~~~~~~~~~~~~~~~~59src/NDS.cpp:1734:26: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'unsigned int' [-Wsign-compare]60 1734 | else if (num == -0x80000000 && den == -1)61 | ~~~~^~~~~~~~~~~~~~62src/NDS.cpp:1736:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]63 1736 | *(s64*)&DivQuotient[0] = 0x80000000;64 | ^~~~~~~~~~~~~~~~~~~~~65src/NDS.cpp:1740:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]66 1740 | *(s64*)&DivQuotient[0] = (s64)(num / den);67 | ^~~~~~~~~~~~~~~~~~~~~68src/NDS.cpp:1741:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]69 1741 | *(s64*)&DivRemainder[0] = (s64)(num % den);70 | ^~~~~~~~~~~~~~~~~~~~~~71src/NDS.cpp:1749:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]72 1749 | s64 num = *(s64*)&DivNumerator[0];73 | ^~~~~~~~~~~~~~~~~~~~~~74src/NDS.cpp:1753:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]75 1753 | *(s64*)&DivQuotient[0] = (num<0) ? 1:-1;76 | ^~~~~~~~~~~~~~~~~~~~~77src/NDS.cpp:1754:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]78 1754 | *(s64*)&DivRemainder[0] = num;79 | ^~~~~~~~~~~~~~~~~~~~~~80src/NDS.cpp:1756:26: warning: comparison of integer expressions of different signedness: 's64' {aka 'long int'} and 'long unsigned int' [-Wsign-compare]81 1756 | else if (num == -0x8000000000000000 && den == -1)82 | ~~~~^~~~~~~~~~~~~~~~~~~~~~83src/NDS.cpp:1758:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]84 1758 | *(s64*)&DivQuotient[0] = 0x8000000000000000;85 | ^~~~~~~~~~~~~~~~~~~~~86src/NDS.cpp:1759:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]87 1759 | *(s64*)&DivRemainder[0] = 0;88 | ^~~~~~~~~~~~~~~~~~~~~~89src/NDS.cpp:1763:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]90 1763 | *(s64*)&DivQuotient[0] = (s64)(num / den);91 | ^~~~~~~~~~~~~~~~~~~~~92src/NDS.cpp:1764:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]93 1764 | *(s64*)&DivRemainder[0] = (s64)(num % den);94 | ^~~~~~~~~~~~~~~~~~~~~~95src/NDS.cpp:1771:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]96 1771 | s64 num = *(s64*)&DivNumerator[0];97 | ^~~~~~~~~~~~~~~~~~~~~~98src/NDS.cpp:1772:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]99 1772 | s64 den = *(s64*)&DivDenominator[0];100 | ^~~~~~~~~~~~~~~~~~~~~~~~101src/NDS.cpp:1775:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]102 1775 | *(s64*)&DivQuotient[0] = (num<0) ? 1:-1;103 | ^~~~~~~~~~~~~~~~~~~~~104src/NDS.cpp:1776:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]105 1776 | *(s64*)&DivRemainder[0] = num;106 | ^~~~~~~~~~~~~~~~~~~~~~107src/NDS.cpp:1778:26: warning: comparison of integer expressions of different signedness: 's64' {aka 'long int'} and 'long unsigned int' [-Wsign-compare]108 1778 | else if (num == -0x8000000000000000 && den == -1)109 | ~~~~^~~~~~~~~~~~~~~~~~~~~~110src/NDS.cpp:1780:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]111 1780 | *(s64*)&DivQuotient[0] = 0x8000000000000000;112 | ^~~~~~~~~~~~~~~~~~~~~113src/NDS.cpp:1781:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]114 1781 | *(s64*)&DivRemainder[0] = 0;115 | ^~~~~~~~~~~~~~~~~~~~~~116src/NDS.cpp:1785:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]117 1785 | *(s64*)&DivQuotient[0] = (s64)(num / den);118 | ^~~~~~~~~~~~~~~~~~~~~119src/NDS.cpp:1786:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]120 1786 | *(s64*)&DivRemainder[0] = (s64)(num % den);121 | ^~~~~~~~~~~~~~~~~~~~~~122src/NDS.cpp: In function 'void NDS::SqrtDone(u32)':123src/NDS.cpp:1816:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]124 1816 | val = *(u64*)&SqrtVal[0];125 | ^~~~~~~~~~~~~~~~~126src/NDS.cpp: In function 'u16 NDS::ARM9IORead16(u32)':127src/NDS.cpp:2878:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]128 2878 | case 0x040000E0: return ((u16*)DMA9Fill)[0];129 | ~^~~~~~~~~~~~~~~130g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARMInterpreter_Branch.o src/ARMInterpreter_Branch.cpp131g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARMInterpreter_LoadStore.o src/ARMInterpreter_LoadStore.cpp132g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/CP15.o src/CP15.cpp133src/NDS.cpp: In function 'u64 NDS::GetSysClockCycles(int)':134src/NDS.cpp:1432:12: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized]135 1432 | return ret;136 | ^~~137src/NDS.cpp:1410:9: note: 'ret' was declared here138 1410 | u64 ret;139 | ^~~140g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/CRC32.o src/CRC32.cpp141g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DMA.o src/DMA.cpp142g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DSi.o src/DSi.cpp143src/ARMInterpreter_LoadStore.cpp: In function 'void ARMInterpreter::A_LDM(ARM*)':144src/ARMInterpreter_LoadStore.cpp:456:36: warning: 'wbbase' may be used uninitialized [-Wmaybe-uninitialized]145 456 | cpu->R[baseid] = wbbase;146 | ~~~~~~~~~~~~~~~^~~~~~~~147src/ARMInterpreter_LoadStore.cpp:391:9: note: 'wbbase' was declared here148 391 | u32 wbbase;149 | ^~~~~~150g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DSi_AES.o src/DSi_AES.cpp151g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DSi_Camera.o src/DSi_Camera.cpp152g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DSi_DSP.o src/DSi_DSP.cpp153src/DSi.cpp: In function 'void DSi::DecryptModcryptArea(u32, u32, u8*)':154src/DSi.cpp:240:21: warning: variable 'binarysize' set but not used [-Wunused-but-set-variable=]155 240 | u32 binaryaddr, binarysize;156 | ^~~~~~~~~~157src/DSi.cpp: In function 'void DSi::MapNWRAM_B(u32, u8)':158src/DSi.cpp:973:18: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]159 973 | if (part == num)160 | ~~~~~^~~~~~161src/DSi.cpp: In function 'void DSi::MapNWRAM_C(u32, u8)':162src/DSi.cpp:1028:18: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]163 1028 | if (part == num)164 | ~~~~~^~~~~~165src/DSi.cpp: In function 'void DSi::ARM9IOWrite32(u32, u32)':166src/DSi.cpp:2341:17: warning: unused variable 'oldram' [-Wunused-variable]167 2341 | u32 oldram = (SCFG_EXT[0] >> 14) & 0x3;168 | ^~~~~~169src/DSi.cpp:2342:17: warning: unused variable 'newram' [-Wunused-variable]170 2342 | u32 newram = (val >> 14) & 0x3;171 | ^~~~~~172g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DSi_I2C.o src/DSi_I2C.cpp173g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DSi_NAND.o src/DSi_NAND.cpp174src/DSi_NAND.cpp: In function 'bool DSi_NAND::ESEncrypt(u8*, u32)':175src/DSi_NAND.cpp:297:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]176 297 | for (int i = 0; i < remlen; i++)177 | ~~^~~~~~~~178src/DSi_NAND.cpp:304:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]179 304 | for (int i = 0; i < remlen; i++)180 | ~~^~~~~~~~181src/DSi_NAND.cpp: In function 'bool DSi_NAND::ESDecrypt(u8*, u32)':182src/DSi_NAND.cpp:391:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]183 391 | for (int i = 0; i < remlen; i++)184 | ~~^~~~~~~~185src/DSi_NAND.cpp:399:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]186 399 | for (int i = 0; i < remlen; i++)187 | ~~^~~~~~~~188src/DSi_NAND.cpp: In function 'bool DSi_NAND::ImportTitle(const char*, u8*, bool)':189src/DSi_NAND.cpp:977:9: warning: unused variable 'ticketdir' [-Wunused-variable]190 977 | DIR ticketdir;191 | ^~~~~~~~~192src/DSi_NAND.cpp:978:13: warning: unused variable 'info' [-Wunused-variable]193 978 | FILINFO info;194 | ^~~~195g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DSi_NDMA.o src/DSi_NDMA.cpp196g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DSi_NWifi.o src/DSi_NWifi.cpp197g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DSi_SD.o src/DSi_SD.cpp198src/DSi_NWifi.cpp: In member function 'void DSi_NWifi::BMI_Command()':199src/DSi_NWifi.cpp:752:20: warning: unused variable 'val' [-Wunused-variable]200 752 | u8 val = Mailbox[0].Read();201 | ^~~202src/DSi_NWifi.cpp:806:20: warning: unused variable 'val' [-Wunused-variable]203 806 | u8 val = Mailbox[0].Read();204 | ^~~205src/DSi_NWifi.cpp: In member function 'void DSi_NWifi::HTC_Command()':206src/DSi_NWifi.cpp:823:9: warning: unused variable 'h0' [-Wunused-variable]207 823 | u16 h0 = MB_Read16(0);208 | ^~209src/DSi_NWifi.cpp:825:9: warning: unused variable 'h2' [-Wunused-variable]210 825 | u16 h2 = MB_Read16(0);211 | ^~212src/DSi_NWifi.cpp: In member function 'void DSi_NWifi::WMI_ConnectToNetwork()':213src/DSi_NWifi.cpp:1148:8: warning: unused variable 'pCryptoLen' [-Wunused-variable]214 1148 | u8 pCryptoLen = Mailbox[0].Read();215 | ^~~~~~~~~~216src/DSi_NWifi.cpp:1150:8: warning: unused variable 'gCryptoLen' [-Wunused-variable]217 1150 | u8 gCryptoLen = Mailbox[0].Read();218 | ^~~~~~~~~~219src/DSi_NWifi.cpp:1159:9: warning: unused variable 'channel' [-Wunused-variable]220 1159 | u16 channel = MB_Read16(0);221 | ^~~~~~~222src/DSi_NWifi.cpp:1165:9: warning: unused variable 'flags' [-Wunused-variable]223 1165 | u32 flags = MB_Read32(0);224 | ^~~~~225src/DSi_NDMA.cpp: In member function 'void DSi_NDMA::Run9()':226src/DSi_NDMA.cpp:169:10: warning: unused variable 'burststart' [-Wunused-variable]227 169 | bool burststart = (Running == 2);228 | ^~~~~~~~~~229src/DSi_NDMA.cpp: In member function 'void DSi_NDMA::Run7()':230src/DSi_NDMA.cpp:258:10: warning: unused variable 'burststart' [-Wunused-variable]231 258 | bool burststart = (Running == 2);232 | ^~~~~~~~~~233g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DSi_SPI_TSC.o src/DSi_SPI_TSC.cpp234src/DSi_SD.cpp: In member function 'void DSi_SDHost::SendResponse(u32, bool)':235src/DSi_SD.cpp:227:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]236 227 | *(u32*)&ResponseBuffer[6] = *(u32*)&ResponseBuffer[4];237 | ^~~~~~~~~~~~~~~~~~~~~~~~238src/DSi_SD.cpp:227:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]239 227 | *(u32*)&ResponseBuffer[6] = *(u32*)&ResponseBuffer[4];240 | ^~~~~~~~~~~~~~~~~~~~~~~~241src/DSi_SD.cpp:228:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]242 228 | *(u32*)&ResponseBuffer[4] = *(u32*)&ResponseBuffer[2];243 | ^~~~~~~~~~~~~~~~~~~~~~~~244src/DSi_SD.cpp:228:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]245 228 | *(u32*)&ResponseBuffer[4] = *(u32*)&ResponseBuffer[2];246 | ^~~~~~~~~~~~~~~~~~~~~~~~247src/DSi_SD.cpp:229:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]248 229 | *(u32*)&ResponseBuffer[2] = *(u32*)&ResponseBuffer[0];249 | ^~~~~~~~~~~~~~~~~~~~~~~~250src/DSi_SD.cpp:229:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]251 229 | *(u32*)&ResponseBuffer[2] = *(u32*)&ResponseBuffer[0];252 | ^~~~~~~~~~~~~~~~~~~~~~~~253src/DSi_SD.cpp:230:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]254 230 | *(u32*)&ResponseBuffer[0] = val;255 | ^~~~~~~~~~~~~~~~~~~~~~~~256src/DSi_SD.cpp: In member function 'u16 DSi_SDHost::ReadFIFO16()':257src/DSi_SD.cpp:491:19: warning: unused variable 'dev' [-Wunused-variable]258 491 | DSi_SDDevice* dev = Ports[PortSelect & 0x1];259 | ^~~260src/DSi_SD.cpp: In member function 'u32 DSi_SDHost::ReadFIFO32()':261src/DSi_SD.cpp:512:19: warning: unused variable 'dev' [-Wunused-variable]262 512 | DSi_SDDevice* dev = Ports[PortSelect & 0x1];263 | ^~~264src/DSi_SD.cpp: In member function 'void DSi_SDHost::WriteFIFO16(u16)':265src/DSi_SD.cpp:648:19: warning: unused variable 'dev' [-Wunused-variable]266 648 | DSi_SDDevice* dev = Ports[PortSelect & 0x1];267 | ^~~268g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/DSiCrypto.o src/DSiCrypto.cpp269g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/GBACart.o src/GBACart.cpp270g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/GPU.o src/GPU.cpp271g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/GPU2D.o src/GPU2D.cpp272g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/GPU2D_Soft.o src/GPU2D_Soft.cpp273g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/GPU3D.o src/GPU3D.cpp274In file included from src/GPU.h:32,275 from src/GPU.cpp:22:276In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 64]',277 inlined from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]' at src/GPU.cpp:1202:28:278src/NonStupidBitfield.h:177:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds=]279 177 | Data[startEntry + entriesCount - 1] = 0xFFFFFFFFFFFFFFFF;280 | ~~~~^281src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]':282src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<64>::Data'283 36 | u64 Data[DataLength];284 | ^~~~285In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 64]',286 inlined from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]' at src/GPU.cpp:1202:28:287src/NonStupidBitfield.h:175:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds=]288 175 | Data[startEntry + entriesCount - 1] |= ~(0xFFFFFFFFFFFFFFFF << ((startBit + bitsCount) & 0x3F));289 | ~~~~^290src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]':291src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<64>::Data'292 36 | u64 Data[DataLength];293 | ^~~~294In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 64]',295 inlined from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]' at src/GPU.cpp:1202:28:296src/NonStupidBitfield.h:175:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds=]297 175 | Data[startEntry + entriesCount - 1] |= ~(0xFFFFFFFFFFFFFFFF << ((startBit + bitsCount) & 0x3F));298 | ~~~~^299src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]':300src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<64>::Data'301 36 | u64 Data[DataLength];302 | ^~~~303In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 64]',304 inlined from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]' at src/GPU.cpp:1202:28:305src/NonStupidBitfield.h:179:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds=]306 179 | Data[i] = 0xFFFFFFFFFFFFFFFF;307 | ~~~~^308src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]':309src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<64>::Data'310 36 | u64 Data[DataLength];311 | ^~~~312In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 16]',313 inlined from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]' at src/GPU.cpp:1202:28:314src/NonStupidBitfield.h:177:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds=]315 177 | Data[startEntry + entriesCount - 1] = 0xFFFFFFFFFFFFFFFF;316 | ~~~~^317src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]':318src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<16>::Data'319 36 | u64 Data[DataLength];320 | ^~~~321In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 16]',322 inlined from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]' at src/GPU.cpp:1202:28:323src/NonStupidBitfield.h:175:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds=]324 175 | Data[startEntry + entriesCount - 1] |= ~(0xFFFFFFFFFFFFFFFF << ((startBit + bitsCount) & 0x3F));325 | ~~~~^326src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]':327src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<16>::Data'328 36 | u64 Data[DataLength];329 | ^~~~330In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 16]',331 inlined from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]' at src/GPU.cpp:1202:28:332src/NonStupidBitfield.h:175:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds=]333 175 | Data[startEntry + entriesCount - 1] |= ~(0xFFFFFFFFFFFFFFFF << ((startBit + bitsCount) & 0x3F));334 | ~~~~^335src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]':336src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<16>::Data'337 36 | u64 Data[DataLength];338 | ^~~~339In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 16]',340 inlined from 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]' at src/GPU.cpp:1202:28:341src/NonStupidBitfield.h:179:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds=]342 179 | Data[i] = 0xFFFFFFFFFFFFFFFF;343 | ~~~~^344src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]':345src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<16>::Data'346 36 | u64 Data[DataLength];347 | ^~~~348g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/GPU3D_Soft.o src/GPU3D_Soft.cpp349g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/NDSCart.o src/NDSCart.cpp350src/GPU2D_Soft.cpp: In member function 'virtual void GPU2D::SoftRenderer::DrawScanline(u32, GPU2D::Unit*)':351src/GPU2D_Soft.cpp:256:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]352 256 | *(u64*)&dst[i] = *(u64*)&BGOBJLine[i];353 | ^~~~~~~~~~~~~~~~~~~354src/GPU2D_Soft.cpp: In member function 'void GPU2D::SoftRenderer::DrawScanline_BGOBJ(u32)':355src/GPU2D_Soft.cpp:778:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]356 778 | *(u64*)&BGOBJLine[i] = backdrop;357 | ^~~~~~~~~~~~~~~~~~~358src/GPU2D_Soft.cpp:863:30: warning: variable 'evb' set but not used [-Wunused-but-set-variable=]359 863 | u32 eva, evb;360 | ^~~361src/GPU2D_Soft.cpp: In member function 'virtual void GPU2D::SoftRenderer::DrawSprites(u32, GPU2D::Unit*)':362src/GPU2D_Soft.cpp:1746:21: warning: unused variable 'rotparamgroup' [-Wunused-variable]363 1746 | u32 rotparamgroup = (attrib[1] >> 9) & 0x1F;364 | ^~~~~~~~~~~~~365src/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]':366src/GPU2D_Soft.cpp:1770:17: required from here367 1645 | DrawSprite_##type<true>(__VA_ARGS__); \368 | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~369src/GPU2D_Soft.cpp:2200:17: warning: variable 'pixelstride' set but not used [-Wunused-but-set-variable=]370 2200 | s32 pixelstride;371 | ^~~~~~~~~~~372src/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]':373src/GPU2D_Soft.cpp:1770:17: required from here374 1649 | DrawSprite_##type<false>(__VA_ARGS__); \375 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~376src/GPU2D_Soft.cpp:2200:17: warning: variable 'pixelstride' set but not used [-Wunused-but-set-variable=]377 2200 | s32 pixelstride;378 | ^~~~~~~~~~~379src/GPU3D_Soft.cpp: In member function 'void GPU3D::SoftRenderer::PlotTranslucentPixel(u32, u32, u32, u32, u32)':380src/GPU3D_Soft.cpp:566:11: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare]381 566 | if (z != -1)382 | ~~^~~~~383src/GPU3D_Soft.cpp: In member function 'void GPU3D::SoftRenderer::RenderShadowMaskScanline(RendererPolygon*, s32)':384src/GPU3D_Soft.cpp:684:9: warning: variable 'polyattr' set but not used [-Wunused-but-set-variable=]385 684 | u32 polyattr = (polygon->Attr & 0x3F008000);386 | ^~~~~~~~387src/GPU3D_Soft.cpp:716:13: warning: variable 'vlcur' set but not used [-Wunused-but-set-variable=]388 716 | Vertex *vlcur, *vlnext, *vrcur, *vrnext;389 | ^~~~~390src/GPU3D_Soft.cpp:716:21: warning: variable 'vlnext' set but not used [-Wunused-but-set-variable=]391 716 | Vertex *vlcur, *vlnext, *vrcur, *vrnext;392 | ^~~~~~393src/GPU3D_Soft.cpp:716:30: warning: variable 'vrcur' set but not used [-Wunused-but-set-variable=]394 716 | Vertex *vlcur, *vlnext, *vrcur, *vrnext;395 | ^~~~~396src/GPU3D_Soft.cpp:716:38: warning: variable 'vrnext' set but not used [-Wunused-but-set-variable=]397 716 | Vertex *vlcur, *vlnext, *vrcur, *vrnext;398 | ^~~~~~399src/GPU3D_Soft.cpp:721:22: warning: variable 'interp_start' set but not used [-Wunused-but-set-variable=]400 721 | Interpolator<1>* interp_start;401 | ^~~~~~~~~~~~402src/GPU3D_Soft.cpp:722:22: warning: variable 'interp_end' set but not used [-Wunused-but-set-variable=]403 722 | Interpolator<1>* interp_end;404 | ^~~~~~~~~~405src/NDSCart.cpp: In function 'bool NDSCart::LoadROMCommon(u32, const char*, bool)':406src/NDSCart.cpp:1607:24: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation]407 1607 | strncpy((char*)&CartROM[arm9base], "encryObj", 8);408 | ^409In file included from src/GPU3D_Soft.cpp:19:410In member function 's32 GPU3D::SoftRenderer::Interpolator<dir>::InterpolateZ(s32, s32, bool) [with int dir = 0]',411 inlined from 's32 GPU3D::SoftRenderer::Interpolator<dir>::InterpolateZ(s32, s32, bool) [with int dir = 0]' at src/GPU3D_Soft.h:167:13,412 inlined from 'void GPU3D::SoftRenderer::RenderShadowMaskScanline(RendererPolygon*, s32)' at src/GPU3D_Soft.cpp:815:37:413src/GPU3D_Soft.h:177:61: warning: 'interpX.GPU3D::SoftRenderer::Interpolator<0>::yfactor' may be used uninitialized [-Wmaybe-uninitialized]414 177 | return z1 + (((s64)(z0-z1) * ((1<<shift)-yfactor)) >> shift);415 | ~~~~~~~~~~~^~~~~~~~~416src/GPU3D_Soft.cpp: In member function 'void GPU3D::SoftRenderer::RenderShadowMaskScanline(RendererPolygon*, s32)':417src/GPU3D_Soft.cpp:795:21: note: 'interpX.GPU3D::SoftRenderer::Interpolator<0>::yfactor' was declared here418 795 | Interpolator<0> interpX(xstart, xend+1, wl, wr);419 | ^~~~~~~420g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/NDSCart_SRAMManager.o src/NDSCart_SRAMManager.cpp421src/GPU3D.cpp: In function 'void GPU3D::SubmitPolygon()':422src/GPU3D.cpp:1117:43: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare]423 1117 | if (LastStripPolygon->NumVertices == lastpolyverts &&424 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~425src/GPU3D.cpp:1244:34: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]426 1244 | if (vtx->Position[3] <= ZeroDotWLimit)427 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~428src/GPU3D.cpp:1028:9: warning: unused variable 'prev' [-Wunused-variable]429 1028 | int prev, next;430 | ^~~~431src/GPU3D.cpp:1028:15: warning: unused variable 'next' [-Wunused-variable]432 1028 | int prev, next;433 | ^~~~434src/GPU3D.cpp:1041:28: warning: variable 'v3' set but not used [-Wunused-but-set-variable=]435 1041 | Vertex *v0, *v1, *v2, *v3;436 | ^~437In member function 's32 GPU3D::SoftRenderer::Interpolator<dir>::Interpolate(s32, s32) [with int dir = 0]',438 inlined from 's32 GPU3D::SoftRenderer::Interpolator<dir>::Interpolate(s32, s32) [with int dir = 0]' at src/GPU3D_Soft.h:144:13,439 inlined from 'void GPU3D::SoftRenderer::RenderPolygonScanline(RendererPolygon*, s32)' at src/GPU3D_Soft.cpp:1076:37:440src/GPU3D_Soft.h:154:56: warning: 'interpX.GPU3D::SoftRenderer::Interpolator<0>::yfactor' may be used uninitialized [-Wmaybe-uninitialized]441 154 | return y1 + (((y0-y1) * ((1<<shift)-yfactor)) >> shift);442 | ~~~~~~~~~~~^~~~~~~~~443src/GPU3D_Soft.cpp: In member function 'void GPU3D::SoftRenderer::RenderPolygonScanline(RendererPolygon*, s32)':444src/GPU3D_Soft.cpp:1023:21: note: 'interpX.GPU3D::SoftRenderer::Interpolator<0>::yfactor' was declared here445 1023 | Interpolator<0> interpX(xstart, xend+1, wl, wr);446 | ^~~~~~~447src/NDSCart_SRAMManager.cpp: In function 'void NDSCart_SRAMManager::FlushSecondaryBuffer(u8*, s32)':448src/NDSCart_SRAMManager.cpp:158:26: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]449 158 | if (dst && dstLength < SecondaryBufferLength) return;450 | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~451src/NDSCart_SRAMManager.cpp: In function 'void NDSCart_SRAMManager::UpdateBuffer(u8*, s32)':452src/NDSCart_SRAMManager.cpp:191:27: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]453 191 | if (!src || srcLength != Length) return;454 | ~~~~~~~~~~^~~~~~~~~455src/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]':456src/GPU2D_Soft.cpp:1027:9: warning: 'curtile' may be used uninitialized [-Wmaybe-uninitialized]457 1027 | u16 curtile;458 | ^~~~~~~459src/GPU2D_Soft.cpp:1132:58: warning: 'curpal' may be used uninitialized [-Wmaybe-uninitialized]460 1132 | drawPixel(&BGOBJLine[i], curpal[color], 0x01000000<<bgnum);461 | ~~~~~~~~~~~~^462src/GPU2D_Soft.cpp:1028:10: note: 'curpal' was declared here463 1028 | u16* curpal;464 | ^~~~~~465src/GPU2D_Soft.cpp:1128:48: warning: 'pixelsaddr' may be used uninitialized [-Wmaybe-uninitialized]466 1128 | color = bgvram[(pixelsaddr + (tilexoff >> 1)) & bgvrammask] & 0x0F;467 | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~468src/GPU2D_Soft.cpp:1029:9: note: 'pixelsaddr' was declared here469 1029 | u32 pixelsaddr;470 | ^~~~~~~~~~471g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/RTC.o src/RTC.cpp472g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/Savestate.o src/Savestate.cpp473src/GPU2D_Soft.cpp: In member function 'void GPU2D::SoftRenderer::DrawBG_Text(u32, u32) [with bool mosaic = false; void (* drawPixel)(u32*, u16, u32) = GPU2D::SoftRenderer::DrawPixel_Normal]':474src/GPU2D_Soft.cpp:1027:9: warning: 'curtile' may be used uninitialized [-Wmaybe-uninitialized]475 1027 | u16 curtile;476 | ^~~~~~~477src/GPU2D_Soft.cpp:1132:58: warning: 'curpal' may be used uninitialized [-Wmaybe-uninitialized]478 1132 | drawPixel(&BGOBJLine[i], curpal[color], 0x01000000<<bgnum);479 | ~~~~~~~~~~~~^480src/GPU2D_Soft.cpp:1028:10: note: 'curpal' was declared here481 1028 | u16* curpal;482 | ^~~~~~483src/GPU2D_Soft.cpp:1128:48: warning: 'pixelsaddr' may be used uninitialized [-Wmaybe-uninitialized]484 1128 | color = bgvram[(pixelsaddr + (tilexoff >> 1)) & bgvrammask] & 0x0F;485 | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~486src/GPU2D_Soft.cpp:1029:9: note: 'pixelsaddr' was declared here487 1029 | u32 pixelsaddr;488 | ^~~~~~~~~~489src/Savestate.cpp:24:9: warning: 'fclose' redefined490 24 | #define fclose(stream) memstream_close(stream)491 | ^~~~~~492In file included from src/Savestate.cpp:21:493src/Platform.h:30:9: note: this is the location of the previous definition494 30 | #define fclose rfclose495 | ^~~~~~496src/Savestate.cpp:25:9: warning: 'fread' redefined497 25 | #define fread(data, len, count, stream) memstream_read(stream, data, len)498 | ^~~~~499src/Platform.h:31:9: note: this is the location of the previous definition500 31 | #define fread rfread501 | ^~~~~502src/Savestate.cpp:26:9: warning: 'fwrite' redefined503 26 | #define fwrite(data, len, count, stream) memstream_write(stream, data, len)504 | ^~~~~~505In file included from src/Platform.h:28:506./src/libretro/libretro-common/include/streams/file_stream_transforms.h:59:9: note: this is the location of the previous definition507 59 | #define fwrite rfwrite508 | ^~~~~~509src/Savestate.cpp:27:9: warning: 'fseek' redefined510 27 | #define fseek(stream, offset, mask) memstream_seek(stream, offset, mask)511 | ^~~~~512src/Platform.h:32:9: note: this is the location of the previous definition513 32 | #define fseek rfseek514 | ^~~~~515src/Savestate.cpp:28:9: warning: 'ftell' redefined516 28 | #define ftell(stream) memstream_pos(stream)517 | ^~~~~518./src/libretro/libretro-common/include/streams/file_stream_transforms.h:54:9: note: this is the location of the previous definition519 54 | #define ftell rftell520 | ^~~~~521g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/SPI.o src/SPI.cpp522src/SPI.cpp: In function 'void SPI_TSC::Write(u8, u32)':523src/SPI.cpp:643:35: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare]524 643 | if (samplepos >= MicBufferLen) samplepos = MicBufferLen-1;525 | ~~~~~~~~~~^~~~~~~~~~~~~~~526g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/SPU.o src/SPU.cpp527src/SPI.cpp: In function 'void SPI_Firmware::LoadFirmwareFromFile(RFILE*)':528src/SPI.cpp:150:12: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]529 150 | strncpy(&firmbkp[0], FirmwarePath, fplen);530 | ^531src/SPI.cpp:149:23: note: length computed here532 149 | int fplen = strlen(FirmwarePath);533 | ~~~~~~^~~~~~~~~~~~~~534src/SPI.cpp: In function 'void SPI_Firmware::Reset()':535src/SPI.cpp:200:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 1023 bytes from a string of length 1023 [-Wstringop-truncation]536 200 | strncpy(FirmwarePath, Config::FirmwarePath, 1023);537 | ^538src/SPI.cpp:198:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 1023 bytes from a string of length 1023 [-Wstringop-truncation]539 198 | strncpy(FirmwarePath, Config::DSiFirmwarePath, 1023);540 | ^541g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/Wifi.o src/Wifi.cpp542src/SPU.cpp: In member function 'void SPU::Channel::NextSample_PCM8()':543src/SPU.cpp:344:13: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]544 344 | if (Pos >= (LoopPos + Length))545 | ~~~~^~~~~~~~~~~~~~~~~~~~~546src/SPU.cpp: In member function 'void SPU::Channel::NextSample_PCM16()':547src/SPU.cpp:367:18: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]548 367 | if ((Pos<<1) >= (LoopPos + Length))549 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~550src/SPU.cpp: In member function 'void SPU::Channel::NextSample_ADPCM()':551src/SPU.cpp:406:18: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]552 406 | if ((Pos>>1) >= (LoopPos + Length))553 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~554src/SPU.cpp:451:17: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]555 451 | if (Pos == (LoopPos<<1))556 | ~~~~^~~~~~~~~~~~~~~557src/SPU.cpp: In member function 'void SPU::CaptureUnit::Run(s32)':558src/SPU.cpp:652:21: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]559 652 | if (Pos >= Length)560 | ~~~~^~~~~~~~~561src/SPU.cpp:675:21: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]562 675 | if (Pos >= Length)563 | ~~~~^~~~~~~~~564g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/WifiAP.o src/WifiAP.cpp565g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/frontend/Util_ROM.o src/frontend/Util_ROM.cpp566src/Wifi.cpp: In function 'void Wifi::SendMPDefaultReply()':567src/Wifi.cpp:503:13: warning: unused variable 'txlen' [-Wunused-variable]568 503 | int txlen = Platform::MP_SendPacket(reply, 12+28);569 | ^~~~~570src/Wifi.cpp: In function 'void Wifi::SendMPAck()':571src/Wifi.cpp:533:13: warning: unused variable 'txlen' [-Wunused-variable]572 533 | int txlen = Platform::MP_SendPacket(ack, 12+32);573 | ^~~~~574src/Wifi.cpp: In function 'bool Wifi::ProcessTX(TXSlot*, int)':575src/Wifi.cpp:658:17: warning: unused variable 'txlen' [-Wunused-variable]576 658 | int txlen = Platform::MP_SendPacket(&RAM[slot->Addr], 12 + slot->Length);577 | ^~~~~578g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/config.o src/libretro/config.cpp579src/Wifi.cpp: In function 'bool Wifi::CheckRX(bool)':580src/Wifi.cpp:886:35: warning: 'a_src' may be used uninitialized [-Wmaybe-uninitialized]581 886 | if (MACEqual(&RXBuffer[12 + a_src], (u8*)&IOPORT(W_MACAddr0)))582 | ~~~^~~~~~~583src/Wifi.cpp:837:13: note: 'a_src' was declared here584 837 | u32 a_src, a_dst, a_bss;585 | ^~~~~586src/Wifi.cpp:891:36: warning: 'a_dst' may be used uninitialized [-Wmaybe-uninitialized]587 891 | if (!MACEqual(&RXBuffer[12 + a_dst], (u8*)&IOPORT(W_MACAddr0)) &&588 | ~~~^~~~~~~589src/Wifi.cpp:837:20: note: 'a_dst' was declared here590 837 | u32 a_src, a_dst, a_bss;591 | ^~~~~592src/Wifi.cpp:889:44: warning: 'a_bss' may be used uninitialized [-Wmaybe-uninitialized]593 889 | bssidmatch = MACEqual(&RXBuffer[12 + a_bss], (u8*)&IOPORT(W_BSSID0));594 | ~~~^~~~~~~595src/Wifi.cpp:837:27: note: 'a_bss' was declared here596 837 | u32 a_src, a_dst, a_bss;597 | ^~~~~598src/frontend/Util_ROM.cpp: In function 'int Frontend::SetupDSiNAND()':599src/frontend/Util_ROM.cpp:227:10: warning: unused variable 'len' [-Wunused-variable]600 227 | long len;601 | ^~~602src/frontend/Util_ROM.cpp: In function 'void Frontend::SetupSRAMPath(int)':603src/frontend/Util_ROM.cpp:91:12: warning: 'char* __builtin___strncpy_chk(char*, const char*, long unsigned int, long unsigned int)' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]604 91 | strncpy(SRAMPath[slot] + strlen(ROMPath[slot]) - 3, "sav", 3);605 | ^606g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/input.o src/libretro/input.cpp607src/frontend/Util_ROM.cpp: In function 'void Frontend::LoadCheats()':608src/frontend/Util_ROM.cpp:262:16: warning: 'char* __builtin___strncpy_chk(char*, const char*, long unsigned int, long unsigned int)' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]609 262 | strncpy(filename + strlen(ROMPath[ROMSlot_NDS]) - 3, "mch", 3);610 | ^611g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/libretro.o src/libretro/libretro.cpp612src/frontend/Util_ROM.cpp: In function 'int Frontend::LoadROM(const u8*, u32, const char*, const char*, const char*, int)':613src/frontend/Util_ROM.cpp:361:12: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 1024 equals destination size [-Wstringop-truncation]614 361 | strncpy(oldpath, ROMPath[slot], 1024);615 | ^616src/frontend/Util_ROM.cpp:362:12: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 1024 equals destination size [-Wstringop-truncation]617 362 | strncpy(oldsram, SRAMPath[slot], 1024);618 | ^619src/frontend/Util_ROM.cpp:379:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 1024 bytes from a string of length 2047 [-Wstringop-truncation]620 379 | strncpy(PrevSRAMPath[slot], SRAMPath[slot], 1024); // safety621 | ^622src/frontend/Util_ROM.cpp: In function 'int Frontend::LoadROM(const char*, int)':623src/frontend/Util_ROM.cpp:441:12: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 1024 equals destination size [-Wstringop-truncation]624 441 | strncpy(oldpath, ROMPath[slot], 1024);625 | ^626src/frontend/Util_ROM.cpp:442:12: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 1024 equals destination size [-Wstringop-truncation]627 442 | strncpy(oldsram, SRAMPath[slot], 1024);628 | ^629src/frontend/Util_ROM.cpp:462:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 1024 bytes from a string of length 2047 [-Wstringop-truncation]630 462 | strncpy(PrevSRAMPath[slot], SRAMPath[slot], 1024); // safety631 | ^632g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/platform.o src/libretro/platform.cpp633g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/screenlayout.o src/libretro/screenlayout.cpp634g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/utils.o src/libretro/utils.cpp635g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/teakra/src/ahbm.o src/teakra/src/ahbm.cpp636g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/teakra/src/apbp.o src/teakra/src/apbp.cpp637g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/teakra/src/btdmp.o src/teakra/src/btdmp.cpp638g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/teakra/src/disassembler_c.o src/teakra/src/disassembler_c.cpp639g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/teakra/src/disassembler.o src/teakra/src/disassembler.cpp640g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/teakra/src/dma.o src/teakra/src/dma.cpp641g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/teakra/src/memory_interface.o src/teakra/src/memory_interface.cpp642g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/teakra/src/mmio.o src/teakra/src/mmio.cpp643g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/teakra/src/parser.o src/teakra/src/parser.cpp644g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/teakra/src/processor.o src/teakra/src/processor.cpp645g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/teakra/src/teakra_c.o src/teakra/src/teakra_c.cpp646g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/teakra/src/teakra.o src/teakra/src/teakra.cpp647g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/teakra/src/timer.o src/teakra/src/timer.cpp648g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/GPU_OpenGL.o src/GPU_OpenGL.cpp649g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/GPU3D_OpenGL.o src/GPU3D_OpenGL.cpp650src/GPU3D_OpenGL.cpp: In member function 'void GPU3D::GLRenderer::BuildPolygons(RendererPolygon*, int)':651src/GPU3D_OpenGL.cpp:517:31: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 's32' {aka 'int'} [-Wsign-compare]652 517 | if (lastx == vtx->FinalPosition[0] &&653 | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~654src/GPU3D_OpenGL.cpp:518:31: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 's32' {aka 'int'} [-Wsign-compare]655 518 | lasty == vtx->FinalPosition[1]) continue;656 | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~657src/GPU3D_OpenGL.cpp: In member function 'virtual void GPU3D::GLRenderer::RenderFrame()':658src/GPU3D_OpenGL.cpp:1257:13: warning: variable 'flags' set but not used [-Wunused-but-set-variable=]659 1257 | u32 flags = 0;660 | ^~~~~661src/GPU3D_OpenGL.cpp:1191:24: warning: 'vram' may be used uninitialized [-Wmaybe-uninitialized]662 1191 | glTexSubImage2D(GL_TEXTURE_2D, 0, 0, i*128, 1024, 128, GL_RED_INTEGER, GL_UNSIGNED_BYTE, vram);663src/GPU3D_OpenGL.cpp:1184:13: note: 'vram' was declared here664 1184 | u8* vram;665 | ^~~~666src/GPU3D_OpenGL.cpp:1206:24: warning: 'vram' may be used uninitialized [-Wmaybe-uninitialized]667 1206 | glTexSubImage2D(GL_TEXTURE_2D, 0, 0, i*8, 1024, 8, GL_RGBA, GL_UNSIGNED_SHORT_1_5_5_5_REV, vram);668src/GPU3D_OpenGL.cpp:1200:13: note: 'vram' was declared here669 1200 | u8* vram;670 | ^~~~671g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/OpenGLSupport.o src/OpenGLSupport.cpp672g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/libretro/opengl.o src/libretro/opengl.cpp673g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARMJIT.o src/ARMJIT.cpp674g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARMJIT_Memory.o src/ARMJIT_Memory.cpp675src/ARMJIT_Memory.cpp: In member function 'void ARMJIT_Memory::Mapping::Unmap(int)':676src/ARMJIT_Memory.cpp:389:21: warning: unused variable 'segmentOffset' [-Wunused-variable]677 389 | u32 segmentOffset = offset;678 | ^~~~~~~~~~~~~679In file included from /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/time.h:29,680 from /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/pthread.h:23,681 from /nix/store/rp1zq1p0rjfdg99rb2cfs14871y6cqaj-gcc-16.2.0/include/c++/16.2.0/x86_64-unknown-linux-gnu/bits/gthr-default.h:35,682 from /nix/store/rp1zq1p0rjfdg99rb2cfs14871y6cqaj-gcc-16.2.0/include/c++/16.2.0/x86_64-unknown-linux-gnu/bits/gthr.h:157,683 from /nix/store/rp1zq1p0rjfdg99rb2cfs14871y6cqaj-gcc-16.2.0/include/c++/16.2.0/ext/atomicity.h:37,684 from /nix/store/rp1zq1p0rjfdg99rb2cfs14871y6cqaj-gcc-16.2.0/include/c++/16.2.0/bits/shared_ptr_base.h:61,685 from /nix/store/rp1zq1p0rjfdg99rb2cfs14871y6cqaj-gcc-16.2.0/include/c++/16.2.0/bits/shared_ptr.h:53,686 from /nix/store/rp1zq1p0rjfdg99rb2cfs14871y6cqaj-gcc-16.2.0/include/c++/16.2.0/memory:82,687 from src/GPU.h:25,688 from src/ARMJIT.cpp:40:689src/ARMJIT.cpp:48:24: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]690 48 | static_assert(offsetof(ARM, CPSR) == ARM_CPSR_offset, "");691 | ^692src/ARMJIT.cpp:49:24: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]693 49 | static_assert(offsetof(ARM, Cycles) == ARM_Cycles_offset, "");694 | ^695src/ARMJIT.cpp:50:24: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]696 50 | static_assert(offsetof(ARM, StopExecution) == ARM_StopExecution_offset, "");697 | ^698src/ARMJIT.cpp: In function 'void ARMJIT::CompileBlock(ARM*)':699src/ARMJIT.cpp:936:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]700 936 | for (int j = 0; j < numLiterals; j++)701 | ~~^~~~~~~~~~~~~702src/ARMJIT.cpp:632:28: warning: unused variable 'writeAddrsTranslated' [-Wunused-variable]703 632 | u32 numWriteAddrs = 0, writeAddrsTranslated = 0;704 | ^~~~~~~~~~~~~~~~~~~~705src/ARMJIT.cpp: In function 'void ARMJIT::InvalidateByAddr(u32)':706src/ARMJIT.cpp:989:9: warning: unused variable 'mask' [-Wunused-variable]707 989 | u32 mask = 1 << ((localAddr & 0x1FF) / 16);708 | ^~~~709g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARM_InstrInfo.o src/ARM_InstrInfo.cpp710g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/dolphin/CommonFuncs.o src/dolphin/CommonFuncs.cpp711src/ARMJIT.cpp: In function 'void ARMJIT::CompileBlock(ARM*)':712src/ARMJIT.cpp:796:45: warning: 'lr' may be used uninitialized [-Wmaybe-uninitialized]713 796 | bool staticBranch = DecodeBranch(thumb, instrs[i], cond, hasLink, lr, link, linkAddr, target);714 | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~715src/ARMJIT.cpp:641:9: note: 'lr' was declared here716 641 | u32 lr;717 | ^~718g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/dolphin/x64ABI.o src/dolphin/x64ABI.cpp719g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/dolphin/x64CPUDetect.o src/dolphin/x64CPUDetect.cpp720g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/dolphin/x64Emitter.o src/dolphin/x64Emitter.cpp721g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARMJIT_x64/ARMJIT_ALU.o src/ARMJIT_x64/ARMJIT_ALU.cpp722g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARMJIT_x64/ARMJIT_Branch.o src/ARMJIT_x64/ARMJIT_Branch.cpp723g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARMJIT_x64/ARMJIT_Compiler.o src/ARMJIT_x64/ARMJIT_Compiler.cpp724In file included from /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/alloca.h:24,725 from /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:728,726 from /nix/store/rp1zq1p0rjfdg99rb2cfs14871y6cqaj-gcc-16.2.0/include/c++/16.2.0/cstdlib:83,727 from /nix/store/rp1zq1p0rjfdg99rb2cfs14871y6cqaj-gcc-16.2.0/include/c++/16.2.0/bits/stl_algo.h:71,728 from /nix/store/rp1zq1p0rjfdg99rb2cfs14871y6cqaj-gcc-16.2.0/include/c++/16.2.0/algorithm:63,729 from src/ARMJIT_x64/../ARM.h:22,730 from src/ARMJIT_x64/../ARMJIT.h:24,731 from src/ARMJIT_x64/ARMJIT_Compiler.h:24,732 from src/ARMJIT_x64/ARMJIT_Branch.cpp:19:733src/ARMJIT_x64/ARMJIT_Branch.cpp: In member function 'void ARMJIT::Compiler::Comp_JumpTo(u32, bool)':734src/ARMJIT_x64/ARMJIT_Branch.cpp:62:42: warning: 'offsetof' within non-standard-layout type 'ARMv5' is conditionally-supported [-Winvalid-offsetof]735 62 | MOV(32, MDisp(RCPU, offsetof(ARMv5, RegionCodeCycles)), Imm32(regionCodeCycles));736 | ^737src/ARMJIT_x64/ARMJIT_Branch.cpp:109:42: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]738 109 | MOV(32, MDisp(RCPU, offsetof(ARM, CodeRegion)), Imm32(codeRegion));739 | ^740src/ARMJIT_x64/ARMJIT_Branch.cpp:110:42: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]741 110 | MOV(32, MDisp(RCPU, offsetof(ARM, CodeCycles)), Imm32(codeCycles));742 | ^743src/ARMJIT_x64/ARMJIT_Branch.cpp:144:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]744 144 | MOV(32, MDisp(RCPU, offsetof(ARM, R[15])), Imm32(newPC));745 | ^746src/ARMJIT_x64/ARMJIT_Branch.cpp:148:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]747 148 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), Imm8(cycles));748 | ^749g++ -O3 -fno-tree-vectorize -std=c++17 -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -c -osrc/ARMJIT_x64/ARMJIT_LoadStore.o src/ARMJIT_x64/ARMJIT_LoadStore.cpp750src/ARMJIT_x64/ARMJIT_LoadStore.cpp: In member function 'void ARMJIT::Compiler::A_Comp_MemHalf()':751src/ARMJIT_x64/ARMJIT_LoadStore.cpp:702:30: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]752 702 | ? Op2(CurInstr.Instr & 0xF | ((CurInstr.Instr >> 4) & 0xF0))753 | ~~~~~~~~~~~~~~~^~~~~754src/ARMJIT_x64/ARMJIT_LoadStore.cpp: In member function 'void ARMJIT::Compiler::A_Comp_LDM_STM()':755src/ARMJIT_x64/ARMJIT_LoadStore.cpp:763:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses]756 762 | writeback = Num == 0757 | ~~~~~~~~758 763 | && (!(regs & ~BitSet16(1 << CurInstr.A_Reg(16)))) || (regs & ~BitSet16((2 << CurInstr.A_Reg(16)) - 1));759 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~760In file included from /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/unistd.h:226,761 from src/ARMJIT_x64/ARMJIT_Compiler.cpp:33:762src/ARMJIT_x64/ARMJIT_Compiler.cpp: In constructor 'ARMJIT::Compiler::Compiler()':763src/ARMJIT_x64/ARMJIT_Compiler.cpp:288:75: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]764 288 | MOV(32, R(RSCRATCH3), MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_FIQ)));765 | ^766src/ARMJIT_x64/ARMJIT_Compiler.cpp:291:75: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]767 291 | MOV(32, R(RSCRATCH3), MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_IRQ)));768 | ^769src/ARMJIT_x64/ARMJIT_Compiler.cpp:294:75: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]770 294 | MOV(32, R(RSCRATCH3), MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_SVC)));771 | ^772src/ARMJIT_x64/ARMJIT_Compiler.cpp:297:75: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]773 297 | MOV(32, R(RSCRATCH3), MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_ABT)));774 | ^775src/ARMJIT_x64/ARMJIT_Compiler.cpp:300:75: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]776 300 | MOV(32, R(RSCRATCH3), MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_UND)));777 | ^778src/ARMJIT_x64/ARMJIT_Compiler.cpp:330:61: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]779 330 | MOV(32, MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_FIQ)), R(RSCRATCH3));780 | ^781src/ARMJIT_x64/ARMJIT_Compiler.cpp:334:61: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]782 334 | MOV(32, MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_IRQ)), R(RSCRATCH3));783 | ^784src/ARMJIT_x64/ARMJIT_Compiler.cpp:338:61: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]785 338 | MOV(32, MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_SVC)), R(RSCRATCH3));786 | ^787src/ARMJIT_x64/ARMJIT_Compiler.cpp:342:61: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]788 342 | MOV(32, MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_ABT)), R(RSCRATCH3));789 | ^790src/ARMJIT_x64/ARMJIT_Compiler.cpp:346:61: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]791 346 | MOV(32, MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_UND)), R(RSCRATCH3));792 | ^793src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::LoadCPSR()':794src/ARMJIT_x64/ARMJIT_Compiler.cpp:480:44: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]795 480 | MOV(32, R(RCPSR), MDisp(RCPU, offsetof(ARM, CPSR)));796 | ^797src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::SaveCPSR(bool)':798src/ARMJIT_x64/ARMJIT_Compiler.cpp:487:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]799 487 | MOV(32, MDisp(RCPU, offsetof(ARM, CPSR)), R(RCPSR));800 | ^801src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::LoadReg(int, Gen::X64Reg)':802src/ARMJIT_x64/ARMJIT_Compiler.cpp:496:52: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]803 496 | MOV(32, R(nativeReg), MDisp(RCPU, offsetof(ARM, R) + reg*4));804 | ^805src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::SaveReg(int, Gen::X64Reg)':806src/ARMJIT_x64/ARMJIT_Compiler.cpp:503:34: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]807 503 | MOV(32, MDisp(RCPU, offsetof(ARM, R) + reg*4), R(nativeReg));808 | ^809src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'Gen::FixupBranch ARMJIT::Compiler::CheckCondition(u32)':810src/ARMJIT_x64/ARMJIT_Compiler.cpp:526:88: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]811 526 | TEST(32, R(RCPSR), Imm32(1 << (28 + ((~(cond >> 1) & 1) << 1 | (cond >> 2 & 1) ^ (cond >> 1 & 1)))));812 | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~813src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::Comp_SpecialBranchBehaviour(bool)':814src/ARMJIT_x64/ARMJIT_Compiler.cpp:676:36: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]815 676 | OR(8, MDisp(RCPU, offsetof(ARM, IdleLoop)), Imm8(0x1));816 | ^817src/ARMJIT_x64/ARMJIT_Compiler.cpp:684:42: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]818 684 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), Imm32(ConstantCycles));819 | ^820src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void (* ARMJIT::Compiler::CompileBlock(ARM*, bool, ARMJIT::FetchedInstr*, int, bool))()':821src/ARMJIT_x64/ARMJIT_Compiler.cpp:751:42: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]822 751 | MOV(32, MDisp(RCPU, offsetof(ARM, R[15])), Imm32(R15));823 | ^824src/ARMJIT_x64/ARMJIT_Compiler.cpp:754:46: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]825 754 | MOV(32, MDisp(RCPU, offsetof(ARM, CodeCycles)), Imm32(CurInstr.CodeCycles));826 | ^827src/ARMJIT_x64/ARMJIT_Compiler.cpp:755:46: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]828 755 | MOV(32, MDisp(RCPU, offsetof(ARM, CurInstr)), Imm32(CurInstr.Instr));829 | ^830src/ARMJIT_x64/ARMJIT_Compiler.cpp:846:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]831 846 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), Imm32(ConstantCycles));832 | ^833src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::Comp_AddCycles_C(bool)':834src/ARMJIT_x64/ARMJIT_Compiler.cpp:869:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]835 869 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), Imm8(cycles));836 | ^837src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::Comp_AddCycles_CI(u32)':838src/ARMJIT_x64/ARMJIT_Compiler.cpp:881:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]839 881 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), Imm8(cycles));840 | ^841src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::Comp_AddCycles_CI(Gen::X64Reg, int)':842src/ARMJIT_x64/ARMJIT_Compiler.cpp:895:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]843 895 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), R(RSCRATCH));844 | ^845src/ARMJIT_x64/ARMJIT_Compiler.cpp:900:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]846 900 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), R(i));847 | ^848src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::Comp_AddCycles_CDI()':849src/ARMJIT_x64/ARMJIT_Compiler.cpp:938:42: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]850 938 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), Imm8(cycles));851 | ^852src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::Comp_AddCycles_CD()':853src/ARMJIT_x64/ARMJIT_Compiler.cpp:955:34: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 's32' {aka 'int'} [-Wsign-compare]854 955 | IrregularCycles = cycles != numC;855 | ~~~~~~~^~~~~~~856src/ARMJIT_x64/ARMJIT_Compiler.cpp:982:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]857 982 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), Imm8(cycles));858 | ^859In file included from src/ARMJIT_x64/../ARMJIT_RegisterCache.h:27,860 from src/ARMJIT_x64/ARMJIT_Compiler.h:26,861 from src/ARMJIT_x64/ARMJIT_Compiler.cpp:19:862src/ARMJIT_x64/../ARMJIT_RegisterCache.h: In instantiation of 'void ARMJIT::RegisterCache<T, Reg>::UnloadRegister(int) [with T = ARMJIT::Compiler; Reg = Gen::X64Reg]':863src/ARMJIT_x64/ARMJIT_Compiler.cpp:78:40: required from here864 78 | RegCache.UnloadRegister(reg);865 | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~866src/ARMJIT_x64/../ARMJIT_RegisterCache.h:52:29: warning: comparison of integer expressions of different signedness: 'Gen::X64Reg' and 'int' [-Wsign-compare]867 52 | assert(Mapping[reg] != -1);868 | ^869src/ARMJIT_x64/../ARMJIT_RegisterCache.h: In instantiation of 'void ARMJIT::RegisterCache<T, Reg>::LoadRegister(int, bool) [with T = ARMJIT::Compiler; Reg = Gen::X64Reg]':870src/ARMJIT_x64/../ARMJIT_RegisterCache.h:176:17: required from 'void ARMJIT::RegisterCache<T, Reg>::Prepare(bool, int) [with T = ARMJIT::Compiler; Reg = Gen::X64Reg]'871 176 | LoadRegister(reg, needValueLoaded[reg]);872 | ^~~~~~~~~~~~873src/ARMJIT_x64/ARMJIT_Compiler.cpp:762:29: required from here874 762 | RegCache.Prepare(Thumb, i);875 | ~~~~~~~~~~~~~~~~^~~~~~~~~~876src/ARMJIT_x64/../ARMJIT_RegisterCache.h:65:29: warning: comparison of integer expressions of different signedness: 'Gen::X64Reg' and 'int' [-Wsign-compare]877 65 | assert(Mapping[reg] == -1);878 | ^879gcc -D_GNU_SOURCE -Wall -D__LIBRETRO__ -I./src/libretro/libretro-common/include -I./src/libretro -I./src -I./src/teakra/include -I./src/teakra/src -I./src/ARMJIT_x64/ -DMELONDS_VERSION=\""0.9.3"\" -DHAVE_OPENGL -DOGLRENDERER_ENABLED -DCORE -DHAVE_THREADS -DHAVE_WIFI -DJIT_ENABLED -DARCHITECTURE_X64 -fPIC -x assembler-with-cpp -c -osrc/ARMJIT_x64/ARMJIT_Linkage.o src/ARMJIT_x64/ARMJIT_Linkage.S880g++ -fPIC -shared -Wl,--version-script=./src/libretro/link.T -Wl,--no-undefined -omelonds_libretro.so ./src/xxhash/xxhash.o ./src/tiny-AES-c/aes.o ./src/fatfs/diskio.o ./src/fatfs/ff.o ./src/fatfs/ffsystem.o ./src/fatfs/ffunicode.o ./src/sha1/sha1.o ./src/libretro/libretro-common/streams/memory_stream.o ./src/libretro/libretro-common/compat/compat_strl.o ./src/libretro/libretro-common/compat/fopen_utf8.o ./src/libretro/libretro-common/compat/compat_posix_string.o ./src/libretro/libretro-common/compat/compat_strcasestr.o ./src/libretro/libretro-common/encodings/encoding_utf.o ./src/libretro/libretro-common/file/file_path.o ./src/libretro/libretro-common/streams/file_stream.o ./src/libretro/libretro-common/streams/file_stream_transforms.o ./src/libretro/libretro-common/string/stdstring.o ./src/libretro/libretro-common/vfs/vfs_implementation.o ./src/libretro/libretro-common/glsm/glsm.o ./src/libretro/libretro-common/glsym/rglgen.o ./src/libretro/libretro-common/glsym/glsym_gl.o ./src/libretro/libretro-common/rthreads/rthreads.o ./src/libretro/libretro-common/rthreads/rsemaphore.o ./src/NDS.o ./src/AREngine.o ./src/ARCodeFile.o ./src/ARM.o ./src/ARMInterpreter.o ./src/ARMInterpreter_ALU.o ./src/ARMInterpreter_Branch.o ./src/ARMInterpreter_LoadStore.o ./src/CP15.o ./src/CRC32.o ./src/DMA.o ./src/DSi.o ./src/DSi_AES.o ./src/DSi_Camera.o ./src/DSi_DSP.o ./src/DSi_I2C.o ./src/DSi_NAND.o ./src/DSi_NDMA.o ./src/DSi_NWifi.o ./src/DSi_SD.o ./src/DSi_SPI_TSC.o ./src/DSiCrypto.o ./src/GBACart.o ./src/GPU.o ./src/GPU2D.o ./src/GPU2D_Soft.o ./src/GPU3D.o ./src/GPU3D_Soft.o ./src/NDSCart.o ./src/NDSCart_SRAMManager.o ./src/RTC.o ./src/Savestate.o ./src/SPI.o ./src/SPU.o ./src/Wifi.o ./src/WifiAP.o ./src/frontend/Util_ROM.o ./src/libretro/config.o ./src/libretro/input.o ./src/libretro/libretro.o ./src/libretro/platform.o ./src/libretro/screenlayout.o ./src/libretro/utils.o ./src/teakra/src/ahbm.o ./src/teakra/src/apbp.o ./src/teakra/src/btdmp.o ./src/teakra/src/disassembler_c.o ./src/teakra/src/disassembler.o ./src/teakra/src/dma.o ./src/teakra/src/memory_interface.o ./src/teakra/src/mmio.o ./src/teakra/src/parser.o ./src/teakra/src/processor.o ./src/teakra/src/teakra_c.o ./src/teakra/src/teakra.o ./src/teakra/src/timer.o ./src/GPU_OpenGL.o ./src/GPU3D_OpenGL.o ./src/OpenGLSupport.o ./src/libretro/opengl.o ./src/ARMJIT.o ./src/ARMJIT_Memory.o ./src/ARM_InstrInfo.o ./src/dolphin/CommonFuncs.o ./src/dolphin/x64ABI.o ./src/dolphin/x64CPUDetect.o ./src/dolphin/x64Emitter.o ./src/ARMJIT_x64/ARMJIT_ALU.o ./src/ARMJIT_x64/ARMJIT_Branch.o ./src/ARMJIT_x64/ARMJIT_Compiler.o ./src/ARMJIT_x64/ARMJIT_LoadStore.o ./src/ARMJIT_x64/ARMJIT_Linkage.o -lm -lpthread -lrt -lGL881/nix/store/45qppvrgigcmyjina7a6p82f2pf5kzmr-binutils-2.46/bin/ld.bfd: warning: ./src/ARMJIT_x64/ARMJIT_Linkage.o: missing .note.GNU-stack section implies executable stack882/nix/store/45qppvrgigcmyjina7a6p82f2pf5kzmr-binutils-2.46/bin/ld.bfd: NOTE: This behaviour is deprecated and will be removed in a future version of the linker883buildPhase completed in 1 minutes 12 seconds
fixupPhase
884shrinking RPATHs of ELF executables and libraries in /nix/store/d71aj0vmxykgbx3baf1iwxr6csk7m29p-libretro-melonds-0-unstable-2026-11-15885shrinking /nix/store/d71aj0vmxykgbx3baf1iwxr6csk7m29p-libretro-melonds-0-unstable-2026-11-15/lib/retroarch/cores/melonds_libretro.so886checking for references to /build/ in /nix/store/d71aj0vmxykgbx3baf1iwxr6csk7m29p-libretro-melonds-0-unstable-2026-11-15...887patching script interpreter paths in /nix/store/d71aj0vmxykgbx3baf1iwxr6csk7m29p-libretro-melonds-0-unstable-2026-11-15888stripping (with command strip and flags -S -p) in /nix/store/d71aj0vmxykgbx3baf1iwxr6csk7m29p-libretro-melonds-0-unstable-2026-11-15/lib /nix/store/d71aj0vmxykgbx3baf1iwxr6csk7m29p-libretro-melonds-0-unstable-2026-11-15/bin