libretro-melonds-0-unstable-2026-11-15
checks.x86_64-linux.nixos-bob
· build #161
· raw
unpackPhase
1unpacking source archive /nix/store/4hfvsa73khp1n8aqzmwsihl7w33pc85h-source2source root is sourceconfigurePhase
3no configure script, doing nothingbuildPhase
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.c29gcc -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.c30src/libretro/libretro-common/vfs/vfs_implementation.c: In function 'retro_vfs_file_open_impl':31src/libretro/libretro-common/vfs/vfs_implementation.c:287:36: warning: unused variable 'path_len' [-Wunused-variable]32 287 | int path_len = (int)strlen(path);33 | ^~~~~~~~34gcc -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.cpp42src/ARM.cpp: In member function 'virtual void ARMv4::JumpTo(u32, bool)':43src/ARM.cpp:326:9: warning: unused variable 'oldregion' [-Wunused-variable]44 326 | u32 oldregion = R[15] >> 23;45 | ^~~~~~~~~46src/ARM.cpp:327:9: warning: unused variable 'newregion' [-Wunused-variable]47 327 | u32 newregion = addr >> 23;48 | ^~~~~~~~~49g++ -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.cpp50g++ -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 | ^~~~~~~~~~~~~~~~~126g++ -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.cpp127src/NDS.cpp: In function 'u16 NDS::ARM9IORead16(u32)':128src/NDS.cpp:2878:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]129 2878 | case 0x040000E0: return ((u16*)DMA9Fill)[0];130 | ~^~~~~~~~~~~~~~~131g++ -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.cpp132src/NDS.cpp: In function 'u64 NDS::GetSysClockCycles(int)':133src/NDS.cpp:1432:12: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized]134 1432 | return ret;135 | ^~~136src/NDS.cpp:1410:9: note: 'ret' was declared here137 1410 | u64 ret;138 | ^~~139g++ -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.cpp140g++ -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.cpp143g++ -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.cpp144src/ARMInterpreter_LoadStore.cpp: In function 'void ARMInterpreter::A_LDM(ARM*)':145src/ARMInterpreter_LoadStore.cpp:456:36: warning: 'wbbase' may be used uninitialized [-Wmaybe-uninitialized]146 456 | cpu->R[baseid] = wbbase;147 | ~~~~~~~~~~~~~~~^~~~~~~~148src/ARMInterpreter_LoadStore.cpp:391:9: note: 'wbbase' was declared here149 391 | u32 wbbase;150 | ^~~~~~151g++ -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.cpp153g++ -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.cpp154src/DSi.cpp: In function 'void DSi::DecryptModcryptArea(u32, u32, u8*)':155src/DSi.cpp:240:21: warning: variable 'binarysize' set but not used [-Wunused-but-set-variable=]156 240 | u32 binaryaddr, binarysize;157 | ^~~~~~~~~~158src/DSi.cpp: In function 'void DSi::MapNWRAM_B(u32, u8)':159src/DSi.cpp:973:18: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]160 973 | if (part == num)161 | ~~~~~^~~~~~162src/DSi.cpp: In function 'void DSi::MapNWRAM_C(u32, u8)':163src/DSi.cpp:1028:18: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]164 1028 | if (part == num)165 | ~~~~~^~~~~~166src/DSi.cpp: In function 'void DSi::ARM9IOWrite32(u32, u32)':167src/DSi.cpp:2341:17: warning: unused variable 'oldram' [-Wunused-variable]168 2341 | u32 oldram = (SCFG_EXT[0] >> 14) & 0x3;169 | ^~~~~~170src/DSi.cpp:2342:17: warning: unused variable 'newram' [-Wunused-variable]171 2342 | u32 newram = (val >> 14) & 0x3;172 | ^~~~~~173g++ -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.cpp174g++ -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.cpp175src/DSi_NAND.cpp: In function 'bool DSi_NAND::ESEncrypt(u8*, u32)':176src/DSi_NAND.cpp:297:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]177 297 | for (int i = 0; i < remlen; i++)178 | ~~^~~~~~~~179src/DSi_NAND.cpp:304:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]180 304 | for (int i = 0; i < remlen; i++)181 | ~~^~~~~~~~182src/DSi_NAND.cpp: In function 'bool DSi_NAND::ESDecrypt(u8*, u32)':183src/DSi_NAND.cpp:391:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]184 391 | for (int i = 0; i < remlen; i++)185 | ~~^~~~~~~~186src/DSi_NAND.cpp:399:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]187 399 | for (int i = 0; i < remlen; i++)188 | ~~^~~~~~~~189src/DSi_NAND.cpp: In function 'bool DSi_NAND::ImportTitle(const char*, u8*, bool)':190src/DSi_NAND.cpp:977:9: warning: unused variable 'ticketdir' [-Wunused-variable]191 977 | DIR ticketdir;192 | ^~~~~~~~~193src/DSi_NAND.cpp:978:13: warning: unused variable 'info' [-Wunused-variable]194 978 | FILINFO info;195 | ^~~~196g++ -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.cpp197src/DSi_NDMA.cpp: In member function 'void DSi_NDMA::Run9()':198src/DSi_NDMA.cpp:169:10: warning: unused variable 'burststart' [-Wunused-variable]199 169 | bool burststart = (Running == 2);200 | ^~~~~~~~~~201src/DSi_NDMA.cpp: In member function 'void DSi_NDMA::Run7()':202src/DSi_NDMA.cpp:258:10: warning: unused variable 'burststart' [-Wunused-variable]203 258 | bool burststart = (Running == 2);204 | ^~~~~~~~~~205g++ -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.cpp206src/DSi_NWifi.cpp: In member function 'void DSi_NWifi::BMI_Command()':207src/DSi_NWifi.cpp:752:20: warning: unused variable 'val' [-Wunused-variable]208 752 | u8 val = Mailbox[0].Read();209 | ^~~210src/DSi_NWifi.cpp:806:20: warning: unused variable 'val' [-Wunused-variable]211 806 | u8 val = Mailbox[0].Read();212 | ^~~213src/DSi_NWifi.cpp: In member function 'void DSi_NWifi::HTC_Command()':214src/DSi_NWifi.cpp:823:9: warning: unused variable 'h0' [-Wunused-variable]215 823 | u16 h0 = MB_Read16(0);216 | ^~217src/DSi_NWifi.cpp:825:9: warning: unused variable 'h2' [-Wunused-variable]218 825 | u16 h2 = MB_Read16(0);219 | ^~220src/DSi_NWifi.cpp: In member function 'void DSi_NWifi::WMI_ConnectToNetwork()':221src/DSi_NWifi.cpp:1148:8: warning: unused variable 'pCryptoLen' [-Wunused-variable]222 1148 | u8 pCryptoLen = Mailbox[0].Read();223 | ^~~~~~~~~~224src/DSi_NWifi.cpp:1150:8: warning: unused variable 'gCryptoLen' [-Wunused-variable]225 1150 | u8 gCryptoLen = Mailbox[0].Read();226 | ^~~~~~~~~~227src/DSi_NWifi.cpp:1159:9: warning: unused variable 'channel' [-Wunused-variable]228 1159 | u16 channel = MB_Read16(0);229 | ^~~~~~~230src/DSi_NWifi.cpp:1165:9: warning: unused variable 'flags' [-Wunused-variable]231 1165 | u32 flags = MB_Read32(0);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.cpp234g++ -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.cpp235g++ -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.cpp236src/DSi_SD.cpp: In member function 'void DSi_SDHost::SendResponse(u32, bool)':237src/DSi_SD.cpp:227:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]238 227 | *(u32*)&ResponseBuffer[6] = *(u32*)&ResponseBuffer[4];239 | ^~~~~~~~~~~~~~~~~~~~~~~~240src/DSi_SD.cpp:227:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]241 227 | *(u32*)&ResponseBuffer[6] = *(u32*)&ResponseBuffer[4];242 | ^~~~~~~~~~~~~~~~~~~~~~~~243src/DSi_SD.cpp:228:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]244 228 | *(u32*)&ResponseBuffer[4] = *(u32*)&ResponseBuffer[2];245 | ^~~~~~~~~~~~~~~~~~~~~~~~246src/DSi_SD.cpp:228:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]247 228 | *(u32*)&ResponseBuffer[4] = *(u32*)&ResponseBuffer[2];248 | ^~~~~~~~~~~~~~~~~~~~~~~~249src/DSi_SD.cpp:229:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]250 229 | *(u32*)&ResponseBuffer[2] = *(u32*)&ResponseBuffer[0];251 | ^~~~~~~~~~~~~~~~~~~~~~~~252src/DSi_SD.cpp:229:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]253 229 | *(u32*)&ResponseBuffer[2] = *(u32*)&ResponseBuffer[0];254 | ^~~~~~~~~~~~~~~~~~~~~~~~255src/DSi_SD.cpp:230:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]256 230 | *(u32*)&ResponseBuffer[0] = val;257 | ^~~~~~~~~~~~~~~~~~~~~~~~258src/DSi_SD.cpp: In member function 'u16 DSi_SDHost::ReadFIFO16()':259src/DSi_SD.cpp:491:19: warning: unused variable 'dev' [-Wunused-variable]260 491 | DSi_SDDevice* dev = Ports[PortSelect & 0x1];261 | ^~~262src/DSi_SD.cpp: In member function 'u32 DSi_SDHost::ReadFIFO32()':263src/DSi_SD.cpp:512:19: warning: unused variable 'dev' [-Wunused-variable]264 512 | DSi_SDDevice* dev = Ports[PortSelect & 0x1];265 | ^~~266src/DSi_SD.cpp: In member function 'void DSi_SDHost::WriteFIFO16(u16)':267src/DSi_SD.cpp:648:19: warning: unused variable 'dev' [-Wunused-variable]268 648 | DSi_SDDevice* dev = Ports[PortSelect & 0x1];269 | ^~~270g++ -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.cpp274g++ -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.cpp275src/GPU2D_Soft.cpp: In member function 'virtual void GPU2D::SoftRenderer::DrawScanline(u32, GPU2D::Unit*)':276src/GPU2D_Soft.cpp:256:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]277 256 | *(u64*)&dst[i] = *(u64*)&BGOBJLine[i];278 | ^~~~~~~~~~~~~~~~~~~279src/GPU2D_Soft.cpp: In member function 'void GPU2D::SoftRenderer::DrawScanline_BGOBJ(u32)':280src/GPU2D_Soft.cpp:778:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]281 778 | *(u64*)&BGOBJLine[i] = backdrop;282 | ^~~~~~~~~~~~~~~~~~~283src/GPU2D_Soft.cpp:863:30: warning: variable 'evb' set but not used [-Wunused-but-set-variable=]284 863 | u32 eva, evb;285 | ^~~286src/GPU2D_Soft.cpp: In member function 'virtual void GPU2D::SoftRenderer::DrawSprites(u32, GPU2D::Unit*)':287src/GPU2D_Soft.cpp:1746:21: warning: unused variable 'rotparamgroup' [-Wunused-variable]288 1746 | u32 rotparamgroup = (attrib[1] >> 9) & 0x1F;289 | ^~~~~~~~~~~~~290src/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]':291src/GPU2D_Soft.cpp:1770:17: required from here292 1645 | DrawSprite_##type<true>(__VA_ARGS__); \293 | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~294src/GPU2D_Soft.cpp:2200:17: warning: variable 'pixelstride' set but not used [-Wunused-but-set-variable=]295 2200 | s32 pixelstride;296 | ^~~~~~~~~~~297src/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]':298src/GPU2D_Soft.cpp:1770:17: required from here299 1649 | DrawSprite_##type<false>(__VA_ARGS__); \300 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~301src/GPU2D_Soft.cpp:2200:17: warning: variable 'pixelstride' set but not used [-Wunused-but-set-variable=]302 2200 | s32 pixelstride;303 | ^~~~~~~~~~~304In file included from src/GPU.h:32,305 from src/GPU.cpp:22:306In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 64]',307 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:308src/NonStupidBitfield.h:177:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds=]309 177 | Data[startEntry + entriesCount - 1] = 0xFFFFFFFFFFFFFFFF;310 | ~~~~^311src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]':312src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<64>::Data'313 36 | u64 Data[DataLength];314 | ^~~~315In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 64]',316 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:317src/NonStupidBitfield.h:175:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds=]318 175 | Data[startEntry + entriesCount - 1] |= ~(0xFFFFFFFFFFFFFFFF << ((startBit + bitsCount) & 0x3F));319 | ~~~~^320src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]':321src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<64>::Data'322 36 | u64 Data[DataLength];323 | ^~~~324In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 64]',325 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:326src/NonStupidBitfield.h:175:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds=]327 175 | Data[startEntry + entriesCount - 1] |= ~(0xFFFFFFFFFFFFFFFF << ((startBit + bitsCount) & 0x3F));328 | ~~~~^329src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]':330src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<64>::Data'331 36 | u64 Data[DataLength];332 | ^~~~333In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 64]',334 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:335src/NonStupidBitfield.h:179:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds=]336 179 | Data[i] = 0xFFFFFFFFFFFFFFFF;337 | ~~~~^338src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 32768; unsigned int MappingGranularity = 8192]':339src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<64>::Data'340 36 | u64 Data[DataLength];341 | ^~~~342In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 16]',343 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:344src/NonStupidBitfield.h:177:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds=]345 177 | Data[startEntry + entriesCount - 1] = 0xFFFFFFFFFFFFFFFF;346 | ~~~~^347src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]':348src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<16>::Data'349 36 | u64 Data[DataLength];350 | ^~~~351In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 16]',352 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:353src/NonStupidBitfield.h:175:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds=]354 175 | Data[startEntry + entriesCount - 1] |= ~(0xFFFFFFFFFFFFFFFF << ((startBit + bitsCount) & 0x3F));355 | ~~~~^356src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]':357src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<16>::Data'358 36 | u64 Data[DataLength];359 | ^~~~360In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 16]',361 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:362src/NonStupidBitfield.h:175:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds=]363 175 | Data[startEntry + entriesCount - 1] |= ~(0xFFFFFFFFFFFFFFFF << ((startBit + bitsCount) & 0x3F));364 | ~~~~^365src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]':366src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<16>::Data'367 36 | u64 Data[DataLength];368 | ^~~~369In member function 'void NonStupidBitField<Size>::SetRange(u32, u32) [with unsigned int Size = 16]',370 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:371src/NonStupidBitfield.h:179:21: warning: array subscript 1 is above array bounds of 'u64 [1]' {aka 'long unsigned int [1]'} [-Warray-bounds=]372 179 | Data[i] = 0xFFFFFFFFFFFFFFFF;373 | ~~~~^374src/NonStupidBitfield.h: In member function 'NonStupidBitField<(Size / GPU::VRAMDirtyGranularity)> GPU::VRAMTrackingSet<Size, MappingGranularity>::DeriveState(u32*) [with unsigned int Size = 8192; unsigned int MappingGranularity = 8192]':375src/NonStupidBitfield.h:36:9: note: while referencing 'NonStupidBitField<16>::Data'376 36 | u64 Data[DataLength];377 | ^~~~378src/GPU3D_Soft.cpp: In member function 'void GPU3D::SoftRenderer::PlotTranslucentPixel(u32, u32, u32, u32, u32)':379src/GPU3D_Soft.cpp:566:11: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare]380 566 | if (z != -1)381 | ~~^~~~~382src/GPU3D_Soft.cpp: In member function 'void GPU3D::SoftRenderer::RenderShadowMaskScanline(RendererPolygon*, s32)':383src/GPU3D_Soft.cpp:684:9: warning: variable 'polyattr' set but not used [-Wunused-but-set-variable=]384 684 | u32 polyattr = (polygon->Attr & 0x3F008000);385 | ^~~~~~~~386src/GPU3D_Soft.cpp:716:13: warning: variable 'vlcur' set but not used [-Wunused-but-set-variable=]387 716 | Vertex *vlcur, *vlnext, *vrcur, *vrnext;388 | ^~~~~389src/GPU3D_Soft.cpp:716:21: warning: variable 'vlnext' set but not used [-Wunused-but-set-variable=]390 716 | Vertex *vlcur, *vlnext, *vrcur, *vrnext;391 | ^~~~~~392src/GPU3D_Soft.cpp:716:30: warning: variable 'vrcur' set but not used [-Wunused-but-set-variable=]393 716 | Vertex *vlcur, *vlnext, *vrcur, *vrnext;394 | ^~~~~395src/GPU3D_Soft.cpp:716:38: warning: variable 'vrnext' set but not used [-Wunused-but-set-variable=]396 716 | Vertex *vlcur, *vlnext, *vrcur, *vrnext;397 | ^~~~~~398src/GPU3D_Soft.cpp:721:22: warning: variable 'interp_start' set but not used [-Wunused-but-set-variable=]399 721 | Interpolator<1>* interp_start;400 | ^~~~~~~~~~~~401src/GPU3D_Soft.cpp:722:22: warning: variable 'interp_end' set but not used [-Wunused-but-set-variable=]402 722 | Interpolator<1>* interp_end;403 | ^~~~~~~~~~404src/GPU3D.cpp: In function 'void GPU3D::SubmitPolygon()':405src/GPU3D.cpp:1117:43: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare]406 1117 | if (LastStripPolygon->NumVertices == lastpolyverts &&407 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~408src/GPU3D.cpp:1244:34: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]409 1244 | if (vtx->Position[3] <= ZeroDotWLimit)410 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~411src/GPU3D.cpp:1028:9: warning: unused variable 'prev' [-Wunused-variable]412 1028 | int prev, next;413 | ^~~~414src/GPU3D.cpp:1028:15: warning: unused variable 'next' [-Wunused-variable]415 1028 | int prev, next;416 | ^~~~417src/GPU3D.cpp:1041:28: warning: variable 'v3' set but not used [-Wunused-but-set-variable=]418 1041 | Vertex *v0, *v1, *v2, *v3;419 | ^~420In file included from src/GPU3D_Soft.cpp:19:421In member function 's32 GPU3D::SoftRenderer::Interpolator<dir>::InterpolateZ(s32, s32, bool) [with int dir = 0]',422 inlined from 's32 GPU3D::SoftRenderer::Interpolator<dir>::InterpolateZ(s32, s32, bool) [with int dir = 0]' at src/GPU3D_Soft.h:167:13,423 inlined from 'void GPU3D::SoftRenderer::RenderShadowMaskScanline(RendererPolygon*, s32)' at src/GPU3D_Soft.cpp:815:37:424src/GPU3D_Soft.h:177:61: warning: 'interpX.GPU3D::SoftRenderer::Interpolator<0>::yfactor' may be used uninitialized [-Wmaybe-uninitialized]425 177 | return z1 + (((s64)(z0-z1) * ((1<<shift)-yfactor)) >> shift);426 | ~~~~~~~~~~~^~~~~~~~~427src/GPU3D_Soft.cpp: In member function 'void GPU3D::SoftRenderer::RenderShadowMaskScanline(RendererPolygon*, s32)':428src/GPU3D_Soft.cpp:795:21: note: 'interpX.GPU3D::SoftRenderer::Interpolator<0>::yfactor' was declared here429 795 | Interpolator<0> interpX(xstart, xend+1, wl, wr);430 | ^~~~~~~431g++ -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.cpp432src/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]':433src/GPU2D_Soft.cpp:1027:9: warning: 'curtile' may be used uninitialized [-Wmaybe-uninitialized]434 1027 | u16 curtile;435 | ^~~~~~~436src/GPU2D_Soft.cpp:1132:58: warning: 'curpal' may be used uninitialized [-Wmaybe-uninitialized]437 1132 | drawPixel(&BGOBJLine[i], curpal[color], 0x01000000<<bgnum);438 | ~~~~~~~~~~~~^439src/GPU2D_Soft.cpp:1028:10: note: 'curpal' was declared here440 1028 | u16* curpal;441 | ^~~~~~442src/GPU2D_Soft.cpp:1128:48: warning: 'pixelsaddr' may be used uninitialized [-Wmaybe-uninitialized]443 1128 | color = bgvram[(pixelsaddr + (tilexoff >> 1)) & bgvrammask] & 0x0F;444 | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~445src/GPU2D_Soft.cpp:1029:9: note: 'pixelsaddr' was declared here446 1029 | u32 pixelsaddr;447 | ^~~~~~~~~~448src/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]':449src/GPU2D_Soft.cpp:1027:9: warning: 'curtile' may be used uninitialized [-Wmaybe-uninitialized]450 1027 | u16 curtile;451 | ^~~~~~~452src/GPU2D_Soft.cpp:1132:58: warning: 'curpal' may be used uninitialized [-Wmaybe-uninitialized]453 1132 | drawPixel(&BGOBJLine[i], curpal[color], 0x01000000<<bgnum);454 | ~~~~~~~~~~~~^455src/GPU2D_Soft.cpp:1028:10: note: 'curpal' was declared here456 1028 | u16* curpal;457 | ^~~~~~458src/GPU2D_Soft.cpp:1128:48: warning: 'pixelsaddr' may be used uninitialized [-Wmaybe-uninitialized]459 1128 | color = bgvram[(pixelsaddr + (tilexoff >> 1)) & bgvrammask] & 0x0F;460 | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~461src/GPU2D_Soft.cpp:1029:9: note: 'pixelsaddr' was declared here462 1029 | u32 pixelsaddr;463 | ^~~~~~~~~~464In member function 's32 GPU3D::SoftRenderer::Interpolator<dir>::Interpolate(s32, s32) [with int dir = 0]',465 inlined from 's32 GPU3D::SoftRenderer::Interpolator<dir>::Interpolate(s32, s32) [with int dir = 0]' at src/GPU3D_Soft.h:144:13,466 inlined from 'void GPU3D::SoftRenderer::RenderPolygonScanline(RendererPolygon*, s32)' at src/GPU3D_Soft.cpp:1076:37:467src/GPU3D_Soft.h:154:56: warning: 'interpX.GPU3D::SoftRenderer::Interpolator<0>::yfactor' may be used uninitialized [-Wmaybe-uninitialized]468 154 | return y1 + (((y0-y1) * ((1<<shift)-yfactor)) >> shift);469 | ~~~~~~~~~~~^~~~~~~~~470src/GPU3D_Soft.cpp: In member function 'void GPU3D::SoftRenderer::RenderPolygonScanline(RendererPolygon*, s32)':471src/GPU3D_Soft.cpp:1023:21: note: 'interpX.GPU3D::SoftRenderer::Interpolator<0>::yfactor' was declared here472 1023 | Interpolator<0> interpX(xstart, xend+1, wl, wr);473 | ^~~~~~~474src/NDSCart.cpp: In function 'bool NDSCart::LoadROMCommon(u32, const char*, bool)':475src/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]476 1607 | strncpy((char*)&CartROM[arm9base], "encryObj", 8);477 | ^478g++ -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.cpp479g++ -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.cpp480g++ -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.cpp481src/Savestate.cpp:24:9: warning: 'fclose' redefined482 24 | #define fclose(stream) memstream_close(stream)483 | ^~~~~~484In file included from src/Savestate.cpp:21:485src/Platform.h:30:9: note: this is the location of the previous definition486 30 | #define fclose rfclose487 | ^~~~~~488src/Savestate.cpp:25:9: warning: 'fread' redefined489 25 | #define fread(data, len, count, stream) memstream_read(stream, data, len)490 | ^~~~~491src/Platform.h:31:9: note: this is the location of the previous definition492 31 | #define fread rfread493 | ^~~~~494src/Savestate.cpp:26:9: warning: 'fwrite' redefined495 26 | #define fwrite(data, len, count, stream) memstream_write(stream, data, len)496 | ^~~~~~497In file included from src/Platform.h:28:498./src/libretro/libretro-common/include/streams/file_stream_transforms.h:59:9: note: this is the location of the previous definition499 59 | #define fwrite rfwrite500 | ^~~~~~501src/Savestate.cpp:27:9: warning: 'fseek' redefined502 27 | #define fseek(stream, offset, mask) memstream_seek(stream, offset, mask)503 | ^~~~~504src/Platform.h:32:9: note: this is the location of the previous definition505 32 | #define fseek rfseek506 | ^~~~~507src/Savestate.cpp:28:9: warning: 'ftell' redefined508 28 | #define ftell(stream) memstream_pos(stream)509 | ^~~~~510./src/libretro/libretro-common/include/streams/file_stream_transforms.h:54:9: note: this is the location of the previous definition511 54 | #define ftell rftell512 | ^~~~~513src/NDSCart_SRAMManager.cpp: In function 'void NDSCart_SRAMManager::FlushSecondaryBuffer(u8*, s32)':514src/NDSCart_SRAMManager.cpp:158:26: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]515 158 | if (dst && dstLength < SecondaryBufferLength) return;516 | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~517src/NDSCart_SRAMManager.cpp: In function 'void NDSCart_SRAMManager::UpdateBuffer(u8*, s32)':518src/NDSCart_SRAMManager.cpp:191:27: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]519 191 | if (!src || srcLength != Length) return;520 | ~~~~~~~~~~^~~~~~~~~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.cpp522g++ -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.cpp523g++ -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.cpp524g++ -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.cpp525src/Wifi.cpp: In function 'void Wifi::SendMPDefaultReply()':526src/Wifi.cpp:503:13: warning: unused variable 'txlen' [-Wunused-variable]527 503 | int txlen = Platform::MP_SendPacket(reply, 12+28);528 | ^~~~~529src/Wifi.cpp: In function 'void Wifi::SendMPAck()':530src/Wifi.cpp:533:13: warning: unused variable 'txlen' [-Wunused-variable]531 533 | int txlen = Platform::MP_SendPacket(ack, 12+32);532 | ^~~~~533src/Wifi.cpp: In function 'bool Wifi::ProcessTX(TXSlot*, int)':534src/Wifi.cpp:658:17: warning: unused variable 'txlen' [-Wunused-variable]535 658 | int txlen = Platform::MP_SendPacket(&RAM[slot->Addr], 12 + slot->Length);536 | ^~~~~537src/SPI.cpp: In function 'void SPI_TSC::Write(u8, u32)':538src/SPI.cpp:643:35: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare]539 643 | if (samplepos >= MicBufferLen) samplepos = MicBufferLen-1;540 | ~~~~~~~~~~^~~~~~~~~~~~~~~541src/SPU.cpp: In member function 'void SPU::Channel::NextSample_PCM8()':542src/SPU.cpp:344:13: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]543 344 | if (Pos >= (LoopPos + Length))544 | ~~~~^~~~~~~~~~~~~~~~~~~~~545src/SPU.cpp: In member function 'void SPU::Channel::NextSample_PCM16()':546src/SPU.cpp:367:18: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]547 367 | if ((Pos<<1) >= (LoopPos + Length))548 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~549src/SPU.cpp: In member function 'void SPU::Channel::NextSample_ADPCM()':550src/SPU.cpp:406:18: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]551 406 | if ((Pos>>1) >= (LoopPos + Length))552 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~553src/SPU.cpp:451:17: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]554 451 | if (Pos == (LoopPos<<1))555 | ~~~~^~~~~~~~~~~~~~~556src/SPU.cpp: In member function 'void SPU::CaptureUnit::Run(s32)':557src/SPU.cpp:652:21: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]558 652 | if (Pos >= Length)559 | ~~~~^~~~~~~~~560src/SPU.cpp:675:21: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'u32' {aka 'unsigned int'} [-Wsign-compare]561 675 | if (Pos >= Length)562 | ~~~~^~~~~~~~~563src/Wifi.cpp: In function 'bool Wifi::CheckRX(bool)':564src/Wifi.cpp:886:35: warning: 'a_src' may be used uninitialized [-Wmaybe-uninitialized]565 886 | if (MACEqual(&RXBuffer[12 + a_src], (u8*)&IOPORT(W_MACAddr0)))566 | ~~~^~~~~~~567src/Wifi.cpp:837:13: note: 'a_src' was declared here568 837 | u32 a_src, a_dst, a_bss;569 | ^~~~~570src/Wifi.cpp:891:36: warning: 'a_dst' may be used uninitialized [-Wmaybe-uninitialized]571 891 | if (!MACEqual(&RXBuffer[12 + a_dst], (u8*)&IOPORT(W_MACAddr0)) &&572 | ~~~^~~~~~~573src/Wifi.cpp:837:20: note: 'a_dst' was declared here574 837 | u32 a_src, a_dst, a_bss;575 | ^~~~~576src/Wifi.cpp:889:44: warning: 'a_bss' may be used uninitialized [-Wmaybe-uninitialized]577 889 | bssidmatch = MACEqual(&RXBuffer[12 + a_bss], (u8*)&IOPORT(W_BSSID0));578 | ~~~^~~~~~~579src/Wifi.cpp:837:27: note: 'a_bss' was declared here580 837 | u32 a_src, a_dst, a_bss;581 | ^~~~~582g++ -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.cpp583src/SPI.cpp: In function 'void SPI_Firmware::LoadFirmwareFromFile(RFILE*)':584src/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]585 150 | strncpy(&firmbkp[0], FirmwarePath, fplen);586 | ^587src/SPI.cpp:149:23: note: length computed here588 149 | int fplen = strlen(FirmwarePath);589 | ~~~~~~^~~~~~~~~~~~~~590src/SPI.cpp: In function 'void SPI_Firmware::Reset()':591src/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]592 200 | strncpy(FirmwarePath, Config::FirmwarePath, 1023);593 | ^594src/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]595 198 | strncpy(FirmwarePath, Config::DSiFirmwarePath, 1023);596 | ^597g++ -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.cpp598g++ -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.cpp599src/frontend/Util_ROM.cpp: In function 'int Frontend::SetupDSiNAND()':600src/frontend/Util_ROM.cpp:227:10: warning: unused variable 'len' [-Wunused-variable]601 227 | long len;602 | ^~~603src/frontend/Util_ROM.cpp: In function 'void Frontend::SetupSRAMPath(int)':604src/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]605 91 | strncpy(SRAMPath[slot] + strlen(ROMPath[slot]) - 3, "sav", 3);606 | ^607g++ -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.cpp608src/frontend/Util_ROM.cpp: In function 'void Frontend::LoadCheats()':609src/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]610 262 | strncpy(filename + strlen(ROMPath[ROMSlot_NDS]) - 3, "mch", 3);611 | ^612src/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.cpp650g++ -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.cpp651src/GPU3D_OpenGL.cpp: In member function 'void GPU3D::GLRenderer::BuildPolygons(RendererPolygon*, int)':652src/GPU3D_OpenGL.cpp:517:31: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 's32' {aka 'int'} [-Wsign-compare]653 517 | if (lastx == vtx->FinalPosition[0] &&654 | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~655src/GPU3D_OpenGL.cpp:518:31: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 's32' {aka 'int'} [-Wsign-compare]656 518 | lasty == vtx->FinalPosition[1]) continue;657 | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~658src/GPU3D_OpenGL.cpp: In member function 'virtual void GPU3D::GLRenderer::RenderFrame()':659src/GPU3D_OpenGL.cpp:1257:13: warning: variable 'flags' set but not used [-Wunused-but-set-variable=]660 1257 | u32 flags = 0;661 | ^~~~~662g++ -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.cpp663src/GPU3D_OpenGL.cpp:1191:24: warning: 'vram' may be used uninitialized [-Wmaybe-uninitialized]664 1191 | glTexSubImage2D(GL_TEXTURE_2D, 0, 0, i*128, 1024, 128, GL_RED_INTEGER, GL_UNSIGNED_BYTE, vram);665src/GPU3D_OpenGL.cpp:1184:13: note: 'vram' was declared here666 1184 | u8* vram;667 | ^~~~668src/GPU3D_OpenGL.cpp:1206:24: warning: 'vram' may be used uninitialized [-Wmaybe-uninitialized]669 1206 | glTexSubImage2D(GL_TEXTURE_2D, 0, 0, i*8, 1024, 8, GL_RGBA, GL_UNSIGNED_SHORT_1_5_5_5_REV, vram);670src/GPU3D_OpenGL.cpp:1200:13: note: 'vram' was declared here671 1200 | u8* vram;672 | ^~~~673g++ -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.cpp674In file included from /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/time.h:29,675 from /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/pthread.h:23,676 from /nix/store/rp1zq1p0rjfdg99rb2cfs14871y6cqaj-gcc-16.2.0/include/c++/16.2.0/x86_64-unknown-linux-gnu/bits/gthr-default.h:35,677 from /nix/store/rp1zq1p0rjfdg99rb2cfs14871y6cqaj-gcc-16.2.0/include/c++/16.2.0/x86_64-unknown-linux-gnu/bits/gthr.h:157,678 from /nix/store/rp1zq1p0rjfdg99rb2cfs14871y6cqaj-gcc-16.2.0/include/c++/16.2.0/ext/atomicity.h:37,679 from /nix/store/rp1zq1p0rjfdg99rb2cfs14871y6cqaj-gcc-16.2.0/include/c++/16.2.0/bits/shared_ptr_base.h:61,680 from /nix/store/rp1zq1p0rjfdg99rb2cfs14871y6cqaj-gcc-16.2.0/include/c++/16.2.0/bits/shared_ptr.h:53,681 from /nix/store/rp1zq1p0rjfdg99rb2cfs14871y6cqaj-gcc-16.2.0/include/c++/16.2.0/memory:82,682 from src/GPU.h:25,683 from src/ARMJIT.cpp:40:684src/ARMJIT.cpp:48:24: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]685 48 | static_assert(offsetof(ARM, CPSR) == ARM_CPSR_offset, "");686 | ^687src/ARMJIT.cpp:49:24: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]688 49 | static_assert(offsetof(ARM, Cycles) == ARM_Cycles_offset, "");689 | ^690src/ARMJIT.cpp:50:24: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]691 50 | static_assert(offsetof(ARM, StopExecution) == ARM_StopExecution_offset, "");692 | ^693src/ARMJIT.cpp: In function 'void ARMJIT::CompileBlock(ARM*)':694src/ARMJIT.cpp:936:27: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]695 936 | for (int j = 0; j < numLiterals; j++)696 | ~~^~~~~~~~~~~~~697src/ARMJIT.cpp:632:28: warning: unused variable 'writeAddrsTranslated' [-Wunused-variable]698 632 | u32 numWriteAddrs = 0, writeAddrsTranslated = 0;699 | ^~~~~~~~~~~~~~~~~~~~700src/ARMJIT.cpp: In function 'void ARMJIT::InvalidateByAddr(u32)':701src/ARMJIT.cpp:989:9: warning: unused variable 'mask' [-Wunused-variable]702 989 | u32 mask = 1 << ((localAddr & 0x1FF) / 16);703 | ^~~~704g++ -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.cpp705src/ARMJIT.cpp: In function 'void ARMJIT::CompileBlock(ARM*)':706src/ARMJIT.cpp:796:45: warning: 'lr' may be used uninitialized [-Wmaybe-uninitialized]707 796 | bool staticBranch = DecodeBranch(thumb, instrs[i], cond, hasLink, lr, link, linkAddr, target);708 | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~709src/ARMJIT.cpp:641:9: note: 'lr' was declared here710 641 | u32 lr;711 | ^~712src/ARMJIT_Memory.cpp: In member function 'void ARMJIT_Memory::Mapping::Unmap(int)':713src/ARMJIT_Memory.cpp:389:21: warning: unused variable 'segmentOffset' [-Wunused-variable]714 389 | u32 segmentOffset = offset;715 | ^~~~~~~~~~~~~716g++ -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.cpp717g++ -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.cpp718g++ -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.cpp723In file included from /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/alloca.h:24,724 from /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/stdlib.h:728,725 from /nix/store/rp1zq1p0rjfdg99rb2cfs14871y6cqaj-gcc-16.2.0/include/c++/16.2.0/cstdlib:83,726 from /nix/store/rp1zq1p0rjfdg99rb2cfs14871y6cqaj-gcc-16.2.0/include/c++/16.2.0/bits/stl_algo.h:71,727 from /nix/store/rp1zq1p0rjfdg99rb2cfs14871y6cqaj-gcc-16.2.0/include/c++/16.2.0/algorithm:63,728 from src/ARMJIT_x64/../ARM.h:22,729 from src/ARMJIT_x64/../ARMJIT.h:24,730 from src/ARMJIT_x64/ARMJIT_Compiler.h:24,731 from src/ARMJIT_x64/ARMJIT_Branch.cpp:19:732src/ARMJIT_x64/ARMJIT_Branch.cpp: In member function 'void ARMJIT::Compiler::Comp_JumpTo(u32, bool)':733src/ARMJIT_x64/ARMJIT_Branch.cpp:62:42: warning: 'offsetof' within non-standard-layout type 'ARMv5' is conditionally-supported [-Winvalid-offsetof]734 62 | MOV(32, MDisp(RCPU, offsetof(ARMv5, RegionCodeCycles)), Imm32(regionCodeCycles));735 | ^736src/ARMJIT_x64/ARMJIT_Branch.cpp:109:42: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]737 109 | MOV(32, MDisp(RCPU, offsetof(ARM, CodeRegion)), Imm32(codeRegion));738 | ^739src/ARMJIT_x64/ARMJIT_Branch.cpp:110:42: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]740 110 | MOV(32, MDisp(RCPU, offsetof(ARM, CodeCycles)), Imm32(codeCycles));741 | ^742src/ARMJIT_x64/ARMJIT_Branch.cpp:144:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]743 144 | MOV(32, MDisp(RCPU, offsetof(ARM, R[15])), Imm32(newPC));744 | ^745src/ARMJIT_x64/ARMJIT_Branch.cpp:148:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]746 148 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), Imm8(cycles));747 | ^748g++ -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.cpp749In file included from /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/unistd.h:226,750 from src/ARMJIT_x64/ARMJIT_Compiler.cpp:33:751src/ARMJIT_x64/ARMJIT_Compiler.cpp: In constructor 'ARMJIT::Compiler::Compiler()':752src/ARMJIT_x64/ARMJIT_Compiler.cpp:288:75: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]753 288 | MOV(32, R(RSCRATCH3), MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_FIQ)));754 | ^755src/ARMJIT_x64/ARMJIT_Compiler.cpp:291:75: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]756 291 | MOV(32, R(RSCRATCH3), MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_IRQ)));757 | ^758src/ARMJIT_x64/ARMJIT_Compiler.cpp:294:75: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]759 294 | MOV(32, R(RSCRATCH3), MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_SVC)));760 | ^761src/ARMJIT_x64/ARMJIT_Compiler.cpp:297:75: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]762 297 | MOV(32, R(RSCRATCH3), MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_ABT)));763 | ^764src/ARMJIT_x64/ARMJIT_Compiler.cpp:300:75: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]765 300 | MOV(32, R(RSCRATCH3), MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_UND)));766 | ^767src/ARMJIT_x64/ARMJIT_Compiler.cpp:330:61: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]768 330 | MOV(32, MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_FIQ)), R(RSCRATCH3));769 | ^770src/ARMJIT_x64/ARMJIT_Compiler.cpp:334:61: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]771 334 | MOV(32, MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_IRQ)), R(RSCRATCH3));772 | ^773src/ARMJIT_x64/ARMJIT_Compiler.cpp:338:61: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]774 338 | MOV(32, MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_SVC)), R(RSCRATCH3));775 | ^776src/ARMJIT_x64/ARMJIT_Compiler.cpp:342:61: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]777 342 | MOV(32, MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_ABT)), R(RSCRATCH3));778 | ^779src/ARMJIT_x64/ARMJIT_Compiler.cpp:346:61: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]780 346 | MOV(32, MComplex(RCPU, RSCRATCH2, SCALE_4, offsetof(ARM, R_UND)), R(RSCRATCH3));781 | ^782src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::LoadCPSR()':783src/ARMJIT_x64/ARMJIT_Compiler.cpp:480:44: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]784 480 | MOV(32, R(RCPSR), MDisp(RCPU, offsetof(ARM, CPSR)));785 | ^786src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::SaveCPSR(bool)':787src/ARMJIT_x64/ARMJIT_Compiler.cpp:487:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]788 487 | MOV(32, MDisp(RCPU, offsetof(ARM, CPSR)), R(RCPSR));789 | ^790src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::LoadReg(int, Gen::X64Reg)':791src/ARMJIT_x64/ARMJIT_Compiler.cpp:496:52: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]792 496 | MOV(32, R(nativeReg), MDisp(RCPU, offsetof(ARM, R) + reg*4));793 | ^794src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::SaveReg(int, Gen::X64Reg)':795src/ARMJIT_x64/ARMJIT_Compiler.cpp:503:34: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]796 503 | MOV(32, MDisp(RCPU, offsetof(ARM, R) + reg*4), R(nativeReg));797 | ^798src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'Gen::FixupBranch ARMJIT::Compiler::CheckCondition(u32)':799src/ARMJIT_x64/ARMJIT_Compiler.cpp:526:88: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]800 526 | TEST(32, R(RCPSR), Imm32(1 << (28 + ((~(cond >> 1) & 1) << 1 | (cond >> 2 & 1) ^ (cond >> 1 & 1)))));801 | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~802src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::Comp_SpecialBranchBehaviour(bool)':803src/ARMJIT_x64/ARMJIT_Compiler.cpp:676:36: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]804 676 | OR(8, MDisp(RCPU, offsetof(ARM, IdleLoop)), Imm8(0x1));805 | ^806src/ARMJIT_x64/ARMJIT_Compiler.cpp:684:42: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]807 684 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), Imm32(ConstantCycles));808 | ^809src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void (* ARMJIT::Compiler::CompileBlock(ARM*, bool, ARMJIT::FetchedInstr*, int, bool))()':810src/ARMJIT_x64/ARMJIT_Compiler.cpp:751:42: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]811 751 | MOV(32, MDisp(RCPU, offsetof(ARM, R[15])), Imm32(R15));812 | ^813src/ARMJIT_x64/ARMJIT_Compiler.cpp:754:46: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]814 754 | MOV(32, MDisp(RCPU, offsetof(ARM, CodeCycles)), Imm32(CurInstr.CodeCycles));815 | ^816src/ARMJIT_x64/ARMJIT_Compiler.cpp:755:46: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]817 755 | MOV(32, MDisp(RCPU, offsetof(ARM, CurInstr)), Imm32(CurInstr.Instr));818 | ^819src/ARMJIT_x64/ARMJIT_Compiler.cpp:846:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]820 846 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), Imm32(ConstantCycles));821 | ^822src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::Comp_AddCycles_C(bool)':823src/ARMJIT_x64/ARMJIT_Compiler.cpp:869:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]824 869 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), Imm8(cycles));825 | ^826src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::Comp_AddCycles_CI(u32)':827src/ARMJIT_x64/ARMJIT_Compiler.cpp:881:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]828 881 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), Imm8(cycles));829 | ^830src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::Comp_AddCycles_CI(Gen::X64Reg, int)':831src/ARMJIT_x64/ARMJIT_Compiler.cpp:895:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]832 895 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), R(RSCRATCH));833 | ^834src/ARMJIT_x64/ARMJIT_Compiler.cpp:900:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]835 900 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), R(i));836 | ^837src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::Comp_AddCycles_CDI()':838src/ARMJIT_x64/ARMJIT_Compiler.cpp:938:42: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]839 938 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), Imm8(cycles));840 | ^841src/ARMJIT_x64/ARMJIT_Compiler.cpp: In member function 'void ARMJIT::Compiler::Comp_AddCycles_CD()':842src/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]843 955 | IrregularCycles = cycles != numC;844 | ~~~~~~~^~~~~~~845src/ARMJIT_x64/ARMJIT_Compiler.cpp:982:38: warning: 'offsetof' within non-standard-layout type 'ARM' is conditionally-supported [-Winvalid-offsetof]846 982 | ADD(32, MDisp(RCPU, offsetof(ARM, Cycles)), Imm8(cycles));847 | ^848In file included from src/ARMJIT_x64/../ARMJIT_RegisterCache.h:27,849 from src/ARMJIT_x64/ARMJIT_Compiler.h:26,850 from src/ARMJIT_x64/ARMJIT_Compiler.cpp:19:851src/ARMJIT_x64/../ARMJIT_RegisterCache.h: In instantiation of 'void ARMJIT::RegisterCache<T, Reg>::UnloadRegister(int) [with T = ARMJIT::Compiler; Reg = Gen::X64Reg]':852src/ARMJIT_x64/ARMJIT_Compiler.cpp:78:40: required from here853 78 | RegCache.UnloadRegister(reg);854 | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~855src/ARMJIT_x64/../ARMJIT_RegisterCache.h:52:29: warning: comparison of integer expressions of different signedness: 'Gen::X64Reg' and 'int' [-Wsign-compare]856 52 | assert(Mapping[reg] != -1);857 | ^858g++ -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.cpp859src/ARMJIT_x64/../ARMJIT_RegisterCache.h: In instantiation of 'void ARMJIT::RegisterCache<T, Reg>::LoadRegister(int, bool) [with T = ARMJIT::Compiler; Reg = Gen::X64Reg]':860src/ARMJIT_x64/../ARMJIT_RegisterCache.h:176:17: required from 'void ARMJIT::RegisterCache<T, Reg>::Prepare(bool, int) [with T = ARMJIT::Compiler; Reg = Gen::X64Reg]'861 176 | LoadRegister(reg, needValueLoaded[reg]);862 | ^~~~~~~~~~~~863src/ARMJIT_x64/ARMJIT_Compiler.cpp:762:29: required from here864 762 | RegCache.Prepare(Thumb, i);865 | ~~~~~~~~~~~~~~~~^~~~~~~~~~866src/ARMJIT_x64/../ARMJIT_RegisterCache.h:65:29: warning: comparison of integer expressions of different signedness: 'Gen::X64Reg' and 'int' [-Wsign-compare]867 65 | assert(Mapping[reg] == -1);868 | ^869src/ARMJIT_x64/ARMJIT_LoadStore.cpp: In member function 'void ARMJIT::Compiler::A_Comp_MemHalf()':870src/ARMJIT_x64/ARMJIT_LoadStore.cpp:702:30: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]871 702 | ? Op2(CurInstr.Instr & 0xF | ((CurInstr.Instr >> 4) & 0xF0))872 | ~~~~~~~~~~~~~~~^~~~~873src/ARMJIT_x64/ARMJIT_LoadStore.cpp: In member function 'void ARMJIT::Compiler::A_Comp_LDM_STM()':874src/ARMJIT_x64/ARMJIT_LoadStore.cpp:763:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses]875 762 | writeback = Num == 0876 | ~~~~~~~~877 763 | && (!(regs & ~BitSet16(1 << CurInstr.A_Reg(16)))) || (regs & ~BitSet16((2 << CurInstr.A_Reg(16)) - 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 1 secondsfixupPhase
884shrinking RPATHs of ELF executables and libraries in /nix/store/v1xbblrfs5db6bc2wy2xyhm5skc0c6a1-libretro-melonds-0-unstable-2026-11-15885shrinking /nix/store/v1xbblrfs5db6bc2wy2xyhm5skc0c6a1-libretro-melonds-0-unstable-2026-11-15/lib/retroarch/cores/melonds_libretro.so886checking for references to /build/ in /nix/store/v1xbblrfs5db6bc2wy2xyhm5skc0c6a1-libretro-melonds-0-unstable-2026-11-15...887patching script interpreter paths in /nix/store/v1xbblrfs5db6bc2wy2xyhm5skc0c6a1-libretro-melonds-0-unstable-2026-11-15888stripping (with command strip and flags -S -p) in /nix/store/v1xbblrfs5db6bc2wy2xyhm5skc0c6a1-libretro-melonds-0-unstable-2026-11-15/lib /nix/store/v1xbblrfs5db6bc2wy2xyhm5skc0c6a1-libretro-melonds-0-unstable-2026-11-15/bin