>>> desmume: Building community/desmume 0.9.13-r0 (using abuild 3.10.0_rc1-r2) started Wed, 09 Nov 2022 18:02:47 +0000 >>> desmume: Checking sanity of /home/buildozer/aports/community/desmume/APKBUILD... >>> desmume: Analyzing dependencies... >>> desmume: Installing for build: build-base meson glib-dev sdl2-dev libpcap-dev gtk+3.0-dev (1/177) Installing samurai (1.2-r2) (2/177) Installing libbz2 (1.0.8-r3) (3/177) Installing libffi (3.4.4-r0) (4/177) Installing gdbm (1.23-r0) (5/177) Installing xz-libs (5.2.7-r0) (6/177) Installing mpdecimal (2.5.1-r1) (7/177) Installing readline (8.2.0-r0) (8/177) Installing sqlite-libs (3.39.4-r0) (9/177) Installing python3 (3.10.8-r3) (10/177) Installing meson (0.64.0-r0) (11/177) Installing bzip2-dev (1.0.8-r3) (12/177) Installing libxml2 (2.10.3-r1) (13/177) Installing libxml2-utils (2.10.3-r1) (14/177) Installing docbook-xml (4.5-r8) Executing docbook-xml-4.5-r8.post-install (15/177) Installing libgpg-error (1.46-r1) (16/177) Installing libgcrypt (1.10.1-r0) (17/177) Installing libxslt (1.1.37-r0) (18/177) Installing docbook-xsl (1.79.2-r8) Executing docbook-xsl-1.79.2-r8.post-install (19/177) Installing gettext-asprintf (0.21.1-r1) (20/177) Installing libintl (0.21.1-r1) (21/177) Installing libunistring (1.1-r0) (22/177) Installing gettext-libs (0.21.1-r1) (23/177) Installing gettext (0.21.1-r1) (24/177) Installing gettext-dev (0.21.1-r1) (25/177) Installing libblkid (2.38.1-r0) (26/177) Installing libmount (2.38.1-r0) (27/177) Installing glib (2.74.1-r2) (28/177) Installing linux-headers (5.19.5-r0) (29/177) Installing libffi-dev (3.4.4-r0) (30/177) Installing bsd-compat-headers (0.7.2-r3) (31/177) Installing ncurses-dev (6.3_p20221029-r0) (32/177) Installing libedit-dev (20221030.3.1-r0) (33/177) Installing zlib-dev (1.2.13-r0) (34/177) Installing libpcre2-16 (10.40-r0) (35/177) Installing libpcre2-32 (10.40-r0) (36/177) Installing pcre2-dev (10.40-r0) (37/177) Installing libuuid (2.38.1-r0) (38/177) Installing libfdisk (2.38.1-r0) (39/177) Installing libsmartcols (2.38.1-r0) (40/177) Installing util-linux-dev (2.38.1-r0) (41/177) Installing glib-dev (2.74.1-r2) (42/177) Installing sdl2 (2.24.2-r0) (43/177) Installing libpng (1.6.38-r0) (44/177) Installing freetype (2.12.1-r0) (45/177) Installing tslib (1.22-r1) (46/177) Installing directfb (1.7.7-r5) (47/177) Installing directfb-dev (1.7.7-r5) (48/177) Installing hwdata-pci (0.364-r0) (49/177) Installing libpciaccess (0.17-r0) (50/177) Installing libdrm (2.4.114-r0) (51/177) Installing libpciaccess-dev (0.17-r0) (52/177) Installing libdrm-dev (2.4.114-r0) (53/177) Installing libxau (1.0.10-r0) (54/177) Installing xorgproto (2022.2-r0) (55/177) Installing libxau-dev (1.0.10-r0) (56/177) Installing libmd (1.0.4-r0) (57/177) Installing libbsd (0.11.7-r0) (58/177) Installing libxdmcp (1.1.3-r1) (59/177) Installing libxcb (1.15-r0) (60/177) Installing libx11 (1.8.1-r1) (61/177) Installing libxext (1.3.5-r0) (62/177) Installing xcb-proto (1.15.2-r0) (63/177) Installing libxdmcp-dev (1.1.3-r1) (64/177) Installing libxcb-dev (1.15-r0) (65/177) Installing xtrans (1.4.0-r2) (66/177) Installing libx11-dev (1.8.1-r1) (67/177) Installing libxext-dev (1.3.5-r0) (68/177) Installing libxdamage (1.1.5-r1) (69/177) Installing libxfixes (6.0.0-r0) (70/177) Installing libxfixes-dev (6.0.0-r0) (71/177) Installing libxdamage-dev (1.1.5-r1) (72/177) Installing libxshmfence (1.3.1-r0) (73/177) Installing libxshmfence-dev (1.3.1-r0) (74/177) Installing mesa (22.2.3-r0) (75/177) Installing wayland-libs-server (1.21.0-r1) (76/177) Installing mesa-gbm (22.2.3-r0) (77/177) Installing mesa-glapi (22.2.3-r0) (78/177) Installing wayland-libs-client (1.21.0-r1) (79/177) Installing mesa-egl (22.2.3-r0) (80/177) Installing libxxf86vm (1.1.5-r0) (81/177) Installing mesa-gl (22.2.3-r0) (82/177) Installing mesa-gles (22.2.3-r0) (83/177) Installing llvm15-libs (15.0.4-r0) (84/177) Installing mesa-osmesa (22.2.3-r0) (85/177) Installing mesa-xatracker (22.2.3-r0) (86/177) Installing libxxf86vm-dev (1.1.5-r0) (87/177) Installing mesa-dev (22.2.3-r0) (88/177) Installing sdl2-dev (2.24.2-r0) (89/177) Installing libpcap (1.10.1-r1) (90/177) Installing libpcap-dev (1.10.1-r1) (91/177) Installing libxi (1.8-r0) (92/177) Installing libxtst (1.2.4-r0) (93/177) Installing dbus-libs (1.14.4-r0) (94/177) Installing at-spi2-core (2.46.0-r0) (95/177) Installing libatk-1.0 (2.46.0-r0) (96/177) Installing libatk-bridge-2.0 (2.46.0-r0) (97/177) Installing dbus-dev (1.14.4-r0) (98/177) Installing libxi-dev (1.8-r0) (99/177) Installing libxtst-dev (1.2.4-r0) (100/177) Installing at-spi2-core-dev (2.46.0-r0) (101/177) Installing shared-mime-info (2.2-r2) (102/177) Installing libjpeg-turbo (2.1.4-r0) (103/177) Installing libwebp (1.2.4-r1) (104/177) Installing tiff (4.4.0-r1) (105/177) Installing gdk-pixbuf (2.42.10-r0) (106/177) Installing libjpeg-turbo-dev (2.1.4-r0) (107/177) Installing libpng-dev (1.6.38-r0) (108/177) Installing libwebp-dev (1.2.4-r1) (109/177) Installing xz-dev (5.2.7-r0) (110/177) Installing zstd-dev (1.5.2-r9) (111/177) Installing libtiffxx (4.4.0-r1) (112/177) Installing tiff-dev (4.4.0-r1) (113/177) Installing gdk-pixbuf-dev (2.42.10-r0) (114/177) Installing libepoxy (1.5.10-r0) (115/177) Installing libepoxy-dev (1.5.10-r0) (116/177) Installing libxinerama (1.1.5-r0) (117/177) Installing libxinerama-dev (1.1.5-r0) (118/177) Installing xkeyboard-config (2.37-r0) (119/177) Installing libxkbcommon (1.4.1-r0) (120/177) Installing libxkbcommon-x11 (1.4.1-r0) (121/177) Installing libxml2-dev (2.10.3-r1) (122/177) Installing libxkbcommon-dev (1.4.1-r0) (123/177) Installing wayland-libs-cursor (1.21.0-r1) (124/177) Installing wayland-protocols (1.28-r0) (125/177) Installing hicolor-icon-theme (0.17-r2) (126/177) Installing gtk-update-icon-cache (3.24.34-r7) (127/177) Installing libxcomposite (0.4.5-r1) (128/177) Installing libxrender (0.9.11-r0) (129/177) Installing libxcursor (1.2.1-r1) (130/177) Installing libxrandr (1.5.2-r1) (131/177) Installing fontconfig (2.14.1-r0) (132/177) Installing pixman (0.42.2-r0) (133/177) Installing cairo (1.17.6-r3) (134/177) Installing cairo-gobject (1.17.6-r3) (135/177) Installing avahi-libs (0.8-r6) (136/177) Installing nettle (3.8.1-r0) (137/177) Installing p11-kit (0.24.1-r1) (138/177) Installing libtasn1 (4.19.0-r0) (139/177) Installing gnutls (3.7.8-r2) (140/177) Installing cups-libs (2.4.2-r1) (141/177) Installing fribidi (1.0.12-r0) (142/177) Installing graphite2 (1.3.14-r2) (143/177) Installing harfbuzz (5.3.1-r1) (144/177) Installing libxft (2.3.6-r0) (145/177) Installing pango (1.50.11-r0) (146/177) Installing wayland-libs-egl (1.21.0-r1) (147/177) Installing gtk+3.0 (3.24.34-r7) Executing gtk+3.0-3.24.34-r7.post-install (148/177) Installing cairo-tools (1.17.6-r3) (149/177) Installing expat (2.5.0-r0) (150/177) Installing expat-dev (2.5.0-r0) (151/177) Installing brotli (1.0.9-r9) (152/177) Installing brotli-dev (1.0.9-r9) (153/177) Installing freetype-dev (2.12.1-r0) (154/177) Installing fontconfig-dev (2.14.1-r0) (155/177) Installing libxrender-dev (0.9.11-r0) (156/177) Installing pixman-dev (0.42.2-r0) (157/177) Installing util-macros (1.19.3-r0) (158/177) Installing xcb-util (0.4.0-r3) (159/177) Installing xcb-util-dev (0.4.0-r3) (160/177) Installing cairo-dev (1.17.6-r3) (161/177) Installing fribidi-dev (1.0.12-r0) (162/177) Installing pango-tools (1.50.11-r0) (163/177) Installing icu-data-en (72.1-r1) Executing icu-data-en-72.1-r1.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (164/177) Installing icu-libs (72.1-r1) (165/177) Installing harfbuzz-icu (5.3.1-r1) (166/177) Installing graphite2-dev (1.3.14-r2) (167/177) Installing icu (72.1-r1) (168/177) Installing icu-dev (72.1-r1) (169/177) Installing harfbuzz-dev (5.3.1-r1) (170/177) Installing libxft-dev (2.3.6-r0) (171/177) Installing pango-dev (1.50.11-r0) (172/177) Installing wayland-dev (1.21.0-r1) (173/177) Installing libxcomposite-dev (0.4.5-r1) (174/177) Installing libxcursor-dev (1.2.1-r1) (175/177) Installing libxrandr-dev (1.5.2-r1) (176/177) Installing gtk+3.0-dev (3.24.34-r7) (177/177) Installing .makedepends-desmume (20221109.180249) Executing busybox-1.35.0-r27.trigger Executing glib-2.74.1-r2.trigger Executing shared-mime-info-2.2-r2.trigger Executing gdk-pixbuf-2.42.10-r0.trigger Executing gtk-update-icon-cache-3.24.34-r7.trigger OK: 774 MiB in 275 packages >>> desmume: Cleaning up srcdir >>> desmume: Cleaning up pkgdir >>> desmume: Fetching https://distfiles.alpinelinux.org/distfiles/edge/desmume-0.9.13.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9.9M 100 9.9M 0 0 36.0M 0 --:--:-- --:--:-- --:--:-- 36.1M >>> desmume: Fetching https://distfiles.alpinelinux.org/distfiles/edge/desmume-0.9.13.tar.xz >>> desmume: Checking sha512sums... desmume-0.9.13.tar.xz: OK 0001-Fix-compiling-on-GCC-for-AArch64.-Fixes-548.patch: OK 0002-Define-_POSIX_C_SOURCE-for-clock_gettime.patch: OK >>> desmume: Unpacking /var/cache/distfiles/edge/desmume-0.9.13.tar.xz... >>> desmume: 0001-Fix-compiling-on-GCC-for-AArch64.-Fixes-548.patch patching file desmume/src/render3D.cpp patching file desmume/src/texcache.cpp patching file desmume/src/utils/colorspacehandler/colorspacehandler_NEON.cpp >>> desmume: 0002-Define-_POSIX_C_SOURCE-for-clock_gettime.patch patching file desmume/src/libretro-common/features/features_cpu.c The Meson build system Version: 0.64.0 Source dir: /home/buildozer/aports/community/desmume/src/desmume-0.9.13/desmume/src/frontend/posix Build dir: /home/buildozer/aports/community/desmume/src/desmume-0.9.13/output Build type: native build Project name: desmume Project version: 2.7.10 C compiler for the host machine: gcc (gcc 12.2.1 "gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924") C linker for the host machine: gcc ld.bfd 2.39 C++ compiler for the host machine: g++ (gcc 12.2.1 "g++ (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924") C++ linker for the host machine: g++ ld.bfd 2.39 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: /usr/bin/pkg-config (1.9.3) Run-time dependency glib-2.0 found: YES 2.74.1 Run-time dependency sdl2 found: YES 2.24.2 Run-time dependency pcap found: YES 1.10.1 Run-time dependency zlib found: YES 1.2.13 Run-time dependency threads found: YES Run-time dependency gl found: YES 22.2.3 Did not find CMake 'cmake' Found CMake: NO Run-time dependency openal found: NO (tried pkgconfig and cmake) Run-time dependency alsa found: NO (tried pkgconfig and cmake) Run-time dependency soundtouch found: NO (tried pkgconfig and cmake) Run-time dependency libagg found: NO (tried pkgconfig and cmake) desmume/src/frontend/posix/meson.build:227: WARNING: Module SIMD has no backwards or forwards compatibility and might not exist in future releases. Compiler supports sse2: YES Run-time dependency x11 found: YES 1.8.1 Run-time dependency gtk+-3.0 found: YES 3.24.34 Dependency x11 found: YES 1.8.1 (cached) Found pkg-config: /usr/bin/pkg-config (1.9.3) Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources) Build targets in project: 6 desmume 2.7.10 User defined options auto_features : auto bindir : /usr/bin buildtype : plain datadir : /usr/share includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man prefix : /usr sbindir : /usr/sbin sharedstatedir: /var/lib sysconfdir : /etc wrap_mode : nodownload b_lto : false b_pie : true b_staticpic : true Found ninja-1.9 at /usr/bin/ninja ninja: entering directory '/home/buildozer/aports/community/desmume/src/desmume-0.9.13/output' [1/163] Generating gtk/gresource_h with a custom command [2/163] Generating gtk/gresource_c with a custom command [3/163] Compiling C++ object cli/desmume-cli.p/.._shared_ctrlssdl.cpp.o [4/163] Compiling C++ object cli/desmume-cli.p/.._shared_sndsdl.cpp.o [5/163] Compiling C++ object cli/desmume-cli.p/main.cpp.o [6/163] Compiling C++ object libdesmume.a.p/.._.._mic.cpp.o [7/163] Compiling C++ object libdesmume.a.p/.._.._OGLRender_3_2.cpp.o [8/163] Compiling C++ object libdesmume.a.p/.._.._OGLRender.cpp.o [9/163] Compiling C++ object libdesmume.a.p/shared_desmume_config.cpp.o [10/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_x86_x86util.cpp.o [11/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_x86_x86operand.cpp.o [12/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_x86_x86func.cpp.o [13/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_x86_x86defs.cpp.o [14/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_x86_x86cpuinfo.cpp.o [15/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_x86_x86compileritem.cpp.o [16/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_x86_x86compilerfunc.cpp.o [17/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_x86_x86compilercontext.cpp.o [18/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_x86_x86compiler.cpp.o [19/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_x86_x86assembler.cpp.o [20/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_core_zonememory.cpp.o [21/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_core_virtualmemory.cpp.o [22/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_core_stringutil.cpp.o [23/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_core_stringbuilder.cpp.o [24/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_core_operand.cpp.o [25/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_core_memorymarker.cpp.o [26/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_core_memorymanager.cpp.o [27/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_core_logger.cpp.o [28/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_core_func.cpp.o [29/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_core_defs.cpp.o [30/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_core_cpuinfo.cpp.o [31/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_core_context.cpp.o [32/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_core_compileritem.cpp.o [33/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_core_compilerfunc.cpp.o [34/163] Compiling C++ object gtk/desmume.p/main.cpp.o [35/163] Compiling C++ object gtk/desmume.p/cheatsGTK.cpp.o [36/163] Compiling C++ object gtk/desmume.p/sdl_3Demu.cpp.o [37/163] Compiling C++ object gtk/desmume.p/osmesa_3Demu.cpp.o [38/163] Compiling C++ object gtk/desmume.p/.._shared_ctrlssdl.cpp.o In file included from ../desmume/src/utils/AsmJit/core/operand.cpp:10: ../desmume/src/utils/AsmJit/core/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': ../desmume/src/utils/AsmJit/core/../core/operand.h:183:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct AsmJit::Operand'; use assignment or value-initialization instead [-Wclass-memaccess] 183 | memset(this, 0, sizeof(Operand)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/core/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/core/../core/operand.h:205:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 205 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/core/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/core/../core/operand.h:211:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 211 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ [39/163] Compiling C++ object gtk/desmume.p/.._shared_sndsdl.cpp.o [40/163] Compiling C++ object gtk/desmume.p/tools_ioregsView.cpp.o [41/163] Compiling C++ object gtk/desmume.p/dToolsList.cpp.o [42/163] Compiling C++ object gtk/desmume.p/desmume.cpp.o [43/163] Compiling C++ object gtk/desmume.p/config.cpp.o [44/163] Compiling C++ object gtk/desmume.p/avout_flac.cpp.o [45/163] Compiling C++ object gtk/desmume.p/avout_x264.cpp.o [46/163] Compiling C++ object gtk/desmume.p/avout_pipe_base.cpp.o [47/163] Compiling C object gtk/desmume.p/meson-generated_.._gresource.c.o [48/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_core_compilercontext.cpp.o In file included from ../desmume/src/utils/AsmJit/core/../core/compiler.h:15, from ../desmume/src/utils/AsmJit/core/compilerfunc.cpp:11: ../desmume/src/utils/AsmJit/core/../core/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': ../desmume/src/utils/AsmJit/core/../core/../core/operand.h:183:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct AsmJit::Operand'; use assignment or value-initialization instead [-Wclass-memaccess] 183 | memset(this, 0, sizeof(Operand)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/core/../core/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/core/../core/../core/operand.h:205:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 205 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/core/../core/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/core/../core/../core/operand.h:211:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 211 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ [49/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_core_compiler.cpp.o [50/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_core_buffer.cpp.o In file included from ../desmume/src/utils/AsmJit/core/../core/compiler.h:15, from ../desmume/src/utils/AsmJit/core/compileritem.cpp:11: ../desmume/src/utils/AsmJit/core/../core/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': ../desmume/src/utils/AsmJit/core/../core/../core/operand.h:183:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct AsmJit::Operand'; use assignment or value-initialization instead [-Wclass-memaccess] 183 | memset(this, 0, sizeof(Operand)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/core/../core/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/core/../core/../core/operand.h:205:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 205 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/core/../core/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/core/../core/../core/operand.h:211:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 211 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ [51/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_core_assert.cpp.o In file included from ../desmume/src/utils/AsmJit/x86/../x86/../x86/x86operand.h:13, from ../desmume/src/utils/AsmJit/x86/../x86/x86util.h:13, from ../desmume/src/utils/AsmJit/x86/x86func.cpp:16: ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:183:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct AsmJit::Operand'; use assignment or value-initialization instead [-Wclass-memaccess] 183 | memset(this, 0, sizeof(Operand)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:205:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 205 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:211:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 211 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ [52/163] Compiling C++ object libdesmume.a.p/.._.._utils_AsmJit_core_assembler.cpp.o In file included from ../desmume/src/utils/AsmJit/core/../core/../core/compiler.h:15, from ../desmume/src/utils/AsmJit/core/../core/compilercontext.h:12, from ../desmume/src/utils/AsmJit/core/compilercontext.cpp:10: ../desmume/src/utils/AsmJit/core/../core/../core/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': ../desmume/src/utils/AsmJit/core/../core/../core/../core/operand.h:183:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct AsmJit::Operand'; use assignment or value-initialization instead [-Wclass-memaccess] 183 | memset(this, 0, sizeof(Operand)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/core/../core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/core/../core/../core/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/core/../core/../core/../core/operand.h:205:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 205 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/core/../core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/core/../core/../core/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/core/../core/../core/../core/operand.h:211:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 211 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/core/../core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ [53/163] Compiling C++ object libdesmume.a.p/.._.._arm_jit.cpp.o [54/163] Compiling C object libdesmume.a.p/.._.._libretro-common_encodings_encoding_utf.c.o [55/163] Compiling C object libdesmume.a.p/.._.._libretro-common_rthreads_rthreads.c.o [56/163] Compiling C object libdesmume.a.p/.._.._libretro-common_rthreads_rsemaphore.c.o In file included from ../desmume/src/frontend/posix/gtk/avout_pipe_base.h:21, from ../desmume/src/frontend/posix/gtk/avout_x264.h:21, from ../desmume/src/frontend/posix/gtk/avout_x264.cpp:21: ../desmume/src/frontend/posix/gtk/avout.h:23:7: warning: 'class AVOut' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 23 | class AVOut { | ^~~~~ ../desmume/src/frontend/posix/gtk/avout_pipe_base.h:23:7: warning: base class 'class AVOut' has accessible non-virtual destructor [-Wnon-virtual-dtor] 23 | class AVOutPipeBase : public AVOut { | ^~~~~~~~~~~~~ ../desmume/src/frontend/posix/gtk/avout_pipe_base.h:23:7: warning: 'class AVOutPipeBase' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/frontend/posix/gtk/avout_x264.h:23:7: warning: base class 'class AVOutPipeBase' has accessible non-virtual destructor [-Wnon-virtual-dtor] 23 | class AVOutX264 : public AVOutPipeBase { | ^~~~~~~~~ ../desmume/src/frontend/posix/gtk/avout_x264.h:23:7: warning: 'class AVOutX264' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] [57/163] Compiling C object libdesmume.a.p/.._.._libretro-common_rthreads_async_job.c.o ../desmume/src/utils/AsmJit/core/memorymanager.cpp: In constructor 'AsmJit::MemoryManagerPrivate::MemoryManagerPrivate()': ../desmume/src/utils/AsmJit/core/memorymanager.cpp:311:12: warning: 'AsmJit::MemoryManagerPrivate::_root' will be initialized after [-Wreorder] 311 | MemNode* _root; | ^~~~~ ../desmume/src/utils/AsmJit/core/memorymanager.cpp:306:12: warning:  'AsmJit::MemNode* AsmJit::MemoryManagerPrivate::_first' [-Wreorder] 306 | MemNode* _first; | ^~~~~~ ../desmume/src/utils/AsmJit/core/memorymanager.cpp:325:1: warning:  when initialized here [-Wreorder] 325 | MemoryManagerPrivate::MemoryManagerPrivate() : | ^~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/core/memorymanager.cpp: At global scope: ../desmume/src/utils/AsmJit/core/memorymanager.cpp:105:13: warning: 'void AsmJit::_ClearBits(size_t*, size_t, size_t)' defined but not used [-Wunused-function] 105 | static void _ClearBits(size_t* buf, size_t index, size_t len) | ^~~~~~~~~~ ../desmume/src/utils/AsmJit/core/memorymanager.cpp:67:13: warning: 'void AsmJit::_ClearBit(size_t*, size_t)' defined but not used [-Wunused-function] 67 | static void _ClearBit(size_t* buf, size_t index) | ^~~~~~~~~ ../desmume/src/utils/AsmJit/core/memorymanager.cpp:58:13: warning: 'void AsmJit::_SetBit(size_t*, size_t)' defined but not used [-Wunused-function] 58 | static void _SetBit(size_t* buf, size_t index) | ^~~~~~~ ../desmume/src/utils/AsmJit/core/memorymanager.cpp: In member function 'void AsmJit::MemoryManagerPrivate::insertNode(AsmJit::MemNode*)': ../desmume/src/utils/AsmJit/core/memorymanager.cpp:846:18: warning: 'last' may be used uninitialized [-Wmaybe-uninitialized] 846 | int dir = 0, last; | ^~~~ ../desmume/src/utils/AsmJit/core/memorymanager.cpp: In member function 'AsmJit::MemNode* AsmJit::MemoryManagerPrivate::removeNode(AsmJit::MemNode*)': ../desmume/src/utils/AsmJit/core/memorymanager.cpp:997:10: warning: function may return address of local variable [-Wreturn-local-addr] 997 | return q; | ^ ../desmume/src/utils/AsmJit/core/memorymanager.cpp:912:19: note: declared here 912 | RbNode head = {0}; | ^~~~ ../desmume/src/utils/AsmJit/core/memorymanager.cpp:997:10: warning: function may return address of local variable [-Wreturn-local-addr] 997 | return q; | ^ ../desmume/src/utils/AsmJit/core/memorymanager.cpp:912:19: note: declared here 912 | RbNode head = {0}; | ^~~~ [58/163] Compiling C object libdesmume.a.p/.._.._libretro-common_file_retro_stat.c.o [59/163] Compiling C object libdesmume.a.p/.._.._libretro-common_file_retro_dirent.c.o In file included from ../desmume/src/utils/AsmJit/core/../core/compiler.h:15, from ../desmume/src/utils/AsmJit/core/compiler.cpp:11: ../desmume/src/utils/AsmJit/core/../core/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': ../desmume/src/utils/AsmJit/core/../core/../core/operand.h:183:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct AsmJit::Operand'; use assignment or value-initialization instead [-Wclass-memaccess] 183 | memset(this, 0, sizeof(Operand)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/core/../core/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/core/../core/../core/operand.h:205:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 205 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/core/../core/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/core/../core/../core/operand.h:211:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 211 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ [60/163] Compiling C object libdesmume.a.p/.._.._libretro-common_features_features_cpu.c.o [61/163] Compiling C object libdesmume.a.p/.._.._libretro-common_compat_compat_strl.c.o [62/163] Compiling C object libdesmume.a.p/.._.._libretro-common_file_file_path.c.o [63/163] Compiling C object libdesmume.a.p/.._.._libretro-common_compat_compat_getopt.c.o In file included from ../desmume/src/libretro-common/file/retro_stat.c:72: ../desmume/src/libretro-common/include/retro_miscellaneous.h: In function 'retro_sleep': ../desmume/src/libretro-common/include/retro_miscellaneous.h:107:4: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration] 107 | nanosleep(&tv, NULL); | ^~~~~~~~~ [64/163] Compiling C++ object libdesmume.a.p/.._.._version.cpp.o In file included from ../desmume/src/libretro-common/include/rthreads/rthreads.h:31, from ../desmume/src/libretro-common/rthreads/async_job.c:25: ../desmume/src/libretro-common/include/retro_miscellaneous.h: In function 'retro_sleep': ../desmume/src/libretro-common/include/retro_miscellaneous.h:107:4: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration] 107 | nanosleep(&tv, NULL); | ^~~~~~~~~ [65/163] Compiling C++ object libdesmume.a.p/.._.._filter_xbrz.cpp.o [66/163] Compiling C++ object libdesmume.a.p/.._.._filter_videofilter.cpp.o [67/163] Compiling C++ object libdesmume.a.p/.._.._filter_scanline.cpp.o [68/163] Compiling C++ object libdesmume.a.p/.._.._filter_lq2x.cpp.o [69/163] Compiling C++ object libdesmume.a.p/.._.._filter_hq4x.cpp.o In file included from ../desmume/src/libretro-common/compat/compat_getopt.c:31: ../desmume/src/libretro-common/include/retro_miscellaneous.h: In function 'retro_sleep': ../desmume/src/libretro-common/include/retro_miscellaneous.h:107:4: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration] 107 | nanosleep(&tv, NULL); | ^~~~~~~~~ [70/163] Compiling C++ object libdesmume.a.p/.._.._filter_hq3x.cpp.o In file included from ../desmume/src/utils/AsmJit/x86/../x86/x86operand.h:13, from ../desmume/src/utils/AsmJit/x86/x86operand.cpp:11: ../desmume/src/utils/AsmJit/x86/../x86/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': ../desmume/src/utils/AsmJit/x86/../x86/../core/operand.h:183:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct AsmJit::Operand'; use assignment or value-initialization instead [-Wclass-memaccess] 183 | memset(this, 0, sizeof(Operand)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/x86/../x86/../core/operand.h:205:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 205 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/x86/../x86/../core/operand.h:211:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 211 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ [71/163] Compiling C++ object libdesmume.a.p/.._.._filter_hq2x.cpp.o In file included from ../desmume/src/libretro-common/file/file_path.c:39: ../desmume/src/libretro-common/include/retro_miscellaneous.h: In function 'retro_sleep': ../desmume/src/libretro-common/include/retro_miscellaneous.h:107:4: warning: implicit declaration of function 'nanosleep' [-Wimplicit-function-declaration] 107 | nanosleep(&tv, NULL); | ^~~~~~~~~ ../desmume/src/libretro-common/file/file_path.c: In function 'path_mkdir': ../desmume/src/libretro-common/file/file_path.c:53:24: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 53 | char *basedir = strdup(dir); | ^~~~~~ | strcmp ../desmume/src/libretro-common/file/file_path.c:53:24: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] ../desmume/src/libretro-common/file/file_path.c: In function 'path_resolve_realpath': ../desmume/src/libretro-common/file/file_path.c:541:9: warning: implicit declaration of function 'realpath' [-Wimplicit-function-declaration] 541 | if (!realpath(tmp, buf)) | ^~~~~~~~ [72/163] Compiling C++ object libdesmume.a.p/.._.._filter_epx.cpp.o [73/163] Compiling C++ object libdesmume.a.p/.._.._filter_deposterize.cpp.o In file included from ../desmume/src/NDSSystem.h:28, from ../desmume/src/mic.cpp:25: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ [74/163] Compiling C++ object libdesmume.a.p/.._.._filter_bilinear.cpp.o [75/163] Compiling C++ object libdesmume.a.p/.._.._filter_2xsai.cpp.o In file included from ../desmume/src/utils/AsmJit/x86/../x86/../x86/x86operand.h:13, from ../desmume/src/utils/AsmJit/x86/../x86/x86assembler.h:15, from ../desmume/src/utils/AsmJit/x86/x86compiler.cpp:13: ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:183:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct AsmJit::Operand'; use assignment or value-initialization instead [-Wclass-memaccess] 183 | memset(this, 0, sizeof(Operand)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:205:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 205 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:211:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 211 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ [76/163] Compiling C++ object libdesmume.a.p/.._.._metaspu_metaspu.cpp.o [77/163] Compiling C++ object libdesmume.a.p/.._.._rasterize.cpp.o In file included from ../desmume/src/utils/AsmJit/x86/../x86/../core/compiler.h:15, from ../desmume/src/utils/AsmJit/x86/../x86/x86compiler.h:13, from ../desmume/src/utils/AsmJit/x86/x86compileritem.cpp:13: ../desmume/src/utils/AsmJit/x86/../x86/../core/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': ../desmume/src/utils/AsmJit/x86/../x86/../core/../core/operand.h:183:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct AsmJit::Operand'; use assignment or value-initialization instead [-Wclass-memaccess] 183 | memset(this, 0, sizeof(Operand)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../core/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/x86/../x86/../core/../core/operand.h:205:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 205 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../core/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/x86/../x86/../core/../core/operand.h:211:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 211 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/x86/x86compileritem.cpp: In member function 'virtual AsmJit::CompilerItem* AsmJit::X86CompilerJmpInst::translate(AsmJit::CompilerContext&)': ../desmume/src/utils/AsmJit/x86/x86compileritem.cpp:1672:16: warning: unused variable 'x86Compiler' [-Wunused-variable] 1672 | X86Compiler* x86Compiler = getCompiler(); | ^~~~~~~~~~~ [78/163] Compiling C++ object libdesmume.a.p/.._.._texcache.cpp.o [79/163] Compiling C++ object libdesmume.a.p/.._.._cheatSystem.cpp.o ../desmume/src/filter/deposterize.cpp:105:9: warning: multi-line comment [-Wcomment] 105 | //---------------------------------------\n\ | ^ [80/163] Compiling C++ object libdesmume.a.p/.._.._addons_slot1comp_protocol.cpp.o In file included from ../desmume/src/utils/AsmJit/x86/../x86/../x86/x86operand.h:13, from ../desmume/src/utils/AsmJit/x86/../x86/x86assembler.h:15, from ../desmume/src/utils/AsmJit/x86/x86compilercontext.cpp:13: ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:183:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct AsmJit::Operand'; use assignment or value-initialization instead [-Wclass-memaccess] 183 | memset(this, 0, sizeof(Operand)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:205:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 205 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:211:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 211 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/x86/x86compilercontext.cpp: In member function 'void AsmJit::X86CompilerContext::_assignState(AsmJit::X86CompilerState*)': ../desmume/src/utils/AsmJit/x86/x86compilercontext.cpp:1493:13: warning: unused variable 'compiler' [-Wunused-variable] 1493 | Compiler* compiler = getCompiler(); | ^~~~~~~~ [81/163] Compiling C++ object libdesmume.a.p/.._.._addons_slot1comp_rom.cpp.o [82/163] Compiling C++ object libdesmume.a.p/.._.._addons_slot1comp_mc.cpp.o [83/163] Compiling C++ object libdesmume.a.p/.._.._addons_slot1_retail_mcrom_debug.cpp.o ../desmume/src/filter/lq2x.cpp: In function 'void lq2xS_32_def(u32*, u32*, const u32*, const u32*, const u32*, unsigned int)': ../desmume/src/filter/lq2x.cpp:436:55: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 436 | if(ABS(brightArray[0] - centerBright) > diffBright) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../desmume/src/filter/lq2x.cpp:438:55: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 438 | if(ABS(brightArray[1] - centerBright) > diffBright) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../desmume/src/filter/lq2x.cpp:440:55: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 440 | if(ABS(brightArray[2] - centerBright) > diffBright) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../desmume/src/filter/lq2x.cpp:442:55: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 442 | if(ABS(brightArray[3] - centerBright) > diffBright) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../desmume/src/filter/lq2x.cpp:444:55: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 444 | if(ABS(brightArray[5] - centerBright) > diffBright) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../desmume/src/filter/lq2x.cpp:446:55: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 446 | if(ABS(brightArray[6] - centerBright) > diffBright) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../desmume/src/filter/lq2x.cpp:448:55: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 448 | if(ABS(brightArray[7] - centerBright) > diffBright) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../desmume/src/filter/lq2x.cpp:450:55: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 450 | if(ABS(brightArray[8] - centerBright) > diffBright) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [84/163] Compiling C++ object libdesmume.a.p/.._.._addons_slot1_retail_mcrom.cpp.o In file included from ../desmume/src/frontend/posix/gtk/avout_pipe_base.h:21, from ../desmume/src/frontend/posix/gtk/avout_flac.h:21, from ../desmume/src/frontend/posix/gtk/avout_flac.cpp:21: ../desmume/src/frontend/posix/gtk/avout.h:23:7: warning: 'class AVOut' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 23 | class AVOut { | ^~~~~ ../desmume/src/frontend/posix/gtk/avout_pipe_base.h:23:7: warning: base class 'class AVOut' has accessible non-virtual destructor [-Wnon-virtual-dtor] 23 | class AVOutPipeBase : public AVOut { | ^~~~~~~~~~~~~ ../desmume/src/frontend/posix/gtk/avout_pipe_base.h:23:7: warning: 'class AVOutPipeBase' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/frontend/posix/gtk/avout_flac.h:23:7: warning: base class 'class AVOutPipeBase' has accessible non-virtual destructor [-Wnon-virtual-dtor] 23 | class AVOutFlac : public AVOutPipeBase { | ^~~~~~~~~ ../desmume/src/frontend/posix/gtk/avout_flac.h:23:7: warning: 'class AVOutFlac' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/SPU.h:28, from ../desmume/src/frontend/posix/gtk/avout_flac.cpp:22: ../desmume/src/matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ [85/163] Compiling C++ object libdesmume.a.p/.._.._addons_slot1_retail_auto.cpp.o In file included from ../desmume/src/frontend/posix/gtk/avout_pipe_base.h:21, from ../desmume/src/frontend/posix/gtk/avout_pipe_base.cpp:24: ../desmume/src/frontend/posix/gtk/avout.h:23:7: warning: 'class AVOut' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 23 | class AVOut { | ^~~~~ ../desmume/src/frontend/posix/gtk/avout_pipe_base.h:23:7: warning: base class 'class AVOut' has accessible non-virtual destructor [-Wnon-virtual-dtor] 23 | class AVOutPipeBase : public AVOut { | ^~~~~~~~~~~~~ ../desmume/src/frontend/posix/gtk/avout_pipe_base.h:23:7: warning: 'class AVOutPipeBase' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/frontend/posix/gtk/avout_pipe_base.cpp: In function 'int writeAll(int, const void*, size_t)': ../desmume/src/frontend/posix/gtk/avout_pipe_base.cpp:30:60: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 30 | } while (written >= 0 && (writtenTotal += written) < count); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from ../desmume/src/SPU.h:28, from ../desmume/src/frontend/posix/gtk/avout_pipe_base.cpp:22: ../desmume/src/matrix.h: At global scope: ../desmume/src/matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ [86/163] Compiling C++ object libdesmume.a.p/.._.._addons_slot1_retail_nand.cpp.o In file included from ../desmume/src/utils/AsmJit/x86/../x86/../x86/x86operand.h:13, from ../desmume/src/utils/AsmJit/x86/../x86/x86assembler.h:15, from ../desmume/src/utils/AsmJit/x86/x86assembler.cpp:20: ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:183:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct AsmJit::Operand'; use assignment or value-initialization instead [-Wclass-memaccess] 183 | memset(this, 0, sizeof(Operand)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:205:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 205 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:211:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 211 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/x86/x86assembler.cpp: In member function 'void AsmJit::X86Assembler::_emitInstruction(uint32_t, const AsmJit::Operand*, const AsmJit::Operand*, const AsmJit::Operand*)': ../desmume/src/utils/AsmJit/x86/x86assembler.cpp:1068:20: warning: unused variable 'src' [-Wunused-variable] 1068 | const Imm& src = reinterpret_cast(*o1); | ^~~ ../desmume/src/utils/AsmJit/x86/x86assembler.cpp: In member function 'virtual size_t AsmJit::X86Assembler::relocCode(void*, sysuint_t) const': ../desmume/src/utils/AsmJit/x86/x86assembler.cpp:2661:10: warning: unused variable 'csize' [-Wunused-variable] 2661 | size_t csize = getCodeSize(); | ^~~~~ ../desmume/src/utils/AsmJit/x86/x86assembler.cpp:2724:53: warning: 'val' may be used uninitialized [-Wmaybe-uninitialized] 2724 | *reinterpret_cast(dst + r.offset) = static_cast(val); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/x86assembler.cpp:2679:14: note: 'val' was declared here 2679 | sysint_t val; | ^~~ ../desmume/src/utils/AsmJit/x86/x86assembler.cpp: In member function 'void AsmJit::X86Assembler::_emitInstruction(uint32_t, const AsmJit::Operand*, const AsmJit::Operand*, const AsmJit::Operand*)': ../desmume/src/utils/AsmJit/x86/x86assembler.cpp:2598:9: warning: '_loggerOperands[2]' may be used uninitialized [-Wmaybe-uninitialized] 2598 | if (o2 == immOperand) o2 = &immTemporary; | ^~ ../desmume/src/utils/AsmJit/x86/x86assembler.cpp:863:18: note: '_loggerOperands[2]' was declared here 863 | const Operand* _loggerOperands[3]; | ^~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/x86assembler.cpp:2597:9: warning: '_loggerOperands[1]' may be used uninitialized [-Wmaybe-uninitialized] 2597 | if (o1 == immOperand) o1 = &immTemporary; | ^~ ../desmume/src/utils/AsmJit/x86/x86assembler.cpp:863:18: note: '_loggerOperands[1]' was declared here 863 | const Operand* _loggerOperands[3]; | ^~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/x86assembler.cpp:2596:9: warning: '_loggerOperands[0]' may be used uninitialized [-Wmaybe-uninitialized] 2596 | if (o0 == immOperand) o0 = &immTemporary; | ^~ ../desmume/src/utils/AsmJit/x86/x86assembler.cpp:863:18: note: '_loggerOperands[0]' was declared here 863 | const Operand* _loggerOperands[3]; | ^~~~~~~~~~~~~~~ [87/163] Compiling C++ object libdesmume.a.p/.._.._addons_slot1_r4.cpp.o In file included from ../desmume/src/frontend/posix/gtk/cheatsGTK.cpp:26: ../desmume/src/cheatSystem.h: In constructor 'CHEATSEXPORT::CHEATSEXPORT()': ../desmume/src/cheatSystem.h:151:49: warning: 'CHEATSEXPORT::encOffset' will be initialized after [-Wreorder] 151 | u32 encOffset; | ^~~~~~~~~ ../desmume/src/cheatSystem.h:146:33: warning:  'CHEATS_DB_TYPE CHEATSEXPORT::type' [-Wreorder] 146 | CHEATS_DB_TYPE type; | ^~~~ ../desmume/src/cheatSystem.h:167:9: warning:  when initialized here [-Wreorder] 167 | CHEATSEXPORT() : | ^~~~~~~~~~~~ ../desmume/src/cheatSystem.h:191:41: warning: 'CHEATSEXPORT::CRC' will be initialized after [-Wreorder] 191 | u32 CRC; | ^~~ ../desmume/src/cheatSystem.h:160:49: warning:  'u8 CHEATSEXPORT::error' [-Wreorder] 160 | u8 error; // 0 - no errors | ^~~~~ ../desmume/src/cheatSystem.h:167:9: warning:  when initialized here [-Wreorder] 167 | CHEATSEXPORT() : | ^~~~~~~~~~~~ ../desmume/src/frontend/posix/gtk/cheatsGTK.cpp: In function 'void enabled_toggled(GtkCellRendererToggle*, gchar*, gpointer)': ../desmume/src/frontend/posix/gtk/cheatsGTK.cpp:88:18: warning: variable 'path1' set but not used [-Wunused-but-set-variable] 88 | GtkTreePath *path1; | ^~~~~ [88/163] Compiling C++ object libdesmume.a.p/.._.._addons_slot1_none.cpp.o [89/163] Compiling C++ object libdesmume.a.p/.._.._addons_slot2_passme.cpp.o In file included from ../desmume/src/utils/AsmJit/x86/../x86/../core/compiler.h:15, from ../desmume/src/utils/AsmJit/x86/../x86/x86compiler.h:13, from ../desmume/src/utils/AsmJit/x86/x86compilerfunc.cpp:13: ../desmume/src/utils/AsmJit/x86/../x86/../core/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': ../desmume/src/utils/AsmJit/x86/../x86/../core/../core/operand.h:183:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct AsmJit::Operand'; use assignment or value-initialization instead [-Wclass-memaccess] 183 | memset(this, 0, sizeof(Operand)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../core/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/x86/../x86/../core/../core/operand.h:205:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 205 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../core/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/x86/../x86/../core/../core/operand.h:211:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 211 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/x86/x86compilerfunc.cpp: In member function 'void AsmJit::X86CompilerFuncDecl::_preparePrologEpilog(AsmJit::CompilerContext&)': ../desmume/src/utils/AsmJit/x86/x86compilerfunc.cpp:215:21: warning: unused variable 'cpuInfo' [-Wunused-variable] 215 | const X86CpuInfo* cpuInfo = X86CpuInfo::getGlobal(); | ^~~~~~~ ../desmume/src/utils/AsmJit/x86/x86compilerfunc.cpp: In member function 'void AsmJit::X86CompilerFuncDecl::_dumpFunction(AsmJit::CompilerContext&)': ../desmume/src/utils/AsmJit/x86/x86compilerfunc.cpp:362:31: warning: operation on 'memHome' may be undefined [-Wsequence-point] 362 | char* memHome = memHome = _buf; | ~~~~~~~~^~~~~~ ../desmume/src/utils/AsmJit/x86/x86compilerfunc.cpp: In member function 'void AsmJit::X86CompilerFuncDecl::_emitProlog(AsmJit::CompilerContext&)': ../desmume/src/utils/AsmJit/x86/x86compilerfunc.cpp:522:23: warning: unused variable 'x86Context' [-Wunused-variable] 522 | X86CompilerContext& x86Context = static_cast(cc); | ^~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/x86compilerfunc.cpp: In member function 'void AsmJit::X86CompilerFuncDecl::_emitEpilog(AsmJit::CompilerContext&)': ../desmume/src/utils/AsmJit/x86/x86compilerfunc.cpp:651:23: warning: unused variable 'x86Context' [-Wunused-variable] 651 | X86CompilerContext& x86Context = static_cast(cc); | ^~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/x86compilerfunc.cpp: In member function 'virtual AsmJit::CompilerItem* AsmJit::X86CompilerFuncRet::translate(AsmJit::CompilerContext&)': ../desmume/src/utils/AsmJit/x86/x86compilerfunc.cpp:991:18: warning: unused variable 'dsti' [-Wunused-variable] 991 | uint32_t dsti = i; | ^~~~ ../desmume/src/utils/AsmJit/x86/x86compilerfunc.cpp: In member function 'virtual void AsmJit::X86CompilerFuncCall::setPrototype(uint32_t, uint32_t, const uint32_t*, uint32_t)': ../desmume/src/utils/AsmJit/x86/x86compilerfunc.cpp:2865:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct AsmJit::Operand'; use assignment or value-initialization instead [-Wclass-memaccess] 2865 | memset(_args, 0, sizeof(Operand) * argumentsCount); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/x86/../x86/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ [90/163] Compiling C++ object libdesmume.a.p/.._.._addons_slot2_piano.cpp.o In file included from ../desmume/src/frontend/../NDSSystem.h:28, from ../desmume/src/frontend/posix/gtk/desmume.cpp:25: ../desmume/src/frontend/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/frontend/../firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/frontend/../firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/frontend/../firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/frontend/../NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/frontend/../NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/frontend/../NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/frontend/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/frontend/../NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ In file included from ../desmume/src/frontend/../movie.h:27, from ../desmume/src/frontend/posix/gtk/desmume.cpp:28: ../desmume/src/frontend/../utils/datetime.h: In static member function 'static s64 TimeSpan::CalculateTicks(int, int, int, int, int)': ../desmume/src/frontend/../utils/datetime.h:308:22: warning: variable 'overflow' set but not used [-Wunused-but-set-variable] 308 | bool overflow = false; | ^~~~~~~~ ../desmume/src/frontend/../utils/datetime.h: In member function 'DateTime DateTime::AddMonths(int) const': ../desmume/src/frontend/../utils/datetime.h:680:25: warning: left operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~~ ../desmume/src/frontend/../utils/datetime.h:680:38: warning: right operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~ In file included from ../desmume/src/frontend/../SPU.h:28, from ../desmume/src/frontend/posix/gtk/desmume.cpp:26: ../desmume/src/frontend/../matrix.h: At global scope: ../desmume/src/frontend/../matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/frontend/../matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/frontend/../matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ [91/163] Compiling C++ object libdesmume.a.p/.._.._addons_slot2_expMemory.cpp.o ../desmume/src/metaspu/metaspu.cpp: In constructor 'ZeromusSynchronizer::Adjustobuf::Adjustobuf(int, int)': ../desmume/src/metaspu/metaspu.cpp:123:21: warning: 'ZeromusSynchronizer::Adjustobuf::size' will be initialized after [-Wreorder] 123 | int size; | ^~~~ ../desmume/src/metaspu/metaspu.cpp:121:21: warning:  'int ZeromusSynchronizer::Adjustobuf::minLatency' [-Wreorder] 121 | int minLatency, targetLatency, maxLatency; | ^~~~~~~~~~ ../desmume/src/metaspu/metaspu.cpp:107:17: warning:  when initialized here [-Wreorder] 107 | Adjustobuf(int _minLatency, int _maxLatency) | ^~~~~~~~~~ [92/163] Compiling C++ object libdesmume.a.p/.._.._addons_slot2_guitarGrip.cpp.o In file included from ../desmume/src/MMU.h:24, from ../desmume/src/frontend/posix/shared/ctrlssdl.h:29, from ../desmume/src/frontend/posix/shared/desmume_config.cpp:21: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] [93/163] Compiling C++ object libdesmume.a.p/.._.._addons_slot2_rumblepak.cpp.o In file included from ../desmume/src/addons/../MMU.h:24, from ../desmume/src/addons/slot1comp_protocol.h:27, from ../desmume/src/addons/slot1comp_rom.h:24, from ../desmume/src/addons/slot1comp_rom.cpp:18: ../desmume/src/addons/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/addons/../firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/addons/../firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/addons/../firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/addons/../MMU.h:27: ../desmume/src/addons/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/addons/../NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/addons/../NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/addons/../NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/addons/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/addons/../NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h: At global scope: ../desmume/src/addons/../MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/addons/../MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/../MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/../MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/slot1comp_protocol.h:59:7: warning: 'class ISlot1Comp_Protocol_Client' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 59 | class ISlot1Comp_Protocol_Client | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/slot1comp_rom.cpp: In member function 'void Slot1Comp_Rom::loadstate(EMUFILE&)': ../desmume/src/addons/slot1comp_rom.cpp:120:13: warning: unused variable 'version' [-Wunused-variable] 120 | s32 version = is.read_s32LE(); | ^~~~~~~ [94/163] Compiling C++ object libdesmume.a.p/.._.._addons_slot2_none.cpp.o In file included from ../desmume/src/addons/../MMU.h:24, from ../desmume/src/addons/slot1comp_mc.cpp:23: ../desmume/src/addons/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/addons/../firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/addons/../firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/addons/../firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/addons/../MMU.h:27: ../desmume/src/addons/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/addons/../NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/addons/../NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/addons/../NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/addons/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/addons/../NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h: At global scope: ../desmume/src/addons/../MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/addons/../MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/../MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/../MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] [95/163] Compiling C++ object libdesmume.a.p/.._.._addons_slot2_gbagame.cpp.o ../desmume/src/filter/hq2x.cpp: In function 'void hq2xS_32_def(u32*, u32*, const u32*, const u32*, const u32*, unsigned int)': ../desmume/src/filter/hq2x.cpp:467:63: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 467 | if(ABS(brightArray[0] - centerBright) > diffBright) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../desmume/src/filter/hq2x.cpp:469:63: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 469 | if(ABS(brightArray[1] - centerBright) > diffBright) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../desmume/src/filter/hq2x.cpp:471:63: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 471 | if(ABS(brightArray[2] - centerBright) > diffBright) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../desmume/src/filter/hq2x.cpp:473:63: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 473 | if(ABS(brightArray[3] - centerBright) > diffBright) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../desmume/src/filter/hq2x.cpp:475:63: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 475 | if(ABS(brightArray[5] - centerBright) > diffBright) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../desmume/src/filter/hq2x.cpp:477:63: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 477 | if(ABS(brightArray[6] - centerBright) > diffBright) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../desmume/src/filter/hq2x.cpp:479:63: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 479 | if(ABS(brightArray[7] - centerBright) > diffBright) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../desmume/src/filter/hq2x.cpp:481:63: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 481 | if(ABS(brightArray[8] - centerBright) > diffBright) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [96/163] Compiling C++ object libdesmume.a.p/.._.._addons_slot2_paddle.cpp.o In file included from ../desmume/src/addons/../MMU.h:24, from ../desmume/src/addons/slot1comp_protocol.h:27, from ../desmume/src/addons/slot1comp_protocol.cpp:18: ../desmume/src/addons/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/addons/../firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/addons/../firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/addons/../firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/addons/../MMU.h:27: ../desmume/src/addons/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/addons/../NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/addons/../NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/addons/../NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/addons/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/addons/../NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h: At global scope: ../desmume/src/addons/../MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/addons/../MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/../MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/../MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/slot1comp_protocol.h:59:7: warning: 'class ISlot1Comp_Protocol_Client' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 59 | class ISlot1Comp_Protocol_Client | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/slot1comp_protocol.cpp: In member function 'void Slot1Comp_Protocol::loadstate(EMUFILE&)': ../desmume/src/addons/slot1comp_protocol.cpp:253:13: warning: unused variable 'version' [-Wunused-variable] 253 | s32 version = is.read_s32LE(); | ^~~~~~~ [97/163] Compiling C++ object libdesmume.a.p/.._.._addons_slot2_mpcf.cpp.o In file included from ../desmume/src/libretro-common/include/../../MMU.h:24, from ../desmume/src/frontend/posix/gtk/tools/ioregsView.cpp:26: ../desmume/src/libretro-common/include/../../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/libretro-common/include/../../firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/libretro-common/include/../../firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/libretro-common/include/../../firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/libretro-common/include/../../MMU.h:27: ../desmume/src/libretro-common/include/../../NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/libretro-common/include/../../NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/libretro-common/include/../../NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/libretro-common/include/../../NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/libretro-common/include/../../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/libretro-common/include/../../NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/libretro-common/include/../../NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/libretro-common/include/../../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/libretro-common/include/../../NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/libretro-common/include/../../NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/libretro-common/include/../../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/libretro-common/include/../../NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/libretro-common/include/../../NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/libretro-common/include/../../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/libretro-common/include/../../NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/libretro-common/include/../../NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/libretro-common/include/../../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/libretro-common/include/../../NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/libretro-common/include/../../NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/libretro-common/include/../../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/libretro-common/include/../../NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/libretro-common/include/../../NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/libretro-common/include/../../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/libretro-common/include/../../MMU.h: At global scope: ../desmume/src/libretro-common/include/../../MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/libretro-common/include/../../MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/libretro-common/include/../../MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/libretro-common/include/../../MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/libretro-common/include/../../MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/libretro-common/include/../../MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/libretro-common/include/../../MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] [98/163] Compiling C++ object libdesmume.a.p/.._.._addons_slot2_auto.cpp.o In file included from ../desmume/src/addons/slot2_piano.cpp:18: ../desmume/src/addons/../slot2.h:29:7: warning: 'class Slot2Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 29 | class Slot2Info | ^~~~~~~~~ ../desmume/src/addons/../slot2.h:37:7: warning: base class 'class Slot2Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 37 | class Slot2InfoSimple : public Slot2Info | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../slot2.h:37:7: warning: 'class Slot2InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] [99/163] Compiling C++ object libdesmume.a.p/.._.._utils_colorspacehandler_colorspacehandler.cpp.o In file included from ../desmume/src/addons/slot2_passme.cpp:18: ../desmume/src/addons/../slot2.h:29:7: warning: 'class Slot2Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 29 | class Slot2Info | ^~~~~~~~~ ../desmume/src/addons/../slot2.h:37:7: warning: base class 'class Slot2Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 37 | class Slot2InfoSimple : public Slot2Info | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../slot2.h:37:7: warning: 'class Slot2InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/addons/../NDSSystem.h:28, from ../desmume/src/addons/slot2_passme.cpp:19: ../desmume/src/addons/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/addons/../firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/addons/../firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/addons/../firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ ../desmume/src/addons/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/addons/../NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/addons/../NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/addons/../NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/addons/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/addons/../NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ [100/163] Compiling C++ object libdesmume.a.p/.._.._utils_tinyxml_tinyxmlparser.cpp.o In file included from ../desmume/src/addons/../MMU.h:24, from ../desmume/src/addons/slot1comp_protocol.h:27, from ../desmume/src/addons/slot1comp_rom.h:24, from ../desmume/src/addons/slot1_retail_mcrom.cpp:19: ../desmume/src/addons/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/addons/../firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/addons/../firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/addons/../firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/addons/../MMU.h:27: ../desmume/src/addons/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/addons/../NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/addons/../NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/addons/../NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/addons/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/addons/../NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h: At global scope: ../desmume/src/addons/../MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/addons/../MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/../MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/../MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/slot1comp_protocol.h:59:7: warning: 'class ISlot1Comp_Protocol_Client' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 59 | class ISlot1Comp_Protocol_Client | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../desmume/src/addons/slot1_retail_mcrom.cpp:22: ../desmume/src/addons/../slot1.h:28:7: warning: 'class Slot1Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 28 | class Slot1Info | ^~~~~~~~~ ../desmume/src/addons/../slot1.h:36:7: warning: base class 'class Slot1Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 36 | class Slot1InfoSimple : public Slot1Info | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../slot1.h:36:7: warning: 'class Slot1InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/slot1_retail_mcrom.cpp:31:7: warning: base class 'class ISlot1Comp_Protocol_Client' has accessible non-virtual destructor [-Wnon-virtual-dtor] 31 | class Slot1_Retail_MCROM : public ISlot1Interface, public ISlot1Comp_Protocol_Client | ^~~~~~~~~~~~~~~~~~ [101/163] Compiling C++ object libdesmume.a.p/.._.._utils_tinyxml_tinyxmlerror.cpp.o In file included from ../desmume/src/addons/../MMU.h:24, from ../desmume/src/addons/../slot1.h:24, from ../desmume/src/addons/slot1_retail_auto.cpp:18: ../desmume/src/addons/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/addons/../firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/addons/../firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/addons/../firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/addons/../MMU.h:27: ../desmume/src/addons/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/addons/../NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/addons/../NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/addons/../NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/addons/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/addons/../NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h: At global scope: ../desmume/src/addons/../MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/addons/../MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/../MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/../MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/../slot1.h:28:7: warning: 'class Slot1Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 28 | class Slot1Info | ^~~~~~~~~ ../desmume/src/addons/../slot1.h:36:7: warning: base class 'class Slot1Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 36 | class Slot1InfoSimple : public Slot1Info | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../slot1.h:36:7: warning: 'class Slot1InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] [102/163] Compiling C++ object libdesmume.a.p/.._.._utils_tinyxml_tinyxml.cpp.o [103/163] Compiling C++ object libdesmume.a.p/.._.._utils_tinyxml_tinystr.cpp.o In file included from ../desmume/src/addons/../MMU.h:24, from ../desmume/src/addons/slot1comp_protocol.h:27, from ../desmume/src/addons/slot1comp_rom.h:24, from ../desmume/src/addons/slot1_retail_mcrom_debug.cpp:24: ../desmume/src/addons/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/addons/../firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/addons/../firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/addons/../firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/addons/../MMU.h:27: ../desmume/src/addons/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/addons/../NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/addons/../NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/addons/../NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/addons/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/addons/../NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h: At global scope: ../desmume/src/addons/../MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/addons/../MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/../MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/../MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/slot1comp_protocol.h:59:7: warning: 'class ISlot1Comp_Protocol_Client' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 59 | class ISlot1Comp_Protocol_Client | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../desmume/src/addons/slot1_retail_mcrom_debug.cpp:30: ../desmume/src/addons/../slot1.h:28:7: warning: 'class Slot1Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 28 | class Slot1Info | ^~~~~~~~~ ../desmume/src/addons/../slot1.h:36:7: warning: base class 'class Slot1Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 36 | class Slot1InfoSimple : public Slot1Info | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../slot1.h:36:7: warning: 'class Slot1InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/slot1_retail_mcrom_debug.cpp:35:7: warning: base class 'class ISlot1Comp_Protocol_Client' has accessible non-virtual destructor [-Wnon-virtual-dtor] 35 | class Slot1_Retail_DEBUG : public ISlot1Interface, public ISlot1Comp_Protocol_Client | ^~~~~~~~~~~~~~~~~~ [104/163] Compiling C++ object libdesmume.a.p/.._.._utils_libfat_partition.cpp.o In file included from ../desmume/src/addons/../MMU.h:24, from ../desmume/src/addons/slot1comp_protocol.h:27, from ../desmume/src/addons/slot1comp_rom.h:24, from ../desmume/src/addons/slot1_retail_nand.cpp:24: ../desmume/src/addons/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/addons/../firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/addons/../firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/addons/../firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/addons/../MMU.h:27: ../desmume/src/addons/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/addons/../NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/addons/../NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/addons/../NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/addons/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/addons/../NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h: At global scope: ../desmume/src/addons/../MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/addons/../MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/../MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/../MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/slot1comp_protocol.h:59:7: warning: 'class ISlot1Comp_Protocol_Client' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 59 | class ISlot1Comp_Protocol_Client | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../desmume/src/addons/slot1_retail_nand.cpp:27: ../desmume/src/addons/../slot1.h:28:7: warning: 'class Slot1Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 28 | class Slot1Info | ^~~~~~~~~ ../desmume/src/addons/../slot1.h:36:7: warning: base class 'class Slot1Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 36 | class Slot1InfoSimple : public Slot1Info | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../slot1.h:36:7: warning: 'class Slot1InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/slot1_retail_nand.cpp:38:7: warning: base class 'class ISlot1Comp_Protocol_Client' has accessible non-virtual destructor [-Wnon-virtual-dtor] 38 | class Slot1_Retail_NAND : public ISlot1Interface, public ISlot1Comp_Protocol_Client | ^~~~~~~~~~~~~~~~~ ../desmume/src/addons/slot1_retail_nand.cpp: In member function 'virtual void Slot1_Retail_NAND::slot1client_write_GCDATAIN(eSlot1Operation, u32)': ../desmume/src/addons/slot1_retail_nand.cpp:266:21: warning: unused variable 'value' [-Wunused-variable] 266 | u32 value = val; | ^~~~~ [105/163] Compiling C++ object libdesmume.a.p/.._.._utils_libfat_lock.cpp.o In file included from ../desmume/src/addons/../MMU.h:24, from ../desmume/src/addons/../slot1.h:24, from ../desmume/src/addons/slot1_none.cpp:18: ../desmume/src/addons/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/addons/../firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/addons/../firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/addons/../firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/addons/../MMU.h:27: ../desmume/src/addons/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/addons/../NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/addons/../NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/addons/../NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/addons/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/addons/../NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h: At global scope: ../desmume/src/addons/../MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/addons/../MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/../MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/../MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/../slot1.h:28:7: warning: 'class Slot1Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 28 | class Slot1Info | ^~~~~~~~~ ../desmume/src/addons/../slot1.h:36:7: warning: base class 'class Slot1Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 36 | class Slot1InfoSimple : public Slot1Info | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../slot1.h:36:7: warning: 'class Slot1InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] [106/163] Compiling C++ object libdesmume.a.p/.._.._utils_libfat_libfat_public_api.cpp.o [107/163] Compiling C++ object libdesmume.a.p/.._.._utils_libfat_libfat.cpp.o In file included from ../desmume/src/addons/../MMU.h:24, from ../desmume/src/addons/slot1comp_protocol.h:27, from ../desmume/src/addons/slot1_r4.cpp:18: ../desmume/src/addons/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/addons/../firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/addons/../firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/addons/../firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/addons/../MMU.h:27: ../desmume/src/addons/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/addons/../NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/addons/../NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/addons/../NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/addons/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/addons/../NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h: At global scope: ../desmume/src/addons/../MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/addons/../MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/../MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/../MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/slot1comp_protocol.h:59:7: warning: 'class ISlot1Comp_Protocol_Client' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 59 | class ISlot1Comp_Protocol_Client | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../desmume/src/addons/slot1_r4.cpp:22: ../desmume/src/addons/../slot1.h:28:7: warning: 'class Slot1Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 28 | class Slot1Info | ^~~~~~~~~ ../desmume/src/addons/../slot1.h:36:7: warning: base class 'class Slot1Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 36 | class Slot1InfoSimple : public Slot1Info | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../slot1.h:36:7: warning: 'class Slot1InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/addons/slot1_r4.cpp:26:7: warning: base class 'class ISlot1Comp_Protocol_Client' has accessible non-virtual destructor [-Wnon-virtual-dtor] 26 | class Slot1_R4 : public ISlot1Interface, public ISlot1Comp_Protocol_Client | ^~~~~~~~ [108/163] Compiling C++ object libdesmume.a.p/.._.._utils_libfat_file_allocation_table.cpp.o In file included from ../desmume/src/addons/slot2_guitarGrip.cpp:19: ../desmume/src/addons/../slot2.h:29:7: warning: 'class Slot2Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 29 | class Slot2Info | ^~~~~~~~~ ../desmume/src/addons/../slot2.h:37:7: warning: base class 'class Slot2Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 37 | class Slot2InfoSimple : public Slot2Info | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../slot2.h:37:7: warning: 'class Slot2InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] [109/163] Compiling C++ object libdesmume.a.p/.._.._utils_libfat_filetime.cpp.o In file included from ../desmume/src/addons/slot2_expMemory.cpp:19: ../desmume/src/addons/../slot2.h:29:7: warning: 'class Slot2Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 29 | class Slot2Info | ^~~~~~~~~ ../desmume/src/addons/../slot2.h:37:7: warning: base class 'class Slot2Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 37 | class Slot2InfoSimple : public Slot2Info | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../slot2.h:37:7: warning: 'class Slot2InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] [110/163] Compiling C++ object libdesmume.a.p/.._.._utils_libfat_fatfile.cpp.o In file included from ../desmume/src/addons/slot2_none.cpp:19: ../desmume/src/addons/../slot2.h:29:7: warning: 'class Slot2Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 29 | class Slot2Info | ^~~~~~~~~ ../desmume/src/addons/../slot2.h:37:7: warning: base class 'class Slot2Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 37 | class Slot2InfoSimple : public Slot2Info | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../slot2.h:37:7: warning: 'class Slot2InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] [111/163] Compiling C++ object libdesmume.a.p/.._.._utils_libfat_fatdir.cpp.o In file included from ../desmume/src/addons/slot2_rumblepak.cpp:19: ../desmume/src/addons/../slot2.h:29:7: warning: 'class Slot2Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 29 | class Slot2Info | ^~~~~~~~~ ../desmume/src/addons/../slot2.h:37:7: warning: base class 'class Slot2Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 37 | class Slot2InfoSimple : public Slot2Info | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../slot2.h:37:7: warning: 'class Slot2InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] [112/163] Compiling C++ object libdesmume.a.p/.._.._utils_libfat_disc.cpp.o [113/163] Compiling C++ object libdesmume.a.p/.._.._utils_libfat_directory.cpp.o In file included from ../desmume/src/addons/slot2_auto.cpp:20: ../desmume/src/addons/../slot2.h:29:7: warning: 'class Slot2Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 29 | class Slot2Info | ^~~~~~~~~ ../desmume/src/addons/../slot2.h:37:7: warning: base class 'class Slot2Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 37 | class Slot2InfoSimple : public Slot2Info | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../slot2.h:37:7: warning: 'class Slot2InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] [114/163] Compiling C++ object libdesmume.a.p/.._.._utils_libfat_cache.cpp.o [115/163] Compiling C++ object libdesmume.a.p/.._.._utils_dlditool.cpp.o [116/163] Compiling C++ object libdesmume.a.p/.._.._utils_vfat.cpp.o [117/163] Compiling C++ object libdesmume.a.p/.._.._utils_task.cpp.o In file included from ../desmume/src/addons/slot2_paddle.cpp:42: ../desmume/src/addons/../slot2.h:29:7: warning: 'class Slot2Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 29 | class Slot2Info | ^~~~~~~~~ ../desmume/src/addons/../slot2.h:37:7: warning: base class 'class Slot2Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 37 | class Slot2InfoSimple : public Slot2Info | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../slot2.h:37:7: warning: 'class Slot2InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/addons/../NDSSystem.h:28, from ../desmume/src/addons/slot2_paddle.cpp:43: ../desmume/src/addons/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/addons/../firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/addons/../firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/addons/../firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ ../desmume/src/addons/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/addons/../NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/addons/../NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/addons/../NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/addons/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/addons/../NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ [118/163] Compiling C++ object libdesmume.a.p/.._.._utils_decrypt_header.cpp.o ../desmume/src/utils/libfat/libfat_public_api.cpp: In function 'void LIBFAT::Init(void*, int)': ../desmume/src/utils/libfat/libfat_public_api.cpp:87:21: warning: unused variable 'zzz' [-Wunused-variable] 87 | int zzz=9; | ^~~ [119/163] Compiling C++ object libdesmume.a.p/.._.._utils_decrypt_decrypt.cpp.o ../desmume/src/frontend/posix/shared/sndsdl.cpp: In function 'void MixAudio(void*, Uint8*, int)': ../desmume/src/frontend/posix/shared/sndsdl.cpp:87:12: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 87 | if (len > soundoff) { | ~~~~^~~~~~~~~~ ../desmume/src/frontend/posix/shared/sndsdl.cpp:82:8: warning: unused variable 'i' [-Wunused-variable] 82 | int i; | ^ In file included from ../desmume/src/SPU.h:28, from ../desmume/src/frontend/posix/shared/sndsdl.cpp:24: ../desmume/src/matrix.h: At global scope: ../desmume/src/matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ [120/163] Compiling C++ object libdesmume.a.p/.._.._utils_decrypt_crc.cpp.o [121/163] Compiling C++ object libdesmume.a.p/.._.._utils_xstring.cpp.o ../desmume/src/frontend/posix/shared/sndsdl.cpp: In function 'void MixAudio(void*, Uint8*, int)': ../desmume/src/frontend/posix/shared/sndsdl.cpp:87:12: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 87 | if (len > soundoff) { | ~~~~^~~~~~~~~~ ../desmume/src/frontend/posix/shared/sndsdl.cpp:82:8: warning: unused variable 'i' [-Wunused-variable] 82 | int i; | ^ In file included from ../desmume/src/SPU.h:28, from ../desmume/src/frontend/posix/shared/sndsdl.cpp:24: ../desmume/src/matrix.h: At global scope: ../desmume/src/matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ [122/163] Compiling C++ object libdesmume.a.p/.._.._utils_fsnitro.cpp.o [123/163] Compiling C++ object libdesmume.a.p/.._.._utils_emufat.cpp.o [124/163] Compiling C++ object libdesmume.a.p/.._.._utils_guid.cpp.o [125/163] Compiling C++ object libdesmume.a.p/.._.._utils_datetime.cpp.o [126/163] Compiling C++ object libdesmume.a.p/.._.._utils_advanscene.cpp.o In file included from ../desmume/src/MMU.h:24, from ../desmume/src/frontend/posix/shared/ctrlssdl.h:29, from ../desmume/src/frontend/posix/shared/ctrlssdl.cpp:19: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/frontend/posix/shared/ctrlssdl.cpp:25: ../desmume/src/driver.h:26:7: warning: 'class VIEW3D_Driver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 26 | class VIEW3D_Driver | ^~~~~~~~~~~~~ ../desmume/src/driver.h:35:7: warning: 'class BaseDriver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 35 | class BaseDriver { | ^~~~~~~~~~ In file included from ../desmume/src/SPU.h:28, from ../desmume/src/frontend/posix/shared/ctrlssdl.cpp:21: ../desmume/src/matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ [127/163] Compiling C++ object libdesmume.a.p/.._modules_Disassembler.cpp.o In file included from ../desmume/src/MMU.h:24, from ../desmume/src/frontend/posix/shared/ctrlssdl.h:29, from ../desmume/src/frontend/posix/shared/ctrlssdl.cpp:19: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/frontend/posix/shared/ctrlssdl.cpp:25: ../desmume/src/driver.h:26:7: warning: 'class VIEW3D_Driver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 26 | class VIEW3D_Driver | ^~~~~~~~~~~~~ ../desmume/src/driver.h:35:7: warning: 'class BaseDriver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 35 | class BaseDriver { | ^~~~~~~~~~ In file included from ../desmume/src/SPU.h:28, from ../desmume/src/frontend/posix/shared/ctrlssdl.cpp:21: ../desmume/src/matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ [128/163] Compiling C++ object libdesmume.a.p/.._.._movie.cpp.o [129/163] Compiling C++ object libdesmume.a.p/.._.._thumb_instructions.cpp.o [130/163] Compiling C++ object libdesmume.a.p/.._.._gfx3d.cpp.o In file included from ../desmume/src/frontend/../gfx3d.h:28, from ../desmume/src/frontend/../render3D.h:23, from ../desmume/src/frontend/../OGLRender.h:27, from ../desmume/src/frontend/posix/gtk/sdl_3Demu.cpp:20: ../desmume/src/frontend/../GPU.h:1840:7: warning: 'class GPUEventHandler' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 1840 | class GPUEventHandler | ^~~~~~~~~~~~~~~ ../desmume/src/frontend/../GPU.h:1856:7: warning: base class 'class GPUEventHandler' has accessible non-virtual destructor [-Wnon-virtual-dtor] 1856 | class GPUEventHandlerDefault : public GPUEventHandler | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/frontend/../GPU.h:1856:7: warning: 'class GPUEventHandlerDefault' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/frontend/../render3D.h:149:7: warning: 'class Render3D' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 149 | class Render3D | ^~~~~~~~ ../desmume/src/frontend/../render3D.h: In instantiation of 'class Render3D_SIMD<16>': ../desmume/src/frontend/../render3D.h:295:30: required from here ../desmume/src/frontend/../render3D.h:277:7: warning: base class 'class Render3D' has accessible non-virtual destructor [-Wnon-virtual-dtor] 277 | class Render3D_SIMD : public Render3D | ^~~~~~~~~~~~~ ../desmume/src/frontend/../render3D.h:277:7: warning: 'class Render3D_SIMD<16>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/frontend/../render3D.h:295:7: warning: base class 'class Render3D_SIMD<16>' has accessible non-virtual destructor [-Wnon-virtual-dtor] 295 | class Render3D_SSE2 : public Render3D_SIMD<16> | ^~~~~~~~~~~~~ ../desmume/src/frontend/../render3D.h:295:7: warning: 'class Render3D_SSE2' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/frontend/../OGLRender.h:685:7: warning: base class 'class Render3D_SSE2' has accessible non-virtual destructor [-Wnon-virtual-dtor] 685 | class OpenGLRenderer : public Render3D_SSE2 | ^~~~~~~~~~~~~~ In file included from ../desmume/src/frontend/../gfx3d.h:27: ../desmume/src/frontend/../matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/frontend/../matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/frontend/../matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ [131/163] Compiling C++ object libdesmume.a.p/.._.._matrix.cpp.o [132/163] Compiling C++ object libdesmume.a.p/.._.._SPU.cpp.o [133/163] Compiling C++ object libdesmume.a.p/.._.._slot2.cpp.o ../desmume/src/utils/decrypt/decrypt.cpp:407:13: warning: 'void init0(u32)' defined but not used [-Wunused-function] 407 | static void init0(u32 cardheader_gamecode) | ^~~~~ ../desmume/src/utils/decrypt/decrypt.cpp:354:13: warning: 'void decrypt(u32*, u64&)' defined but not used [-Wunused-function] 354 | static void decrypt(u32 *magic, u64 &cmd) | ^~~~~~~ ../desmume/src/utils/decrypt/decrypt.cpp:349:13: warning: 'void encrypt(u32*, u64&)' defined but not used [-Wunused-function] 349 | static void encrypt(u32 *magic, u64 &cmd) | ^~~~~~~ [134/163] Compiling C++ object libdesmume.a.p/.._.._slot1.cpp.o [135/163] Compiling C++ object libdesmume.a.p/.._.._saves.cpp.o [136/163] Compiling C++ object libdesmume.a.p/.._.._rtc.cpp.o In file included from ../desmume/src/frontend/../NDSSystem.h:28, from ../desmume/src/frontend/posix/cli/main.cpp:36: ../desmume/src/frontend/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/frontend/../firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/frontend/../firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/frontend/../firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/frontend/../NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/frontend/../NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/frontend/../NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/frontend/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/frontend/../NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/frontend/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ In file included from ../desmume/src/frontend/posix/cli/main.cpp:37: ../desmume/src/frontend/../driver.h: At global scope: ../desmume/src/frontend/../driver.h:26:7: warning: 'class VIEW3D_Driver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 26 | class VIEW3D_Driver | ^~~~~~~~~~~~~ ../desmume/src/frontend/../driver.h:35:7: warning: 'class BaseDriver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 35 | class BaseDriver { | ^~~~~~~~~~ In file included from ../desmume/src/frontend/posix/cli/main.cpp:38: ../desmume/src/frontend/../GPU.h:1840:7: warning: 'class GPUEventHandler' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 1840 | class GPUEventHandler | ^~~~~~~~~~~~~~~ ../desmume/src/frontend/../GPU.h:1856:7: warning: base class 'class GPUEventHandler' has accessible non-virtual destructor [-Wnon-virtual-dtor] 1856 | class GPUEventHandlerDefault : public GPUEventHandler | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/frontend/../GPU.h:1856:7: warning: 'class GPUEventHandlerDefault' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/frontend/posix/cli/../shared/ctrlssdl.h:29, from ../desmume/src/frontend/posix/cli/main.cpp:41: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/frontend/posix/cli/main.cpp:42: ../desmume/src/frontend/../render3D.h:149:7: warning: 'class Render3D' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 149 | class Render3D | ^~~~~~~~ ../desmume/src/frontend/../render3D.h: In instantiation of 'class Render3D_SIMD<16>': ../desmume/src/frontend/../render3D.h:295:30: required from here ../desmume/src/frontend/../render3D.h:277:7: warning: base class 'class Render3D' has accessible non-virtual destructor [-Wnon-virtual-dtor] 277 | class Render3D_SIMD : public Render3D | ^~~~~~~~~~~~~ ../desmume/src/frontend/../render3D.h:277:7: warning: 'class Render3D_SIMD<16>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/frontend/../render3D.h:295:7: warning: base class 'class Render3D_SIMD<16>' has accessible non-virtual destructor [-Wnon-virtual-dtor] 295 | class Render3D_SSE2 : public Render3D_SIMD<16> | ^~~~~~~~~~~~~ ../desmume/src/frontend/../render3D.h:295:7: warning: 'class Render3D_SSE2' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/frontend/posix/cli/main.cpp:43: ../desmume/src/frontend/../rasterize.h:137:7: warning: base class 'class Render3D_SSE2' has accessible non-virtual destructor [-Wnon-virtual-dtor] 137 | class SoftRasterizerRenderer : public Render3D_SSE2 | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../desmume/src/frontend/posix/cli/main.cpp:48: ../desmume/src/frontend/../slot2.h:29:7: warning: 'class Slot2Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 29 | class Slot2Info | ^~~~~~~~~ ../desmume/src/frontend/../slot2.h:37:7: warning: base class 'class Slot2Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 37 | class Slot2InfoSimple : public Slot2Info | ^~~~~~~~~~~~~~~ ../desmume/src/frontend/../slot2.h:37:7: warning: 'class Slot2InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/frontend/posix/cli/main.cpp:74:7: warning: base class 'class BaseDriver' has accessible non-virtual destructor [-Wnon-virtual-dtor] 74 | class CliDriver : public BaseDriver {}; | ^~~~~~~~~ ../desmume/src/frontend/posix/cli/main.cpp:74:7: warning: 'class CliDriver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/frontend/posix/cli/main.cpp: In function 'int fill_config(configured_features*, int, char**)': ../desmume/src/frontend/posix/cli/main.cpp:169:16: warning: unused variable 'options' [-Wunused-variable] 169 | GOptionEntry options[] = { | ^~~~~~~ In file included from ../desmume/src/frontend/../SPU.h:28, from ../desmume/src/frontend/posix/cli/main.cpp:39: ../desmume/src/frontend/../matrix.h: At global scope: ../desmume/src/frontend/../matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/frontend/../matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/frontend/../matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ [137/163] Compiling C++ object libdesmume.a.p/.._.._render3D.cpp.o In file included from ../desmume/src/addons/slot2_mpcf.cpp:26: ../desmume/src/addons/../slot2.h:29:7: warning: 'class Slot2Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 29 | class Slot2Info | ^~~~~~~~~ ../desmume/src/addons/../slot2.h:37:7: warning: base class 'class Slot2Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 37 | class Slot2InfoSimple : public Slot2Info | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../slot2.h:37:7: warning: 'class Slot2InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] [138/163] Compiling C++ object libdesmume.a.p/.._.._ROMReader.cpp.o [139/163] Compiling C++ object libdesmume.a.p/.._.._NDSSystem.cpp.o In file included from ../desmume/src/addons/slot2_gbagame.cpp:19: ../desmume/src/addons/../slot2.h:29:7: warning: 'class Slot2Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 29 | class Slot2Info | ^~~~~~~~~ ../desmume/src/addons/../slot2.h:37:7: warning: base class 'class Slot2Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 37 | class Slot2InfoSimple : public Slot2Info | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../slot2.h:37:7: warning: 'class Slot2InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/addons/../NDSSystem.h:28, from ../desmume/src/addons/slot2_gbagame.cpp:24: ../desmume/src/addons/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/addons/../firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/addons/../firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/addons/../firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ ../desmume/src/addons/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/addons/../NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/addons/../NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/addons/../NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/addons/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/addons/../NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/addons/../NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/addons/slot2_gbagame.cpp: In member function 'u32 Slot2_GbaCart::readRom(u32, u8)': ../desmume/src/addons/slot2_gbagame.cpp:68:21: warning: unused variable 'readed' [-Wunused-variable] 68 | u32 readed = fROM->fread(&data, size); | ^~~~~~ ../desmume/src/addons/slot2_gbagame.cpp: In member function 'u32 Slot2_GbaCart::readSRAM(u32, u8)': ../desmume/src/addons/slot2_gbagame.cpp:80:21: warning: unused variable 'readed' [-Wunused-variable] 80 | u32 readed = fSRAM->fread(&data, size); | ^~~~~~ ../desmume/src/addons/slot2_gbagame.cpp: In member function 'void Slot2_GbaCart::writeSRAM(u32, const u8*, u32)': ../desmume/src/addons/slot2_gbagame.cpp:91:21: warning: unused variable 'writed' [-Wunused-variable] 91 | u32 writed = size; | ^~~~~~ [140/163] Compiling C++ object libdesmume.a.p/.._.._MMU.cpp.o In file included from ../desmume/src/gfx3d.h:28, from ../desmume/src/render3D.h:23, from ../desmume/src/OGLRender.h:27, from ../desmume/src/OGLRender_3_2.h:57, from ../desmume/src/OGLRender_3_2.cpp:20: ../desmume/src/GPU.h:1840:7: warning: 'class GPUEventHandler' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 1840 | class GPUEventHandler | ^~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: base class 'class GPUEventHandler' has accessible non-virtual destructor [-Wnon-virtual-dtor] 1856 | class GPUEventHandlerDefault : public GPUEventHandler | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: 'class GPUEventHandlerDefault' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/render3D.h:149:7: warning: 'class Render3D' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 149 | class Render3D | ^~~~~~~~ ../desmume/src/render3D.h: In instantiation of 'class Render3D_SIMD<16>': ../desmume/src/render3D.h:295:30: required from here ../desmume/src/render3D.h:277:7: warning: base class 'class Render3D' has accessible non-virtual destructor [-Wnon-virtual-dtor] 277 | class Render3D_SIMD : public Render3D | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:277:7: warning: 'class Render3D_SIMD<16>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/render3D.h:295:7: warning: base class 'class Render3D_SIMD<16>' has accessible non-virtual destructor [-Wnon-virtual-dtor] 295 | class Render3D_SSE2 : public Render3D_SIMD<16> | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:295:7: warning: 'class Render3D_SSE2' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/OGLRender.h:685:7: warning: base class 'class Render3D_SSE2' has accessible non-virtual destructor [-Wnon-virtual-dtor] 685 | class OpenGLRenderer : public Render3D_SSE2 | ^~~~~~~~~~~~~~ In file included from ../desmume/src/NDSSystem.h:28, from ../desmume/src/OGLRender_3_2.cpp:31: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/OGLRender_3_2.cpp: In member function 'virtual void OpenGLRenderer_3_2::GetExtensionSet(std::set >*)': ../desmume/src/OGLRender_3_2.cpp:1711:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'GLint' {aka 'int'} [-Wsign-compare] 1711 | for (size_t i = 0; i < extensionCount; i++) | ~~^~~~~~~~~~~~~~~~ In file included from ../desmume/src/gfx3d.h:27: ../desmume/src/matrix.h: At global scope: ../desmume/src/matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ [141/163] Compiling C++ object libdesmume.a.p/.._.._wifi.cpp.o [142/163] Compiling C++ object libdesmume.a.p/.._.._readwrite.cpp.o In file included from ../desmume/src/utils/datetime.cpp:1: ../desmume/src/utils/datetime.h: In static member function 'static s64 TimeSpan::CalculateTicks(int, int, int, int, int)': ../desmume/src/utils/datetime.h:308:22: warning: variable 'overflow' set but not used [-Wunused-but-set-variable] 308 | bool overflow = false; | ^~~~~~~~ ../desmume/src/utils/datetime.h: In member function 'DateTime DateTime::AddMonths(int) const': ../desmume/src/utils/datetime.h:680:25: warning: left operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~~ ../desmume/src/utils/datetime.h:680:38: warning: right operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~ [143/163] Compiling C++ object libdesmume.a.p/.._.._path.cpp.o In file included from ../desmume/src/cheatSystem.cpp:18: ../desmume/src/cheatSystem.h: In constructor 'CHEATSEXPORT::CHEATSEXPORT()': ../desmume/src/cheatSystem.h:151:49: warning: 'CHEATSEXPORT::encOffset' will be initialized after [-Wreorder] 151 | u32 encOffset; | ^~~~~~~~~ ../desmume/src/cheatSystem.h:146:33: warning:  'CHEATS_DB_TYPE CHEATSEXPORT::type' [-Wreorder] 146 | CHEATS_DB_TYPE type; | ^~~~ ../desmume/src/cheatSystem.h:167:9: warning:  when initialized here [-Wreorder] 167 | CHEATSEXPORT() : | ^~~~~~~~~~~~ ../desmume/src/cheatSystem.h:191:41: warning: 'CHEATSEXPORT::CRC' will be initialized after [-Wreorder] 191 | u32 CRC; | ^~~ ../desmume/src/cheatSystem.h:160:49: warning:  'u8 CHEATSEXPORT::error' [-Wreorder] 160 | u8 error; // 0 - no errors | ^~~~~ ../desmume/src/cheatSystem.h:167:9: warning:  when initialized here [-Wreorder] 167 | CHEATSEXPORT() : | ^~~~~~~~~~~~ In file included from ../desmume/src/NDSSystem.h:28, from ../desmume/src/cheatSystem.cpp:21: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ In file included from ../desmume/src/cheatSystem.cpp:23: ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/cheatSystem.cpp: In member function 'void CHEATS::ARparser(CHEATS_LIST&)': ../desmume/src/cheatSystem.cpp:568:37: warning: unused variable 'j' [-Wunused-variable] 568 | u32 j=0,t=0,b=0; | ^ ../desmume/src/cheatSystem.cpp: In member function 'BOOL CHEATS::load()': ../desmume/src/cheatSystem.cpp:909:23: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct CHEATS_LIST'; use assignment or value-initialization instead [-Wclass-memaccess] 909 | memset(&tmp_cht, 0, sizeof(tmp_cht)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/cheatSystem.h:37:8: note: 'struct CHEATS_LIST' declared here 37 | struct CHEATS_LIST | ^~~~~~~~~~~ ../desmume/src/cheatSystem.cpp: In member function 'bool CHEATSEXPORT::getCodes()': ../desmume/src/cheatSystem.cpp:1614:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct CHEATS_LIST'; use assignment or value-initialization instead [-Wclass-memaccess] 1614 | memset(cheats, 0, sizeof(CHEATS_LIST) * numCheats); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/cheatSystem.h:37:8: note: 'struct CHEATS_LIST' declared here 37 | struct CHEATS_LIST | ^~~~~~~~~~~ [144/163] Compiling C++ object libdesmume.a.p/.._.._mc.cpp.o [145/163] Compiling C++ object libdesmume.a.p/.._.._GPU.cpp.o In file included from ../desmume/src/NDSSystem.h:28, from ../desmume/src/utils/fsnitro.cpp:25: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/utils/fsnitro.cpp: In member function 'bool FS_NITRO::loadFileTables()': ../desmume/src/utils/fsnitro.cpp:203:33: warning: unused variable '_endptr' [-Wunused-variable] 203 | u32 _endptr = FNameTblOff + FNameTblSize - 1; | ^~~~~~~ ../desmume/src/utils/fsnitro.cpp: In member function 'bool FS_NITRO::extract(u16, std::string)': ../desmume/src/utils/fsnitro.cpp:495:33: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 495 | if(done != todo) break; //panic | ~~~~~^~~~~~~ [146/163] Compiling C++ object libdesmume.a.p/.._.._firmware.cpp.o In file included from ../desmume/src/gfx3d.h:28, from ../desmume/src/texcache.h:28, from ../desmume/src/texcache.cpp:24: ../desmume/src/GPU.h:1840:7: warning: 'class GPUEventHandler' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 1840 | class GPUEventHandler | ^~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: base class 'class GPUEventHandler' has accessible non-virtual destructor [-Wnon-virtual-dtor] 1856 | class GPUEventHandlerDefault : public GPUEventHandler | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: 'class GPUEventHandlerDefault' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/MMU.h:24, from ../desmume/src/texcache.cpp:30: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/texcache.cpp: In instantiation of 'void NDSTextureUnpackI2(size_t, const u8*, const u16*, bool, u32*) [with TextureStoreUnpackFormat TEXCACHEFORMAT = TexFormat_32bpp; size_t = long unsigned int; u8 = unsigned char; u16 = short unsigned int; u32 = unsigned int]': ../desmume/src/texcache.cpp:638:38: required from 'void TextureStore::Unpack(u32*) [with TextureStoreUnpackFormat TEXCACHEFORMAT = TexFormat_32bpp; u32 = unsigned int]' ../desmume/src/texcache.cpp:679:31: required from here ../desmume/src/texcache.cpp:1062:22: warning: unused variable 'texelCount' [-Wunused-variable] 1062 | const size_t texelCount = srcSize * 4; // 4 indices packed into a single 8-bit value | ^~~~~~~~~~ ../desmume/src/texcache.cpp: In instantiation of 'void NDSTextureUnpackI4(size_t, const u8*, const u16*, bool, u32*) [with TextureStoreUnpackFormat TEXCACHEFORMAT = TexFormat_32bpp; size_t = long unsigned int; u8 = unsigned char; u16 = short unsigned int; u32 = unsigned int]': ../desmume/src/texcache.cpp:642:38: required from 'void TextureStore::Unpack(u32*) [with TextureStoreUnpackFormat TEXCACHEFORMAT = TexFormat_32bpp; u32 = unsigned int]' ../desmume/src/texcache.cpp:679:31: required from here ../desmume/src/texcache.cpp:1346:22: warning: unused variable 'texelCount' [-Wunused-variable] 1346 | const size_t texelCount = srcSize * 2; // 2 indices packed into a single 8-bit value | ^~~~~~~~~~ ../desmume/src/texcache.cpp: In instantiation of 'void NDSTextureUnpackI2(size_t, const u8*, const u16*, bool, u32*) [with TextureStoreUnpackFormat TEXCACHEFORMAT = TexFormat_15bpp; size_t = long unsigned int; u8 = unsigned char; u16 = short unsigned int; u32 = unsigned int]': ../desmume/src/texcache.cpp:638:38: required from 'void TextureStore::Unpack(u32*) [with TextureStoreUnpackFormat TEXCACHEFORMAT = TexFormat_15bpp; u32 = unsigned int]' ../desmume/src/texcache.cpp:2031:70: required from here ../desmume/src/texcache.cpp:1062:22: warning: unused variable 'texelCount' [-Wunused-variable] 1062 | const size_t texelCount = srcSize * 4; // 4 indices packed into a single 8-bit value | ^~~~~~~~~~ ../desmume/src/texcache.cpp: In instantiation of 'void NDSTextureUnpackI4(size_t, const u8*, const u16*, bool, u32*) [with TextureStoreUnpackFormat TEXCACHEFORMAT = TexFormat_15bpp; size_t = long unsigned int; u8 = unsigned char; u16 = short unsigned int; u32 = unsigned int]': ../desmume/src/texcache.cpp:642:38: required from 'void TextureStore::Unpack(u32*) [with TextureStoreUnpackFormat TEXCACHEFORMAT = TexFormat_15bpp; u32 = unsigned int]' ../desmume/src/texcache.cpp:2031:70: required from here ../desmume/src/texcache.cpp:1346:22: warning: unused variable 'texelCount' [-Wunused-variable] 1346 | const size_t texelCount = srcSize * 2; // 2 indices packed into a single 8-bit value | ^~~~~~~~~~ In file included from ../desmume/src/gfx3d.h:27: ../desmume/src/matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ [147/163] Compiling C++ object libdesmume.a.p/.._.._FIFO.cpp.o [148/163] Compiling C++ object libdesmume.a.p/.._.._encrypt.cpp.o In file included from ../desmume/src/utils/advanscene.cpp:24: ../desmume/src/utils/advanscene.h: In constructor 'ADVANsCEne::ADVANsCEne()': ../desmume/src/utils/advanscene.h:32:41: warning: 'ADVANsCEne::saveType' will be initialized after [-Wreorder] 32 | u8 saveType; | ^~~~~~~~ ../desmume/src/utils/advanscene.h:28:41: warning:  'u32 ADVANsCEne::crc32' [-Wreorder] 28 | u32 crc32; | ^~~~~ ../desmume/src/utils/advanscene.h:45:9: warning:  when initialized here [-Wreorder] 45 | ADVANsCEne() | ^~~~~~~~~~ [149/163] Compiling C++ object libdesmume.a.p/.._.._emufile.cpp.o In file included from ../desmume/src/slot2.cpp:17: ../desmume/src/slot2.h:29:7: warning: 'class Slot2Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 29 | class Slot2Info | ^~~~~~~~~ ../desmume/src/slot2.h:37:7: warning: base class 'class Slot2Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 37 | class Slot2InfoSimple : public Slot2Info | ^~~~~~~~~~~~~~~ ../desmume/src/slot2.h:37:7: warning: 'class Slot2InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/MMU.h:24, from ../desmume/src/slot2.cpp:21: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] [150/163] Compiling C++ object libdesmume.a.p/.._.._Database.cpp.o In file included from ../desmume/src/utils/vfat.cpp:27: ../desmume/src/utils/emufat.h: In member function 'void EmuFatFile::ctassert()': ../desmume/src/utils/../types.h:541:46: warning: typedef '__asserty' locally defined but not used [-Wunused-local-typedefs] 541 | #define CTASSERT(x) typedef char __assert ## y[(x) ? 1 : -1] | ^~~~~~~~ ../desmume/src/utils/emufat.h:576:11: note: in expansion of macro 'CTASSERT' 576 | CTASSERT(!((F_UNUSED | F_FILE_UNBUFFERED_READ | F_FILE_DIR_DIRTY) & F_OFLAG)); | ^~~~~~~~ ../desmume/src/utils/vfat.cpp: In function 'void list_files(const char*, ListCallback)': ../desmume/src/utils/vfat.cpp:51:16: warning: unused variable 'hFind' [-Wunused-variable] 51 | void * hFind; | ^~~~~ ../desmume/src/utils/vfat.cpp:52:15: warning: unused variable 'fname' [-Wunused-variable] 52 | char *fname; | ^~~~~ ../desmume/src/utils/vfat.cpp:53:13: warning: unused variable 'dwError' [-Wunused-variable] 53 | u32 dwError; | ^~~~~~~ ../desmume/src/utils/vfat.cpp: In member function 'bool VFAT::build(const char*, int)': ../desmume/src/utils/vfat.cpp:211:20: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] 211 | catch(std::bad_alloc) | ^~~~~~~~~ ../desmume/src/utils/vfat.cpp:225:20: warning: unused variable 'ok' [-Wunused-variable] 225 | u8 ok = vol.init(&fat); | ^~ In file included from ../desmume/src/utils/vfat.cpp:34: ../desmume/src/utils/emufat.h: At global scope: ../desmume/src/utils/emufat.h:73:15: warning: 'dateTime_' defined but not used [-Wunused-variable] 73 | static void (*dateTime_)(u16* date, u16* time) = NULL; | ^~~~~~~~~ [151/163] Compiling C++ object libdesmume.a.p/.._.._driver.cpp.o [152/163] Compiling C++ object libdesmume.a.p/.._.._debug.cpp.o [153/163] Compiling C++ object libdesmume.a.p/.._.._common.cpp.o ../desmume/src/Database.cpp: In function 'const char* Database::RegionXXXForCode(char, bool)': ../desmume/src/Database.cpp:374:24: warning: unused variable 'regions_num' [-Wunused-variable] 374 | size_t regions_num = ARRAY_SIZE(regions); | ^~~~~~~~~~~ [154/163] Compiling C++ object libdesmume.a.p/.._.._commandline.cpp.o In file included from ../desmume/src/utils/emufat_types.h:4, from ../desmume/src/utils/emufat.h:34, from ../desmume/src/utils/emufat.cpp:28: ../desmume/src/utils/emufat.h: In member function 'void EmuFatFile::ctassert()': ../desmume/src/types.h:541:46: warning: typedef '__asserty' locally defined but not used [-Wunused-local-typedefs] 541 | #define CTASSERT(x) typedef char __assert ## y[(x) ? 1 : -1] | ^~~~~~~~ ../desmume/src/utils/emufat.h:576:11: note: in expansion of macro 'CTASSERT' 576 | CTASSERT(!((F_UNUSED | F_FILE_UNBUFFERED_READ | F_FILE_DIR_DIRTY) & F_OFLAG)); | ^~~~~~~~ ../desmume/src/utils/emufat.h: In constructor 'EmuFat::EmuFat(EMUFILE*)': ../desmume/src/utils/emufat.h:688:26: warning: 'EmuFat::m_owns' will be initialized after [-Wreorder] 688 | bool m_readonly, m_owns; | ^~~~~~ ../desmume/src/utils/emufat.h:688:14: warning:  'bool EmuFat::m_readonly' [-Wreorder] 688 | bool m_readonly, m_owns; | ^~~~~~~~~~ ../desmume/src/utils/emufat.cpp:115:1: warning:  when initialized here [-Wreorder] 115 | EmuFat::EmuFat(EMUFILE* fileNotToDelete) | ^~~~~~ ../desmume/src/utils/emufat.cpp: In function 'bool calculateClusterSize(TFat32BootSector*, u32, u32&, u32&, int, int&)': ../desmume/src/utils/emufat.cpp:245:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 245 | if (maxclust12 > MAX_CLUST_12) | ^~ ../desmume/src/utils/emufat.cpp:247:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 247 | printf( "FAT12: #clu=%u, fatlen=%u, maxclu=%u, limit=%u\n", | ^~~~~~ ../desmume/src/utils/emufat.cpp: In member function 'bool EmuFatVolume::formatNew(u32)': ../desmume/src/utils/emufat.cpp:400:13: warning: unused variable 'volumeStartBlock' [-Wunused-variable] 400 | u32 volumeStartBlock = 0; | ^~~~~~~~~~~~~~~~ [155/163] Compiling C++ object libdesmume.a.p/.._.._cp15.cpp.o In file included from ../desmume/src/MMU.h:24, from ../desmume/src/slot1.h:24, from ../desmume/src/slot1.cpp:32: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/slot1.h:28:7: warning: 'class Slot1Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 28 | class Slot1Info | ^~~~~~~~~ ../desmume/src/slot1.h:36:7: warning: base class 'class Slot1Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 36 | class Slot1InfoSimple : public Slot1Info | ^~~~~~~~~~~~~~~ ../desmume/src/slot1.h:36:7: warning: 'class Slot1InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] [156/163] Compiling C++ object libdesmume.a.p/.._.._bios.cpp.o ../desmume/src/utils/colorspacehandler/colorspacehandler.cpp:220: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 220 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/utils/colorspacehandler/colorspacehandler.cpp:276: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 276 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/utils/colorspacehandler/colorspacehandler.cpp:332: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 332 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/utils/colorspacehandler/colorspacehandler.cpp:371: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 371 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/utils/colorspacehandler/colorspacehandler.cpp:410: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 410 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/utils/colorspacehandler/colorspacehandler.cpp:449: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 449 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/utils/colorspacehandler/colorspacehandler.cpp:488: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 488 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/utils/colorspacehandler/colorspacehandler.cpp:527: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 527 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/utils/colorspacehandler/colorspacehandler.cpp:566: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 566 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/utils/colorspacehandler/colorspacehandler.cpp:597: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 597 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/utils/colorspacehandler/colorspacehandler.cpp:628: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 628 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/utils/colorspacehandler/colorspacehandler.cpp:674: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 674 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/utils/colorspacehandler/colorspacehandler.cpp:687: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 687 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/utils/colorspacehandler/colorspacehandler.cpp:699: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 699 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/utils/colorspacehandler/colorspacehandler.cpp:752: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 752 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/utils/colorspacehandler/colorspacehandler.cpp:770: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 770 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/utils/colorspacehandler/colorspacehandler.cpp:785: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 785 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/utils/colorspacehandler/colorspacehandler.cpp:801: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 801 | #pragma LOOPVECTORIZE_DISABLE | [157/163] Compiling C++ object libdesmume.a.p/.._.._arm_instructions.cpp.o In file included from ../desmume/src/rtc.h:25, from ../desmume/src/rtc.cpp:22: ../desmume/src/utils/datetime.h: In static member function 'static s64 TimeSpan::CalculateTicks(int, int, int, int, int)': ../desmume/src/utils/datetime.h:308:22: warning: variable 'overflow' set but not used [-Wunused-but-set-variable] 308 | bool overflow = false; | ^~~~~~~~ ../desmume/src/utils/datetime.h: In member function 'DateTime DateTime::AddMonths(int) const': ../desmume/src/utils/datetime.h:680:25: warning: left operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~~ ../desmume/src/utils/datetime.h:680:38: warning: right operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~ In file included from ../desmume/src/MMU.h:24, from ../desmume/src/armcpu.h:27, from ../desmume/src/rtc.cpp:24: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] [158/163] Compiling C++ object libdesmume.a.p/.._.._armcpu.cpp.o ../desmume/src/path.cpp: In member function 'void PathInfo::ReadPathSettings()': ../desmume/src/path.cpp:247:49: warning: the address of 'PathInfo::pathToModule' will never be NULL [-Waddress] 247 | if ((strcmp(pathToModule, "") == 0) || !pathToModule) | ^~~~~~~~~~~~ In file included from ../desmume/src/path.cpp:23: ../desmume/src/path.h:121:14: note: 'PathInfo::pathToModule' declared here 121 | char pathToModule[MAX_PATH]; | ^~~~~~~~~~~~ [159/163] Compiling C++ object libcolorspacehandler_sse2.a.p/.._.._utils_colorspacehandler_colorspacehandler_SSE2.cpp.o In file included from ../desmume/src/MMU.h:24, from ../desmume/src/armcpu.h:27, from ../desmume/src/encrypt.cpp:19: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/OGLRender.cpp:1387: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 1387 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/OGLRender.cpp:1427: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 1427 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/OGLRender.cpp:1465: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 1465 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/OGLRender.cpp:1512: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 1512 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/OGLRender.cpp:1564: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 1564 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/OGLRender.cpp:1614: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 1614 | #pragma LOOPVECTORIZE_DISABLE | In file included from ../desmume/src/gfx3d.h:28, from ../desmume/src/render3D.h:23, from ../desmume/src/OGLRender.h:27, from ../desmume/src/OGLRender.cpp:20: ../desmume/src/GPU.h:1840:7: warning: 'class GPUEventHandler' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 1840 | class GPUEventHandler | ^~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: base class 'class GPUEventHandler' has accessible non-virtual destructor [-Wnon-virtual-dtor] 1856 | class GPUEventHandlerDefault : public GPUEventHandler | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: 'class GPUEventHandlerDefault' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/render3D.h:149:7: warning: 'class Render3D' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 149 | class Render3D | ^~~~~~~~ ../desmume/src/render3D.h: In instantiation of 'class Render3D_SIMD<16>': ../desmume/src/render3D.h:295:30: required from here ../desmume/src/render3D.h:277:7: warning: base class 'class Render3D' has accessible non-virtual destructor [-Wnon-virtual-dtor] 277 | class Render3D_SIMD : public Render3D | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:277:7: warning: 'class Render3D_SIMD<16>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/render3D.h:295:7: warning: base class 'class Render3D_SIMD<16>' has accessible non-virtual destructor [-Wnon-virtual-dtor] 295 | class Render3D_SSE2 : public Render3D_SIMD<16> | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:295:7: warning: 'class Render3D_SSE2' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/OGLRender.h:685:7: warning: base class 'class Render3D_SSE2' has accessible non-virtual destructor [-Wnon-virtual-dtor] 685 | class OpenGLRenderer : public Render3D_SSE2 | ^~~~~~~~~~~~~~ In file included from ../desmume/src/NDSSystem.h:28, from ../desmume/src/OGLRender.cpp:31: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ In file included from ../desmume/src/gfx3d.h:27: ../desmume/src/matrix.h: At global scope: ../desmume/src/matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ In file included from ../desmume/src/MMU.h:24, from ../desmume/src/matrix.cpp:25: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/matrix.cpp:24: ../desmume/src/matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ [160/163] Linking static target libcolorspacehandler_sse2.a In file included from ../desmume/src/MMU.h:24, from ../desmume/src/armcpu.h:27, from ../desmume/src/cp15.cpp:21: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/gfx3d.h:28, from ../desmume/src/render3D.h:23, from ../desmume/src/render3D.cpp:19: ../desmume/src/GPU.h:1840:7: warning: 'class GPUEventHandler' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 1840 | class GPUEventHandler | ^~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: base class 'class GPUEventHandler' has accessible non-virtual destructor [-Wnon-virtual-dtor] 1856 | class GPUEventHandlerDefault : public GPUEventHandler | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: 'class GPUEventHandlerDefault' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/render3D.h:149:7: warning: 'class Render3D' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 149 | class Render3D | ^~~~~~~~ ../desmume/src/render3D.h: In instantiation of 'class Render3D_SIMD<16>': ../desmume/src/render3D.h:295:30: required from here ../desmume/src/render3D.h:277:7: warning: base class 'class Render3D' has accessible non-virtual destructor [-Wnon-virtual-dtor] 277 | class Render3D_SIMD : public Render3D | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:277:7: warning: 'class Render3D_SIMD<16>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/render3D.h:295:7: warning: base class 'class Render3D_SIMD<16>' has accessible non-virtual destructor [-Wnon-virtual-dtor] 295 | class Render3D_SSE2 : public Render3D_SIMD<16> | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:295:7: warning: 'class Render3D_SSE2' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/MMU.h:24, from ../desmume/src/render3D.cpp:24: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/render3D.cpp: In function 'void Render3D_DeInit()': ../desmume/src/render3D.cpp:60:9: warning: deleting object of polymorphic class type 'Render3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 60 | delete BaseRenderer; | ^~~~~~~~~~~~~~~~~~~ ../desmume/src/render3D.cpp: In function 'void Render3DBaseDestroy()': ../desmume/src/render3D.cpp:76:17: warning: deleting object of polymorphic class type 'Render3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 76 | delete oldRenderer; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/render3D.h: In instantiation of 'class Render3D_SIMD<32>': ../desmume/src/render3D.cpp:960:27: required from here ../desmume/src/render3D.h:277:7: warning: base class 'class Render3D' has accessible non-virtual destructor [-Wnon-virtual-dtor] 277 | class Render3D_SIMD : public Render3D | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:277:7: warning: 'class Render3D_SIMD<32>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/gfx3d.h:27: ../desmume/src/matrix.h: At global scope: ../desmume/src/matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ In file included from ../desmume/src/MMU.h:24, from ../desmume/src/armcpu.h:27, from ../desmume/src/mc.cpp:26: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/movie.h:27, from ../desmume/src/mc.cpp:28: ../desmume/src/utils/datetime.h: In static member function 'static s64 TimeSpan::CalculateTicks(int, int, int, int, int)': ../desmume/src/utils/datetime.h:308:22: warning: variable 'overflow' set but not used [-Wunused-but-set-variable] 308 | bool overflow = false; | ^~~~~~~~ ../desmume/src/utils/datetime.h: In member function 'DateTime DateTime::AddMonths(int) const': ../desmume/src/utils/datetime.h:680:25: warning: left operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~~ ../desmume/src/utils/datetime.h:680:38: warning: right operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~ In file included from ../desmume/src/mc.cpp:33: ../desmume/src/utils/advanscene.h: In constructor 'ADVANsCEne::ADVANsCEne()': ../desmume/src/utils/advanscene.h:32:41: warning: 'ADVANsCEne::saveType' will be initialized after [-Wreorder] 32 | u8 saveType; | ^~~~~~~~ ../desmume/src/utils/advanscene.h:28:41: warning:  'u32 ADVANsCEne::crc32' [-Wreorder] 28 | u32 crc32; | ^~~~~ ../desmume/src/utils/advanscene.h:45:9: warning:  when initialized here [-Wreorder] 45 | ADVANsCEne() | ^~~~~~~~~~ ../desmume/src/mc.cpp: In constructor 'BackupDevice::BackupDevice()': ../desmume/src/mc.cpp:354:21: warning: variable 'left' set but not used [-Wunused-but-set-variable] 354 | u32 left = 0; | ^~~~ ../desmume/src/mc.cpp: In member function 'int BackupDevice::readFooter()': ../desmume/src/mc.cpp:419:33: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 419 | if (this->_fpMC->size() < BackupDevice::GetDSVFooterSize()) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/mc.cpp: In member function 'u8 BackupDevice::searchFileSaveType(u32)': ../desmume/src/mc.cpp:647:26: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 647 | if (size == save_types[i].size) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ ../desmume/src/mc.cpp: In function 'int no_gba_unpackSAV(void*, u32, void*, u32&)': ../desmume/src/mc.cpp:1185:17: warning: variable 'size_packed' set but not used [-Wunused-but-set-variable] 1185 | u32 size_packed = 0; | ^~~~~~~~~~~ ../desmume/src/mc.cpp: In member function 'bool BackupDevice::import_duc(const char*, u32)': ../desmume/src/mc.cpp:1518:28: warning: unused variable 'id4' [-Wunused-variable] 1518 | u8 id16[16] = {0}, id4[4] = {0}, id3[3] = {0}; | ^~~ ../desmume/src/mc.cpp: In member function 'bool BackupDevice::load_movie(EMUFILE*)': ../desmume/src/mc.cpp:1665:13: warning: unused variable 'ok' [-Wunused-variable] 1665 | int ok = readFooter(); | ^~ ../desmume/src/mc.cpp: In static member function 'static bool BackupDevice::GetDSVFileInfo(FILE*, BackupDeviceFileSaveFooter*, size_t*)': ../desmume/src/mc.cpp:1745:72: warning: argument to 'sizeof' in 'char* strncpy(char*, const char*, size_t)' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 1745 | strncpy(inCookieTerminatedString, inFileFooter.cookie, sizeof(inFileFooter.cookie)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../desmume/src/MMU.h:24, from ../desmume/src/armcpu.h:27, from ../desmume/src/armcpu.cpp:24: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/wifi.cpp:20: ../desmume/src/wifi.h:3230:7: warning: 'class ClientPCapInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 3230 | class ClientPCapInterface | ^~~~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3243:7: warning: base class 'class ClientPCapInterface' has accessible non-virtual destructor [-Wnon-virtual-dtor] 3243 | class DummyPCapInterface : public ClientPCapInterface | ^~~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3243:7: warning: 'class DummyPCapInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/wifi.h:3261:7: warning: base class 'class ClientPCapInterface' has accessible non-virtual destructor [-Wnon-virtual-dtor] 3261 | class POSIXPCapInterface : public ClientPCapInterface | ^~~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3261:7: warning: 'class POSIXPCapInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/wifi.h:3276:7: warning: 'class WifiCommInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 3276 | class WifiCommInterface | ^~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3297:7: warning: base class 'class WifiCommInterface' has accessible non-virtual destructor [-Wnon-virtual-dtor] 3297 | class AdhocCommInterface : public WifiCommInterface | ^~~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3297:7: warning: 'class AdhocCommInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/wifi.h:3315:7: warning: base class 'class WifiCommInterface' has accessible non-virtual destructor [-Wnon-virtual-dtor] 3315 | class SoftAPCommInterface : public WifiCommInterface | ^~~~~~~~~~~~~~~~~~~ In file included from ../desmume/src/MMU.h:24, from ../desmume/src/armcpu.h:27, from ../desmume/src/wifi.cpp:21: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/wifi.cpp:27: ../desmume/src/driver.h:26:7: warning: 'class VIEW3D_Driver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 26 | class VIEW3D_Driver | ^~~~~~~~~~~~~ ../desmume/src/driver.h:35:7: warning: 'class BaseDriver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 35 | class BaseDriver { | ^~~~~~~~~~ ../desmume/src/wifi.cpp: In function 'u16 WIFI_read16(u32)': ../desmume/src/wifi.cpp:2393:37: warning: unused variable 'zzz' [-Wunused-variable] 2393 | int zzz=9; | ^~~ ../desmume/src/wifi.cpp: In destructor 'WifiHandler::~WifiHandler()': ../desmume/src/wifi.cpp:3803:9: warning: deleting object of polymorphic class type 'AdhocCommInterface' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3803 | delete this->_adhocCommInterface; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../desmume/src/firmware.cpp:18: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/firmware.cpp:20: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ In file included from ../desmume/src/firmware.cpp:21: ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/firmware.cpp:24: ../desmume/src/wifi.h:3230:7: warning: 'class ClientPCapInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 3230 | class ClientPCapInterface | ^~~~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3243:7: warning: base class 'class ClientPCapInterface' has accessible non-virtual destructor [-Wnon-virtual-dtor] 3243 | class DummyPCapInterface : public ClientPCapInterface | ^~~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3243:7: warning: 'class DummyPCapInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/wifi.h:3261:7: warning: base class 'class ClientPCapInterface' has accessible non-virtual destructor [-Wnon-virtual-dtor] 3261 | class POSIXPCapInterface : public ClientPCapInterface | ^~~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3261:7: warning: 'class POSIXPCapInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/wifi.h:3276:7: warning: 'class WifiCommInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 3276 | class WifiCommInterface | ^~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3297:7: warning: base class 'class WifiCommInterface' has accessible non-virtual destructor [-Wnon-virtual-dtor] 3297 | class AdhocCommInterface : public WifiCommInterface | ^~~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3297:7: warning: 'class AdhocCommInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/wifi.h:3315:7: warning: base class 'class WifiCommInterface' has accessible non-virtual destructor [-Wnon-virtual-dtor] 3315 | class SoftAPCommInterface : public WifiCommInterface | ^~~~~~~~~~~~~~~~~~~ In file included from ../desmume/src/SPU.cpp:35: ../desmume/src/driver.h:26:7: warning: 'class VIEW3D_Driver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 26 | class VIEW3D_Driver | ^~~~~~~~~~~~~ ../desmume/src/driver.h:35:7: warning: 'class BaseDriver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 35 | class BaseDriver { | ^~~~~~~~~~ In file included from ../desmume/src/MMU.h:24, from ../desmume/src/SPU.cpp:36: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/SPU.cpp: In member function 'void WavWriter::update(void*, int)': ../desmume/src/SPU.cpp:1908:16: warning: unused variable 'elems_written' [-Wunused-variable] 1908 | size_t elems_written = fwrite(soundData, numSamples*2, 2, spufp); | ^~~~~~~~~~~~~ ../desmume/src/SPU.cpp: In function 'bool spu_loadstate(EMUFILE&, int)': ../desmume/src/SPU.cpp:2061:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2061 | is.read_32LE(*(u32 *)&chan.sampcnt); | ^~~~~~~~~~~~~~~~~~~~ ../desmume/src/SPU.cpp:2062:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2062 | is.read_32LE(*(u32 *)&chan.sampinc); | ^~~~~~~~~~~~~~~~~~~~ ../desmume/src/SPU.cpp: In instantiation of 'void FetchADPCMData(channel_struct*, s32*) [with SPUInterpolationMode INTERPOLATE_MODE = SPUInterpolation_None; s32 = int]': ../desmume/src/SPU.cpp:1291:45: required from 'void ____SPU_ChanUpdate(SPU_struct*, channel_struct*) [with int FORMAT = 0; SPUInterpolationMode INTERPOLATE_MODE = SPUInterpolation_None; int CHANNELS = -1]' ../desmume/src/SPU.cpp:1311:49: required from 'void ___SPU_ChanUpdate(bool, SPU_struct*, channel_struct*) [with int FORMAT = 0; SPUInterpolationMode INTERPOLATE_MODE = SPUInterpolation_None]' ../desmume/src/SPU.cpp:1325:48: required from 'void __SPU_ChanUpdate(bool, SPU_struct*, channel_struct*) [with SPUInterpolationMode INTERPOLATE_MODE = SPUInterpolation_None]' ../desmume/src/SPU.cpp:1337:69: required from here ../desmume/src/SPU.cpp:1118:30: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1118 | if(i == (chan->loopstart<<3)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/SPU.cpp: In instantiation of 'void FetchADPCMData(channel_struct*, s32*) [with SPUInterpolationMode INTERPOLATE_MODE = SPUInterpolation_Linear; s32 = int]': ../desmume/src/SPU.cpp:1291:45: required from 'void ____SPU_ChanUpdate(SPU_struct*, channel_struct*) [with int FORMAT = 0; SPUInterpolationMode INTERPOLATE_MODE = SPUInterpolation_Linear; int CHANNELS = -1]' ../desmume/src/SPU.cpp:1311:49: required from 'void ___SPU_ChanUpdate(bool, SPU_struct*, channel_struct*) [with int FORMAT = 0; SPUInterpolationMode INTERPOLATE_MODE = SPUInterpolation_Linear]' ../desmume/src/SPU.cpp:1325:48: required from 'void __SPU_ChanUpdate(bool, SPU_struct*, channel_struct*) [with SPUInterpolationMode INTERPOLATE_MODE = SPUInterpolation_Linear]' ../desmume/src/SPU.cpp:1338:73: required from here ../desmume/src/SPU.cpp:1118:30: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] ../desmume/src/SPU.cpp: In instantiation of 'void FetchADPCMData(channel_struct*, s32*) [with SPUInterpolationMode INTERPOLATE_MODE = SPUInterpolation_Cosine; s32 = int]': ../desmume/src/SPU.cpp:1291:45: required from 'void ____SPU_ChanUpdate(SPU_struct*, channel_struct*) [with int FORMAT = 0; SPUInterpolationMode INTERPOLATE_MODE = SPUInterpolation_Cosine; int CHANNELS = -1]' ../desmume/src/SPU.cpp:1311:49: required from 'void ___SPU_ChanUpdate(bool, SPU_struct*, channel_struct*) [with int FORMAT = 0; SPUInterpolationMode INTERPOLATE_MODE = SPUInterpolation_Cosine]' ../desmume/src/SPU.cpp:1325:48: required from 'void __SPU_ChanUpdate(bool, SPU_struct*, channel_struct*) [with SPUInterpolationMode INTERPOLATE_MODE = SPUInterpolation_Cosine]' ../desmume/src/SPU.cpp:1339:73: required from here ../desmume/src/SPU.cpp:1118:30: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] In file included from ../desmume/src/SPU.h:28, from ../desmume/src/SPU.cpp:37: ../desmume/src/matrix.h: At global scope: ../desmume/src/matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ In function 'void SPU_MixAudio_Advanced(bool, SPU_struct*, int)', inlined from 'void SPU_MixAudio(bool, SPU_struct*, int)' at ../desmume/src/SPU.cpp:1580:24: ../desmume/src/SPU.cpp:1485:47: warning: 'sndout[1]' may be used uninitialized [-Wmaybe-uninitialized] 1485 | SPU->sndbuf[samp*2+1] = sndout[1]; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../desmume/src/SPU.cpp: In function 'void SPU_MixAudio(bool, SPU_struct*, int)': ../desmume/src/SPU.cpp:1438:21: note: 'sndout[1]' was declared here 1438 | s32 sndout[2]; | ^~~~~~ In function 'void SPU_MixAudio_Advanced(bool, SPU_struct*, int)', inlined from 'void SPU_MixAudio(bool, SPU_struct*, int)' at ../desmume/src/SPU.cpp:1580:24: ../desmume/src/SPU.cpp:1484:47: warning: 'sndout[0]' may be used uninitialized [-Wmaybe-uninitialized] 1484 | SPU->sndbuf[samp*2+0] = sndout[0]; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../desmume/src/SPU.cpp: In function 'void SPU_MixAudio(bool, SPU_struct*, int)': ../desmume/src/SPU.cpp:1438:21: note: 'sndout[0]' was declared here 1438 | s32 sndout[2]; | ^~~~~~ In file included from ../desmume/src/MMU.h:24, from ../desmume/src/armcpu.h:27, from ../desmume/src/FIFO.cpp:24: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/gfx3d.h:28, from ../desmume/src/FIFO.cpp:30: ../desmume/src/GPU.h:1840:7: warning: 'class GPUEventHandler' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 1840 | class GPUEventHandler | ^~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: base class 'class GPUEventHandler' has accessible non-virtual destructor [-Wnon-virtual-dtor] 1856 | class GPUEventHandlerDefault : public GPUEventHandler | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: 'class GPUEventHandlerDefault' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/gfx3d.h:27: ../desmume/src/matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ In file included from ../desmume/src/MMU.h:24, from ../desmume/src/armcpu.h:27, from ../desmume/src/thumb_instructions.cpp:20: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/MMU.h:24, from ../desmume/src/debug.cpp:24: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/movie.h:27, from ../desmume/src/debug.cpp:30: ../desmume/src/utils/datetime.h: In static member function 'static s64 TimeSpan::CalculateTicks(int, int, int, int, int)': ../desmume/src/utils/datetime.h:308:22: warning: variable 'overflow' set but not used [-Wunused-but-set-variable] 308 | bool overflow = false; | ^~~~~~~~ ../desmume/src/utils/datetime.h: In member function 'DateTime DateTime::AddMonths(int) const': ../desmume/src/utils/datetime.h:680:25: warning: left operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~~ ../desmume/src/utils/datetime.h:680:38: warning: right operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~ ../desmume/src/debug.cpp: In function 'void DEBUG_reset()': ../desmume/src/debug.cpp:278:31: warning: format '%p' expects argument of type 'void*', but argument 2 has type 'void (DebugStatistics::*)()' [-Wformat=] 278 | printf("DEBUG_reset: %p\n",&DebugStatistics::print); //force a reference to this function | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | | void (DebugStatistics::*)() | void* ../desmume/src/debug.cpp: At global scope: ../desmume/src/debug.cpp:281:13: warning: 'void DEBUG_dumpMemory_fill(EMUFILE&, u32)' defined but not used [-Wunused-function] 281 | static void DEBUG_dumpMemory_fill(EMUFILE &fp, u32 size) | ^~~~~~~~~~~~~~~~~~~~~ ../desmume/src/debug.cpp:71:13: warning: 'bool CheckRange(u32, u32, u32)' defined but not used [-Wunused-function] 71 | static bool CheckRange(u32 adr, u32 min, u32 len) | ^~~~~~~~~~ In file included from ../desmume/src/movie.h:27, from ../desmume/src/commandline.cpp:24: ../desmume/src/utils/datetime.h: In static member function 'static s64 TimeSpan::CalculateTicks(int, int, int, int, int)': ../desmume/src/utils/datetime.h:308:22: warning: variable 'overflow' set but not used [-Wunused-but-set-variable] 308 | bool overflow = false; | ^~~~~~~~ ../desmume/src/utils/datetime.h: In member function 'DateTime DateTime::AddMonths(int) const': ../desmume/src/utils/datetime.h:680:25: warning: left operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~~ ../desmume/src/utils/datetime.h:680:38: warning: right operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~ In file included from ../desmume/src/MMU.h:24, from ../desmume/src/slot1.h:24, from ../desmume/src/commandline.cpp:26: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/slot1.h:28:7: warning: 'class Slot1Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 28 | class Slot1Info | ^~~~~~~~~ ../desmume/src/slot1.h:36:7: warning: base class 'class Slot1Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 36 | class Slot1InfoSimple : public Slot1Info | ^~~~~~~~~~~~~~~ ../desmume/src/slot1.h:36:7: warning: 'class Slot1InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/commandline.cpp:27: ../desmume/src/slot2.h:29:7: warning: 'class Slot2Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 29 | class Slot2Info | ^~~~~~~~~ ../desmume/src/slot2.h:37:7: warning: base class 'class Slot2Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 37 | class Slot2InfoSimple : public Slot2Info | ^~~~~~~~~~~~~~~ ../desmume/src/slot2.h:37:7: warning: 'class Slot2InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/commandline.cpp:22: ../desmume/src/commandline.h: In constructor 'CommandLine::CommandLine()': ../desmume/src/commandline.h:100:13: warning: 'CommandLine::_load_to_memory' will be initialized after [-Wreorder] 100 | int _load_to_memory; | ^~~~~~~~~~~~~~~ ../desmume/src/commandline.h:92:15: warning:  'char* CommandLine::_play_movie_file' [-Wreorder] 92 | char* _play_movie_file; | ^~~~~~~~~~~~~~~~ ../desmume/src/commandline.cpp:39:1: warning:  when initialized here [-Wreorder] 39 | CommandLine::CommandLine() | ^~~~~~~~~~~ ../desmume/src/commandline.h:101:13: warning: 'CommandLine::_bios_swi' will be initialized after [-Wreorder] 101 | int _bios_swi; | ^~~~~~~~~ ../desmume/src/commandline.h:98:15: warning:  'char* CommandLine::_fw_path' [-Wreorder] 98 | char* _fw_path; | ^~~~~~~~ ../desmume/src/commandline.cpp:39:1: warning:  when initialized here [-Wreorder] 39 | CommandLine::CommandLine() | ^~~~~~~~~~~ ../desmume/src/commandline.h:99:13: warning: 'CommandLine::_fw_boot' will be initialized after [-Wreorder] 99 | int _fw_boot; | ^~~~~~~~ ../desmume/src/commandline.h:89:13: warning:  'int CommandLine::_spu_sync_mode' [-Wreorder] 89 | int _spu_sync_mode; | ^~~~~~~~~~~~~~ ../desmume/src/commandline.cpp:39:1: warning:  when initialized here [-Wreorder] 39 | CommandLine::CommandLine() | ^~~~~~~~~~~ ../desmume/src/commandline.h:114:15: warning: 'CommandLine::_slot1_fat_dir' will be initialized after [-Wreorder] 114 | char *_slot1_fat_dir; | ^~~~~~~~~~~~~~ ../desmume/src/commandline.h:64:14: warning:  'bool CommandLine::_slot1_fat_dir_type' [-Wreorder] 64 | bool _slot1_fat_dir_type; | ^~~~~~~~~~~~~~~~~~~ ../desmume/src/commandline.cpp:39:1: warning:  when initialized here [-Wreorder] 39 | CommandLine::CommandLine() | ^~~~~~~~~~~ ../desmume/src/commandline.h:116:15: warning: 'CommandLine::_advanscene_import' will be initialized after [-Wreorder] 116 | char* _advanscene_import; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/commandline.h:46:13: warning:  'int CommandLine::load_slot' [-Wreorder] 46 | int load_slot; | ^~~~~~~~~ ../desmume/src/commandline.cpp:39:1: warning:  when initialized here [-Wreorder] 39 | CommandLine::CommandLine() | ^~~~~~~~~~~ ../desmume/src/commandline.h:57:13: warning: 'CommandLine::start_paused' will be initialized after [-Wreorder] 57 | int start_paused; | ^~~~~~~~~~~~ ../desmume/src/commandline.h:47:13: warning:  'int CommandLine::autodetect_method' [-Wreorder] 47 | int autodetect_method; | ^~~~~~~~~~~~~~~~~ ../desmume/src/commandline.cpp:39:1: warning:  when initialized here [-Wreorder] 39 | CommandLine::CommandLine() | ^~~~~~~~~~~ ../desmume/src/commandline.h:70:13: warning: 'CommandLine::horizontal' will be initialized after [-Wreorder] 70 | int horizontal; | ^~~~~~~~~~ ../desmume/src/commandline.h:52:15: warning:  'float CommandLine::scale' [-Wreorder] 52 | float scale; | ^~~~~ ../desmume/src/commandline.cpp:39:1: warning:  when initialized here [-Wreorder] 39 | CommandLine::CommandLine() | ^~~~~~~~~~~ In file included from ../desmume/src/frontend/posix/gtk/main.cpp:36: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/frontend/posix/gtk/main.cpp:37: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ In file included from ../desmume/src/frontend/posix/gtk/main.cpp:38: ../desmume/src/driver.h: At global scope: ../desmume/src/driver.h:26:7: warning: 'class VIEW3D_Driver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 26 | class VIEW3D_Driver | ^~~~~~~~~~~~~ ../desmume/src/driver.h:35:7: warning: 'class BaseDriver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 35 | class BaseDriver { | ^~~~~~~~~~ In file included from ../desmume/src/frontend/posix/gtk/main.cpp:39: ../desmume/src/GPU.h:1840:7: warning: 'class GPUEventHandler' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 1840 | class GPUEventHandler | ^~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: base class 'class GPUEventHandler' has accessible non-virtual destructor [-Wnon-virtual-dtor] 1856 | class GPUEventHandlerDefault : public GPUEventHandler | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: 'class GPUEventHandlerDefault' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/frontend/posix/gtk/../shared/ctrlssdl.h:29, from ../desmume/src/frontend/posix/gtk/main.cpp:42: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/frontend/posix/gtk/main.cpp:44: ../desmume/src/render3D.h:149:7: warning: 'class Render3D' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 149 | class Render3D | ^~~~~~~~ ../desmume/src/render3D.h: In instantiation of 'class Render3D_SIMD<16>': ../desmume/src/render3D.h:295:30: required from here ../desmume/src/render3D.h:277:7: warning: base class 'class Render3D' has accessible non-virtual destructor [-Wnon-virtual-dtor] 277 | class Render3D_SIMD : public Render3D | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:277:7: warning: 'class Render3D_SIMD<16>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/render3D.h:295:7: warning: base class 'class Render3D_SIMD<16>' has accessible non-virtual destructor [-Wnon-virtual-dtor] 295 | class Render3D_SSE2 : public Render3D_SIMD<16> | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:295:7: warning: 'class Render3D_SSE2' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/frontend/posix/gtk/main.cpp:47: ../desmume/src/rasterize.h:137:7: warning: base class 'class Render3D_SSE2' has accessible non-virtual destructor [-Wnon-virtual-dtor] 137 | class SoftRasterizerRenderer : public Render3D_SSE2 | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../desmume/src/movie.h:27, from ../desmume/src/frontend/posix/gtk/main.cpp:50: ../desmume/src/utils/datetime.h: In static member function 'static s64 TimeSpan::CalculateTicks(int, int, int, int, int)': ../desmume/src/utils/datetime.h:308:22: warning: variable 'overflow' set but not used [-Wunused-but-set-variable] 308 | bool overflow = false; | ^~~~~~~~ ../desmume/src/utils/datetime.h: In member function 'DateTime DateTime::AddMonths(int) const': ../desmume/src/utils/datetime.h:680:25: warning: left operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~~ ../desmume/src/utils/datetime.h:680:38: warning: right operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~ In file included from ../desmume/src/frontend/posix/gtk/avout_pipe_base.h:21, from ../desmume/src/frontend/posix/gtk/avout_x264.h:21, from ../desmume/src/frontend/posix/gtk/main.cpp:56: ../desmume/src/frontend/posix/gtk/avout.h: At global scope: ../desmume/src/frontend/posix/gtk/avout.h:23:7: warning: 'class AVOut' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 23 | class AVOut { | ^~~~~ ../desmume/src/frontend/posix/gtk/avout_pipe_base.h:23:7: warning: base class 'class AVOut' has accessible non-virtual destructor [-Wnon-virtual-dtor] 23 | class AVOutPipeBase : public AVOut { | ^~~~~~~~~~~~~ ../desmume/src/frontend/posix/gtk/avout_pipe_base.h:23:7: warning: 'class AVOutPipeBase' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/frontend/posix/gtk/avout_x264.h:23:7: warning: base class 'class AVOutPipeBase' has accessible non-virtual destructor [-Wnon-virtual-dtor] 23 | class AVOutX264 : public AVOutPipeBase { | ^~~~~~~~~ ../desmume/src/frontend/posix/gtk/avout_x264.h:23:7: warning: 'class AVOutX264' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/frontend/posix/gtk/main.cpp:57: ../desmume/src/frontend/posix/gtk/avout_flac.h:23:7: warning: base class 'class AVOutPipeBase' has accessible non-virtual destructor [-Wnon-virtual-dtor] 23 | class AVOutFlac : public AVOutPipeBase { | ^~~~~~~~~ ../desmume/src/frontend/posix/gtk/avout_flac.h:23:7: warning: 'class AVOutFlac' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/frontend/posix/gtk/main.cpp:61: ../desmume/src/slot2.h:29:7: warning: 'class Slot2Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 29 | class Slot2Info | ^~~~~~~~~ ../desmume/src/slot2.h:37:7: warning: base class 'class Slot2Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 37 | class Slot2InfoSimple : public Slot2Info | ^~~~~~~~~~~~~~~ ../desmume/src/slot2.h:37:7: warning: 'class Slot2InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/frontend/posix/gtk/main.cpp:76: ../desmume/src/OGLRender.h:685:7: warning: base class 'class Render3D_SSE2' has accessible non-virtual destructor [-Wnon-virtual-dtor] 685 | class OpenGLRenderer : public Render3D_SSE2 | ^~~~~~~~~~~~~~ ../desmume/src/frontend/posix/gtk/main.cpp: In function 'int fill_configured_features(configured_features*, char**)': ../desmume/src/frontend/posix/gtk/main.cpp:395:16: warning: unused variable 'options' [-Wunused-variable] 395 | GOptionEntry options[] = { | ^~~~~~~ ../desmume/src/frontend/posix/gtk/main.cpp: In function 'void Launch(GSimpleAction*, GVariant*, gpointer)': ../desmume/src/frontend/posix/gtk/main.cpp:636:16: warning: unused variable 'pause' [-Wunused-variable] 636 | GtkWidget *pause; | ^~~~~ ../desmume/src/frontend/posix/gtk/main.cpp: In function 'void Pause(GSimpleAction*, GVariant*, gpointer)': ../desmume/src/frontend/posix/gtk/main.cpp:664:16: warning: unused variable 'run' [-Wunused-variable] 664 | GtkWidget *run; | ^~~ ../desmume/src/frontend/posix/gtk/main.cpp: In function 'void ExportBackupMemoryDialog(GSimpleAction*, GVariant*, gpointer)': ../desmume/src/frontend/posix/gtk/main.cpp:863:34: warning: unused variable 'pFilter_ar' [-Wunused-variable] 863 | GtkFileFilter *pFilter_raw, *pFilter_ar, *pFilter_any; | ^~~~~~~~~~ ../desmume/src/frontend/posix/gtk/main.cpp: In function 'void drawTopScreen(cairo_t*, u32*, gint, gint, gint, gint, bool, orientation_enum)': ../desmume/src/frontend/posix/gtk/main.cpp:1331:16: warning: enumeration value 'ORIENT_SINGLE' not handled in switch [-Wswitch] 1331 | switch (orientation) { | ^ ../desmume/src/frontend/posix/gtk/main.cpp:1331:16: warning: enumeration value 'ORIENT_N' not handled in switch [-Wswitch] ../desmume/src/frontend/posix/gtk/main.cpp: In function 'void drawBottomScreen(cairo_t*, u32*, gint, gint, gint, gint, bool, orientation_enum)': ../desmume/src/frontend/posix/gtk/main.cpp:1354:16: warning: enumeration value 'ORIENT_SINGLE' not handled in switch [-Wswitch] 1354 | switch (orientation) { | ^ ../desmume/src/frontend/posix/gtk/main.cpp:1354:16: warning: enumeration value 'ORIENT_N' not handled in switch [-Wswitch] ../desmume/src/frontend/posix/gtk/main.cpp: In function 'void GraphicsSettingsDialog(GSimpleAction*, GVariant*, gpointer)': ../desmume/src/frontend/posix/gtk/main.cpp:1978:18: warning: variable 'wGrid' set but not used [-Wunused-but-set-variable] 1978 | GtkGrid *wGrid; | ^~~~~ ../desmume/src/frontend/posix/gtk/main.cpp: At global scope: ../desmume/src/frontend/posix/gtk/main.cpp:2418:7: warning: base class 'class BaseDriver' has accessible non-virtual destructor [-Wnon-virtual-dtor] 2418 | class GtkDriver : public BaseDriver | ^~~~~~~~~ ../desmume/src/frontend/posix/gtk/main.cpp:2418:7: warning: 'class GtkDriver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/frontend/posix/gtk/main.cpp: In function 'gboolean EmuLoop(gpointer)': ../desmume/src/frontend/posix/gtk/main.cpp:2489:15: warning: unused variable 'emu_ratio' [-Wunused-variable] 2489 | float emu_ratio = fps_FrameCount / 60.0; | ^~~~~~~~~ ../desmume/src/frontend/posix/gtk/main.cpp:2484:10: warning: variable 'oneSecond' set but not used [-Wunused-but-set-variable] 2484 | bool oneSecond = false; | ^~~~~~~~~ ../desmume/src/frontend/posix/gtk/main.cpp: In function 'void common_gtk_main(GApplication*, gpointer)': ../desmume/src/frontend/posix/gtk/main.cpp:3030:41: warning: 'void gtk_widget_override_background_color(GtkWidget*, GtkStateFlags, const GdkRGBA*)' is deprecated [-Wdeprecated-declarations] 3030 | gtk_widget_override_background_color(pContentBox, GTK_STATE_FLAG_NORMAL, &color_black); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from ../desmume/src/frontend/posix/gtk/main.cpp:28: /usr/include/gtk-3.0/gtk/gtkwidget.h:1148:14: note: declared here 1148 | void gtk_widget_override_background_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/frontend/posix/gtk/main.cpp:3033:30: warning: 'void gtk_widget_override_color(GtkWidget*, GtkStateFlags, const GdkRGBA*)' is deprecated [-Wdeprecated-declarations] 3033 | gtk_widget_override_color(pStatusBar, GTK_STATE_FLAG_NORMAL, &color_soft_gray); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here 1144 | void gtk_widget_override_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/frontend/posix/gtk/main.cpp:3081:12: warning: enumeration value 'CAIRO_FILTER_GAUSSIAN' not handled in switch [-Wswitch] 3081 | switch (Interpolation) { | ^ ../desmume/src/frontend/posix/gtk/main.cpp:3299:12: warning: enumeration value 'ORIENT_N' not handled in switch [-Wswitch] 3299 | switch (nds_screen.orientation) { | ^ ../desmume/src/frontend/posix/gtk/main.cpp:2879:17: warning: unused variable 'limiter_timer' [-Wunused-variable] 2879 | SDL_TimerID limiter_timer = 0; | ^~~~~~~~~~~~~ In file included from ../desmume/src/SPU.h:28, from ../desmume/src/frontend/posix/gtk/main.cpp:40: ../desmume/src/matrix.h: At global scope: ../desmume/src/matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ In file included from ../desmume/src/frontend/posix/gtk/main.cpp:86: In member function 'T desmume::config::value::operator=(const T&) [with T = int]', inlined from 'void changesavetype(GSimpleAction*, GVariant*, gpointer)' at ../desmume/src/frontend/posix/gtk/main.cpp:2664:20: ../desmume/src/frontend/posix/gtk/config.h:65:29: warning: 'savetype' may be used uninitialized [-Wmaybe-uninitialized] 65 | this->mData = value; | ~~~~~~~~~~~~^~~~~~~ ../desmume/src/frontend/posix/gtk/main.cpp: In function 'void changesavetype(GSimpleAction*, GVariant*, gpointer)': ../desmume/src/frontend/posix/gtk/main.cpp:2648:9: note: 'savetype' was declared here 2648 | int savetype; | ^~~~~~~~ ../desmume/src/frontend/posix/gtk/main.cpp: In function 'void Modify_SPUInterpolation(GSimpleAction*, GVariant*, gpointer)': ../desmume/src/frontend/posix/gtk/main.cpp:2360:43: warning: 'mode' may be used uninitialized [-Wmaybe-uninitialized] 2360 | CommonSettings.spuInterpolationMode = mode; | ^~~~ ../desmume/src/frontend/posix/gtk/main.cpp:2353:26: note: 'mode' was declared here 2353 | SPUInterpolationMode mode; | ^~~~ ../desmume/src/frontend/posix/gtk/main.cpp: In function 'void Modify_SPUMode(GSimpleAction*, GVariant*, gpointer)': ../desmume/src/frontend/posix/gtk/main.cpp:2318:18: warning: 'mode' may be used uninitialized [-Wmaybe-uninitialized] 2318 | spumode_enum mode; | ^~~~ ../desmume/src/frontend/posix/gtk/main.cpp: In function 'void SetWinsize(GSimpleAction*, GVariant*, gpointer)': ../desmume/src/frontend/posix/gtk/main.cpp:1266:27: warning: 'winsize' may be used uninitialized [-Wmaybe-uninitialized] 1266 | config.window_scale = winsize_current; | ^~~~~~~~~~~~~~~ ../desmume/src/frontend/posix/gtk/main.cpp:1246:18: note: 'winsize' was declared here 1246 | winsize_enum winsize; | ^~~~~~~ ../desmume/src/frontend/posix/gtk/main.cpp: In function 'void Modify_Interpolation(GSimpleAction*, GVariant*, gpointer)': ../desmume/src/frontend/posix/gtk/main.cpp:2310:31: warning: 'filter' may be used uninitialized [-Wmaybe-uninitialized] 2310 | config.view_cairoFilter = Interpolation; | ^~~~~~~~~~~~~ ../desmume/src/frontend/posix/gtk/main.cpp:2296:20: note: 'filter' was declared here 2296 | cairo_filter_t filter; | ^~~~~~ ../desmume/src/frontend/posix/gtk/main.cpp: In function 'void Modify_PriInterpolation(GSimpleAction*, GVariant*, gpointer)': ../desmume/src/frontend/posix/gtk/main.cpp:2287:28: warning: 'filter' may be used uninitialized [-Wmaybe-uninitialized] 2287 | video->ChangeFilterByID(filter); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../desmume/src/frontend/posix/gtk/main.cpp:2236:23: note: 'filter' was declared here 2236 | VideoFilterTypeID filter; | ^~~~~~ In file included from ../desmume/src/driver.cpp:18: ../desmume/src/driver.h:26:7: warning: 'class VIEW3D_Driver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 26 | class VIEW3D_Driver | ^~~~~~~~~~~~~ ../desmume/src/driver.h:35:7: warning: 'class BaseDriver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 35 | class BaseDriver { | ^~~~~~~~~~ In file included from ../desmume/src/gfx3d.h:28, from ../desmume/src/render3D.h:23, from ../desmume/src/rasterize.h:21, from ../desmume/src/driver.cpp:21: ../desmume/src/GPU.h:1840:7: warning: 'class GPUEventHandler' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 1840 | class GPUEventHandler | ^~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: base class 'class GPUEventHandler' has accessible non-virtual destructor [-Wnon-virtual-dtor] 1856 | class GPUEventHandlerDefault : public GPUEventHandler | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: 'class GPUEventHandlerDefault' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/render3D.h:149:7: warning: 'class Render3D' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 149 | class Render3D | ^~~~~~~~ ../desmume/src/render3D.h: In instantiation of 'class Render3D_SIMD<16>': ../desmume/src/render3D.h:295:30: required from here ../desmume/src/render3D.h:277:7: warning: base class 'class Render3D' has accessible non-virtual destructor [-Wnon-virtual-dtor] 277 | class Render3D_SIMD : public Render3D | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:277:7: warning: 'class Render3D_SIMD<16>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/render3D.h:295:7: warning: base class 'class Render3D_SIMD<16>' has accessible non-virtual destructor [-Wnon-virtual-dtor] 295 | class Render3D_SSE2 : public Render3D_SIMD<16> | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:295:7: warning: 'class Render3D_SSE2' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/rasterize.h:137:7: warning: base class 'class Render3D_SSE2' has accessible non-virtual destructor [-Wnon-virtual-dtor] 137 | class SoftRasterizerRenderer : public Render3D_SSE2 | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/driver.cpp: In member function 'void BaseDriver::VIEW3D_Shutdown()': ../desmume/src/driver.cpp:39:35: warning: deleting object of polymorphic class type 'VIEW3D_Driver' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 39 | if(view3d != &nullView3d) delete view3d; | ^~~~~~~~~~~~~ In file included from ../desmume/src/gfx3d.h:27: ../desmume/src/matrix.h: At global scope: ../desmume/src/matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ In file included from ../desmume/src/MMU.h:24, from ../desmume/src/armcpu.h:27, from ../desmume/src/saves.cpp:33: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/saves.cpp:36: ../desmume/src/driver.h:26:7: warning: 'class VIEW3D_Driver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 26 | class VIEW3D_Driver | ^~~~~~~~~~~~~ ../desmume/src/driver.h:35:7: warning: 'class BaseDriver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 35 | class BaseDriver { | ^~~~~~~~~~ In file included from ../desmume/src/gfx3d.h:28, from ../desmume/src/render3D.h:23, from ../desmume/src/saves.cpp:41: ../desmume/src/GPU.h:1840:7: warning: 'class GPUEventHandler' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 1840 | class GPUEventHandler | ^~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: base class 'class GPUEventHandler' has accessible non-virtual destructor [-Wnon-virtual-dtor] 1856 | class GPUEventHandlerDefault : public GPUEventHandler | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: 'class GPUEventHandlerDefault' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/render3D.h:149:7: warning: 'class Render3D' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 149 | class Render3D | ^~~~~~~~ ../desmume/src/render3D.h: In instantiation of 'class Render3D_SIMD<16>': ../desmume/src/render3D.h:295:30: required from here ../desmume/src/render3D.h:277:7: warning: base class 'class Render3D' has accessible non-virtual destructor [-Wnon-virtual-dtor] 277 | class Render3D_SIMD : public Render3D | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:277:7: warning: 'class Render3D_SIMD<16>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/render3D.h:295:7: warning: base class 'class Render3D_SIMD<16>' has accessible non-virtual destructor [-Wnon-virtual-dtor] 295 | class Render3D_SSE2 : public Render3D_SIMD<16> | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:295:7: warning: 'class Render3D_SSE2' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/movie.h:27, from ../desmume/src/saves.cpp:48: ../desmume/src/utils/datetime.h: In static member function 'static s64 TimeSpan::CalculateTicks(int, int, int, int, int)': ../desmume/src/utils/datetime.h:308:22: warning: variable 'overflow' set but not used [-Wunused-but-set-variable] 308 | bool overflow = false; | ^~~~~~~~ ../desmume/src/utils/datetime.h: In member function 'DateTime DateTime::AddMonths(int) const': ../desmume/src/utils/datetime.h:680:25: warning: left operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~~ ../desmume/src/utils/datetime.h:680:38: warning: right operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~ In file included from ../desmume/src/saves.cpp:51: ../desmume/src/slot1.h: At global scope: ../desmume/src/slot1.h:28:7: warning: 'class Slot1Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 28 | class Slot1Info | ^~~~~~~~~ ../desmume/src/slot1.h:36:7: warning: base class 'class Slot1Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 36 | class Slot1InfoSimple : public Slot1Info | ^~~~~~~~~~~~~~~ ../desmume/src/slot1.h:36:7: warning: 'class Slot1InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/saves.cpp:52: ../desmume/src/slot2.h:29:7: warning: 'class Slot2Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 29 | class Slot2Info | ^~~~~~~~~ ../desmume/src/slot2.h:37:7: warning: base class 'class Slot2Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 37 | class Slot2InfoSimple : public Slot2Info | ^~~~~~~~~~~~~~~ ../desmume/src/slot2.h:37:7: warning: 'class Slot2InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/saves.cpp:54: ../desmume/src/wifi.h:3230:7: warning: 'class ClientPCapInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 3230 | class ClientPCapInterface | ^~~~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3243:7: warning: base class 'class ClientPCapInterface' has accessible non-virtual destructor [-Wnon-virtual-dtor] 3243 | class DummyPCapInterface : public ClientPCapInterface | ^~~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3243:7: warning: 'class DummyPCapInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/wifi.h:3261:7: warning: base class 'class ClientPCapInterface' has accessible non-virtual destructor [-Wnon-virtual-dtor] 3261 | class POSIXPCapInterface : public ClientPCapInterface | ^~~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3261:7: warning: 'class POSIXPCapInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/wifi.h:3276:7: warning: 'class WifiCommInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 3276 | class WifiCommInterface | ^~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3297:7: warning: base class 'class WifiCommInterface' has accessible non-virtual destructor [-Wnon-virtual-dtor] 3297 | class AdhocCommInterface : public WifiCommInterface | ^~~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3297:7: warning: 'class AdhocCommInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/wifi.h:3315:7: warning: base class 'class WifiCommInterface' has accessible non-virtual destructor [-Wnon-virtual-dtor] 3315 | class SoftAPCommInterface : public WifiCommInterface | ^~~~~~~~~~~~~~~~~~~ ../desmume/src/saves.cpp: In function 'bool ReadStateChunks(EMUFILE&, s32)': ../desmume/src/saves.cpp:1206:32: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1206 | if (is.ftell() != endPos) | ~~~~~~~~~~~^~~~~~~~~ In file included from ../desmume/src/gfx3d.h:27: ../desmume/src/matrix.h: At global scope: ../desmume/src/matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/saves.cpp: In function 'bool savestate_load(EMUFILE&)': ../desmume/src/saves.cpp:1299:17: warning: 'header' may be used uninitialized [-Wmaybe-uninitialized] 1299 | is.fread(header,16); | ~~~~~~~~^~~~~~~~~~~ In file included from ../desmume/src/saves.cpp:39: ../desmume/src/emufile.h:70:16: note: by argument 2 of type 'const void*' to 'size_t EMUFILE::fread(const void*, size_t)' declared here 70 | size_t fread(const void *ptr, size_t bytes){ | ^~~~~ ../desmume/src/saves.cpp:1298:14: note: 'header' declared here 1298 | char header[16]; | ^~~~~~ In file included from ../desmume/src/movie.h:27, from ../desmume/src/movie.cpp:19: ../desmume/src/utils/datetime.h: In static member function 'static s64 TimeSpan::CalculateTicks(int, int, int, int, int)': ../desmume/src/utils/datetime.h:308:22: warning: variable 'overflow' set but not used [-Wunused-but-set-variable] 308 | bool overflow = false; | ^~~~~~~~ ../desmume/src/utils/datetime.h: In member function 'DateTime DateTime::AddMonths(int) const': ../desmume/src/utils/datetime.h:680:25: warning: left operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~~ ../desmume/src/utils/datetime.h:680:38: warning: right operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~ In file included from ../desmume/src/MMU.h:24, from ../desmume/src/movie.cpp:32: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/movie.cpp:36: ../desmume/src/driver.h:26:7: warning: 'class VIEW3D_Driver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 26 | class VIEW3D_Driver | ^~~~~~~~~~~~~ ../desmume/src/driver.h:35:7: warning: 'class BaseDriver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 35 | class BaseDriver { | ^~~~~~~~~~ ../desmume/src/movie.h: In constructor 'MovieData::MovieData(bool)': ../desmume/src/movie.h:165:14: warning: 'MovieData::binaryFlag' will be initialized after [-Wreorder] 165 | bool binaryFlag; | ^~~~~~~~~~ ../desmume/src/movie.h:162:18: warning:  'DateTime MovieData::rtcStart' [-Wreorder] 162 | DateTime rtcStart; | ^~~~~~~~ ../desmume/src/movie.cpp:204:1: warning:  when initialized here [-Wreorder] 204 | MovieData::MovieData(bool fromCurrentSettings) | ^~~~~~~~~ ../desmume/src/movie.cpp: In function 'void FCEUI_MakeBackupMovie(bool)': ../desmume/src/movie.cpp:1315:14: warning: variable 'overflow' set but not used [-Wunused-but-set-variable] 1315 | bool overflow = false; //Used for special situation when backup numbering exceeds limit | ^~~~~~~~ ../desmume/src/movie.cpp: At global scope: ../desmume/src/movie.cpp:1205:13: warning: 'bool FCEUMOV_PostLoad()' defined but not used [-Wunused-function] 1205 | static bool FCEUMOV_PostLoad(void) | ^~~~~~~~~~~~~~~~ ../desmume/src/movie.cpp:1200:13: warning: 'void FCEUMOV_PreLoad()' defined but not used [-Wunused-function] 1200 | static void FCEUMOV_PreLoad(void) | ^~~~~~~~~~~~~~~ ../desmume/src/movie.cpp:953:13: warning: 'void FCEUMOV_AddCommand(int)' defined but not used [-Wunused-function] 953 | static void FCEUMOV_AddCommand(int cmd) | ^~~~~~~~~~~~~~~~~~ In file included from ../desmume/src/gfx3d.h:28, from ../desmume/src/gfx3d.cpp:36: ../desmume/src/GPU.h:1840:7: warning: 'class GPUEventHandler' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 1840 | class GPUEventHandler | ^~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: base class 'class GPUEventHandler' has accessible non-virtual destructor [-Wnon-virtual-dtor] 1856 | class GPUEventHandlerDefault : public GPUEventHandler | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: 'class GPUEventHandlerDefault' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/MMU.h:24, from ../desmume/src/armcpu.h:27, from ../desmume/src/gfx3d.cpp:44: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/gfx3d.cpp:46: ../desmume/src/driver.h:26:7: warning: 'class VIEW3D_Driver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 26 | class VIEW3D_Driver | ^~~~~~~~~~~~~ ../desmume/src/driver.h:35:7: warning: 'class BaseDriver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 35 | class BaseDriver { | ^~~~~~~~~~ In file included from ../desmume/src/gfx3d.cpp:51: ../desmume/src/render3D.h:149:7: warning: 'class Render3D' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 149 | class Render3D | ^~~~~~~~ ../desmume/src/render3D.h: In instantiation of 'class Render3D_SIMD<16>': ../desmume/src/render3D.h:295:30: required from here ../desmume/src/render3D.h:277:7: warning: base class 'class Render3D' has accessible non-virtual destructor [-Wnon-virtual-dtor] 277 | class Render3D_SIMD : public Render3D | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:277:7: warning: 'class Render3D_SIMD<16>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/render3D.h:295:7: warning: base class 'class Render3D_SIMD<16>' has accessible non-virtual destructor [-Wnon-virtual-dtor] 295 | class Render3D_SSE2 : public Render3D_SIMD<16> | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:295:7: warning: 'class Render3D_SSE2' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/movie.h:27, from ../desmume/src/gfx3d.cpp:59: ../desmume/src/utils/datetime.h: In static member function 'static s64 TimeSpan::CalculateTicks(int, int, int, int, int)': ../desmume/src/utils/datetime.h:308:22: warning: variable 'overflow' set but not used [-Wunused-but-set-variable] 308 | bool overflow = false; | ^~~~~~~~ ../desmume/src/utils/datetime.h: In member function 'DateTime DateTime::AddMonths(int) const': ../desmume/src/utils/datetime.h:680:25: warning: left operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~~ ../desmume/src/utils/datetime.h:680:38: warning: right operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~ ../desmume/src/gfx3d.cpp: In function 'void gfx3d_init()': ../desmume/src/gfx3d.cpp:520:13: warning: unused variable 'zzz' [-Wunused-variable] 520 | int zzz=9; | ^~~ ../desmume/src/gfx3d.cpp: In function 'void gfx3d_reset()': ../desmume/src/gfx3d.cpp:595:45: warning: 'new' of type 'Viewer3d_State' with extended alignment 64 [-Waligned-new=] 595 | viewer3d_state = new Viewer3d_State(); | ^ ../desmume/src/gfx3d.cpp:595:45: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter ../desmume/src/gfx3d.cpp:595:45: note: use '-faligned-new' to enable C++17 over-aligned new support In file included from ../desmume/src/gfx3d.h:27: ../desmume/src/matrix.h: At global scope: ../desmume/src/matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ In file included from ../desmume/src/MMU.h:24, from ../desmume/src/armcpu.h:27, from ../desmume/src/bios.cpp:23: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/rasterize.cpp:2551: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 2551 | #pragma LOOPVECTORIZE_DISABLE | In file included from ../desmume/src/gfx3d.h:28, from ../desmume/src/render3D.h:23, from ../desmume/src/rasterize.h:21, from ../desmume/src/rasterize.cpp:38: ../desmume/src/GPU.h:1840:7: warning: 'class GPUEventHandler' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 1840 | class GPUEventHandler | ^~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: base class 'class GPUEventHandler' has accessible non-virtual destructor [-Wnon-virtual-dtor] 1856 | class GPUEventHandlerDefault : public GPUEventHandler | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: 'class GPUEventHandlerDefault' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/render3D.h:149:7: warning: 'class Render3D' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 149 | class Render3D | ^~~~~~~~ ../desmume/src/render3D.h: In instantiation of 'class Render3D_SIMD<16>': ../desmume/src/render3D.h:295:30: required from here ../desmume/src/render3D.h:277:7: warning: base class 'class Render3D' has accessible non-virtual destructor [-Wnon-virtual-dtor] 277 | class Render3D_SIMD : public Render3D | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:277:7: warning: 'class Render3D_SIMD<16>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/render3D.h:295:7: warning: base class 'class Render3D_SIMD<16>' has accessible non-virtual destructor [-Wnon-virtual-dtor] 295 | class Render3D_SSE2 : public Render3D_SIMD<16> | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:295:7: warning: 'class Render3D_SSE2' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/rasterize.h:137:7: warning: base class 'class Render3D_SSE2' has accessible non-virtual destructor [-Wnon-virtual-dtor] 137 | class SoftRasterizerRenderer : public Render3D_SSE2 | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../desmume/src/MMU.h:24, from ../desmume/src/rasterize.cpp:63: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/rasterize.cpp: In function 'int fastFloor(float)': ../desmume/src/rasterize.cpp:124:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 124 | int ret = (*((u32*)&temp))&0x7FFFFF; | ~^~~~~~~~~~~~ ../desmume/src/rasterize.cpp: In instantiation of 'void RasterizerUnit::_runscanlines(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, bool, edge_fx_fl*, edge_fx_fl*) [with bool SLI = true; bool ISFRONTFACING = true; bool ISSHADOWPOLYGON = true; bool USELINEHACK = true; bool RENDERER = true; size_t = long unsigned int]': ../desmume/src/rasterize.cpp:1228:72: required from 'void RasterizerUnit::_shape_engine(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, int) [with bool SLI = true; bool ISFRONTFACING = true; bool ISSHADOWPOLYGON = true; bool USELINEHACK = true; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1315:48: required from 'void RasterizerUnit::Render() [with bool SLI = true; bool USELINEHACK = true; bool RENDERER = true]' ../desmume/src/rasterize.cpp:1375:33: required from 'void* SoftRasterizer_RunRasterizerUnit(void*) [with bool USELINEHACK = true]' ../desmume/src/rasterize.cpp:2071:27: required from here ../desmume/src/rasterize.cpp:1038:85: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1038 | if ( USELINEHACK && (left->Height == 0) && (right->Height == 0) && (left->Y < framebufferHeight) && (left->Y >= 0) ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1040:55: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1040 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1040:92: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1040 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1053:55: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1053 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1053:92: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1053 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp: In instantiation of 'void RasterizerUnit::_runscanlines(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, bool, edge_fx_fl*, edge_fx_fl*) [with bool SLI = true; bool ISFRONTFACING = true; bool ISSHADOWPOLYGON = true; bool USELINEHACK = false; bool RENDERER = true; size_t = long unsigned int]': ../desmume/src/rasterize.cpp:1228:72: required from 'void RasterizerUnit::_shape_engine(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, int) [with bool SLI = true; bool ISFRONTFACING = true; bool ISSHADOWPOLYGON = true; bool USELINEHACK = false; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1319:49: required from 'void RasterizerUnit::Render() [with bool SLI = true; bool USELINEHACK = true; bool RENDERER = true]' ../desmume/src/rasterize.cpp:1375:33: required from 'void* SoftRasterizer_RunRasterizerUnit(void*) [with bool USELINEHACK = true]' ../desmume/src/rasterize.cpp:2071:27: required from here ../desmume/src/rasterize.cpp:1038:85: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1038 | if ( USELINEHACK && (left->Height == 0) && (right->Height == 0) && (left->Y < framebufferHeight) && (left->Y >= 0) ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1053:55: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1053 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1053:92: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1053 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp: In instantiation of 'void RasterizerUnit::_runscanlines(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, bool, edge_fx_fl*, edge_fx_fl*) [with bool SLI = true; bool ISFRONTFACING = true; bool ISSHADOWPOLYGON = false; bool USELINEHACK = true; bool RENDERER = true; size_t = long unsigned int]': ../desmume/src/rasterize.cpp:1228:72: required from 'void RasterizerUnit::_shape_engine(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, int) [with bool SLI = true; bool ISFRONTFACING = true; bool ISSHADOWPOLYGON = false; bool USELINEHACK = true; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1326:49: required from 'void RasterizerUnit::Render() [with bool SLI = true; bool USELINEHACK = true; bool RENDERER = true]' ../desmume/src/rasterize.cpp:1375:33: required from 'void* SoftRasterizer_RunRasterizerUnit(void*) [with bool USELINEHACK = true]' ../desmume/src/rasterize.cpp:2071:27: required from here ../desmume/src/rasterize.cpp:1038:85: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1038 | if ( USELINEHACK && (left->Height == 0) && (right->Height == 0) && (left->Y < framebufferHeight) && (left->Y >= 0) ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1040:55: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1040 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1040:92: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1040 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1053:55: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1053 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1053:92: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1053 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp: In instantiation of 'void RasterizerUnit::_runscanlines(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, bool, edge_fx_fl*, edge_fx_fl*) [with bool SLI = true; bool ISFRONTFACING = true; bool ISSHADOWPOLYGON = false; bool USELINEHACK = false; bool RENDERER = true; size_t = long unsigned int]': ../desmume/src/rasterize.cpp:1228:72: required from 'void RasterizerUnit::_shape_engine(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, int) [with bool SLI = true; bool ISFRONTFACING = true; bool ISSHADOWPOLYGON = false; bool USELINEHACK = false; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1330:50: required from 'void RasterizerUnit::Render() [with bool SLI = true; bool USELINEHACK = true; bool RENDERER = true]' ../desmume/src/rasterize.cpp:1375:33: required from 'void* SoftRasterizer_RunRasterizerUnit(void*) [with bool USELINEHACK = true]' ../desmume/src/rasterize.cpp:2071:27: required from here ../desmume/src/rasterize.cpp:1038:85: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1038 | if ( USELINEHACK && (left->Height == 0) && (right->Height == 0) && (left->Y < framebufferHeight) && (left->Y >= 0) ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1053:55: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1053 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1053:92: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1053 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp: In instantiation of 'void RasterizerUnit::_runscanlines(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, bool, edge_fx_fl*, edge_fx_fl*) [with bool SLI = true; bool ISFRONTFACING = false; bool ISSHADOWPOLYGON = true; bool USELINEHACK = true; bool RENDERER = true; size_t = long unsigned int]': ../desmume/src/rasterize.cpp:1228:72: required from 'void RasterizerUnit::_shape_engine(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, int) [with bool SLI = true; bool ISFRONTFACING = false; bool ISSHADOWPOLYGON = true; bool USELINEHACK = true; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1340:49: required from 'void RasterizerUnit::Render() [with bool SLI = true; bool USELINEHACK = true; bool RENDERER = true]' ../desmume/src/rasterize.cpp:1375:33: required from 'void* SoftRasterizer_RunRasterizerUnit(void*) [with bool USELINEHACK = true]' ../desmume/src/rasterize.cpp:2071:27: required from here ../desmume/src/rasterize.cpp:1038:85: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1038 | if ( USELINEHACK && (left->Height == 0) && (right->Height == 0) && (left->Y < framebufferHeight) && (left->Y >= 0) ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1040:55: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1040 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1040:92: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1040 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1053:55: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1053 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1053:92: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1053 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp: In instantiation of 'void RasterizerUnit::_runscanlines(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, bool, edge_fx_fl*, edge_fx_fl*) [with bool SLI = true; bool ISFRONTFACING = false; bool ISSHADOWPOLYGON = true; bool USELINEHACK = false; bool RENDERER = true; size_t = long unsigned int]': ../desmume/src/rasterize.cpp:1228:72: required from 'void RasterizerUnit::_shape_engine(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, int) [with bool SLI = true; bool ISFRONTFACING = false; bool ISSHADOWPOLYGON = true; bool USELINEHACK = false; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1344:50: required from 'void RasterizerUnit::Render() [with bool SLI = true; bool USELINEHACK = true; bool RENDERER = true]' ../desmume/src/rasterize.cpp:1375:33: required from 'void* SoftRasterizer_RunRasterizerUnit(void*) [with bool USELINEHACK = true]' ../desmume/src/rasterize.cpp:2071:27: required from here ../desmume/src/rasterize.cpp:1038:85: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1038 | if ( USELINEHACK && (left->Height == 0) && (right->Height == 0) && (left->Y < framebufferHeight) && (left->Y >= 0) ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1053:55: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1053 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1053:92: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1053 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp: In instantiation of 'void RasterizerUnit::_runscanlines(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, bool, edge_fx_fl*, edge_fx_fl*) [with bool SLI = true; bool ISFRONTFACING = false; bool ISSHADOWPOLYGON = false; bool USELINEHACK = true; bool RENDERER = true; size_t = long unsigned int]': ../desmume/src/rasterize.cpp:1228:72: required from 'void RasterizerUnit::_shape_engine(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, int) [with bool SLI = true; bool ISFRONTFACING = false; bool ISSHADOWPOLYGON = false; bool USELINEHACK = true; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1351:50: required from 'void RasterizerUnit::Render() [with bool SLI = true; bool USELINEHACK = true; bool RENDERER = true]' ../desmume/src/rasterize.cpp:1375:33: required from 'void* SoftRasterizer_RunRasterizerUnit(void*) [with bool USELINEHACK = true]' ../desmume/src/rasterize.cpp:2071:27: required from here ../desmume/src/rasterize.cpp:1038:85: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1038 | if ( USELINEHACK && (left->Height == 0) && (right->Height == 0) && (left->Y < framebufferHeight) && (left->Y >= 0) ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1040:55: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1040 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1040:92: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1040 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1053:55: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1053 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1053:92: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1053 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp: In instantiation of 'void RasterizerUnit::_runscanlines(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, bool, edge_fx_fl*, edge_fx_fl*) [with bool SLI = true; bool ISFRONTFACING = false; bool ISSHADOWPOLYGON = false; bool USELINEHACK = false; bool RENDERER = true; size_t = long unsigned int]': ../desmume/src/rasterize.cpp:1228:72: required from 'void RasterizerUnit::_shape_engine(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, int) [with bool SLI = true; bool ISFRONTFACING = false; bool ISSHADOWPOLYGON = false; bool USELINEHACK = false; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1355:51: required from 'void RasterizerUnit::Render() [with bool SLI = true; bool USELINEHACK = true; bool RENDERER = true]' ../desmume/src/rasterize.cpp:1375:33: required from 'void* SoftRasterizer_RunRasterizerUnit(void*) [with bool USELINEHACK = true]' ../desmume/src/rasterize.cpp:2071:27: required from here ../desmume/src/rasterize.cpp:1038:85: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1038 | if ( USELINEHACK && (left->Height == 0) && (right->Height == 0) && (left->Y < framebufferHeight) && (left->Y >= 0) ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1053:55: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1053 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1053:92: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 1053 | const bool draw = ( !SLI || ((left->Y >= this->_SLI_startLine) && (left->Y < this->_SLI_endLine)) ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp: In instantiation of 'void RasterizerUnit::_drawscanline_SSE2(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*) [with bool ISFRONTFACING = true; bool ISSHADOWPOLYGON = true; bool USELINEHACK = true; bool RENDERER = true; size_t = long unsigned int]': ../desmume/src/rasterize.cpp:1044:73: required from 'void RasterizerUnit::_runscanlines(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, bool, edge_fx_fl*, edge_fx_fl*) [with bool SLI = true; bool ISFRONTFACING = true; bool ISSHADOWPOLYGON = true; bool USELINEHACK = true; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1228:72: required from 'void RasterizerUnit::_shape_engine(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, int) [with bool SLI = true; bool ISFRONTFACING = true; bool ISSHADOWPOLYGON = true; bool USELINEHACK = true; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1315:48: required from 'void RasterizerUnit::Render() [with bool SLI = true; bool USELINEHACK = true; bool RENDERER = true]' ../desmume/src/rasterize.cpp:1375:33: required from 'void* SoftRasterizer_RunRasterizerUnit(void*) [with bool USELINEHACK = true]' ../desmume/src/rasterize.cpp:2071:27: required from here ../desmume/src/rasterize.cpp:971:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 971 | if (RENDERER && (pLeft->Y < 0 || pLeft->Y > (framebufferHeight - 1))) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:976:52: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 976 | if (!RENDERER && (pLeft->Y < 0 || pLeft->Y >= framebufferHeight)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1000:21: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1000 | if (x+width > framebufferWidth) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp: In instantiation of 'void RasterizerUnit::_drawscanline_SSE2(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*) [with bool ISFRONTFACING = true; bool ISSHADOWPOLYGON = true; bool USELINEHACK = false; bool RENDERER = true; size_t = long unsigned int]': ../desmume/src/rasterize.cpp:1044:73: required from 'void RasterizerUnit::_runscanlines(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, bool, edge_fx_fl*, edge_fx_fl*) [with bool SLI = true; bool ISFRONTFACING = true; bool ISSHADOWPOLYGON = true; bool USELINEHACK = false; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1228:72: required from 'void RasterizerUnit::_shape_engine(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, int) [with bool SLI = true; bool ISFRONTFACING = true; bool ISSHADOWPOLYGON = true; bool USELINEHACK = false; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1319:49: required from 'void RasterizerUnit::Render() [with bool SLI = true; bool USELINEHACK = true; bool RENDERER = true]' ../desmume/src/rasterize.cpp:1375:33: required from 'void* SoftRasterizer_RunRasterizerUnit(void*) [with bool USELINEHACK = true]' ../desmume/src/rasterize.cpp:2071:27: required from here ../desmume/src/rasterize.cpp:971:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 971 | if (RENDERER && (pLeft->Y < 0 || pLeft->Y > (framebufferHeight - 1))) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:976:52: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 976 | if (!RENDERER && (pLeft->Y < 0 || pLeft->Y >= framebufferHeight)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1000:21: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1000 | if (x+width > framebufferWidth) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp: In instantiation of 'void RasterizerUnit::_drawscanline_SSE2(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*) [with bool ISFRONTFACING = true; bool ISSHADOWPOLYGON = false; bool USELINEHACK = true; bool RENDERER = true; size_t = long unsigned int]': ../desmume/src/rasterize.cpp:1044:73: required from 'void RasterizerUnit::_runscanlines(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, bool, edge_fx_fl*, edge_fx_fl*) [with bool SLI = true; bool ISFRONTFACING = true; bool ISSHADOWPOLYGON = false; bool USELINEHACK = true; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1228:72: required from 'void RasterizerUnit::_shape_engine(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, int) [with bool SLI = true; bool ISFRONTFACING = true; bool ISSHADOWPOLYGON = false; bool USELINEHACK = true; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1326:49: required from 'void RasterizerUnit::Render() [with bool SLI = true; bool USELINEHACK = true; bool RENDERER = true]' ../desmume/src/rasterize.cpp:1375:33: required from 'void* SoftRasterizer_RunRasterizerUnit(void*) [with bool USELINEHACK = true]' ../desmume/src/rasterize.cpp:2071:27: required from here ../desmume/src/rasterize.cpp:971:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 971 | if (RENDERER && (pLeft->Y < 0 || pLeft->Y > (framebufferHeight - 1))) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:976:52: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 976 | if (!RENDERER && (pLeft->Y < 0 || pLeft->Y >= framebufferHeight)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1000:21: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1000 | if (x+width > framebufferWidth) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp: In instantiation of 'void RasterizerUnit::_drawscanline_SSE2(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*) [with bool ISFRONTFACING = true; bool ISSHADOWPOLYGON = false; bool USELINEHACK = false; bool RENDERER = true; size_t = long unsigned int]': ../desmume/src/rasterize.cpp:1044:73: required from 'void RasterizerUnit::_runscanlines(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, bool, edge_fx_fl*, edge_fx_fl*) [with bool SLI = true; bool ISFRONTFACING = true; bool ISSHADOWPOLYGON = false; bool USELINEHACK = false; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1228:72: required from 'void RasterizerUnit::_shape_engine(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, int) [with bool SLI = true; bool ISFRONTFACING = true; bool ISSHADOWPOLYGON = false; bool USELINEHACK = false; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1330:50: required from 'void RasterizerUnit::Render() [with bool SLI = true; bool USELINEHACK = true; bool RENDERER = true]' ../desmume/src/rasterize.cpp:1375:33: required from 'void* SoftRasterizer_RunRasterizerUnit(void*) [with bool USELINEHACK = true]' ../desmume/src/rasterize.cpp:2071:27: required from here ../desmume/src/rasterize.cpp:971:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 971 | if (RENDERER && (pLeft->Y < 0 || pLeft->Y > (framebufferHeight - 1))) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:976:52: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 976 | if (!RENDERER && (pLeft->Y < 0 || pLeft->Y >= framebufferHeight)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1000:21: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1000 | if (x+width > framebufferWidth) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp: In instantiation of 'void RasterizerUnit::_drawscanline_SSE2(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*) [with bool ISFRONTFACING = false; bool ISSHADOWPOLYGON = true; bool USELINEHACK = true; bool RENDERER = true; size_t = long unsigned int]': ../desmume/src/rasterize.cpp:1044:73: required from 'void RasterizerUnit::_runscanlines(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, bool, edge_fx_fl*, edge_fx_fl*) [with bool SLI = true; bool ISFRONTFACING = false; bool ISSHADOWPOLYGON = true; bool USELINEHACK = true; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1228:72: required from 'void RasterizerUnit::_shape_engine(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, int) [with bool SLI = true; bool ISFRONTFACING = false; bool ISSHADOWPOLYGON = true; bool USELINEHACK = true; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1340:49: required from 'void RasterizerUnit::Render() [with bool SLI = true; bool USELINEHACK = true; bool RENDERER = true]' ../desmume/src/rasterize.cpp:1375:33: required from 'void* SoftRasterizer_RunRasterizerUnit(void*) [with bool USELINEHACK = true]' ../desmume/src/rasterize.cpp:2071:27: required from here ../desmume/src/rasterize.cpp:971:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 971 | if (RENDERER && (pLeft->Y < 0 || pLeft->Y > (framebufferHeight - 1))) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:976:52: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 976 | if (!RENDERER && (pLeft->Y < 0 || pLeft->Y >= framebufferHeight)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1000:21: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1000 | if (x+width > framebufferWidth) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp: In instantiation of 'void RasterizerUnit::_drawscanline_SSE2(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*) [with bool ISFRONTFACING = false; bool ISSHADOWPOLYGON = true; bool USELINEHACK = false; bool RENDERER = true; size_t = long unsigned int]': ../desmume/src/rasterize.cpp:1044:73: required from 'void RasterizerUnit::_runscanlines(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, bool, edge_fx_fl*, edge_fx_fl*) [with bool SLI = true; bool ISFRONTFACING = false; bool ISSHADOWPOLYGON = true; bool USELINEHACK = false; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1228:72: required from 'void RasterizerUnit::_shape_engine(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, int) [with bool SLI = true; bool ISFRONTFACING = false; bool ISSHADOWPOLYGON = true; bool USELINEHACK = false; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1344:50: required from 'void RasterizerUnit::Render() [with bool SLI = true; bool USELINEHACK = true; bool RENDERER = true]' ../desmume/src/rasterize.cpp:1375:33: required from 'void* SoftRasterizer_RunRasterizerUnit(void*) [with bool USELINEHACK = true]' ../desmume/src/rasterize.cpp:2071:27: required from here ../desmume/src/rasterize.cpp:971:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 971 | if (RENDERER && (pLeft->Y < 0 || pLeft->Y > (framebufferHeight - 1))) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:976:52: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 976 | if (!RENDERER && (pLeft->Y < 0 || pLeft->Y >= framebufferHeight)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1000:21: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1000 | if (x+width > framebufferWidth) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp: In instantiation of 'void RasterizerUnit::_drawscanline_SSE2(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*) [with bool ISFRONTFACING = false; bool ISSHADOWPOLYGON = false; bool USELINEHACK = true; bool RENDERER = true; size_t = long unsigned int]': ../desmume/src/rasterize.cpp:1044:73: required from 'void RasterizerUnit::_runscanlines(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, bool, edge_fx_fl*, edge_fx_fl*) [with bool SLI = true; bool ISFRONTFACING = false; bool ISSHADOWPOLYGON = false; bool USELINEHACK = true; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1228:72: required from 'void RasterizerUnit::_shape_engine(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, int) [with bool SLI = true; bool ISFRONTFACING = false; bool ISSHADOWPOLYGON = false; bool USELINEHACK = true; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1351:50: required from 'void RasterizerUnit::Render() [with bool SLI = true; bool USELINEHACK = true; bool RENDERER = true]' ../desmume/src/rasterize.cpp:1375:33: required from 'void* SoftRasterizer_RunRasterizerUnit(void*) [with bool USELINEHACK = true]' ../desmume/src/rasterize.cpp:2071:27: required from here ../desmume/src/rasterize.cpp:971:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 971 | if (RENDERER && (pLeft->Y < 0 || pLeft->Y > (framebufferHeight - 1))) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:976:52: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 976 | if (!RENDERER && (pLeft->Y < 0 || pLeft->Y >= framebufferHeight)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1000:21: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1000 | if (x+width > framebufferWidth) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp: In instantiation of 'void RasterizerUnit::_drawscanline_SSE2(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*) [with bool ISFRONTFACING = false; bool ISSHADOWPOLYGON = false; bool USELINEHACK = false; bool RENDERER = true; size_t = long unsigned int]': ../desmume/src/rasterize.cpp:1044:73: required from 'void RasterizerUnit::_runscanlines(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, bool, edge_fx_fl*, edge_fx_fl*) [with bool SLI = true; bool ISFRONTFACING = false; bool ISSHADOWPOLYGON = false; bool USELINEHACK = false; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1228:72: required from 'void RasterizerUnit::_shape_engine(POLYGON_ATTR, bool, FragmentColor*, size_t, size_t, int) [with bool SLI = true; bool ISFRONTFACING = false; bool ISSHADOWPOLYGON = false; bool USELINEHACK = false; bool RENDERER = true; size_t = long unsigned int]' ../desmume/src/rasterize.cpp:1355:51: required from 'void RasterizerUnit::Render() [with bool SLI = true; bool USELINEHACK = true; bool RENDERER = true]' ../desmume/src/rasterize.cpp:1375:33: required from 'void* SoftRasterizer_RunRasterizerUnit(void*) [with bool USELINEHACK = true]' ../desmume/src/rasterize.cpp:2071:27: required from here ../desmume/src/rasterize.cpp:971:51: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 971 | if (RENDERER && (pLeft->Y < 0 || pLeft->Y > (framebufferHeight - 1))) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:976:52: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 976 | if (!RENDERER && (pLeft->Y < 0 || pLeft->Y >= framebufferHeight)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp:1000:21: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1000 | if (x+width > framebufferWidth) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ ../desmume/src/rasterize.cpp: At global scope: ../desmume/src/rasterize.cpp:1396:14: warning: 'void* SoftRasterizer_RunClearFramebuffer(void*)' defined but not used [-Wunused-function] 1396 | static void* SoftRasterizer_RunClearFramebuffer(void *arg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../desmume/src/gfx3d.h:27: ../desmume/src/matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ In file included from ../desmume/src/NDSSystem.cpp:31: ../desmume/src/utils/advanscene.h: In constructor 'ADVANsCEne::ADVANsCEne()': ../desmume/src/utils/advanscene.h:32:41: warning: 'ADVANsCEne::saveType' will be initialized after [-Wreorder] 32 | u8 saveType; | ^~~~~~~~ ../desmume/src/utils/advanscene.h:28:41: warning:  'u32 ADVANsCEne::crc32' [-Wreorder] 28 | u32 crc32; | ^~~~~ ../desmume/src/utils/advanscene.h:45:9: warning:  when initialized here [-Wreorder] 45 | ADVANsCEne() | ^~~~~~~~~~ In file included from ../desmume/src/MMU.h:24, from ../desmume/src/armcpu.h:27, from ../desmume/src/NDSSystem.cpp:36: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/gfx3d.h:28, from ../desmume/src/render3D.h:23, from ../desmume/src/NDSSystem.cpp:37: ../desmume/src/GPU.h:1840:7: warning: 'class GPUEventHandler' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 1840 | class GPUEventHandler | ^~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: base class 'class GPUEventHandler' has accessible non-virtual destructor [-Wnon-virtual-dtor] 1856 | class GPUEventHandlerDefault : public GPUEventHandler | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: 'class GPUEventHandlerDefault' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/render3D.h:149:7: warning: 'class Render3D' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 149 | class Render3D | ^~~~~~~~ ../desmume/src/render3D.h: In instantiation of 'class Render3D_SIMD<16>': ../desmume/src/render3D.h:295:30: required from here ../desmume/src/render3D.h:277:7: warning: base class 'class Render3D' has accessible non-virtual destructor [-Wnon-virtual-dtor] 277 | class Render3D_SIMD : public Render3D | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:277:7: warning: 'class Render3D_SIMD<16>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/render3D.h:295:7: warning: base class 'class Render3D_SIMD<16>' has accessible non-virtual destructor [-Wnon-virtual-dtor] 295 | class Render3D_SSE2 : public Render3D_SIMD<16> | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:295:7: warning: 'class Render3D_SSE2' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/NDSSystem.cpp:45: ../desmume/src/cheatSystem.h: In constructor 'CHEATSEXPORT::CHEATSEXPORT()': ../desmume/src/cheatSystem.h:151:49: warning: 'CHEATSEXPORT::encOffset' will be initialized after [-Wreorder] 151 | u32 encOffset; | ^~~~~~~~~ ../desmume/src/cheatSystem.h:146:33: warning:  'CHEATS_DB_TYPE CHEATSEXPORT::type' [-Wreorder] 146 | CHEATS_DB_TYPE type; | ^~~~ ../desmume/src/cheatSystem.h:167:9: warning:  when initialized here [-Wreorder] 167 | CHEATSEXPORT() : | ^~~~~~~~~~~~ ../desmume/src/cheatSystem.h:191:41: warning: 'CHEATSEXPORT::CRC' will be initialized after [-Wreorder] 191 | u32 CRC; | ^~~ ../desmume/src/cheatSystem.h:160:49: warning:  'u8 CHEATSEXPORT::error' [-Wreorder] 160 | u8 error; // 0 - no errors | ^~~~~ ../desmume/src/cheatSystem.h:167:9: warning:  when initialized here [-Wreorder] 167 | CHEATSEXPORT() : | ^~~~~~~~~~~~ In file included from ../desmume/src/movie.h:27, from ../desmume/src/NDSSystem.cpp:46: ../desmume/src/utils/datetime.h: In static member function 'static s64 TimeSpan::CalculateTicks(int, int, int, int, int)': ../desmume/src/utils/datetime.h:308:22: warning: variable 'overflow' set but not used [-Wunused-but-set-variable] 308 | bool overflow = false; | ^~~~~~~~ ../desmume/src/utils/datetime.h: In member function 'DateTime DateTime::AddMonths(int) const': ../desmume/src/utils/datetime.h:680:25: warning: left operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~~ ../desmume/src/utils/datetime.h:680:38: warning: right operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~ In file included from ../desmume/src/NDSSystem.cpp:51: ../desmume/src/driver.h: At global scope: ../desmume/src/driver.h:26:7: warning: 'class VIEW3D_Driver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 26 | class VIEW3D_Driver | ^~~~~~~~~~~~~ ../desmume/src/driver.h:35:7: warning: 'class BaseDriver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 35 | class BaseDriver { | ^~~~~~~~~~ In file included from ../desmume/src/NDSSystem.cpp:55: ../desmume/src/slot1.h:28:7: warning: 'class Slot1Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 28 | class Slot1Info | ^~~~~~~~~ ../desmume/src/slot1.h:36:7: warning: base class 'class Slot1Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 36 | class Slot1InfoSimple : public Slot1Info | ^~~~~~~~~~~~~~~ ../desmume/src/slot1.h:36:7: warning: 'class Slot1InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/NDSSystem.cpp:56: ../desmume/src/slot2.h:29:7: warning: 'class Slot2Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 29 | class Slot2Info | ^~~~~~~~~ ../desmume/src/slot2.h:37:7: warning: base class 'class Slot2Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 37 | class Slot2InfoSimple : public Slot2Info | ^~~~~~~~~~~~~~~ ../desmume/src/slot2.h:37:7: warning: 'class Slot2InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/NDSSystem.cpp:59: ../desmume/src/wifi.h:3230:7: warning: 'class ClientPCapInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 3230 | class ClientPCapInterface | ^~~~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3243:7: warning: base class 'class ClientPCapInterface' has accessible non-virtual destructor [-Wnon-virtual-dtor] 3243 | class DummyPCapInterface : public ClientPCapInterface | ^~~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3243:7: warning: 'class DummyPCapInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/wifi.h:3261:7: warning: base class 'class ClientPCapInterface' has accessible non-virtual destructor [-Wnon-virtual-dtor] 3261 | class POSIXPCapInterface : public ClientPCapInterface | ^~~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3261:7: warning: 'class POSIXPCapInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/wifi.h:3276:7: warning: 'class WifiCommInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 3276 | class WifiCommInterface | ^~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3297:7: warning: base class 'class WifiCommInterface' has accessible non-virtual destructor [-Wnon-virtual-dtor] 3297 | class AdhocCommInterface : public WifiCommInterface | ^~~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3297:7: warning: 'class AdhocCommInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/wifi.h:3315:7: warning: base class 'class WifiCommInterface' has accessible non-virtual destructor [-Wnon-virtual-dtor] 3315 | class SoftAPCommInterface : public WifiCommInterface | ^~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.cpp: In member function 'bool GameInfo::loadROM(std::string, u32)': ../desmume/src/NDSSystem.cpp:506:57: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 506 | if (((128 * 1024) << i) >= romsize) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ../desmume/src/NDSSystem.cpp:539:75: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 539 | if (reader->Read(fROM, romdataForReader, romsize) != romsize) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ../desmume/src/NDSSystem.cpp: At global scope: ../desmume/src/NDSSystem.cpp:940:8: warning: 'struct TSequenceItem' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 940 | struct TSequenceItem | ^~~~~~~~~~~~~ ../desmume/src/NDSSystem.cpp:972:8: warning: base class 'struct TSequenceItem' has accessible non-virtual destructor [-Wnon-virtual-dtor] 972 | struct TSequenceItem_GXFIFO : public TSequenceItem | ^~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.cpp:972:8: warning: 'struct TSequenceItem_GXFIFO' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp:1122:8: warning: base class 'struct TSequenceItem' has accessible non-virtual destructor [-Wnon-virtual-dtor] 1122 | struct TSequenceItem_ReadSlot1 : public TSequenceItem | ^~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.cpp:1122:8: warning: 'struct TSequenceItem_ReadSlot1' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp:1148:8: warning: base class 'struct TSequenceItem' has accessible non-virtual destructor [-Wnon-virtual-dtor] 1148 | struct TSequenceItem_divider : public TSequenceItem | ^~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.cpp:1148:8: warning: 'struct TSequenceItem_divider' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp:1180:8: warning: base class 'struct TSequenceItem' has accessible non-virtual destructor [-Wnon-virtual-dtor] 1180 | struct TSequenceItem_sqrtunit : public TSequenceItem | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.cpp:1180:8: warning: 'struct TSequenceItem_sqrtunit' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp: In instantiation of 'struct TSequenceItem_DMA<0, 0>': ../desmume/src/NDSSystem.cpp:1214:25: required from here ../desmume/src/NDSSystem.cpp:1062:40: warning: base class 'struct TSequenceItem' has accessible non-virtual destructor [-Wnon-virtual-dtor] 1062 | template struct TSequenceItem_DMA : public TSequenceItem | ^~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.cpp:1062:40: warning: 'struct TSequenceItem_DMA<0, 0>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp: In instantiation of 'struct TSequenceItem_DMA<0, 1>': ../desmume/src/NDSSystem.cpp:1214:57: required from here ../desmume/src/NDSSystem.cpp:1062:40: warning: base class 'struct TSequenceItem' has accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp:1062:40: warning: 'struct TSequenceItem_DMA<0, 1>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp: In instantiation of 'struct TSequenceItem_DMA<0, 2>': ../desmume/src/NDSSystem.cpp:1215:25: required from here ../desmume/src/NDSSystem.cpp:1062:40: warning: base class 'struct TSequenceItem' has accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp:1062:40: warning: 'struct TSequenceItem_DMA<0, 2>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp: In instantiation of 'struct TSequenceItem_DMA<0, 3>': ../desmume/src/NDSSystem.cpp:1215:57: required from here ../desmume/src/NDSSystem.cpp:1062:40: warning: base class 'struct TSequenceItem' has accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp:1062:40: warning: 'struct TSequenceItem_DMA<0, 3>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp: In instantiation of 'struct TSequenceItem_DMA<1, 0>': ../desmume/src/NDSSystem.cpp:1216:25: required from here ../desmume/src/NDSSystem.cpp:1062:40: warning: base class 'struct TSequenceItem' has accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp:1062:40: warning: 'struct TSequenceItem_DMA<1, 0>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp: In instantiation of 'struct TSequenceItem_DMA<1, 1>': ../desmume/src/NDSSystem.cpp:1216:57: required from here ../desmume/src/NDSSystem.cpp:1062:40: warning: base class 'struct TSequenceItem' has accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp:1062:40: warning: 'struct TSequenceItem_DMA<1, 1>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp: In instantiation of 'struct TSequenceItem_DMA<1, 2>': ../desmume/src/NDSSystem.cpp:1217:25: required from here ../desmume/src/NDSSystem.cpp:1062:40: warning: base class 'struct TSequenceItem' has accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp:1062:40: warning: 'struct TSequenceItem_DMA<1, 2>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp: In instantiation of 'struct TSequenceItem_DMA<1, 3>': ../desmume/src/NDSSystem.cpp:1217:57: required from here ../desmume/src/NDSSystem.cpp:1062:40: warning: base class 'struct TSequenceItem' has accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp:1062:40: warning: 'struct TSequenceItem_DMA<1, 3>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp: In instantiation of 'struct TSequenceItem_Timer<0, 0>': ../desmume/src/NDSSystem.cpp:1218:27: required from here ../desmume/src/NDSSystem.cpp:995:39: warning: base class 'struct TSequenceItem' has accessible non-virtual destructor [-Wnon-virtual-dtor] 995 | template struct TSequenceItem_Timer : public TSequenceItem | ^~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.cpp:995:39: warning: 'struct TSequenceItem_Timer<0, 0>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp: In instantiation of 'struct TSequenceItem_Timer<0, 1>': ../desmume/src/NDSSystem.cpp:1218:63: required from here ../desmume/src/NDSSystem.cpp:995:39: warning: base class 'struct TSequenceItem' has accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp:995:39: warning: 'struct TSequenceItem_Timer<0, 1>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp: In instantiation of 'struct TSequenceItem_Timer<0, 2>': ../desmume/src/NDSSystem.cpp:1219:27: required from here ../desmume/src/NDSSystem.cpp:995:39: warning: base class 'struct TSequenceItem' has accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp:995:39: warning: 'struct TSequenceItem_Timer<0, 2>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp: In instantiation of 'struct TSequenceItem_Timer<0, 3>': ../desmume/src/NDSSystem.cpp:1219:63: required from here ../desmume/src/NDSSystem.cpp:995:39: warning: base class 'struct TSequenceItem' has accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp:995:39: warning: 'struct TSequenceItem_Timer<0, 3>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp: In instantiation of 'struct TSequenceItem_Timer<1, 0>': ../desmume/src/NDSSystem.cpp:1220:27: required from here ../desmume/src/NDSSystem.cpp:995:39: warning: base class 'struct TSequenceItem' has accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp:995:39: warning: 'struct TSequenceItem_Timer<1, 0>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp: In instantiation of 'struct TSequenceItem_Timer<1, 1>': ../desmume/src/NDSSystem.cpp:1220:63: required from here ../desmume/src/NDSSystem.cpp:995:39: warning: base class 'struct TSequenceItem' has accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp:995:39: warning: 'struct TSequenceItem_Timer<1, 1>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp: In instantiation of 'struct TSequenceItem_Timer<1, 2>': ../desmume/src/NDSSystem.cpp:1221:27: required from here ../desmume/src/NDSSystem.cpp:995:39: warning: base class 'struct TSequenceItem' has accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp:995:39: warning: 'struct TSequenceItem_Timer<1, 2>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp: In instantiation of 'struct TSequenceItem_Timer<1, 3>': ../desmume/src/NDSSystem.cpp:1221:63: required from here ../desmume/src/NDSSystem.cpp:995:39: warning: base class 'struct TSequenceItem' has accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/NDSSystem.cpp:995:39: warning: 'struct TSequenceItem_Timer<1, 3>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/gfx3d.h:27: ../desmume/src/matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ In file included from ../desmume/src/MMU.h:24, from ../desmume/src/armcpu.h:27, from ../desmume/src/MMU.cpp:27: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/MMU.cpp:29: ../desmume/src/driver.h:26:7: warning: 'class VIEW3D_Driver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 26 | class VIEW3D_Driver | ^~~~~~~~~~~~~ ../desmume/src/driver.h:35:7: warning: 'class BaseDriver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 35 | class BaseDriver { | ^~~~~~~~~~ In file included from ../desmume/src/MMU.cpp:32: ../desmume/src/wifi.h:3230:7: warning: 'class ClientPCapInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 3230 | class ClientPCapInterface | ^~~~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3243:7: warning: base class 'class ClientPCapInterface' has accessible non-virtual destructor [-Wnon-virtual-dtor] 3243 | class DummyPCapInterface : public ClientPCapInterface | ^~~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3243:7: warning: 'class DummyPCapInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/wifi.h:3261:7: warning: base class 'class ClientPCapInterface' has accessible non-virtual destructor [-Wnon-virtual-dtor] 3261 | class POSIXPCapInterface : public ClientPCapInterface | ^~~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3261:7: warning: 'class POSIXPCapInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/wifi.h:3276:7: warning: 'class WifiCommInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 3276 | class WifiCommInterface | ^~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3297:7: warning: base class 'class WifiCommInterface' has accessible non-virtual destructor [-Wnon-virtual-dtor] 3297 | class AdhocCommInterface : public WifiCommInterface | ^~~~~~~~~~~~~~~~~~ ../desmume/src/wifi.h:3297:7: warning: 'class AdhocCommInterface' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/wifi.h:3315:7: warning: base class 'class WifiCommInterface' has accessible non-virtual destructor [-Wnon-virtual-dtor] 3315 | class SoftAPCommInterface : public WifiCommInterface | ^~~~~~~~~~~~~~~~~~~ In file included from ../desmume/src/gfx3d.h:28, from ../desmume/src/render3D.h:23, from ../desmume/src/MMU.cpp:34: ../desmume/src/GPU.h:1840:7: warning: 'class GPUEventHandler' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 1840 | class GPUEventHandler | ^~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: base class 'class GPUEventHandler' has accessible non-virtual destructor [-Wnon-virtual-dtor] 1856 | class GPUEventHandlerDefault : public GPUEventHandler | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: 'class GPUEventHandlerDefault' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/render3D.h:149:7: warning: 'class Render3D' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 149 | class Render3D | ^~~~~~~~ ../desmume/src/render3D.h: In instantiation of 'class Render3D_SIMD<16>': ../desmume/src/render3D.h:295:30: required from here ../desmume/src/render3D.h:277:7: warning: base class 'class Render3D' has accessible non-virtual destructor [-Wnon-virtual-dtor] 277 | class Render3D_SIMD : public Render3D | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:277:7: warning: 'class Render3D_SIMD<16>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/render3D.h:295:7: warning: base class 'class Render3D_SIMD<16>' has accessible non-virtual destructor [-Wnon-virtual-dtor] 295 | class Render3D_SSE2 : public Render3D_SIMD<16> | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:295:7: warning: 'class Render3D_SSE2' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/rtc.h:25, from ../desmume/src/MMU.cpp:37: ../desmume/src/utils/datetime.h: In static member function 'static s64 TimeSpan::CalculateTicks(int, int, int, int, int)': ../desmume/src/utils/datetime.h:308:22: warning: variable 'overflow' set but not used [-Wunused-but-set-variable] 308 | bool overflow = false; | ^~~~~~~~ ../desmume/src/utils/datetime.h: In member function 'DateTime DateTime::AddMonths(int) const': ../desmume/src/utils/datetime.h:680:25: warning: left operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~~ ../desmume/src/utils/datetime.h:680:38: warning: right operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~ In file included from ../desmume/src/MMU.cpp:39: ../desmume/src/slot1.h: At global scope: ../desmume/src/slot1.h:28:7: warning: 'class Slot1Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 28 | class Slot1Info | ^~~~~~~~~ ../desmume/src/slot1.h:36:7: warning: base class 'class Slot1Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 36 | class Slot1InfoSimple : public Slot1Info | ^~~~~~~~~~~~~~~ ../desmume/src/slot1.h:36:7: warning: 'class Slot1InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/MMU.cpp:40: ../desmume/src/slot2.h:29:7: warning: 'class Slot2Info' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 29 | class Slot2Info | ^~~~~~~~~ ../desmume/src/slot2.h:37:7: warning: base class 'class Slot2Info' has accessible non-virtual destructor [-Wnon-virtual-dtor] 37 | class Slot2InfoSimple : public Slot2Info | ^~~~~~~~~~~~~~~ ../desmume/src/slot2.h:37:7: warning: 'class Slot2InfoSimple' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.cpp: In member function 'void DmaController::write32(u32)': ../desmume/src/MMU.cpp:2140:12: warning: unused variable 'wasRepeatMode' [-Wunused-variable] 2140 | u8 wasRepeatMode = repeatMode; | ^~~~~~~~~~~~~ ../desmume/src/MMU.cpp: In instantiation of 'void MMU_writeToGCControl(u32) [with int PROCNUM = 0; u32 = unsigned int]': ../desmume/src/MMU.cpp:4367:39: required from here ../desmume/src/MMU.cpp:1286:13: warning: unused variable 'dbsize' [-Wunused-variable] 1286 | int dbsize = (val>>24)&7; | ^~~~~~ ../desmume/src/MMU.cpp:1294:13: warning: unused variable 'keylength' [-Wunused-variable] 1294 | int keylength = (val&0x1FFF); //key1length high gcromctrl[21:16] ?? | ^~~~~~~~~ ../desmume/src/MMU.cpp:1295:12: warning: unused variable 'key2_encryptdata' [-Wunused-variable] 1295 | u8 key2_encryptdata = (val>>13)&1; | ^~~~~~~~~~~~~~~~ ../desmume/src/MMU.cpp:1296:12: warning: unused variable 'bit15' [-Wunused-variable] 1296 | u8 bit15 = (val>>14)&1; | ^~~~~ ../desmume/src/MMU.cpp:1299:12: warning: unused variable 'key2_encryptcommand' [-Wunused-variable] 1299 | u8 key2_encryptcommand = (val>>22)&1; | ^~~~~~~~~~~~~~~~~~~ ../desmume/src/MMU.cpp:1302:12: warning: unused variable 'clockrate' [-Wunused-variable] 1302 | u8 clockrate = (val>>27)&1; | ^~~~~~~~~ ../desmume/src/MMU.cpp:1303:12: warning: unused variable 'secureareamode' [-Wunused-variable] 1303 | u8 secureareamode = (val>>28)&1; | ^~~~~~~~~~~~~~ ../desmume/src/MMU.cpp:1305:12: warning: unused variable 'wr' [-Wunused-variable] 1305 | u8 wr = (val>>30)&1; | ^~ ../desmume/src/MMU.cpp: In instantiation of 'void MMU_writeToGCControl(u32) [with int PROCNUM = 1; u32 = unsigned int]': ../desmume/src/MMU.cpp:5590:38: required from here ../desmume/src/MMU.cpp:1286:13: warning: unused variable 'dbsize' [-Wunused-variable] 1286 | int dbsize = (val>>24)&7; | ^~~~~~ ../desmume/src/MMU.cpp:1294:13: warning: unused variable 'keylength' [-Wunused-variable] 1294 | int keylength = (val&0x1FFF); //key1length high gcromctrl[21:16] ?? | ^~~~~~~~~ ../desmume/src/MMU.cpp:1295:12: warning: unused variable 'key2_encryptdata' [-Wunused-variable] 1295 | u8 key2_encryptdata = (val>>13)&1; | ^~~~~~~~~~~~~~~~ ../desmume/src/MMU.cpp:1296:12: warning: unused variable 'bit15' [-Wunused-variable] 1296 | u8 bit15 = (val>>14)&1; | ^~~~~ ../desmume/src/MMU.cpp:1299:12: warning: unused variable 'key2_encryptcommand' [-Wunused-variable] 1299 | u8 key2_encryptcommand = (val>>22)&1; | ^~~~~~~~~~~~~~~~~~~ ../desmume/src/MMU.cpp:1302:12: warning: unused variable 'clockrate' [-Wunused-variable] 1302 | u8 clockrate = (val>>27)&1; | ^~~~~~~~~ ../desmume/src/MMU.cpp:1303:12: warning: unused variable 'secureareamode' [-Wunused-variable] 1303 | u8 secureareamode = (val>>28)&1; | ^~~~~~~~~~~~~~ ../desmume/src/MMU.cpp:1305:12: warning: unused variable 'wr' [-Wunused-variable] 1305 | u8 wr = (val>>30)&1; | ^~ ../desmume/src/MMU.cpp: At global scope: ../desmume/src/MMU.cpp:1675:13: warning: 'void validateIF_arm9()' defined but not used [-Wunused-function] 1675 | static void validateIF_arm9() | ^~~~~~~~~~~~~~~ In file included from ../desmume/src/gfx3d.h:27: ../desmume/src/matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/matrix.h:462:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 462 | static void memset_u32(void *dst, const u32 val, const size_t elementCount) | ^~~~~~~~~~ ../desmume/src/matrix.h:443:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 443 | static void memset_u16(void *dst, const u16 val, const size_t elementCount) | ^~~~~~~~~~ In file included from ../desmume/src/MMU.h:24, from ../desmume/src/armcpu.h:27, from ../desmume/src/frontend/modules/Disassembler.cpp:23: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/frontend/modules/Disassembler.cpp:2234:15: warning: 'char* OP_LDR_P_IMM_OFF_POSTIND2(u32, u32, char*)' defined but not used [-Wunused-function] 2234 | static char * OP_LDR_P_IMM_OFF_POSTIND2(u32 adr, u32 i, char * txt) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../desmume/src/utils/AsmJit/core/compiler.h:15, from ../desmume/src/utils/AsmJit/core.h:17, from ../desmume/src/utils/AsmJit/AsmJit.h:331, from ../desmume/src/arm_jit.cpp:44: ../desmume/src/utils/AsmJit/core/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': ../desmume/src/utils/AsmJit/core/../core/operand.h:183:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct AsmJit::Operand'; use assignment or value-initialization instead [-Wclass-memaccess] 183 | memset(this, 0, sizeof(Operand)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/core/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/core/../core/operand.h:205:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 205 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ ../desmume/src/utils/AsmJit/core/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': ../desmume/src/utils/AsmJit/core/../core/operand.h:211:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct AsmJit::Operand'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 211 | { memcpy(this, &other, sizeof(Operand)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/utils/AsmJit/core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ In file included from ../desmume/src/MMU.h:24, from ../desmume/src/armcpu.h:27, from ../desmume/src/arm_jit.cpp:45: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/arm_jit.cpp: In function 'int OP_AND_LSL_IMM(u32)': ../desmume/src/arm_jit.cpp:468:13: warning: unused variable 'rhs_first' [-Wunused-variable] 468 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:833:56: note: in expansion of macro 'LSL_IMM' 833 | static int OP_AND_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM, and_, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_AND_LSR_IMM(u32)': ../desmume/src/arm_jit.cpp:498:13: warning: unused variable 'rhs_first' [-Wunused-variable] 498 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:835:56: note: in expansion of macro 'LSR_IMM' 835 | static int OP_AND_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM, and_, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_AND_ASR_IMM(u32)': ../desmume/src/arm_jit.cpp:528:13: warning: unused variable 'rhs_first' [-Wunused-variable] 528 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:837:56: note: in expansion of macro 'ASR_IMM' 837 | static int OP_AND_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM, and_, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_AND_ROR_IMM(u32)': ../desmume/src/arm_jit.cpp:555:13: warning: unused variable 'rhs_first' [-Wunused-variable] 555 | u32 rhs_first = imm?ROR(cpu->R[REG_POS(i,0)], imm) : ((u32)cpu->CPSR.bits.C<<31)|(cpu->R[REG_POS(i,0)]>>1); | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:839:56: note: in expansion of macro 'ROR_IMM' 839 | static int OP_AND_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM, and_, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_AND_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:841:56: note: in expansion of macro 'IMM_VAL' 841 | static int OP_AND_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL, and_, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_EOR_LSL_IMM(u32)': ../desmume/src/arm_jit.cpp:468:13: warning: unused variable 'rhs_first' [-Wunused-variable] 468 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:843:56: note: in expansion of macro 'LSL_IMM' 843 | static int OP_EOR_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM, xor_, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_EOR_LSR_IMM(u32)': ../desmume/src/arm_jit.cpp:498:13: warning: unused variable 'rhs_first' [-Wunused-variable] 498 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:845:56: note: in expansion of macro 'LSR_IMM' 845 | static int OP_EOR_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM, xor_, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_EOR_ASR_IMM(u32)': ../desmume/src/arm_jit.cpp:528:13: warning: unused variable 'rhs_first' [-Wunused-variable] 528 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:847:56: note: in expansion of macro 'ASR_IMM' 847 | static int OP_EOR_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM, xor_, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_EOR_ROR_IMM(u32)': ../desmume/src/arm_jit.cpp:555:13: warning: unused variable 'rhs_first' [-Wunused-variable] 555 | u32 rhs_first = imm?ROR(cpu->R[REG_POS(i,0)], imm) : ((u32)cpu->CPSR.bits.C<<31)|(cpu->R[REG_POS(i,0)]>>1); | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:849:56: note: in expansion of macro 'ROR_IMM' 849 | static int OP_EOR_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM, xor_, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_EOR_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:851:56: note: in expansion of macro 'IMM_VAL' 851 | static int OP_EOR_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL, xor_, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ORR_LSL_IMM(u32)': ../desmume/src/arm_jit.cpp:468:13: warning: unused variable 'rhs_first' [-Wunused-variable] 468 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:853:56: note: in expansion of macro 'LSL_IMM' 853 | static int OP_ORR_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM, or_, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ORR_LSR_IMM(u32)': ../desmume/src/arm_jit.cpp:498:13: warning: unused variable 'rhs_first' [-Wunused-variable] 498 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:855:56: note: in expansion of macro 'LSR_IMM' 855 | static int OP_ORR_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM, or_, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ORR_ASR_IMM(u32)': ../desmume/src/arm_jit.cpp:528:13: warning: unused variable 'rhs_first' [-Wunused-variable] 528 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:857:56: note: in expansion of macro 'ASR_IMM' 857 | static int OP_ORR_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM, or_, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ORR_ROR_IMM(u32)': ../desmume/src/arm_jit.cpp:555:13: warning: unused variable 'rhs_first' [-Wunused-variable] 555 | u32 rhs_first = imm?ROR(cpu->R[REG_POS(i,0)], imm) : ((u32)cpu->CPSR.bits.C<<31)|(cpu->R[REG_POS(i,0)]>>1); | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:859:56: note: in expansion of macro 'ROR_IMM' 859 | static int OP_ORR_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM, or_, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ORR_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:861:56: note: in expansion of macro 'IMM_VAL' 861 | static int OP_ORR_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL, or_, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ADD_LSL_IMM(u32)': ../desmume/src/arm_jit.cpp:468:13: warning: unused variable 'rhs_first' [-Wunused-variable] 468 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:863:56: note: in expansion of macro 'LSL_IMM' 863 | static int OP_ADD_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM, add, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ADD_LSR_IMM(u32)': ../desmume/src/arm_jit.cpp:498:13: warning: unused variable 'rhs_first' [-Wunused-variable] 498 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:865:56: note: in expansion of macro 'LSR_IMM' 865 | static int OP_ADD_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM, add, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ADD_ASR_IMM(u32)': ../desmume/src/arm_jit.cpp:528:13: warning: unused variable 'rhs_first' [-Wunused-variable] 528 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:867:56: note: in expansion of macro 'ASR_IMM' 867 | static int OP_ADD_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM, add, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ADD_ROR_IMM(u32)': ../desmume/src/arm_jit.cpp:555:13: warning: unused variable 'rhs_first' [-Wunused-variable] 555 | u32 rhs_first = imm?ROR(cpu->R[REG_POS(i,0)], imm) : ((u32)cpu->CPSR.bits.C<<31)|(cpu->R[REG_POS(i,0)]>>1); | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:869:56: note: in expansion of macro 'ROR_IMM' 869 | static int OP_ADD_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM, add, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ADD_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:871:56: note: in expansion of macro 'IMM_VAL' 871 | static int OP_ADD_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL, add, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_SUB_LSL_IMM(u32)': ../desmume/src/arm_jit.cpp:468:13: warning: unused variable 'rhs_first' [-Wunused-variable] 468 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:873:56: note: in expansion of macro 'LSL_IMM' 873 | static int OP_SUB_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM, sub, 0, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_SUB_LSR_IMM(u32)': ../desmume/src/arm_jit.cpp:498:13: warning: unused variable 'rhs_first' [-Wunused-variable] 498 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:875:56: note: in expansion of macro 'LSR_IMM' 875 | static int OP_SUB_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM, sub, 0, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_SUB_ASR_IMM(u32)': ../desmume/src/arm_jit.cpp:528:13: warning: unused variable 'rhs_first' [-Wunused-variable] 528 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:877:56: note: in expansion of macro 'ASR_IMM' 877 | static int OP_SUB_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM, sub, 0, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_SUB_ROR_IMM(u32)': ../desmume/src/arm_jit.cpp:555:13: warning: unused variable 'rhs_first' [-Wunused-variable] 555 | u32 rhs_first = imm?ROR(cpu->R[REG_POS(i,0)], imm) : ((u32)cpu->CPSR.bits.C<<31)|(cpu->R[REG_POS(i,0)]>>1); | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:879:56: note: in expansion of macro 'ROR_IMM' 879 | static int OP_SUB_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM, sub, 0, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_SUB_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:881:56: note: in expansion of macro 'IMM_VAL' 881 | static int OP_SUB_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL, sub, 0, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSB_LSL_IMM(u32)': ../desmume/src/arm_jit.cpp:463:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 463 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:883:58: note: in expansion of macro 'LSL_IMM' 883 | static int OP_RSB_LSL_IMM(const u32 i) { OP_ARITHMETIC_R(LSL_IMM, sub, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:468:13: warning: unused variable 'rhs_first' [-Wunused-variable] 468 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:883:58: note: in expansion of macro 'LSL_IMM' 883 | static int OP_RSB_LSL_IMM(const u32 i) { OP_ARITHMETIC_R(LSL_IMM, sub, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSB_LSL_REG(u32)': ../desmume/src/arm_jit.cpp:615:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 615 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:672:17: note: in expansion of macro 'LSX_REG' 672 | #define LSL_REG LSX_REG(LSL_REG, shl, 0) | ^~~~~~~ ../desmume/src/arm_jit.cpp:884:58: note: in expansion of macro 'LSL_REG' 884 | static int OP_RSB_LSL_REG(const u32 i) { OP_ARITHMETIC_R(LSL_REG, sub, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSB_LSR_IMM(u32)': ../desmume/src/arm_jit.cpp:488:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 488 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:885:58: note: in expansion of macro 'LSR_IMM' 885 | static int OP_RSB_LSR_IMM(const u32 i) { OP_ARITHMETIC_R(LSR_IMM, sub, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:498:13: warning: unused variable 'rhs_first' [-Wunused-variable] 498 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:885:58: note: in expansion of macro 'LSR_IMM' 885 | static int OP_RSB_LSR_IMM(const u32 i) { OP_ARITHMETIC_R(LSR_IMM, sub, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSB_LSR_REG(u32)': ../desmume/src/arm_jit.cpp:615:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 615 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:673:17: note: in expansion of macro 'LSX_REG' 673 | #define LSR_REG LSX_REG(LSR_REG, shr, 0) | ^~~~~~~ ../desmume/src/arm_jit.cpp:886:58: note: in expansion of macro 'LSR_REG' 886 | static int OP_RSB_LSR_REG(const u32 i) { OP_ARITHMETIC_R(LSR_REG, sub, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSB_ASR_IMM(u32)': ../desmume/src/arm_jit.cpp:522:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 522 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:887:58: note: in expansion of macro 'ASR_IMM' 887 | static int OP_RSB_ASR_IMM(const u32 i) { OP_ARITHMETIC_R(ASR_IMM, sub, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:528:13: warning: unused variable 'rhs_first' [-Wunused-variable] 528 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:887:58: note: in expansion of macro 'ASR_IMM' 887 | static int OP_RSB_ASR_IMM(const u32 i) { OP_ARITHMETIC_R(ASR_IMM, sub, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSB_ASR_REG(u32)': ../desmume/src/arm_jit.cpp:615:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 615 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:674:17: note: in expansion of macro 'LSX_REG' 674 | #define ASR_REG LSX_REG(ASR_REG, sar, 1) | ^~~~~~~ ../desmume/src/arm_jit.cpp:888:58: note: in expansion of macro 'ASR_REG' 888 | static int OP_RSB_ASR_REG(const u32 i) { OP_ARITHMETIC_R(ASR_REG, sub, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSB_ROR_IMM(u32)': ../desmume/src/arm_jit.cpp:544:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 544 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:889:58: note: in expansion of macro 'ROR_IMM' 889 | static int OP_RSB_ROR_IMM(const u32 i) { OP_ARITHMETIC_R(ROR_IMM, sub, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:555:13: warning: unused variable 'rhs_first' [-Wunused-variable] 555 | u32 rhs_first = imm?ROR(cpu->R[REG_POS(i,0)], imm) : ((u32)cpu->CPSR.bits.C<<31)|(cpu->R[REG_POS(i,0)]>>1); | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:889:58: note: in expansion of macro 'ROR_IMM' 889 | static int OP_RSB_ROR_IMM(const u32 i) { OP_ARITHMETIC_R(ROR_IMM, sub, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSB_ROR_REG(u32)': ../desmume/src/arm_jit.cpp:681:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 681 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:890:58: note: in expansion of macro 'ROR_REG' 890 | static int OP_RSB_ROR_REG(const u32 i) { OP_ARITHMETIC_R(ROR_REG, sub, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSB_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:582:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 582 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:891:58: note: in expansion of macro 'IMM_VAL' 891 | static int OP_RSB_IMM_VAL(const u32 i) { OP_ARITHMETIC_R(IMM_VAL, sub, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:891:58: note: in expansion of macro 'IMM_VAL' 891 | static int OP_RSB_IMM_VAL(const u32 i) { OP_ARITHMETIC_R(IMM_VAL, sub, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_AND_S_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:598:13: warning: unused variable 'rhs_first' [-Wunused-variable] 598 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:805:5: note: in definition of macro 'OP_ARITHMETIC_S' 805 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:902:60: note: in expansion of macro 'S_IMM_VAL' 902 | static int OP_AND_S_IMM_VAL(const u32 i) { OP_ARITHMETIC_S(S_IMM_VAL, and_, 1); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_EOR_S_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:598:13: warning: unused variable 'rhs_first' [-Wunused-variable] 598 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:805:5: note: in definition of macro 'OP_ARITHMETIC_S' 805 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:912:60: note: in expansion of macro 'S_IMM_VAL' 912 | static int OP_EOR_S_IMM_VAL(const u32 i) { OP_ARITHMETIC_S(S_IMM_VAL, xor_, 1); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ORR_S_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:598:13: warning: unused variable 'rhs_first' [-Wunused-variable] 598 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:805:5: note: in definition of macro 'OP_ARITHMETIC_S' 805 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:922:60: note: in expansion of macro 'S_IMM_VAL' 922 | static int OP_ORR_S_IMM_VAL(const u32 i) { OP_ARITHMETIC_S(S_IMM_VAL, or_, 1); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ADD_S_LSL_IMM(u32)': ../desmume/src/arm_jit.cpp:468:13: warning: unused variable 'rhs_first' [-Wunused-variable] 468 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:924:58: note: in expansion of macro 'LSL_IMM' 924 | static int OP_ADD_S_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM, add, 1, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ADD_S_LSR_IMM(u32)': ../desmume/src/arm_jit.cpp:498:13: warning: unused variable 'rhs_first' [-Wunused-variable] 498 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:926:58: note: in expansion of macro 'LSR_IMM' 926 | static int OP_ADD_S_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM, add, 1, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ADD_S_ASR_IMM(u32)': ../desmume/src/arm_jit.cpp:528:13: warning: unused variable 'rhs_first' [-Wunused-variable] 528 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:928:58: note: in expansion of macro 'ASR_IMM' 928 | static int OP_ADD_S_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM, add, 1, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ADD_S_ROR_IMM(u32)': ../desmume/src/arm_jit.cpp:555:13: warning: unused variable 'rhs_first' [-Wunused-variable] 555 | u32 rhs_first = imm?ROR(cpu->R[REG_POS(i,0)], imm) : ((u32)cpu->CPSR.bits.C<<31)|(cpu->R[REG_POS(i,0)]>>1); | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:930:58: note: in expansion of macro 'ROR_IMM' 930 | static int OP_ADD_S_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM, add, 1, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ADD_S_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:932:58: note: in expansion of macro 'IMM_VAL' 932 | static int OP_ADD_S_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL, add, 1, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_SUB_S_LSL_IMM(u32)': ../desmume/src/arm_jit.cpp:468:13: warning: unused variable 'rhs_first' [-Wunused-variable] 468 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:934:58: note: in expansion of macro 'LSL_IMM' 934 | static int OP_SUB_S_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM, sub, 0, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_SUB_S_LSR_IMM(u32)': ../desmume/src/arm_jit.cpp:498:13: warning: unused variable 'rhs_first' [-Wunused-variable] 498 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:936:58: note: in expansion of macro 'LSR_IMM' 936 | static int OP_SUB_S_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM, sub, 0, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_SUB_S_ASR_IMM(u32)': ../desmume/src/arm_jit.cpp:528:13: warning: unused variable 'rhs_first' [-Wunused-variable] 528 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:938:58: note: in expansion of macro 'ASR_IMM' 938 | static int OP_SUB_S_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM, sub, 0, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_SUB_S_ROR_IMM(u32)': ../desmume/src/arm_jit.cpp:555:13: warning: unused variable 'rhs_first' [-Wunused-variable] 555 | u32 rhs_first = imm?ROR(cpu->R[REG_POS(i,0)], imm) : ((u32)cpu->CPSR.bits.C<<31)|(cpu->R[REG_POS(i,0)]>>1); | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:940:58: note: in expansion of macro 'ROR_IMM' 940 | static int OP_SUB_S_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM, sub, 0, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_SUB_S_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:942:58: note: in expansion of macro 'IMM_VAL' 942 | static int OP_SUB_S_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL, sub, 0, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSB_S_LSL_IMM(u32)': ../desmume/src/arm_jit.cpp:463:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 463 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:944:60: note: in expansion of macro 'LSL_IMM' 944 | static int OP_RSB_S_LSL_IMM(const u32 i) { OP_ARITHMETIC_R(LSL_IMM, sub, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:468:13: warning: unused variable 'rhs_first' [-Wunused-variable] 468 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:944:60: note: in expansion of macro 'LSL_IMM' 944 | static int OP_RSB_S_LSL_IMM(const u32 i) { OP_ARITHMETIC_R(LSL_IMM, sub, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSB_S_LSL_REG(u32)': ../desmume/src/arm_jit.cpp:615:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 615 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:672:17: note: in expansion of macro 'LSX_REG' 672 | #define LSL_REG LSX_REG(LSL_REG, shl, 0) | ^~~~~~~ ../desmume/src/arm_jit.cpp:945:60: note: in expansion of macro 'LSL_REG' 945 | static int OP_RSB_S_LSL_REG(const u32 i) { OP_ARITHMETIC_R(LSL_REG, sub, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSB_S_LSR_IMM(u32)': ../desmume/src/arm_jit.cpp:488:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 488 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:946:60: note: in expansion of macro 'LSR_IMM' 946 | static int OP_RSB_S_LSR_IMM(const u32 i) { OP_ARITHMETIC_R(LSR_IMM, sub, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:498:13: warning: unused variable 'rhs_first' [-Wunused-variable] 498 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:946:60: note: in expansion of macro 'LSR_IMM' 946 | static int OP_RSB_S_LSR_IMM(const u32 i) { OP_ARITHMETIC_R(LSR_IMM, sub, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSB_S_LSR_REG(u32)': ../desmume/src/arm_jit.cpp:615:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 615 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:673:17: note: in expansion of macro 'LSX_REG' 673 | #define LSR_REG LSX_REG(LSR_REG, shr, 0) | ^~~~~~~ ../desmume/src/arm_jit.cpp:947:60: note: in expansion of macro 'LSR_REG' 947 | static int OP_RSB_S_LSR_REG(const u32 i) { OP_ARITHMETIC_R(LSR_REG, sub, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSB_S_ASR_IMM(u32)': ../desmume/src/arm_jit.cpp:522:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 522 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:948:60: note: in expansion of macro 'ASR_IMM' 948 | static int OP_RSB_S_ASR_IMM(const u32 i) { OP_ARITHMETIC_R(ASR_IMM, sub, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:528:13: warning: unused variable 'rhs_first' [-Wunused-variable] 528 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:948:60: note: in expansion of macro 'ASR_IMM' 948 | static int OP_RSB_S_ASR_IMM(const u32 i) { OP_ARITHMETIC_R(ASR_IMM, sub, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSB_S_ASR_REG(u32)': ../desmume/src/arm_jit.cpp:615:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 615 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:674:17: note: in expansion of macro 'LSX_REG' 674 | #define ASR_REG LSX_REG(ASR_REG, sar, 1) | ^~~~~~~ ../desmume/src/arm_jit.cpp:949:60: note: in expansion of macro 'ASR_REG' 949 | static int OP_RSB_S_ASR_REG(const u32 i) { OP_ARITHMETIC_R(ASR_REG, sub, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSB_S_ROR_IMM(u32)': ../desmume/src/arm_jit.cpp:544:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 544 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:950:60: note: in expansion of macro 'ROR_IMM' 950 | static int OP_RSB_S_ROR_IMM(const u32 i) { OP_ARITHMETIC_R(ROR_IMM, sub, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:555:13: warning: unused variable 'rhs_first' [-Wunused-variable] 555 | u32 rhs_first = imm?ROR(cpu->R[REG_POS(i,0)], imm) : ((u32)cpu->CPSR.bits.C<<31)|(cpu->R[REG_POS(i,0)]>>1); | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:950:60: note: in expansion of macro 'ROR_IMM' 950 | static int OP_RSB_S_ROR_IMM(const u32 i) { OP_ARITHMETIC_R(ROR_IMM, sub, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSB_S_ROR_REG(u32)': ../desmume/src/arm_jit.cpp:681:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 681 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:951:60: note: in expansion of macro 'ROR_REG' 951 | static int OP_RSB_S_ROR_REG(const u32 i) { OP_ARITHMETIC_R(ROR_REG, sub, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSB_S_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:582:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 582 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:952:60: note: in expansion of macro 'IMM_VAL' 952 | static int OP_RSB_S_IMM_VAL(const u32 i) { OP_ARITHMETIC_R(IMM_VAL, sub, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:952:60: note: in expansion of macro 'IMM_VAL' 952 | static int OP_RSB_S_IMM_VAL(const u32 i) { OP_ARITHMETIC_R(IMM_VAL, sub, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ADC_LSL_IMM(u32)': ../desmume/src/arm_jit.cpp:468:13: warning: unused variable 'rhs_first' [-Wunused-variable] 468 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:954:56: note: in expansion of macro 'LSL_IMM' 954 | static int OP_ADC_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM; GET_CARRY(0), adc, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ADC_LSR_IMM(u32)': ../desmume/src/arm_jit.cpp:498:13: warning: unused variable 'rhs_first' [-Wunused-variable] 498 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:956:56: note: in expansion of macro 'LSR_IMM' 956 | static int OP_ADC_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM; GET_CARRY(0), adc, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ADC_ASR_IMM(u32)': ../desmume/src/arm_jit.cpp:528:13: warning: unused variable 'rhs_first' [-Wunused-variable] 528 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:958:56: note: in expansion of macro 'ASR_IMM' 958 | static int OP_ADC_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM; GET_CARRY(0), adc, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ADC_ROR_IMM(u32)': ../desmume/src/arm_jit.cpp:555:13: warning: unused variable 'rhs_first' [-Wunused-variable] 555 | u32 rhs_first = imm?ROR(cpu->R[REG_POS(i,0)], imm) : ((u32)cpu->CPSR.bits.C<<31)|(cpu->R[REG_POS(i,0)]>>1); | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:960:56: note: in expansion of macro 'ROR_IMM' 960 | static int OP_ADC_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM; GET_CARRY(0), adc, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ADC_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:962:56: note: in expansion of macro 'IMM_VAL' 962 | static int OP_ADC_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL; GET_CARRY(0), adc, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ADC_S_LSL_IMM(u32)': ../desmume/src/arm_jit.cpp:468:13: warning: unused variable 'rhs_first' [-Wunused-variable] 468 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:964:58: note: in expansion of macro 'LSL_IMM' 964 | static int OP_ADC_S_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM; GET_CARRY(0), adc, 1, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ADC_S_LSR_IMM(u32)': ../desmume/src/arm_jit.cpp:498:13: warning: unused variable 'rhs_first' [-Wunused-variable] 498 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:966:58: note: in expansion of macro 'LSR_IMM' 966 | static int OP_ADC_S_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM; GET_CARRY(0), adc, 1, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ADC_S_ASR_IMM(u32)': ../desmume/src/arm_jit.cpp:528:13: warning: unused variable 'rhs_first' [-Wunused-variable] 528 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:968:58: note: in expansion of macro 'ASR_IMM' 968 | static int OP_ADC_S_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM; GET_CARRY(0), adc, 1, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ADC_S_ROR_IMM(u32)': ../desmume/src/arm_jit.cpp:555:13: warning: unused variable 'rhs_first' [-Wunused-variable] 555 | u32 rhs_first = imm?ROR(cpu->R[REG_POS(i,0)], imm) : ((u32)cpu->CPSR.bits.C<<31)|(cpu->R[REG_POS(i,0)]>>1); | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:970:58: note: in expansion of macro 'ROR_IMM' 970 | static int OP_ADC_S_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM; GET_CARRY(0), adc, 1, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_ADC_S_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:972:58: note: in expansion of macro 'IMM_VAL' 972 | static int OP_ADC_S_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL; GET_CARRY(0), adc, 1, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_SBC_LSL_IMM(u32)': ../desmume/src/arm_jit.cpp:468:13: warning: unused variable 'rhs_first' [-Wunused-variable] 468 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:974:56: note: in expansion of macro 'LSL_IMM' 974 | static int OP_SBC_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM; GET_CARRY(1), sbb, 0, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_SBC_LSR_IMM(u32)': ../desmume/src/arm_jit.cpp:498:13: warning: unused variable 'rhs_first' [-Wunused-variable] 498 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:976:56: note: in expansion of macro 'LSR_IMM' 976 | static int OP_SBC_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM; GET_CARRY(1), sbb, 0, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_SBC_ASR_IMM(u32)': ../desmume/src/arm_jit.cpp:528:13: warning: unused variable 'rhs_first' [-Wunused-variable] 528 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:978:56: note: in expansion of macro 'ASR_IMM' 978 | static int OP_SBC_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM; GET_CARRY(1), sbb, 0, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_SBC_ROR_IMM(u32)': ../desmume/src/arm_jit.cpp:555:13: warning: unused variable 'rhs_first' [-Wunused-variable] 555 | u32 rhs_first = imm?ROR(cpu->R[REG_POS(i,0)], imm) : ((u32)cpu->CPSR.bits.C<<31)|(cpu->R[REG_POS(i,0)]>>1); | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:980:56: note: in expansion of macro 'ROR_IMM' 980 | static int OP_SBC_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM; GET_CARRY(1), sbb, 0, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_SBC_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:982:56: note: in expansion of macro 'IMM_VAL' 982 | static int OP_SBC_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL; GET_CARRY(1), sbb, 0, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_SBC_S_LSL_IMM(u32)': ../desmume/src/arm_jit.cpp:468:13: warning: unused variable 'rhs_first' [-Wunused-variable] 468 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:984:58: note: in expansion of macro 'LSL_IMM' 984 | static int OP_SBC_S_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM; GET_CARRY(1), sbb, 0, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_SBC_S_LSR_IMM(u32)': ../desmume/src/arm_jit.cpp:498:13: warning: unused variable 'rhs_first' [-Wunused-variable] 498 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:986:58: note: in expansion of macro 'LSR_IMM' 986 | static int OP_SBC_S_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM; GET_CARRY(1), sbb, 0, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_SBC_S_ASR_IMM(u32)': ../desmume/src/arm_jit.cpp:528:13: warning: unused variable 'rhs_first' [-Wunused-variable] 528 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:988:58: note: in expansion of macro 'ASR_IMM' 988 | static int OP_SBC_S_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM; GET_CARRY(1), sbb, 0, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_SBC_S_ROR_IMM(u32)': ../desmume/src/arm_jit.cpp:555:13: warning: unused variable 'rhs_first' [-Wunused-variable] 555 | u32 rhs_first = imm?ROR(cpu->R[REG_POS(i,0)], imm) : ((u32)cpu->CPSR.bits.C<<31)|(cpu->R[REG_POS(i,0)]>>1); | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:990:58: note: in expansion of macro 'ROR_IMM' 990 | static int OP_SBC_S_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM; GET_CARRY(1), sbb, 0, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_SBC_S_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:992:58: note: in expansion of macro 'IMM_VAL' 992 | static int OP_SBC_S_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL; GET_CARRY(1), sbb, 0, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSC_LSL_IMM(u32)': ../desmume/src/arm_jit.cpp:463:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 463 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:994:58: note: in expansion of macro 'LSL_IMM' 994 | static int OP_RSC_LSL_IMM(const u32 i) { OP_ARITHMETIC_R(LSL_IMM; GET_CARRY(1), sbb, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:468:13: warning: unused variable 'rhs_first' [-Wunused-variable] 468 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:994:58: note: in expansion of macro 'LSL_IMM' 994 | static int OP_RSC_LSL_IMM(const u32 i) { OP_ARITHMETIC_R(LSL_IMM; GET_CARRY(1), sbb, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSC_LSL_REG(u32)': ../desmume/src/arm_jit.cpp:615:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 615 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:672:17: note: in expansion of macro 'LSX_REG' 672 | #define LSL_REG LSX_REG(LSL_REG, shl, 0) | ^~~~~~~ ../desmume/src/arm_jit.cpp:995:58: note: in expansion of macro 'LSL_REG' 995 | static int OP_RSC_LSL_REG(const u32 i) { OP_ARITHMETIC_R(LSL_REG; GET_CARRY(1), sbb, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSC_LSR_IMM(u32)': ../desmume/src/arm_jit.cpp:488:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 488 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:996:58: note: in expansion of macro 'LSR_IMM' 996 | static int OP_RSC_LSR_IMM(const u32 i) { OP_ARITHMETIC_R(LSR_IMM; GET_CARRY(1), sbb, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:498:13: warning: unused variable 'rhs_first' [-Wunused-variable] 498 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:996:58: note: in expansion of macro 'LSR_IMM' 996 | static int OP_RSC_LSR_IMM(const u32 i) { OP_ARITHMETIC_R(LSR_IMM; GET_CARRY(1), sbb, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSC_LSR_REG(u32)': ../desmume/src/arm_jit.cpp:615:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 615 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:673:17: note: in expansion of macro 'LSX_REG' 673 | #define LSR_REG LSX_REG(LSR_REG, shr, 0) | ^~~~~~~ ../desmume/src/arm_jit.cpp:997:58: note: in expansion of macro 'LSR_REG' 997 | static int OP_RSC_LSR_REG(const u32 i) { OP_ARITHMETIC_R(LSR_REG; GET_CARRY(1), sbb, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSC_ASR_IMM(u32)': ../desmume/src/arm_jit.cpp:522:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 522 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:998:58: note: in expansion of macro 'ASR_IMM' 998 | static int OP_RSC_ASR_IMM(const u32 i) { OP_ARITHMETIC_R(ASR_IMM; GET_CARRY(1), sbb, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:528:13: warning: unused variable 'rhs_first' [-Wunused-variable] 528 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:998:58: note: in expansion of macro 'ASR_IMM' 998 | static int OP_RSC_ASR_IMM(const u32 i) { OP_ARITHMETIC_R(ASR_IMM; GET_CARRY(1), sbb, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSC_ASR_REG(u32)': ../desmume/src/arm_jit.cpp:615:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 615 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:674:17: note: in expansion of macro 'LSX_REG' 674 | #define ASR_REG LSX_REG(ASR_REG, sar, 1) | ^~~~~~~ ../desmume/src/arm_jit.cpp:999:58: note: in expansion of macro 'ASR_REG' 999 | static int OP_RSC_ASR_REG(const u32 i) { OP_ARITHMETIC_R(ASR_REG; GET_CARRY(1), sbb, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSC_ROR_IMM(u32)': ../desmume/src/arm_jit.cpp:544:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 544 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1000:58: note: in expansion of macro 'ROR_IMM' 1000 | static int OP_RSC_ROR_IMM(const u32 i) { OP_ARITHMETIC_R(ROR_IMM; GET_CARRY(1), sbb, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:555:13: warning: unused variable 'rhs_first' [-Wunused-variable] 555 | u32 rhs_first = imm?ROR(cpu->R[REG_POS(i,0)], imm) : ((u32)cpu->CPSR.bits.C<<31)|(cpu->R[REG_POS(i,0)]>>1); | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1000:58: note: in expansion of macro 'ROR_IMM' 1000 | static int OP_RSC_ROR_IMM(const u32 i) { OP_ARITHMETIC_R(ROR_IMM; GET_CARRY(1), sbb, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSC_ROR_REG(u32)': ../desmume/src/arm_jit.cpp:681:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 681 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1001:58: note: in expansion of macro 'ROR_REG' 1001 | static int OP_RSC_ROR_REG(const u32 i) { OP_ARITHMETIC_R(ROR_REG; GET_CARRY(1), sbb, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSC_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:582:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 582 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1002:58: note: in expansion of macro 'IMM_VAL' 1002 | static int OP_RSC_IMM_VAL(const u32 i) { OP_ARITHMETIC_R(IMM_VAL; GET_CARRY(1), sbb, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1002:58: note: in expansion of macro 'IMM_VAL' 1002 | static int OP_RSC_IMM_VAL(const u32 i) { OP_ARITHMETIC_R(IMM_VAL; GET_CARRY(1), sbb, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSC_S_LSL_IMM(u32)': ../desmume/src/arm_jit.cpp:463:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 463 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1004:60: note: in expansion of macro 'LSL_IMM' 1004 | static int OP_RSC_S_LSL_IMM(const u32 i) { OP_ARITHMETIC_R(LSL_IMM; GET_CARRY(1), sbb, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:468:13: warning: unused variable 'rhs_first' [-Wunused-variable] 468 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1004:60: note: in expansion of macro 'LSL_IMM' 1004 | static int OP_RSC_S_LSL_IMM(const u32 i) { OP_ARITHMETIC_R(LSL_IMM; GET_CARRY(1), sbb, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSC_S_LSL_REG(u32)': ../desmume/src/arm_jit.cpp:615:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 615 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:672:17: note: in expansion of macro 'LSX_REG' 672 | #define LSL_REG LSX_REG(LSL_REG, shl, 0) | ^~~~~~~ ../desmume/src/arm_jit.cpp:1005:60: note: in expansion of macro 'LSL_REG' 1005 | static int OP_RSC_S_LSL_REG(const u32 i) { OP_ARITHMETIC_R(LSL_REG; GET_CARRY(1), sbb, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSC_S_LSR_IMM(u32)': ../desmume/src/arm_jit.cpp:488:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 488 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1006:60: note: in expansion of macro 'LSR_IMM' 1006 | static int OP_RSC_S_LSR_IMM(const u32 i) { OP_ARITHMETIC_R(LSR_IMM; GET_CARRY(1), sbb, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:498:13: warning: unused variable 'rhs_first' [-Wunused-variable] 498 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1006:60: note: in expansion of macro 'LSR_IMM' 1006 | static int OP_RSC_S_LSR_IMM(const u32 i) { OP_ARITHMETIC_R(LSR_IMM; GET_CARRY(1), sbb, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSC_S_LSR_REG(u32)': ../desmume/src/arm_jit.cpp:615:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 615 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:673:17: note: in expansion of macro 'LSX_REG' 673 | #define LSR_REG LSX_REG(LSR_REG, shr, 0) | ^~~~~~~ ../desmume/src/arm_jit.cpp:1007:60: note: in expansion of macro 'LSR_REG' 1007 | static int OP_RSC_S_LSR_REG(const u32 i) { OP_ARITHMETIC_R(LSR_REG; GET_CARRY(1), sbb, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSC_S_ASR_IMM(u32)': ../desmume/src/arm_jit.cpp:522:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 522 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1008:60: note: in expansion of macro 'ASR_IMM' 1008 | static int OP_RSC_S_ASR_IMM(const u32 i) { OP_ARITHMETIC_R(ASR_IMM; GET_CARRY(1), sbb, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:528:13: warning: unused variable 'rhs_first' [-Wunused-variable] 528 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1008:60: note: in expansion of macro 'ASR_IMM' 1008 | static int OP_RSC_S_ASR_IMM(const u32 i) { OP_ARITHMETIC_R(ASR_IMM; GET_CARRY(1), sbb, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSC_S_ASR_REG(u32)': ../desmume/src/arm_jit.cpp:615:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 615 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:674:17: note: in expansion of macro 'LSX_REG' 674 | #define ASR_REG LSX_REG(ASR_REG, sar, 1) | ^~~~~~~ ../desmume/src/arm_jit.cpp:1009:60: note: in expansion of macro 'ASR_REG' 1009 | static int OP_RSC_S_ASR_REG(const u32 i) { OP_ARITHMETIC_R(ASR_REG; GET_CARRY(1), sbb, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSC_S_ROR_IMM(u32)': ../desmume/src/arm_jit.cpp:544:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 544 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1010:60: note: in expansion of macro 'ROR_IMM' 1010 | static int OP_RSC_S_ROR_IMM(const u32 i) { OP_ARITHMETIC_R(ROR_IMM; GET_CARRY(1), sbb, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:555:13: warning: unused variable 'rhs_first' [-Wunused-variable] 555 | u32 rhs_first = imm?ROR(cpu->R[REG_POS(i,0)], imm) : ((u32)cpu->CPSR.bits.C<<31)|(cpu->R[REG_POS(i,0)]>>1); | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1010:60: note: in expansion of macro 'ROR_IMM' 1010 | static int OP_RSC_S_ROR_IMM(const u32 i) { OP_ARITHMETIC_R(ROR_IMM; GET_CARRY(1), sbb, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSC_S_ROR_REG(u32)': ../desmume/src/arm_jit.cpp:681:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 681 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1011:60: note: in expansion of macro 'ROR_REG' 1011 | static int OP_RSC_S_ROR_REG(const u32 i) { OP_ARITHMETIC_R(ROR_REG; GET_CARRY(1), sbb, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_RSC_S_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:582:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 582 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1012:60: note: in expansion of macro 'IMM_VAL' 1012 | static int OP_RSC_S_IMM_VAL(const u32 i) { OP_ARITHMETIC_R(IMM_VAL; GET_CARRY(1), sbb, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:779:5: note: in definition of macro 'OP_ARITHMETIC_R' 779 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1012:60: note: in expansion of macro 'IMM_VAL' 1012 | static int OP_RSC_S_IMM_VAL(const u32 i) { OP_ARITHMETIC_R(IMM_VAL; GET_CARRY(1), sbb, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_BIC_LSL_IMM(u32)': ../desmume/src/arm_jit.cpp:468:13: warning: unused variable 'rhs_first' [-Wunused-variable] 468 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1014:56: note: in expansion of macro 'LSL_IMM' 1014 | static int OP_BIC_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM; c.not_(rhs), and_, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_BIC_LSR_IMM(u32)': ../desmume/src/arm_jit.cpp:498:13: warning: unused variable 'rhs_first' [-Wunused-variable] 498 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1016:56: note: in expansion of macro 'LSR_IMM' 1016 | static int OP_BIC_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM; c.not_(rhs), and_, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_BIC_ASR_IMM(u32)': ../desmume/src/arm_jit.cpp:528:13: warning: unused variable 'rhs_first' [-Wunused-variable] 528 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1018:56: note: in expansion of macro 'ASR_IMM' 1018 | static int OP_BIC_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM; c.not_(rhs), and_, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_BIC_ROR_IMM(u32)': ../desmume/src/arm_jit.cpp:555:13: warning: unused variable 'rhs_first' [-Wunused-variable] 555 | u32 rhs_first = imm?ROR(cpu->R[REG_POS(i,0)], imm) : ((u32)cpu->CPSR.bits.C<<31)|(cpu->R[REG_POS(i,0)]>>1); | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1020:56: note: in expansion of macro 'ROR_IMM' 1020 | static int OP_BIC_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM; c.not_(rhs), and_, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_BIC_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:741:5: note: in definition of macro 'OP_ARITHMETIC' 741 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1022:56: note: in expansion of macro 'IMM_VAL' 1022 | static int OP_BIC_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL; rhs = ~rhs, and_, 1, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_BIC_S_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:598:13: warning: unused variable 'rhs_first' [-Wunused-variable] 598 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:805:5: note: in definition of macro 'OP_ARITHMETIC_S' 805 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1032:60: note: in expansion of macro 'S_IMM_VAL' 1032 | static int OP_BIC_S_IMM_VAL(const u32 i) { OP_ARITHMETIC_S(S_IMM_VAL; rhs = ~rhs, and_, 1); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_TST_LSL_IMM(u32)': ../desmume/src/arm_jit.cpp:472:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 472 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1038:9: note: in definition of macro 'OP_TST_' 1038 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1043:50: note: in expansion of macro 'S_LSL_IMM' 1043 | static int OP_TST_LSL_IMM(const u32 i) { OP_TST_(S_LSL_IMM); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_TST_LSL_REG(u32)': ../desmume/src/arm_jit.cpp:631:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 631 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1038:9: note: in definition of macro 'OP_TST_' 1038 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:675:19: note: in expansion of macro 'S_LSX_REG' 675 | #define S_LSL_REG S_LSX_REG(S_LSL_REG, shl, 0) | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1044:50: note: in expansion of macro 'S_LSL_REG' 1044 | static int OP_TST_LSL_REG(const u32 i) { OP_TST_(S_LSL_REG); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_TST_LSR_IMM(u32)': ../desmume/src/arm_jit.cpp:502:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 502 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1038:9: note: in definition of macro 'OP_TST_' 1038 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1045:50: note: in expansion of macro 'S_LSR_IMM' 1045 | static int OP_TST_LSR_IMM(const u32 i) { OP_TST_(S_LSR_IMM); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_TST_LSR_REG(u32)': ../desmume/src/arm_jit.cpp:631:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 631 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1038:9: note: in definition of macro 'OP_TST_' 1038 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:676:19: note: in expansion of macro 'S_LSX_REG' 676 | #define S_LSR_REG S_LSX_REG(S_LSR_REG, shr, 0) | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1046:50: note: in expansion of macro 'S_LSR_REG' 1046 | static int OP_TST_LSR_REG(const u32 i) { OP_TST_(S_LSR_REG); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_TST_ASR_IMM(u32)': ../desmume/src/arm_jit.cpp:532:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 532 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1038:9: note: in definition of macro 'OP_TST_' 1038 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1047:50: note: in expansion of macro 'S_ASR_IMM' 1047 | static int OP_TST_ASR_IMM(const u32 i) { OP_TST_(S_ASR_IMM); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_TST_ASR_REG(u32)': ../desmume/src/arm_jit.cpp:631:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 631 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1038:9: note: in definition of macro 'OP_TST_' 1038 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:677:19: note: in expansion of macro 'S_LSX_REG' 677 | #define S_ASR_REG S_LSX_REG(S_ASR_REG, sar, 1) | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1048:50: note: in expansion of macro 'S_ASR_REG' 1048 | static int OP_TST_ASR_REG(const u32 i) { OP_TST_(S_ASR_REG); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_TST_ROR_IMM(u32)': ../desmume/src/arm_jit.cpp:559:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 559 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1038:9: note: in definition of macro 'OP_TST_' 1038 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1049:50: note: in expansion of macro 'S_ROR_IMM' 1049 | static int OP_TST_ROR_IMM(const u32 i) { OP_TST_(S_ROR_IMM); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_TST_ROR_REG(u32)': ../desmume/src/arm_jit.cpp:690:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 690 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1038:9: note: in definition of macro 'OP_TST_' 1038 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1050:50: note: in expansion of macro 'S_ROR_REG' 1050 | static int OP_TST_ROR_REG(const u32 i) { OP_TST_(S_ROR_REG); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_TST_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:588:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 588 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1038:9: note: in definition of macro 'OP_TST_' 1038 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1051:50: note: in expansion of macro 'S_IMM_VAL' 1051 | static int OP_TST_IMM_VAL(const u32 i) { OP_TST_(S_IMM_VAL); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:598:13: warning: unused variable 'rhs_first' [-Wunused-variable] 598 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1038:9: note: in definition of macro 'OP_TST_' 1038 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1051:50: note: in expansion of macro 'S_IMM_VAL' 1051 | static int OP_TST_IMM_VAL(const u32 i) { OP_TST_(S_IMM_VAL); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_TEQ_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:598:13: warning: unused variable 'rhs_first' [-Wunused-variable] 598 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1057:9: note: in definition of macro 'OP_TEQ_' 1057 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1077:50: note: in expansion of macro 'S_IMM_VAL' 1077 | static int OP_TEQ_IMM_VAL(const u32 i) { OP_TEQ_(S_IMM_VAL); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_CMP_LSL_IMM(u32)': ../desmume/src/arm_jit.cpp:463:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 463 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1083:9: note: in definition of macro 'OP_CMP' 1083 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1088:49: note: in expansion of macro 'LSL_IMM' 1088 | static int OP_CMP_LSL_IMM(const u32 i) { OP_CMP(LSL_IMM); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:468:13: warning: unused variable 'rhs_first' [-Wunused-variable] 468 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1083:9: note: in definition of macro 'OP_CMP' 1083 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1088:49: note: in expansion of macro 'LSL_IMM' 1088 | static int OP_CMP_LSL_IMM(const u32 i) { OP_CMP(LSL_IMM); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_CMP_LSL_REG(u32)': ../desmume/src/arm_jit.cpp:615:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 615 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1083:9: note: in definition of macro 'OP_CMP' 1083 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:672:17: note: in expansion of macro 'LSX_REG' 672 | #define LSL_REG LSX_REG(LSL_REG, shl, 0) | ^~~~~~~ ../desmume/src/arm_jit.cpp:1089:49: note: in expansion of macro 'LSL_REG' 1089 | static int OP_CMP_LSL_REG(const u32 i) { OP_CMP(LSL_REG); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_CMP_LSR_IMM(u32)': ../desmume/src/arm_jit.cpp:488:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 488 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1083:9: note: in definition of macro 'OP_CMP' 1083 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1090:49: note: in expansion of macro 'LSR_IMM' 1090 | static int OP_CMP_LSR_IMM(const u32 i) { OP_CMP(LSR_IMM); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:498:13: warning: unused variable 'rhs_first' [-Wunused-variable] 498 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1083:9: note: in definition of macro 'OP_CMP' 1083 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1090:49: note: in expansion of macro 'LSR_IMM' 1090 | static int OP_CMP_LSR_IMM(const u32 i) { OP_CMP(LSR_IMM); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_CMP_LSR_REG(u32)': ../desmume/src/arm_jit.cpp:615:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 615 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1083:9: note: in definition of macro 'OP_CMP' 1083 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:673:17: note: in expansion of macro 'LSX_REG' 673 | #define LSR_REG LSX_REG(LSR_REG, shr, 0) | ^~~~~~~ ../desmume/src/arm_jit.cpp:1091:49: note: in expansion of macro 'LSR_REG' 1091 | static int OP_CMP_LSR_REG(const u32 i) { OP_CMP(LSR_REG); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_CMP_ASR_IMM(u32)': ../desmume/src/arm_jit.cpp:522:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 522 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1083:9: note: in definition of macro 'OP_CMP' 1083 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1092:49: note: in expansion of macro 'ASR_IMM' 1092 | static int OP_CMP_ASR_IMM(const u32 i) { OP_CMP(ASR_IMM); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:528:13: warning: unused variable 'rhs_first' [-Wunused-variable] 528 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1083:9: note: in definition of macro 'OP_CMP' 1083 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1092:49: note: in expansion of macro 'ASR_IMM' 1092 | static int OP_CMP_ASR_IMM(const u32 i) { OP_CMP(ASR_IMM); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_CMP_ASR_REG(u32)': ../desmume/src/arm_jit.cpp:615:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 615 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1083:9: note: in definition of macro 'OP_CMP' 1083 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:674:17: note: in expansion of macro 'LSX_REG' 674 | #define ASR_REG LSX_REG(ASR_REG, sar, 1) | ^~~~~~~ ../desmume/src/arm_jit.cpp:1093:49: note: in expansion of macro 'ASR_REG' 1093 | static int OP_CMP_ASR_REG(const u32 i) { OP_CMP(ASR_REG); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_CMP_ROR_IMM(u32)': ../desmume/src/arm_jit.cpp:544:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 544 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1083:9: note: in definition of macro 'OP_CMP' 1083 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1094:49: note: in expansion of macro 'ROR_IMM' 1094 | static int OP_CMP_ROR_IMM(const u32 i) { OP_CMP(ROR_IMM); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:555:13: warning: unused variable 'rhs_first' [-Wunused-variable] 555 | u32 rhs_first = imm?ROR(cpu->R[REG_POS(i,0)], imm) : ((u32)cpu->CPSR.bits.C<<31)|(cpu->R[REG_POS(i,0)]>>1); | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1083:9: note: in definition of macro 'OP_CMP' 1083 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1094:49: note: in expansion of macro 'ROR_IMM' 1094 | static int OP_CMP_ROR_IMM(const u32 i) { OP_CMP(ROR_IMM); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_CMP_ROR_REG(u32)': ../desmume/src/arm_jit.cpp:681:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 681 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1083:9: note: in definition of macro 'OP_CMP' 1083 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1095:49: note: in expansion of macro 'ROR_REG' 1095 | static int OP_CMP_ROR_REG(const u32 i) { OP_CMP(ROR_REG); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_CMP_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:582:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 582 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1083:9: note: in definition of macro 'OP_CMP' 1083 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1096:49: note: in expansion of macro 'IMM_VAL' 1096 | static int OP_CMP_IMM_VAL(const u32 i) { OP_CMP(IMM_VAL); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1083:9: note: in definition of macro 'OP_CMP' 1083 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1096:49: note: in expansion of macro 'IMM_VAL' 1096 | static int OP_CMP_IMM_VAL(const u32 i) { OP_CMP(IMM_VAL); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_CMN_LSL_IMM(u32)': ../desmume/src/arm_jit.cpp:468:13: warning: unused variable 'rhs_first' [-Wunused-variable] 468 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1103:9: note: in definition of macro 'OP_CMN' 1103 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1117:49: note: in expansion of macro 'LSL_IMM' 1117 | static int OP_CMN_LSL_IMM(const u32 i) { OP_CMN(LSL_IMM); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_CMN_LSR_IMM(u32)': ../desmume/src/arm_jit.cpp:498:13: warning: unused variable 'rhs_first' [-Wunused-variable] 498 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1103:9: note: in definition of macro 'OP_CMN' 1103 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1119:49: note: in expansion of macro 'LSR_IMM' 1119 | static int OP_CMN_LSR_IMM(const u32 i) { OP_CMN(LSR_IMM); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_CMN_ASR_IMM(u32)': ../desmume/src/arm_jit.cpp:528:13: warning: unused variable 'rhs_first' [-Wunused-variable] 528 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1103:9: note: in definition of macro 'OP_CMN' 1103 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1121:49: note: in expansion of macro 'ASR_IMM' 1121 | static int OP_CMN_ASR_IMM(const u32 i) { OP_CMN(ASR_IMM); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_CMN_ROR_IMM(u32)': ../desmume/src/arm_jit.cpp:555:13: warning: unused variable 'rhs_first' [-Wunused-variable] 555 | u32 rhs_first = imm?ROR(cpu->R[REG_POS(i,0)], imm) : ((u32)cpu->CPSR.bits.C<<31)|(cpu->R[REG_POS(i,0)]>>1); | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1103:9: note: in definition of macro 'OP_CMN' 1103 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1123:49: note: in expansion of macro 'ROR_IMM' 1123 | static int OP_CMN_ROR_IMM(const u32 i) { OP_CMN(ROR_IMM); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_CMN_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1103:9: note: in definition of macro 'OP_CMN' 1103 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1125:49: note: in expansion of macro 'IMM_VAL' 1125 | static int OP_CMN_IMM_VAL(const u32 i) { OP_CMN(IMM_VAL); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MOV_LSL_IMM(u32)': ../desmume/src/arm_jit.cpp:463:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 463 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1141:114: note: in expansion of macro 'LSL_IMM' 1141 | static int OP_MOV_LSL_IMM(const u32 i) { if (i == 0xE1A00000) { /* nop */ JIT_COMMENT("nop"); return 1; } OP_MOV(LSL_IMM); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:468:13: warning: unused variable 'rhs_first' [-Wunused-variable] 468 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1141:114: note: in expansion of macro 'LSL_IMM' 1141 | static int OP_MOV_LSL_IMM(const u32 i) { if (i == 0xE1A00000) { /* nop */ JIT_COMMENT("nop"); return 1; } OP_MOV(LSL_IMM); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MOV_LSL_REG(u32)': ../desmume/src/arm_jit.cpp:615:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 615 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:672:17: note: in expansion of macro 'LSX_REG' 672 | #define LSL_REG LSX_REG(LSL_REG, shl, 0) | ^~~~~~~ ../desmume/src/arm_jit.cpp:1142:49: note: in expansion of macro 'LSL_REG' 1142 | static int OP_MOV_LSL_REG(const u32 i) { OP_MOV(LSL_REG; if (REG_POS(i,0) == 15) c.add(rhs, 4);); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MOV_LSR_IMM(u32)': ../desmume/src/arm_jit.cpp:488:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 488 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1143:49: note: in expansion of macro 'LSR_IMM' 1143 | static int OP_MOV_LSR_IMM(const u32 i) { OP_MOV(LSR_IMM); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:498:13: warning: unused variable 'rhs_first' [-Wunused-variable] 498 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1143:49: note: in expansion of macro 'LSR_IMM' 1143 | static int OP_MOV_LSR_IMM(const u32 i) { OP_MOV(LSR_IMM); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MOV_LSR_REG(u32)': ../desmume/src/arm_jit.cpp:615:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 615 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:673:17: note: in expansion of macro 'LSX_REG' 673 | #define LSR_REG LSX_REG(LSR_REG, shr, 0) | ^~~~~~~ ../desmume/src/arm_jit.cpp:1144:49: note: in expansion of macro 'LSR_REG' 1144 | static int OP_MOV_LSR_REG(const u32 i) { OP_MOV(LSR_REG; if (REG_POS(i,0) == 15) c.add(rhs, 4);); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MOV_ASR_IMM(u32)': ../desmume/src/arm_jit.cpp:522:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 522 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1145:49: note: in expansion of macro 'ASR_IMM' 1145 | static int OP_MOV_ASR_IMM(const u32 i) { OP_MOV(ASR_IMM); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:528:13: warning: unused variable 'rhs_first' [-Wunused-variable] 528 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1145:49: note: in expansion of macro 'ASR_IMM' 1145 | static int OP_MOV_ASR_IMM(const u32 i) { OP_MOV(ASR_IMM); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MOV_ASR_REG(u32)': ../desmume/src/arm_jit.cpp:615:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 615 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:674:17: note: in expansion of macro 'LSX_REG' 674 | #define ASR_REG LSX_REG(ASR_REG, sar, 1) | ^~~~~~~ ../desmume/src/arm_jit.cpp:1146:49: note: in expansion of macro 'ASR_REG' 1146 | static int OP_MOV_ASR_REG(const u32 i) { OP_MOV(ASR_REG); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MOV_ROR_IMM(u32)': ../desmume/src/arm_jit.cpp:544:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 544 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1147:49: note: in expansion of macro 'ROR_IMM' 1147 | static int OP_MOV_ROR_IMM(const u32 i) { OP_MOV(ROR_IMM); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:555:13: warning: unused variable 'rhs_first' [-Wunused-variable] 555 | u32 rhs_first = imm?ROR(cpu->R[REG_POS(i,0)], imm) : ((u32)cpu->CPSR.bits.C<<31)|(cpu->R[REG_POS(i,0)]>>1); | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1147:49: note: in expansion of macro 'ROR_IMM' 1147 | static int OP_MOV_ROR_IMM(const u32 i) { OP_MOV(ROR_IMM); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MOV_ROR_REG(u32)': ../desmume/src/arm_jit.cpp:681:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 681 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1148:49: note: in expansion of macro 'ROR_REG' 1148 | static int OP_MOV_ROR_REG(const u32 i) { OP_MOV(ROR_REG); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MOV_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:582:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 582 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1149:49: note: in expansion of macro 'IMM_VAL' 1149 | static int OP_MOV_IMM_VAL(const u32 i) { OP_MOV(IMM_VAL); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1149:49: note: in expansion of macro 'IMM_VAL' 1149 | static int OP_MOV_IMM_VAL(const u32 i) { OP_MOV(IMM_VAL); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MOV_S_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:598:13: warning: unused variable 'rhs_first' [-Wunused-variable] 598 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1152:5: note: in definition of macro 'OP_MOV_S' 1152 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1175:53: note: in expansion of macro 'S_IMM_VAL' 1175 | static int OP_MOV_S_IMM_VAL(const u32 i) { OP_MOV_S(S_IMM_VAL); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MVN_LSL_IMM(u32)': ../desmume/src/arm_jit.cpp:463:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 463 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1180:49: note: in expansion of macro 'LSL_IMM' 1180 | static int OP_MVN_LSL_IMM(const u32 i) { OP_MOV(LSL_IMM; c.not_(rhs)); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:468:13: warning: unused variable 'rhs_first' [-Wunused-variable] 468 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1180:49: note: in expansion of macro 'LSL_IMM' 1180 | static int OP_MVN_LSL_IMM(const u32 i) { OP_MOV(LSL_IMM; c.not_(rhs)); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MVN_LSL_REG(u32)': ../desmume/src/arm_jit.cpp:615:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 615 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:672:17: note: in expansion of macro 'LSX_REG' 672 | #define LSL_REG LSX_REG(LSL_REG, shl, 0) | ^~~~~~~ ../desmume/src/arm_jit.cpp:1181:49: note: in expansion of macro 'LSL_REG' 1181 | static int OP_MVN_LSL_REG(const u32 i) { OP_MOV(LSL_REG; c.not_(rhs)); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MVN_LSR_IMM(u32)': ../desmume/src/arm_jit.cpp:488:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 488 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1182:49: note: in expansion of macro 'LSR_IMM' 1182 | static int OP_MVN_LSR_IMM(const u32 i) { OP_MOV(LSR_IMM; c.not_(rhs)); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:498:13: warning: unused variable 'rhs_first' [-Wunused-variable] 498 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1182:49: note: in expansion of macro 'LSR_IMM' 1182 | static int OP_MVN_LSR_IMM(const u32 i) { OP_MOV(LSR_IMM; c.not_(rhs)); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MVN_LSR_REG(u32)': ../desmume/src/arm_jit.cpp:615:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 615 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:673:17: note: in expansion of macro 'LSX_REG' 673 | #define LSR_REG LSX_REG(LSR_REG, shr, 0) | ^~~~~~~ ../desmume/src/arm_jit.cpp:1183:49: note: in expansion of macro 'LSR_REG' 1183 | static int OP_MVN_LSR_REG(const u32 i) { OP_MOV(LSR_REG; c.not_(rhs)); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MVN_ASR_IMM(u32)': ../desmume/src/arm_jit.cpp:522:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 522 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1184:49: note: in expansion of macro 'ASR_IMM' 1184 | static int OP_MVN_ASR_IMM(const u32 i) { OP_MOV(ASR_IMM; c.not_(rhs)); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:528:13: warning: unused variable 'rhs_first' [-Wunused-variable] 528 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1184:49: note: in expansion of macro 'ASR_IMM' 1184 | static int OP_MVN_ASR_IMM(const u32 i) { OP_MOV(ASR_IMM; c.not_(rhs)); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MVN_ASR_REG(u32)': ../desmume/src/arm_jit.cpp:615:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 615 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:674:17: note: in expansion of macro 'LSX_REG' 674 | #define ASR_REG LSX_REG(ASR_REG, sar, 1) | ^~~~~~~ ../desmume/src/arm_jit.cpp:1185:49: note: in expansion of macro 'ASR_REG' 1185 | static int OP_MVN_ASR_REG(const u32 i) { OP_MOV(ASR_REG; c.not_(rhs)); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MVN_ROR_IMM(u32)': ../desmume/src/arm_jit.cpp:544:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 544 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1186:49: note: in expansion of macro 'ROR_IMM' 1186 | static int OP_MVN_ROR_IMM(const u32 i) { OP_MOV(ROR_IMM; c.not_(rhs)); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:555:13: warning: unused variable 'rhs_first' [-Wunused-variable] 555 | u32 rhs_first = imm?ROR(cpu->R[REG_POS(i,0)], imm) : ((u32)cpu->CPSR.bits.C<<31)|(cpu->R[REG_POS(i,0)]>>1); | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1186:49: note: in expansion of macro 'ROR_IMM' 1186 | static int OP_MVN_ROR_IMM(const u32 i) { OP_MOV(ROR_IMM; c.not_(rhs)); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MVN_ROR_REG(u32)': ../desmume/src/arm_jit.cpp:681:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 681 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1187:49: note: in expansion of macro 'ROR_REG' 1187 | static int OP_MVN_ROR_REG(const u32 i) { OP_MOV(ROR_REG; c.not_(rhs)); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MVN_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:582:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 582 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1188:49: note: in expansion of macro 'IMM_VAL' 1188 | static int OP_MVN_IMM_VAL(const u32 i) { OP_MOV(IMM_VAL; rhs = ~rhs); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1132:5: note: in definition of macro 'OP_MOV' 1132 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1188:49: note: in expansion of macro 'IMM_VAL' 1188 | static int OP_MVN_IMM_VAL(const u32 i) { OP_MOV(IMM_VAL; rhs = ~rhs); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MVN_S_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:598:13: warning: unused variable 'rhs_first' [-Wunused-variable] 598 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1152:5: note: in definition of macro 'OP_MOV_S' 1152 | arg; \ | ^~~ ../desmume/src/arm_jit.cpp:1198:53: note: in expansion of macro 'S_IMM_VAL' 1198 | static int OP_MVN_S_IMM_VAL(const u32 i) { OP_MOV_S(S_IMM_VAL; rhs = ~rhs); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MSR_CPSR(u32)': ../desmume/src/arm_jit.cpp:576:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 576 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1411:9: note: in definition of macro 'OP_MSR_' 1411 | args; \ | ^~~~ ../desmume/src/arm_jit.cpp:1524:53: note: in expansion of macro 'REG_OFF' 1524 | static int OP_MSR_CPSR(const u32 i) { OP_MSR_(CPSR, REG_OFF, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = cpu->R[REG_POS(i,0)]; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1411:9: note: in definition of macro 'OP_MSR_' 1411 | args; \ | ^~~~ ../desmume/src/arm_jit.cpp:1524:53: note: in expansion of macro 'REG_OFF' 1524 | static int OP_MSR_CPSR(const u32 i) { OP_MSR_(CPSR, REG_OFF, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MSR_SPSR(u32)': ../desmume/src/arm_jit.cpp:576:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 576 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1411:9: note: in definition of macro 'OP_MSR_' 1411 | args; \ | ^~~~ ../desmume/src/arm_jit.cpp:1525:53: note: in expansion of macro 'REG_OFF' 1525 | static int OP_MSR_SPSR(const u32 i) { OP_MSR_(SPSR, REG_OFF, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = cpu->R[REG_POS(i,0)]; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1411:9: note: in definition of macro 'OP_MSR_' 1411 | args; \ | ^~~~ ../desmume/src/arm_jit.cpp:1525:53: note: in expansion of macro 'REG_OFF' 1525 | static int OP_MSR_SPSR(const u32 i) { OP_MSR_(SPSR, REG_OFF, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MSR_CPSR_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:582:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 582 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1411:9: note: in definition of macro 'OP_MSR_' 1411 | args; \ | ^~~~ ../desmume/src/arm_jit.cpp:1526:61: note: in expansion of macro 'IMM_VAL' 1526 | static int OP_MSR_CPSR_IMM_VAL(const u32 i) { OP_MSR_(CPSR, IMM_VAL, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1411:9: note: in definition of macro 'OP_MSR_' 1411 | args; \ | ^~~~ ../desmume/src/arm_jit.cpp:1526:61: note: in expansion of macro 'IMM_VAL' 1526 | static int OP_MSR_CPSR_IMM_VAL(const u32 i) { OP_MSR_(CPSR, IMM_VAL, 1); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_MSR_SPSR_IMM_VAL(u32)': ../desmume/src/arm_jit.cpp:582:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 582 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1411:9: note: in definition of macro 'OP_MSR_' 1411 | args; \ | ^~~~ ../desmume/src/arm_jit.cpp:1527:61: note: in expansion of macro 'IMM_VAL' 1527 | static int OP_MSR_SPSR_IMM_VAL(const u32 i) { OP_MSR_(SPSR, IMM_VAL, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp:584:13: warning: unused variable 'rhs_first' [-Wunused-variable] 584 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1411:9: note: in definition of macro 'OP_MSR_' 1411 | args; \ | ^~~~ ../desmume/src/arm_jit.cpp:1527:61: note: in expansion of macro 'IMM_VAL' 1527 | static int OP_MSR_SPSR_IMM_VAL(const u32 i) { OP_MSR_(SPSR, IMM_VAL, 0); } | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_LDRD_STRD_POST_INDEX(u32)': ../desmume/src/arm_jit.cpp:602:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 602 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:1972:17: note: in expansion of macro 'IMM_OFF' 1972 | IMM_OFF; | ^~~~~~~ ../desmume/src/arm_jit.cpp:604:13: warning: unused variable 'rhs_first' [-Wunused-variable] 604 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:1972:17: note: in expansion of macro 'IMM_OFF' 1972 | IMM_OFF; | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_LDRD_STRD_OFFSET_PRE_INDEX(u32)': ../desmume/src/arm_jit.cpp:602:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 602 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ ../desmume/src/arm_jit.cpp:2013:17: note: in expansion of macro 'IMM_OFF' 2013 | IMM_OFF; | ^~~~~~~ ../desmume/src/arm_jit.cpp:604:13: warning: unused variable 'rhs_first' [-Wunused-variable] 604 | u32 rhs_first = rhs; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp:2013:17: note: in expansion of macro 'IMM_OFF' 2013 | IMM_OFF; | ^~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int op_ldm_stm2(u32, bool, int, bool, bool)': ../desmume/src/arm_jit.cpp:2355:13: warning: unused variable 'adr_first' [-Wunused-variable] 2355 | u32 adr_first = cpu->R[REG_POS(i, 16)]; | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_STRB_IMM_OFF(u32)': ../desmume/src/arm_jit.cpp:3516:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 3516 | if ((offset) != -1) \ | ~~~~~~~~~^~~~~ ../desmume/src/arm_jit.cpp:3564:43: note: in expansion of macro 'STR_THUMB' 3564 | static int OP_STRB_IMM_OFF(const u32 i) { STR_THUMB(STRB, ((i>>6)&0x1F)); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_LDRB_IMM_OFF(u32)': ../desmume/src/arm_jit.cpp:3543:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 3543 | if ((offset) != -1) \ | ~~~~~~~~~^~~~~ ../desmume/src/arm_jit.cpp:3565:43: note: in expansion of macro 'LDR_THUMB' 3565 | static int OP_LDRB_IMM_OFF(const u32 i) { LDR_THUMB(LDRB, ((i>>6)&0x1F)); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_STRH_IMM_OFF(u32)': ../desmume/src/arm_jit.cpp:3516:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 3516 | if ((offset) != -1) \ | ~~~~~~~~~^~~~~ ../desmume/src/arm_jit.cpp:3570:43: note: in expansion of macro 'STR_THUMB' 3570 | static int OP_STRH_IMM_OFF(const u32 i) { STR_THUMB(STRH, ((i>>5)&0x3E)); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_LDRH_IMM_OFF(u32)': ../desmume/src/arm_jit.cpp:3543:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 3543 | if ((offset) != -1) \ | ~~~~~~~~~^~~~~ ../desmume/src/arm_jit.cpp:3571:43: note: in expansion of macro 'LDR_THUMB' 3571 | static int OP_LDRH_IMM_OFF(const u32 i) { LDR_THUMB(LDRH, ((i>>5)&0x3E)); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_STR_IMM_OFF(u32)': ../desmume/src/arm_jit.cpp:3516:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 3516 | if ((offset) != -1) \ | ~~~~~~~~~^~~~~ ../desmume/src/arm_jit.cpp:3576:42: note: in expansion of macro 'STR_THUMB' 3576 | static int OP_STR_IMM_OFF(const u32 i) { STR_THUMB(STR, ((i>>4)&0x7C)); } | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'int OP_LDR_IMM_OFF(u32)': ../desmume/src/arm_jit.cpp:3543:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 3543 | if ((offset) != -1) \ | ~~~~~~~~~^~~~~ ../desmume/src/arm_jit.cpp:3577:42: note: in expansion of macro 'LDR_THUMB' 3577 | static int OP_LDR_IMM_OFF(const u32 i) { LDR_THUMB(LDR, ((i>>4)&0x7C)); } // FIXME: tempValue = (tempValue>>adr) | (tempValue<<(32-adr)); | ^~~~~~~~~ ../desmume/src/arm_jit.cpp: In function 'void arm_jit_reset(bool, bool)': ../desmume/src/arm_jit.cpp:4286:54: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 4286 | #define JITFREE(x) for(int iii=0;iiifree((void*)x[iii]); memset(x,0,sizeof(x)); ../desmume/src/arm_jit.cpp:4287:25: note: in expansion of macro 'JITFREE' 4287 | JITFREE(JIT.MAIN_MEM); | ^~~~~~~ ../desmume/src/arm_jit.cpp:4286:54: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 4286 | #define JITFREE(x) for(int iii=0;iiifree((void*)x[iii]); memset(x,0,sizeof(x)); ../desmume/src/arm_jit.cpp:4288:25: note: in expansion of macro 'JITFREE' 4288 | JITFREE(JIT.SWIRAM); | ^~~~~~~ ../desmume/src/arm_jit.cpp:4286:54: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 4286 | #define JITFREE(x) for(int iii=0;iiifree((void*)x[iii]); memset(x,0,sizeof(x)); ../desmume/src/arm_jit.cpp:4289:25: note: in expansion of macro 'JITFREE' 4289 | JITFREE(JIT.ARM9_ITCM); | ^~~~~~~ ../desmume/src/arm_jit.cpp:4286:54: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 4286 | #define JITFREE(x) for(int iii=0;iiifree((void*)x[iii]); memset(x,0,sizeof(x)); ../desmume/src/arm_jit.cpp:4290:25: note: in expansion of macro 'JITFREE' 4290 | JITFREE(JIT.ARM9_LCDC); | ^~~~~~~ ../desmume/src/arm_jit.cpp:4286:54: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 4286 | #define JITFREE(x) for(int iii=0;iiifree((void*)x[iii]); memset(x,0,sizeof(x)); ../desmume/src/arm_jit.cpp:4291:25: note: in expansion of macro 'JITFREE' 4291 | JITFREE(JIT.ARM9_BIOS); | ^~~~~~~ ../desmume/src/arm_jit.cpp:4286:54: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 4286 | #define JITFREE(x) for(int iii=0;iiifree((void*)x[iii]); memset(x,0,sizeof(x)); ../desmume/src/arm_jit.cpp:4292:25: note: in expansion of macro 'JITFREE' 4292 | JITFREE(JIT.ARM7_BIOS); | ^~~~~~~ ../desmume/src/arm_jit.cpp:4286:54: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 4286 | #define JITFREE(x) for(int iii=0;iiifree((void*)x[iii]); memset(x,0,sizeof(x)); ../desmume/src/arm_jit.cpp:4293:25: note: in expansion of macro 'JITFREE' 4293 | JITFREE(JIT.ARM7_ERAM); | ^~~~~~~ ../desmume/src/arm_jit.cpp:4286:54: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 4286 | #define JITFREE(x) for(int iii=0;iiifree((void*)x[iii]); memset(x,0,sizeof(x)); ../desmume/src/arm_jit.cpp:4294:25: note: in expansion of macro 'JITFREE' 4294 | JITFREE(JIT.ARM7_WIRAM); | ^~~~~~~ ../desmume/src/arm_jit.cpp:4286:54: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 4286 | #define JITFREE(x) for(int iii=0;iiifree((void*)x[iii]); memset(x,0,sizeof(x)); ../desmume/src/arm_jit.cpp:4295:25: note: in expansion of macro 'JITFREE' 4295 | JITFREE(JIT.ARM7_WRAM); | ^~~~~~~ ../desmume/src/arm_jit.cpp: At global scope: ../desmume/src/arm_jit.cpp:3962:20: warning: 'const char* disassemble(u32)' defined but not used [-Wunused-function] 3962 | static const char *disassemble(u32 opcode) | ^~~~~~~~~~~ In file included from ../desmume/src/MMU.h:24, from ../desmume/src/arm_instructions.cpp:33: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/GPU.cpp:1336: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 1336 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/GPU.cpp:1376: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 1376 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/GPU.cpp:3611: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 3611 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/GPU.cpp:4169: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 4169 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/GPU.cpp:4200: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 4200 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/GPU.cpp:4219: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 4219 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/GPU.cpp:4336: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 4336 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/GPU.cpp:4353: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 4353 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/GPU.cpp:6434: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 6434 | #pragma LOOPVECTORIZE_DISABLE | ../desmume/src/GPU.cpp:6481: warning: ignoring '#pragma LOOPVECTORIZE_DISABLE ' [-Wunknown-pragmas] 6481 | #pragma LOOPVECTORIZE_DISABLE | In file included from ../desmume/src/GPU.cpp:21: ../desmume/src/GPU.h:1840:7: warning: 'class GPUEventHandler' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 1840 | class GPUEventHandler | ^~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: base class 'class GPUEventHandler' has accessible non-virtual destructor [-Wnon-virtual-dtor] 1856 | class GPUEventHandlerDefault : public GPUEventHandler | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/GPU.h:1856:7: warning: 'class GPUEventHandlerDefault' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/MMU.h:24, from ../desmume/src/GPU.cpp:30: ../desmume/src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': ../desmume/src/firmware.h:428:13: warning: 'CFIRMWARE::_userDataAddr' will be initialized after [-Wreorder] 428 | u32 _userDataAddr; | ^~~~~~~~~~~~~ ../desmume/src/firmware.h:427:14: warning:  'bool CFIRMWARE::_isLoaded' [-Wreorder] 427 | bool _isLoaded; | ^~~~~~~~~ ../desmume/src/firmware.h:435:9: warning:  when initialized here [-Wreorder] 435 | CFIRMWARE(): _userDataAddr(0x3FE00), _isLoaded(false) {}; | ^~~~~~~~~ In file included from ../desmume/src/MMU.h:27: ../desmume/src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': ../desmume/src/NDSSystem.h:340:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 340 | u32 chipID; | ^~~~~~ ../desmume/src/NDSSystem.h:335:13: warning:  'u32 GameInfo::romsize' [-Wreorder] 335 | u32 romsize; | ^~~~~~~ ../desmume/src/NDSSystem.h:352:9: warning:  when initialized here [-Wreorder] 352 | GameInfo() : fROM(NULL), | ^~~~~~~~ ../desmume/src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': ../desmume/src/NDSSystem.h:629:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 629 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:579:14: warning:  'bool TCommonSettings::loadToMemory' [-Wreorder] 579 | bool loadToMemory; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:589:14: warning: 'TCommonSettings::UseExtFirmwareSettings' will be initialized after [-Wreorder] 589 | bool UseExtFirmwareSettings; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:587:14: warning:  'bool TCommonSettings::RetailCardProtection8000' [-Wreorder] 587 | bool RetailCardProtection8000; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:649:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 649 | int manualBackupType; | ^~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:647:13: warning:  'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 647 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:657:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 657 | bool spu_advanced; | ^~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning:  'int TCommonSettings::StylusPressure' [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:622:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 622 | int StylusPressure; | ^~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:595:26: warning:  'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 595 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:653:13: warning: 'TCommonSettings::SPU_sync_method' will be initialized after [-Wreorder] 653 | int SPU_sync_method; | ^~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:631:13: warning:  'int TCommonSettings::WifiBridgeDeviceID' [-Wreorder] 631 | int WifiBridgeDeviceID; | ^~~~~~~~~~~~~~~~~~ ../desmume/src/NDSSystem.h:500:9: warning:  when initialized here [-Wreorder] 500 | TCommonSettings() | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h: At global scope: ../desmume/src/MMU.h:88:7: warning: 'class TRegister_32' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 88 | class TRegister_32 | ^~~~~~~~~~~~ ../desmume/src/MMU.h:120:8: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 120 | struct TGXSTAT : public TRegister_32 | ^~~~~~~ ../desmume/src/MMU.h:120:8: warning: 'struct TGXSTAT' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:241:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 241 | class AddressRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:241:15: warning: 'class DmaController::AddressRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/MMU.h:257:15: warning: base class 'class TRegister_32' has accessible non-virtual destructor [-Wnon-virtual-dtor] 257 | class ControlRegister : public TRegister_32 { | ^~~~~~~~~~~~~~~ ../desmume/src/MMU.h:257:15: warning: 'class DmaController::ControlRegister' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] In file included from ../desmume/src/GPU.cpp:33: ../desmume/src/render3D.h:149:7: warning: 'class Render3D' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 149 | class Render3D | ^~~~~~~~ ../desmume/src/render3D.h: In instantiation of 'class Render3D_SIMD<16>': ../desmume/src/render3D.h:295:30: required from here ../desmume/src/render3D.h:277:7: warning: base class 'class Render3D' has accessible non-virtual destructor [-Wnon-virtual-dtor] 277 | class Render3D_SIMD : public Render3D | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:277:7: warning: 'class Render3D_SIMD<16>' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/render3D.h:295:7: warning: base class 'class Render3D_SIMD<16>' has accessible non-virtual destructor [-Wnon-virtual-dtor] 295 | class Render3D_SSE2 : public Render3D_SIMD<16> | ^~~~~~~~~~~~~ ../desmume/src/render3D.h:295:7: warning: 'class Render3D_SSE2' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ../desmume/src/GPU.cpp: In constructor 'GPUEngineA::GPUEngineA()': ../desmume/src/GPU.cpp:3235:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] 3235 | memset(this->_VRAMNativeBlockCaptureCopy, 0, GPU_VRAM_BLOCK_LINES * GPU_FRAMEBUFFER_NATIVE_WIDTH * 4); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/GPU.cpp: In member function 'virtual void GPUEngineA::Reset()': ../desmume/src/GPU.cpp:3324:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] 3324 | memset(this->_VRAMNativeBlockCaptureCopy, 0, GPU_VRAM_BLOCK_LINES * GPU_FRAMEBUFFER_NATIVE_WIDTH * 4); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/GPU.cpp: In destructor 'GPUSubsystem::~GPUSubsystem()': ../desmume/src/GPU.cpp:4723:9: warning: deleting object of polymorphic class type 'GPUEventHandlerDefault' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4723 | delete _defaultEventHandler; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/GPU.cpp: In instantiation of 'void GPUEngineBase::_SpriteRenderPerform(GPUEngineCompositorInfo&, u16*, u8*, u8*, u8*) [with SpriteRenderMode MODE = SpriteRenderMode_Sprite1D; bool ISDEBUGRENDER = true; u16 = short unsigned int; u8 = unsigned char]': ../desmume/src/GPU.cpp:1927:71: required from 'void GPUEngineBase::_SpriteRender(GPUEngineCompositorInfo&, u16*, u8*, u8*, u8*) [with bool ISDEBUGRENDER = true; u16 = short unsigned int; u8 = unsigned char]' ../desmume/src/GPU.cpp:1974:27: required from here ../desmume/src/GPU.cpp:2092:54: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 2092 | for (size_t j = 0; j < length; ++j, ++frameX) | ~~^~~~~~~~ ../desmume/src/GPU.cpp:2135:54: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 2135 | for (size_t j = 0; j < length; ++j, ++frameX) | ~~^~~~~~~~ ../desmume/src/GPU.cpp:2161:54: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 2161 | for (size_t j = 0; j < length; ++j, ++frameX) | ~~^~~~~~~~ ../desmume/src/GPU.cpp: In instantiation of 'void GPUEngineBase::_SpriteRenderPerform(GPUEngineCompositorInfo&, u16*, u8*, u8*, u8*) [with SpriteRenderMode MODE = SpriteRenderMode_Sprite2D; bool ISDEBUGRENDER = true; u16 = short unsigned int; u8 = unsigned char]': ../desmume/src/GPU.cpp:1929:71: required from 'void GPUEngineBase::_SpriteRender(GPUEngineCompositorInfo&, u16*, u8*, u8*, u8*) [with bool ISDEBUGRENDER = true; u16 = short unsigned int; u8 = unsigned char]' ../desmume/src/GPU.cpp:1974:27: required from here ../desmume/src/GPU.cpp:2092:54: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 2092 | for (size_t j = 0; j < length; ++j, ++frameX) | ~~^~~~~~~~ ../desmume/src/GPU.cpp:2135:54: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 2135 | for (size_t j = 0; j < length; ++j, ++frameX) | ~~^~~~~~~~ ../desmume/src/GPU.cpp:2161:54: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 2161 | for (size_t j = 0; j < length; ++j, ++frameX) | ~~^~~~~~~~ ../desmume/src/GPU.cpp: In instantiation of 'void GPUEngineBase::_SpriteRenderPerform(GPUEngineCompositorInfo&, u16*, u8*, u8*, u8*) [with SpriteRenderMode MODE = SpriteRenderMode_Sprite1D; bool ISDEBUGRENDER = false; u16 = short unsigned int; u8 = unsigned char]': ../desmume/src/GPU.cpp:1927:71: required from 'void GPUEngineBase::_SpriteRender(GPUEngineCompositorInfo&, u16*, u8*, u8*, u8*) [with bool ISDEBUGRENDER = false; u16 = short unsigned int; u8 = unsigned char]' ../desmume/src/GPU.cpp:2401:28: required from here ../desmume/src/GPU.cpp:2092:54: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 2092 | for (size_t j = 0; j < length; ++j, ++frameX) | ~~^~~~~~~~ ../desmume/src/GPU.cpp:2135:54: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 2135 | for (size_t j = 0; j < length; ++j, ++frameX) | ~~^~~~~~~~ ../desmume/src/GPU.cpp:2161:54: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 2161 | for (size_t j = 0; j < length; ++j, ++frameX) | ~~^~~~~~~~ ../desmume/src/GPU.cpp: In instantiation of 'void GPUEngineBase::_SpriteRenderPerform(GPUEngineCompositorInfo&, u16*, u8*, u8*, u8*) [with SpriteRenderMode MODE = SpriteRenderMode_Sprite2D; bool ISDEBUGRENDER = false; u16 = short unsigned int; u8 = unsigned char]': ../desmume/src/GPU.cpp:1929:71: required from 'void GPUEngineBase::_SpriteRender(GPUEngineCompositorInfo&, u16*, u8*, u8*, u8*) [with bool ISDEBUGRENDER = false; u16 = short unsigned int; u8 = unsigned char]' ../desmume/src/GPU.cpp:2401:28: required from here ../desmume/src/GPU.cpp:2092:54: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 2092 | for (size_t j = 0; j < length; ++j, ++frameX) | ~~^~~~~~~~ ../desmume/src/GPU.cpp:2135:54: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 2135 | for (size_t j = 0; j < length; ++j, ++frameX) | ~~^~~~~~~~ ../desmume/src/GPU.cpp:2161:54: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 2161 | for (size_t j = 0; j < length; ++j, ++frameX) | ~~^~~~~~~~ In file included from ../desmume/src/gfx3d.h:27, from ../desmume/src/render3D.h:23: ../desmume/src/matrix.h: At global scope: ../desmume/src/matrix.h:527:13: warning: 'void buffer_copy_or_constant_s8(void*, const void*, size_t, s8)' defined but not used [-Wunused-function] 527 | static void buffer_copy_or_constant_s8(void *__restrict dst, const void *__restrict src, const size_t vecLength, const s8 c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/GPU.cpp: In member function 'void GPUSubsystem::ClearWithColor(u16)': ../desmume/src/GPU.cpp:5660:35: warning: 'color32.FragmentColor::color' may be used uninitialized [-Wmaybe-uninitialized] 5660 | memset_u32((u8 *)this->_masterFramebuffer + (this->_displayInfo.framebufferPageSize * i) + (nativeFramebufferPixCount * sizeof(u16)), color32.color, customFramebufferPixCount); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../desmume/src/GPU.cpp:5641:31: note: 'color32.FragmentColor::color' was declared here 5641 | FragmentColor color32; | ^~~~~~~ [161/163] Linking static target libdesmume.a [162/163] Linking target gtk/desmume [163/163] Linking target cli/desmume-cli INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /home/buildozer/aports/community/desmume/src/desmume-0.9.13/output -j 32 No tests defined. >>> desmume: Entering fakeroot... Installing cli/desmume-cli to /home/buildozer/aports/community/desmume/pkg/desmume/usr/bin Installing gtk/desmume to /home/buildozer/aports/community/desmume/pkg/desmume/usr/bin Installing /home/buildozer/aports/community/desmume/src/desmume-0.9.13/desmume/src/frontend/posix/cli/doc/desmume-cli.1 to /home/buildozer/aports/community/desmume/pkg/desmume/usr/share/man/man1 Installing /home/buildozer/aports/community/desmume/src/desmume-0.9.13/desmume/src/frontend/posix/gtk/doc/desmume.1 to /home/buildozer/aports/community/desmume/pkg/desmume/usr/share/man/man1 Installing /home/buildozer/aports/community/desmume/src/desmume-0.9.13/desmume/src/frontend/posix/gtk/org.desmume.DeSmuME.desktop to /home/buildozer/aports/community/desmume/pkg/desmume/usr/share/applications Installing /home/buildozer/aports/community/desmume/src/desmume-0.9.13/desmume/src/frontend/posix/gtk/org.desmume.DeSmuME.metainfo.xml to /home/buildozer/aports/community/desmume/pkg/desmume/usr/share/metainfo Installing /home/buildozer/aports/community/desmume/src/desmume-0.9.13/desmume/src/frontend/posix/gtk/org.desmume.DeSmuME.svg to /home/buildozer/aports/community/desmume/pkg/desmume/usr/share/icons/hicolor/scalable/apps >>> desmume-doc*: Running split function doc... >>> desmume-doc*: Preparing subpackage desmume-doc... >>> desmume-doc*: Running postcheck for desmume-doc >>> desmume*: Running postcheck for desmume >>> desmume*: Preparing package desmume... >>> desmume*: Stripping binaries >>> desmume-doc*: Scanning shared objects >>> desmume*: Scanning shared objects >>> desmume-doc*: Tracing dependencies... >>> desmume-doc*: Package size: 28.0 KB >>> desmume-doc*: Compressing data... >>> desmume-doc*: Create checksum... >>> desmume-doc*: Create desmume-doc-0.9.13-r0.apk >>> desmume*: Tracing dependencies... so:libGL.so.1 so:libSDL2-2.0.so.0 so:libX11.so.6 so:libc.musl-x86_64.so.1 so:libcairo.so.2 so:libgcc_s.so.1 so:libgdk-3.so.0 so:libgdk_pixbuf-2.0.so.0 so:libgio-2.0.so.0 so:libglib-2.0.so.0 so:libgobject-2.0.so.0 so:libgtk-3.so.0 so:libpcap.so.1 so:libstdc++.so.6 so:libz.so.1 >>> desmume*: Package size: 7.0 MB >>> desmume*: Compressing data... >>> desmume*: Create checksum... >>> desmume*: Create desmume-0.9.13-r0.apk >>> desmume: Build complete at Wed, 09 Nov 2022 18:06:13 +0000 elapsed time 0h 3m 26s >>> desmume: Cleaning up srcdir >>> desmume: Cleaning up pkgdir >>> desmume: Uninstalling dependencies... (1/177) Purging .makedepends-desmume (20221109.180249) (2/177) Purging meson (0.64.0-r0) (3/177) Purging samurai (1.2-r2) (4/177) Purging sdl2-dev (2.24.2-r0) (5/177) Purging sdl2 (2.24.2-r0) (6/177) Purging directfb-dev (1.7.7-r5) (7/177) Purging directfb (1.7.7-r5) (8/177) Purging libpcap-dev (1.10.1-r1) (9/177) Purging libpcap (1.10.1-r1) (10/177) Purging gtk+3.0-dev (3.24.34-r7) (11/177) Purging wayland-protocols (1.28-r0) (12/177) Purging pango-dev (1.50.11-r0) (13/177) Purging pango-tools (1.50.11-r0) (14/177) Purging gdk-pixbuf-dev (2.42.10-r0) (15/177) Purging cairo-dev (1.17.6-r3) (16/177) Purging cairo-tools (1.17.6-r3) (17/177) Purging xcb-util-dev (0.4.0-r3) (18/177) Purging util-macros (1.19.3-r0) (19/177) Purging xcb-util (0.4.0-r3) (20/177) Purging at-spi2-core-dev (2.46.0-r0) (21/177) Purging harfbuzz-dev (5.3.1-r1) (22/177) Purging harfbuzz-icu (5.3.1-r1) (23/177) Purging glib-dev (2.74.1-r2) (24/177) Purging docbook-xsl (1.79.2-r8) Executing docbook-xsl-1.79.2-r8.post-deinstall (25/177) Purging docbook-xml (4.5-r8) Executing docbook-xml-4.5-r8.post-deinstall (26/177) Purging gettext-dev (0.21.1-r1) (27/177) Purging gettext-asprintf (0.21.1-r1) (28/177) Purging gettext (0.21.1-r1) (29/177) Purging libxslt (1.1.37-r0) (30/177) Purging python3 (3.10.8-r3) (31/177) Purging bzip2-dev (1.0.8-r3) (32/177) Purging graphite2-dev (1.3.14-r2) (33/177) Purging libxft-dev (2.3.6-r0) (34/177) Purging fontconfig-dev (2.14.1-r0) (35/177) Purging freetype-dev (2.12.1-r0) (36/177) Purging gtk+3.0 (3.24.34-r7) Executing gtk+3.0-3.24.34-r7.post-deinstall (37/177) Purging gtk-update-icon-cache (3.24.34-r7) (38/177) Purging hicolor-icon-theme (0.17-r2) (39/177) Purging pango (1.50.11-r0) Executing pango-1.50.11-r0.pre-deinstall (40/177) Purging cairo-gobject (1.17.6-r3) (41/177) Purging cairo (1.17.6-r3) (42/177) Purging harfbuzz (5.3.1-r1) (43/177) Purging libxft (2.3.6-r0) (44/177) Purging fontconfig (2.14.1-r0) (45/177) Purging freetype (2.12.1-r0) (46/177) Purging libbz2 (1.0.8-r3) (47/177) Purging wayland-dev (1.21.0-r1) (48/177) Purging expat-dev (2.5.0-r0) (49/177) Purging expat (2.5.0-r0) (50/177) Purging wayland-libs-cursor (1.21.0-r1) (51/177) Purging wayland-libs-egl (1.21.0-r1) (52/177) Purging libffi-dev (3.4.4-r0) (53/177) Purging libepoxy-dev (1.5.10-r0) (54/177) Purging libepoxy (1.5.10-r0) (55/177) Purging mesa-dev (22.2.3-r0) (56/177) Purging libxdamage-dev (1.1.5-r1) (57/177) Purging libxdamage (1.1.5-r1) (58/177) Purging libxshmfence-dev (1.3.1-r0) (59/177) Purging mesa-egl (22.2.3-r0) (60/177) Purging mesa-gbm (22.2.3-r0) (61/177) Purging mesa-gl (22.2.3-r0) (62/177) Purging mesa-gles (22.2.3-r0) (63/177) Purging mesa-xatracker (22.2.3-r0) (64/177) Purging mesa-osmesa (22.2.3-r0) (65/177) Purging mesa (22.2.3-r0) (66/177) Purging llvm15-libs (15.0.4-r0) (67/177) Purging gdk-pixbuf (2.42.10-r0) Executing gdk-pixbuf-2.42.10-r0.pre-deinstall (68/177) Purging shared-mime-info (2.2-r2) Executing shared-mime-info-2.2-r2.post-deinstall (69/177) Purging libatk-bridge-2.0 (2.46.0-r0) (70/177) Purging at-spi2-core (2.46.0-r0) (71/177) Purging libatk-1.0 (2.46.0-r0) (72/177) Purging glib (2.74.1-r2) (73/177) Purging wayland-libs-client (1.21.0-r1) (74/177) Purging cups-libs (2.4.2-r1) (75/177) Purging gnutls (3.7.8-r2) (76/177) Purging p11-kit (0.24.1-r1) (77/177) Purging wayland-libs-server (1.21.0-r1) (78/177) Purging libffi (3.4.4-r0) (79/177) Purging gdbm (1.23-r0) (80/177) Purging tiff-dev (4.4.0-r1) (81/177) Purging libjpeg-turbo-dev (2.1.4-r0) (82/177) Purging libwebp-dev (1.2.4-r1) (83/177) Purging zstd-dev (1.5.2-r9) (84/177) Purging libtiffxx (4.4.0-r1) (85/177) Purging tiff (4.4.0-r1) (86/177) Purging libxkbcommon-dev (1.4.1-r0) (87/177) Purging libxkbcommon-x11 (1.4.1-r0) (88/177) Purging libxkbcommon (1.4.1-r0) (89/177) Purging xkeyboard-config (2.37-r0) (90/177) Purging libxml2-dev (2.10.3-r1) (91/177) Purging libxml2-utils (2.10.3-r1) (92/177) Purging libxml2 (2.10.3-r1) (93/177) Purging xz-dev (5.2.7-r0) (94/177) Purging xz-libs (5.2.7-r0) (95/177) Purging mpdecimal (2.5.1-r1) (96/177) Purging readline (8.2.0-r0) (97/177) Purging sqlite-libs (3.39.4-r0) (98/177) Purging libgcrypt (1.10.1-r0) (99/177) Purging libgpg-error (1.46-r1) (100/177) Purging gettext-libs (0.21.1-r1) (101/177) Purging avahi-libs (0.8-r6) (102/177) Purging libintl (0.21.1-r1) (103/177) Purging libunistring (1.1-r0) (104/177) Purging dbus-dev (1.14.4-r0) (105/177) Purging dbus-libs (1.14.4-r0) (106/177) Purging util-linux-dev (2.38.1-r0) (107/177) Purging libfdisk (2.38.1-r0) (108/177) Purging libmount (2.38.1-r0) (109/177) Purging libsmartcols (2.38.1-r0) (110/177) Purging libuuid (2.38.1-r0) (111/177) Purging libblkid (2.38.1-r0) (112/177) Purging libdrm-dev (2.4.114-r0) (113/177) Purging libdrm (2.4.114-r0) (114/177) Purging linux-headers (5.19.5-r0) (115/177) Purging pcre2-dev (10.40-r0) (116/177) Purging libpcre2-16 (10.40-r0) (117/177) Purging libpcre2-32 (10.40-r0) (118/177) Purging libedit-dev (20221030.3.1-r0) (119/177) Purging ncurses-dev (6.3_p20221029-r0) (120/177) Purging bsd-compat-headers (0.7.2-r3) (121/177) Purging libpng-dev (1.6.38-r0) (122/177) Purging libpng (1.6.38-r0) (123/177) Purging zlib-dev (1.2.13-r0) (124/177) Purging tslib (1.22-r1) (125/177) Purging libpciaccess-dev (0.17-r0) (126/177) Purging libpciaccess (0.17-r0) (127/177) Purging hwdata-pci (0.364-r0) (128/177) Purging libxrandr-dev (1.5.2-r1) (129/177) Purging libxrandr (1.5.2-r1) (130/177) Purging libxcomposite-dev (0.4.5-r1) (131/177) Purging libxcomposite (0.4.5-r1) (132/177) Purging libxinerama-dev (1.1.5-r0) (133/177) Purging libxinerama (1.1.5-r0) (134/177) Purging libxxf86vm-dev (1.1.5-r0) (135/177) Purging libxxf86vm (1.1.5-r0) (136/177) Purging libxcursor-dev (1.2.1-r1) (137/177) Purging libxcursor (1.2.1-r1) (138/177) Purging libxrender-dev (0.9.11-r0) (139/177) Purging libxrender (0.9.11-r0) (140/177) Purging libxtst-dev (1.2.4-r0) (141/177) Purging libxtst (1.2.4-r0) (142/177) Purging libxi-dev (1.8-r0) (143/177) Purging libxi (1.8-r0) (144/177) Purging libxfixes-dev (6.0.0-r0) (145/177) Purging libxfixes (6.0.0-r0) (146/177) Purging libxext-dev (1.3.5-r0) (147/177) Purging libxext (1.3.5-r0) (148/177) Purging libx11-dev (1.8.1-r1) (149/177) Purging xtrans (1.4.0-r2) (150/177) Purging libx11 (1.8.1-r1) (151/177) Purging libxcb-dev (1.15-r0) (152/177) Purging xcb-proto (1.15.2-r0) (153/177) Purging libxcb (1.15-r0) (154/177) Purging libxau-dev (1.0.10-r0) (155/177) Purging libxau (1.0.10-r0) (156/177) Purging libxdmcp-dev (1.1.3-r1) (157/177) Purging libxdmcp (1.1.3-r1) (158/177) Purging xorgproto (2022.2-r0) (159/177) Purging libbsd (0.11.7-r0) (160/177) Purging libmd (1.0.4-r0) (161/177) Purging libxshmfence (1.3.1-r0) (162/177) Purging mesa-glapi (22.2.3-r0) (163/177) Purging libjpeg-turbo (2.1.4-r0) (164/177) Purging libwebp (1.2.4-r1) (165/177) Purging pixman-dev (0.42.2-r0) (166/177) Purging pixman (0.42.2-r0) (167/177) Purging nettle (3.8.1-r0) (168/177) Purging libtasn1 (4.19.0-r0) (169/177) Purging fribidi-dev (1.0.12-r0) (170/177) Purging fribidi (1.0.12-r0) (171/177) Purging graphite2 (1.3.14-r2) (172/177) Purging brotli-dev (1.0.9-r9) (173/177) Purging brotli (1.0.9-r9) (174/177) Purging icu-dev (72.1-r1) (175/177) Purging icu (72.1-r1) (176/177) Purging icu-libs (72.1-r1) (177/177) Purging icu-data-en (72.1-r1) Executing busybox-1.35.0-r27.trigger OK: 393 MiB in 98 packages >>> desmume: Updating the community/x86_64 repository index... >>> desmume: Signing the index...