Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libretro-desmume2015.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672300757.239072/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.epk8tmef:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.epk8tmef:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5d246a122800478e94ac84b0bce9f605', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672300757.239072/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.epk8tmef:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libretro-desmume2015.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/libretro-desmume2015-0-0.10.20220406gitaf397ff.15.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libretro-desmume2015.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672300757.239072/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.epk8tmef:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.epk8tmef:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '01f07dd5f47345f593ac84bb1b238994', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672300757.239072/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.epk8tmef:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libretro-desmume2015.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uJFGyl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libretro-desmume2015-0.20220406gitaf397ff.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lTv9o6 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j2 V=1 VERBOSE=1 -C desmume GIT_VERSION=af397ff make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' /bin/sh: line 1: git: command not found make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/armcpu.o src/armcpu.cpp In file included from src/MMU.h:24, from src/armcpu.h:23, from src/armcpu.cpp:24: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/armcpu.cpp:33: src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/bios.o src/bios.cpp In file included from src/MMU.h:24, from src/armcpu.h:23, from src/bios.cpp:23: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/bios.cpp:29: src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/cp15.o src/cp15.cpp In file included from src/MMU.h:24, from src/armcpu.h:23, from src/cp15.cpp:21: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/emufile.o src/emufile.cpp src/emufile.cpp: In member function 'virtual void EMUFILE_FILE::truncate(s32)': src/emufile.cpp:85:26: warning: ignoring return value of 'int ftruncate(int, __off_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 85 | ftruncate(fileno(fp),length); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from src/emufile.cpp:40: In member function 'EMUFILE::fread(void const*, unsigned long)', inlined from 'EMUFILE::read64le(unsigned long long*)' at src/emufile.cpp:197:10: src/emufile.h:71:30: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 71 | return _fread(ptr,bytes); | ~~~~~~^~~~~~~~~~~ src/emufile.h:71:30: note: by argument 2 of type 'const void *' to 'size_t EMUFILE:: (struct EMUFILE *, const void *, size_t)' src/emufile.cpp: In member function 'EMUFILE::read64le(unsigned long long*)': src/emufile.cpp:196:13: note: 'buf' declared here 196 | u64 buf; | ^~~ In member function 'EMUFILE::fread(void const*, unsigned long)', inlined from 'EMUFILE::read32le(unsigned int*)' at src/emufile.cpp:228:10: src/emufile.h:71:30: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 71 | return _fread(ptr,bytes); | ~~~~~~^~~~~~~~~~~ src/emufile.h:71:30: note: by argument 2 of type 'const void *' to 'size_t EMUFILE:: (struct EMUFILE *, const void *, size_t)' src/emufile.cpp: In member function 'EMUFILE::read32le(unsigned int*)': src/emufile.cpp:227:13: note: 'buf' declared here 227 | u32 buf; | ^~~ In member function 'EMUFILE::fread(void const*, unsigned long)', inlined from 'EMUFILE::read16le(unsigned short*)' at src/emufile.cpp:259:10: src/emufile.h:71:30: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 71 | return _fread(ptr,bytes); | ~~~~~~^~~~~~~~~~~ src/emufile.h:71:30: note: by argument 2 of type 'const void *' to 'size_t EMUFILE:: (struct EMUFILE *, const void *, size_t)' src/emufile.cpp: In member function 'EMUFILE::read16le(unsigned short*)': src/emufile.cpp:258:13: note: 'buf' declared here 258 | u32 buf; | ^~~ In member function 'EMUFILE::fread(void const*, unsigned long)', inlined from 'EMUFILE::read8le()' at src/emufile.cpp:293:7: src/emufile.h:71:30: warning: 'temp' may be used uninitialized [-Wmaybe-uninitialized] 71 | return _fread(ptr,bytes); | ~~~~~~^~~~~~~~~~~ src/emufile.h:71:30: note: by argument 2 of type 'const void *' to 'size_t EMUFILE:: (struct EMUFILE *, const void *, size_t)' src/emufile.cpp: In member function 'EMUFILE::read8le()': src/emufile.cpp:292:12: note: 'temp' declared here 292 | u8 temp; | ^~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/encrypt.o src/encrypt.cpp In file included from src/MMU.h:24, from src/armcpu.h:23, from src/encrypt.cpp:19: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/FIFO.o src/FIFO.cpp In file included from src/MMU.h:24, from src/armcpu.h:23, from src/FIFO.cpp:24: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/FIFO.cpp:29: src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/firmware.o src/firmware.cpp In file included from src/firmware.cpp:18: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/firmware.cpp:20: src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ In file included from src/firmware.cpp:22: src/path.h: In member function 'void PathInfo::ReadPathSettings()': src/path.h:181:58: warning: the address of 'PathInfo::pathToModule' will never be NULL [-Waddress] 181 | if( ( strcmp(pathToModule, "") == 0) || !pathToModule) | ^~~~~~~~~~~~ src/path.h:103:14: note: 'PathInfo::pathToModule' declared here 103 | char pathToModule[PATH_MAX_LENGTH]; | ^~~~~~~~~~~~ src/firmware.cpp: In member function 'bool CFIRMWARE::unpack()': src/firmware.cpp:326:43: warning: variable 'part3addr' set but not used [-Wunused-but-set-variable] 326 | u32 part1addr = 0, part2addr = 0, part3addr = 0, part4addr = 0, part5addr = 0; | ^~~~~~~~~ src/firmware.cpp:326:58: warning: variable 'part4addr' set but not used [-Wunused-but-set-variable] 326 | u32 part1addr = 0, part2addr = 0, part3addr = 0, part4addr = 0, part5addr = 0; | ^~~~~~~~~ src/firmware.cpp:326:73: warning: variable 'part5addr' set but not used [-Wunused-but-set-variable] 326 | u32 part1addr = 0, part2addr = 0, part3addr = 0, part4addr = 0, part5addr = 0; | ^~~~~~~~~ In file included from src/firmware.cpp:23: src/encrypt.h: In member function '_KEY1::_KEY1(unsigned char const*)': src/encrypt.h:27:21: warning: 'this_7(D)->keyBuf' is used uninitialized [-Wuninitialized] 27 | if (keyBuf) delete keyBuf; | ^~~~~~ src/path.h: In member function 'PathInfo::SwitchPath(PathInfo::Action, PathInfo::KnownPath, char*)': src/path.h:281:32: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 281 | strncpy(pathToCopy, buffer, PATH_MAX_LENGTH); | ^ src/firmware.cpp: In member function 'CFIRMWARE::load()': src/firmware.cpp:316:16: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 316 | strncpy(MMU.fw.userfile, extFilePath.c_str(), PATH_MAX_LENGTH); | ^ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/arm_instructions.o src/arm_instructions.cpp In file included from src/MMU.h:24, from src/arm_instructions.cpp:35: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/arm_instructions.cpp:37: src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/mc.o src/mc.cpp In file included from src/MMU.h:24, from src/armcpu.h:23, from src/mc.cpp:26: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/mc.cpp:30: src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ In file included from src/mc.cpp:31: src/path.h: In member function 'void PathInfo::ReadPathSettings()': src/path.h:181:58: warning: the address of 'PathInfo::pathToModule' will never be NULL [-Waddress] 181 | if( ( strcmp(pathToModule, "") == 0) || !pathToModule) | ^~~~~~~~~~~~ src/path.h:103:14: note: 'PathInfo::pathToModule' declared here 103 | char pathToModule[PATH_MAX_LENGTH]; | ^~~~~~~~~~~~ In file included from src/mc.cpp:33: src/utils/advanscene.h: In constructor 'ADVANsCEne::ADVANsCEne()': src/utils/advanscene.h:33:41: warning: 'ADVANsCEne::saveType' will be initialized after [-Wreorder] 33 | u8 saveType; | ^~~~~~~~ src/utils/advanscene.h:29:41: warning: 'u32 ADVANsCEne::crc32' [-Wreorder] 29 | u32 crc32; | ^~~~~ src/utils/advanscene.h:46:9: warning: when initialized here [-Wreorder] 46 | ADVANsCEne() | ^~~~~~~~~~ src/mc.cpp: In constructor 'BackupDevice::BackupDevice()': src/mc.cpp:335:21: warning: variable 'left' set but not used [-Wunused-but-set-variable] 335 | u32 left = 0; | ^~~~ src/mc.cpp: In member function 'u8 BackupDevice::searchFileSaveType(u32)': src/mc.cpp:600:26: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 600 | if (size == save_types[i].size) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ src/mc.cpp: In function 'int no_gba_unpackSAV(void*, u32, void*, u32&)': src/mc.cpp:1118:17: warning: variable 'size_packed' set but not used [-Wunused-but-set-variable] 1118 | u32 size_packed = 0; | ^~~~~~~~~~~ src/mc.cpp: In member function 'BackupDevice::save_state(EMUFILE*)': src/mc.cpp:130:9: warning: 'elements_read' may be used uninitialized [-Wmaybe-uninitialized] 130 | if (elements_read != fsize) | ^~ src/mc.cpp:122:16: note: 'elements_read' was declared here 122 | size_t elements_read; | ^~~~~~~~~~~~~ src/path.h: In member function 'PathInfo::SwitchPath(PathInfo::Action, PathInfo::KnownPath, char*)': src/path.h:281:32: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 281 | strncpy(pathToCopy, buffer, PATH_MAX_LENGTH); | ^ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/path.o src/path.cpp In file included from src/path.cpp:20: src/path.h: In member function 'void PathInfo::ReadPathSettings()': src/path.h:181:58: warning: the address of 'PathInfo::pathToModule' will never be NULL [-Waddress] 181 | if( ( strcmp(pathToModule, "") == 0) || !pathToModule) | ^~~~~~~~~~~~ src/path.h:103:14: note: 'PathInfo::pathToModule' declared here 103 | char pathToModule[PATH_MAX_LENGTH]; | ^~~~~~~~~~~~ src/path.cpp: In static member function 'static std::string Path::ScrubInvalid(std::string)': src/path.cpp:131:30: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 131 | for(int i=0;i_fread((char*)&buf,2) != 2) | ~~~~~~~~~~^~~~~~~~~~~~~~~ src/readwrite.cpp:91:22: note: by argument 2 of type 'const void *' to 'size_t EMUFILE:: (struct EMUFILE *, const void *, size_t)' src/readwrite.cpp:90:13: note: 'buf' declared here 90 | u16 buf; | ^~~ src/readwrite.cpp: In function 'read64le(unsigned long long*, EMUFILE*)': src/readwrite.cpp:102:22: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 102 | if(is->_fread((char*)&buf,8) != 8) | ~~~~~~~~~~^~~~~~~~~~~~~~~ src/readwrite.cpp:102:22: note: by argument 2 of type 'const void *' to 'size_t EMUFILE:: (struct EMUFILE *, const void *, size_t)' src/readwrite.cpp:101:13: note: 'buf' declared here 101 | u64 buf; | ^~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/wifi.o src/wifi.cpp In file included from src/MMU.h:24, from src/armcpu.h:23, from src/wifi.cpp:49: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/wifi.cpp:50: src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/wifi.cpp: In function 'void WIFI_PreTXAdjustments(u32)': src/wifi.cpp:943:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 943 | *(u64*)&wifiMac.RAM[address + 6 + 12] = wifiMac.usec; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/wifi.cpp:956:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 956 | *(u32*)&wifiMac.RAM[address + 6 + ((txLen-4) >> 1)] = crc32; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/MMU.o src/MMU.cpp In file included from src/MMU.h:24, from src/armcpu.h:23, from src/MMU.cpp:29: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/MMU.cpp:33: src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ In file included from src/rtc.h:25, from src/MMU.cpp:40: src/utils/datetime.h: In static member function 'static s64 TimeSpan::CalculateTicks(int, int, int, int, int)': src/utils/datetime.h:308:22: warning: variable 'overflow' set but not used [-Wunused-but-set-variable] 308 | bool overflow = false; | ^~~~~~~~ src/utils/datetime.h: In member function 'DateTime DateTime::AddMonths(int) const': src/utils/datetime.h:680:25: warning: left operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~~ src/utils/datetime.h:680:38: warning: right operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~ src/MMU.cpp: In constructor 'DSI_TSC::DSI_TSC()': src/MMU.cpp:1148:22: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1148 | for(int i=0;iisSPU(adr)) | ^~ src/MMU.cpp:5058:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5058 | if ((adr >> 24) == 4) | ^~ src/MMU.cpp: In function 'u32 _MMU_ARM7_read32(u32)': src/MMU.cpp:5155:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 5155 | if (SPU_core->isSPU(adr)) | ^~ src/MMU.cpp:5159:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5159 | if ((adr >> 24) == 4) | ^~ src/MMU.cpp: In instantiation of 'void MMU_writeToGCControl(u32) [with int PROCNUM = 0; u32 = unsigned int]': src/MMU.cpp:3671:58: required from here src/MMU.cpp:1317:13: warning: unused variable 'dbsize' [-Wunused-variable] 1317 | int dbsize = (val>>24)&7; | ^~~~~~ src/MMU.cpp:1325:13: warning: unused variable 'keylength' [-Wunused-variable] 1325 | int keylength = (val&0x1FFF); //key1length high gcromctrl[21:16] ?? | ^~~~~~~~~ src/MMU.cpp:1326:12: warning: unused variable 'key2_encryptdata' [-Wunused-variable] 1326 | u8 key2_encryptdata = (val>>13)&1; | ^~~~~~~~~~~~~~~~ src/MMU.cpp:1327:12: warning: unused variable 'bit15' [-Wunused-variable] 1327 | u8 bit15 = (val>>14)&1; | ^~~~~ src/MMU.cpp:1330:12: warning: unused variable 'key2_encryptcommand' [-Wunused-variable] 1330 | u8 key2_encryptcommand = (val>>22)&1; | ^~~~~~~~~~~~~~~~~~~ src/MMU.cpp:1333:12: warning: unused variable 'clockrate' [-Wunused-variable] 1333 | u8 clockrate = (val>>27)&1; | ^~~~~~~~~ src/MMU.cpp:1334:12: warning: unused variable 'secureareamode' [-Wunused-variable] 1334 | u8 secureareamode = (val>>28)&1; | ^~~~~~~~~~~~~~ src/MMU.cpp:1336:12: warning: unused variable 'wr' [-Wunused-variable] 1336 | u8 wr = (val>>30)&1; | ^~ src/MMU.cpp: In instantiation of 'void MMU_writeToGCControl(u32) [with int PROCNUM = 1; u32 = unsigned int]': src/MMU.cpp:4832:38: required from here src/MMU.cpp:1317:13: warning: unused variable 'dbsize' [-Wunused-variable] 1317 | int dbsize = (val>>24)&7; | ^~~~~~ src/MMU.cpp:1325:13: warning: unused variable 'keylength' [-Wunused-variable] 1325 | int keylength = (val&0x1FFF); //key1length high gcromctrl[21:16] ?? | ^~~~~~~~~ src/MMU.cpp:1326:12: warning: unused variable 'key2_encryptdata' [-Wunused-variable] 1326 | u8 key2_encryptdata = (val>>13)&1; | ^~~~~~~~~~~~~~~~ src/MMU.cpp:1327:12: warning: unused variable 'bit15' [-Wunused-variable] 1327 | u8 bit15 = (val>>14)&1; | ^~~~~ src/MMU.cpp:1330:12: warning: unused variable 'key2_encryptcommand' [-Wunused-variable] 1330 | u8 key2_encryptcommand = (val>>22make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' )&1; | ^~~~~~~~~~~~~~~~~~~ src/MMU.cpp:1333:12: warning: unused variable 'clockrate' [-Wunused-variable] 1333 | u8 clockrate = (val>>27)&1; | ^~~~~~~~~ src/MMU.cpp:1334:12: warning: unused variable 'secureareamode' [-Wunused-variable] 1334 | u8 secureareamode = (val>>28)&1; | ^~~~~~~~~~~~~~ src/MMU.cpp:1336:12: warning: unused variable 'wr' [-Wunused-variable] 1336 | u8 wr = (val>>30)&1; | ^~ src/MMU.cpp: At global scope: src/MMU.cpp:1697:13: warning: 'void validateIF_arm9()' defined but not used [-Wunused-function] 1697 | static void validateIF_arm9() | ^~~~~~~~~~~~~~~ In file included from src/SPU.h:28, from src/MMU.cpp:51: src/matrix.h:127:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 127 | static void memset_u32(void *dst, const u32 val, const size_t length) | ^~~~~~~~~~ src/matrix.h:108:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 108 | static void memset_u16(void *dst, const u16 val, const size_t length) | ^~~~~~~~~~ make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/NDSSystem.o src/NDSSystem.cpp In file included from src/NDSSystem.cpp:19: src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ In file included from src/NDSSystem.cpp:32: src/utils/advanscene.h: In constructor 'ADVANsCEne::ADVANsCEne()': src/utils/advanscene.h:33:41: warning: 'ADVANsCEne::saveType' will be initialized after [-Wreorder] 33 | u8 saveType; | ^~~~~~~~ src/utils/advanscene.h:29:41: warning: 'u32 ADVANsCEne::crc32' [-Wreorder] 29 | u32 crc32; | ^~~~~ src/utils/advanscene.h:46:9: warning: when initialized here [-Wreorder] 46 | ADVANsCEne() | ^~~~~~~~~~ In file included from src/MMU.h:24, from src/armcpu.h:23, from src/NDSSystem.cpp:37: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/NDSSystem.cpp:45: src/cheatSystem.h: In constructor 'CHEATSEXPORT::CHEATSEXPORT()': src/cheatSystem.h:119:49: warning: 'CHEATSEXPORT::encOffset' will be initialized after [-Wreorder] 119 | u32 encOffset; | ^~~~~~~~~ src/cheatSystem.h:114:33: warning: 'CHEATS_DB_TYPE CHEATSEXPORT::type' [-Wreorder] 114 | CHEATS_DB_TYPE type; | ^~~~ src/cheatSystem.h:135:9: warning: when initialized here [-Wreorder] 135 | CHEATSEXPORT() : | ^~~~~~~~~~~~ src/cheatSystem.h:159:41: warning: 'CHEATSEXPORT::CRC' will be initialized after [-Wreorder] 159 | u32 CRC; | ^~~ src/cheatSystem.h:128:49: warning: 'u8 CHEATSEXPORT::error' [-Wreorder] 128 | u8 error; // 0 - no errors | ^~~~~ src/cheatSystem.h:135:9: warning: when initialized here [-Wreorder] 135 | CHEATSEXPORT() : | ^~~~~~~~~~~~ In file included from src/movie.h:25, from src/NDSSystem.cpp:46: src/utils/datetime.h: In static member function 'static s64 TimeSpan::CalculateTicks(int, int, int, int, int)': src/utils/datetime.h:308:22: warning: variable 'overflow' set but not used [-Wunused-but-set-variable] 308 | bool overflow = false; | ^~~~~~~~ src/utils/datetime.h: In member function 'DateTime DateTime::AddMonths(int) const': src/utils/datetime.h:680:25: warning: left operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~~ 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 src/NDSSystem.cpp:60: src/path.h: In member function 'void PathInfo::ReadPathSettings()': src/path.h:181:58: warning: the address of 'PathInfo::pathToModule' will never be NULL [-Waddress] 181 | if( ( strcmp(pathToModule, "") == 0) || !pathToModule) | ^~~~~~~~~~~~ src/path.h:103:14: note: 'PathInfo::pathToModule' declared here 103 | char pathToModule[PATH_MAX_LENGTH]; | ^~~~~~~~~~~~ src/NDSSystem.cpp: In member function 'bool GameInfo::loadROM(std::string, u32)': src/NDSSystem.cpp:434:57: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 434 | if (((128 * 1024) << i) >= romsize) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ src/NDSSystem.cpp: At global scope: src/NDSSystem.cpp:1371:13: warning: 'void execHardware_hdraw()' defined but not used [-Wunused-function] 1371 | static void execHardware_hdraw() | ^~~~~~~~~~~~~~~~~~ In file included from src/SPU.h:28, from src/NDSSystem.cpp:63: src/matrix.h:127:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 127 | static void memset_u32(void *dst, const u32 val, const size_t length) | ^~~~~~~~~~ src/matrix.h:108:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 108 | static void memset_u16(void *dst, const u16 val, const size_t length) | ^~~~~~~~~~ src/path.h: In member function 'PathInfo::init(char const*)': src/path.h:138:17: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 138 | strncpy(pathToModule, systemDir ? systemDir : ".", PATH_MAX_LENGTH); | ^ src/path.h:126:32: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 126 | strncpy(pathToModule, saveDir ? saveDir : ".", PATH_MAX_LENGTH); | ^ src/path.h:138:17: warning: 'strncpy' specified bound 4096 equals destinatiomake: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' n size [-Wstringop-truncation] 138 | strncpy(pathToModule, systemDir ? systemDir : ".", PATH_MAX_LENGTH); | ^ src/path.h:126:32: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 126 | strncpy(pathToModule, saveDir ? saveDir : ".", PATH_MAX_LENGTH); | ^ src/path.h: In member function 'PathInfo::SwitchPath(PathInfo::Action, PathInfo::KnownPath, char*)': src/path.h:281:32: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 281 | strncpy(pathToCopy, buffer, PATH_MAX_LENGTH); | ^ make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/render3D.o src/render3D.cpp In file included from src/MMU.h:24, from src/render3D.cpp:34: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/render3D.cpp:35: src/texcache.h: In constructor 'TexCacheItem::TexCacheItem()': src/texcache.h:67:14: warning: 'TexCacheItem::assumedInvalid' will be initialized after [-Wreorder] 67 | bool assumedInvalid; | ^~~~~~~~~~~~~~ src/texcache.h:42:36: warning: 'void (* TexCacheItem::_deleteCallback)(TexCacheItem*, void*, void*)' [-Wreorder] 42 | TexCacheItemDeleteCallback _deleteCallback; | ^~~~~~~~~~~~~~~ src/texcache.h:47:9: warning: when initialized here [-Wreorder] 47 | TexCacheItem() | ^~~~~~~~~~~~ src/render3D.cpp: In function 'void Render3D_DeInit()': src/render3D.cpp:67:9: warning: deleting object of polymorphic class type 'Render3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 67 | delete BaseRenderer; | ^~~~~~~~~~~~~~~~~~~ src/render3D.cpp: In function 'void Render3DBaseDestroy()': src/render3D.cpp:114:17: warning: deleting object of polymorphic class type 'Render3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 114 | delete CurrentRenderer; | ^~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/rtc.o src/rtc.cpp In file included from src/rtc.h:25, from src/rtc.cpp:22: src/utils/datetime.h: In static member function 'static s64 TimeSpan::CalculateTicks(int, int, int, int, int)': src/utils/datetime.h:308:22: warning: variable 'overflow' set but not used [-Wunused-but-set-variable] 308 | bool overflow = false; | ^~~~~~~~ src/utils/datetime.h: In member function 'DateTime DateTime::AddMonths(int) const': src/utils/datetime.h:680:25: warning: left operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~~ 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 src/MMU.h:24, from src/armcpu.h:23, from src/rtc.cpp:25: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/saves.o src/saves.cpp In file included from src/MMU.h:24, from src/armcpu.h:23, from src/saves.cpp:30: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/saves.cpp:37: src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ In file included from src/movie.h:25, from src/saves.cpp:45: src/utils/datetime.h: In static member function 'static s64 TimeSpan::CalculateTicks(int, int, int, int, int)': src/utils/datetime.h:308:22: warning: variable 'overflow' set but not used [-Wunused-but-set-variable] 308 | bool overflow = false; | ^~~~~~~~ src/utils/datetime.h: In member function 'DateTime DateTime::AddMonths(int) const': src/utils/datetime.h:680:25: warning: left operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~~ 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 src/saves.cpp:53: src/path.h: In member function 'void PathInfo::ReadPathSettings()': src/path.h:181:58: warning: the address of 'PathInfo::pathToModule' will never be NULL [-Waddress] 181 | if( ( strcmp(pathToModule, "") == 0) || !pathToModule) | ^~~~~~~~~~~~ src/path.h:103:14: note: 'PathInfo::pathToModule' declared here 103 | char pathToModule[PATH_MAX_LENGTH]; | ^~~~~~~~~~~~ src/saves.cpp: In function 'bool savestate_save(EMUFILE*)': src/saves.cpp:864:13: warning: unused variable 'cbuf' [-Wunused-variable] 864 | u8* cbuf; | ^~~~ src/saves.cpp: In function 'bool ReadStateChunks(EMUFILE*, s32)': src/saves.cpp:914:14: warning: unused variable 'haveInfo' [-Wunused-variable] 914 | bool haveInfo = false; | ^~~~~~~~ In file included from src/SPU.h:28, from src/saves.cpp:50: src/matrix.h: At global scope: src/matrix.h:127:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 127 | static void memset_u32(void *dst, const u32 val, const size_t length) | ^~~~~~~~~~ src/matrix.h:108:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 108 | static void memset_u16(void *dst, const u16 val, const size_t length) | ^~~~~~~~~~ In file included from src/saves.cpp:35: In member function 'EMUFILE::fread(void const*, unsigned long)', inlined from 'savestate_load(EMUFILE*)' at src/saves.cpp:1016:11: src/emufile.h:71:30: warning: 'header' may be used uninitialized [-Wmaybe-uninitialized] 71 | return _fread(ptr,bytes); | ~~~~~~^~~~~~~~~~~ src/emufile.h:71:30: note: by argument 2 of type 'const void *' to 'size_t EMUFILE:: (struct EMUFILE *, const void *, size_t)' src/saves.cpp: In function 'savestate_load(EMUFILE*)': src/saves.cpp:1015:14: note: 'header' declared here 1015 | char header[16]; | ^~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/slot1.o src/slot1.cpp In file included from src/MMU.h:24, from src/slot1.h:24, from src/slot1.cpp:32: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/slot1.cpp:34: src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ In file included from src/slot1.cpp:37: src/path.h: In member function 'void PathInfo::ReadPathSettings()': src/path.h:181:58: warning: the address of 'PathInfo::pathToModule' will never be NULL [-Waddress] 181 | if( ( strcmp(pathToModule, "") == 0) || !pathToModule) | ^~~~~~~~~~~~ src/path.h:103:14: note: 'PathInfo::pathToModule' declared here 103 | char pathToModule[PATH_MAX_LENGTH]; | ^~~~~~~~~~~~ src/slot1.cpp: In function 'void slot1_Shutdown()': src/slot1.cpp:116:22: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 116 | for(int i=0;iloopstart<<3)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/SPU.cpp: At global scope: src/SPU.cpp:62:12: warning: 'volume' defined but not used [-Wunused-variable] 62 | static int volume = 100; | ^~~~~~ In file included from src/SPU.h:28, from src/SPU.cpp:38: src/matrix.h:127:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 127 | static void memset_u32(void *dst, const u32 val, const size_t length) | ^~~~~~~~~~ src/matrix.h:108:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 108 | static void memset_u16(void *dst, const u16 val, const size_t length) | ^~~~~~~~~~ In function 'SPU_MixAudio_Advanced(SPU_struct*, int)', inlined from 'SPU_MixAudio(SPU_struct*, int)' at src/SPU.cpp:1392:24, inlined from 'SPU_Emulate_core()' at src/SPU.cpp:1450:14: src/SPU.cpp:1368:24: warning: 'samp0[0]' may be used uninitialized [-Wmaybe-uninitialized] 1368 | SPU->sndbuf[0] = samp0[0]; | ~~~~~~~~~~~~~~~^~~~~~~~~~ src/SPU.cpp: In function 'SPU_Emulate_core()': src/SPU.cpp:1173:13: note: 'samp0[0]' was declared here 1173 | s32 samp0[2]; | ^~~~~ In function 'SPU_MixAudio_Advanced(SPU_struct*, int)', inlined from 'SPU_MixAudio(SPU_struct*, int)' at src/SPU.cpp:1392:24, inlined from 'SPU_Emulate_core()' at src/SPU.cpp:1450:14: src/SPU.cpp:1369:24: warning: 'samp0[1]' may be used uninitialized [-Wmaybe-uninitialized] 1369 | SPU->sndbuf[1] = samp0[1]; | ~~~~~~~~~~~~~~~^~~~~~~~~~ src/SPU.cpp: In function 'SPU_Emulate_core()': src/SPU.cpp:1173:13: note: 'samp0[1]' was declared here 1173 | s32 samp0[2]; | ^~~~~ In function 'SPU_MixAudio_Advanced(SPU_struct*, int)', inlined from 'SPU_MixAudio(SPU_struct*, int)' at src/SPU.cpp:1392:24, inlined from 'SPU_Emulate_core()' at src/SPU.cpp:1450:14: src/SPU.cpp:1305:47: warning: 'sndout[0]' may be used uninitialized [-Wmaybe-uninitialized] 1305 | SPU->sndbuf[samp*2+0] = sndout[0]; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ src/SPU.cpp: In function 'SPU_Emulate_core()': src/SPU.cpp:1261:21: note: 'sndout[0]' was declared here 1261 | s32 sndout[2]; | ^~~~~~ In function 'SPU_MixAudio_Advanced(SPU_struct*, int)', inlined from 'SPU_MixAudio(SPU_struct*, int)' at src/SPU.cpp:1392:24, inlined from 'SPU_Emulate_core()' at src/SPU.cpp:1450:14: src/SPU.cpp:1306:47: warning: 'sndout[1]' may be used uninitialized [-Wmaybe-uninitialized] 1306 | SPU->sndbuf[samp*2+1] = sndout[1]; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ src/SPU.cpp: In function 'SPU_Emulate_core()': src/SPU.cpp:1261:21: note: 'sndout[1]' was declared here 1261 | s32 sndout[2]; | ^~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/matrix.o src/matrix.cpp In file included from src/MMU.h:24, from src/matrix.cpp:25: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ src/matrix.cpp: In function 'void MatrixStackInit(MatrixStack*)': src/matrix.cpp:191:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 's32' {aka 'int'} [-Wsign-compare] 191 | for (i = 0; i < stack->size; i++) | ~~^~~~~~~~~~~~~ src/matrix.cpp: In function 'void MatrixStackSetMaxSize(MatrixStack*, int)': src/matrix.cpp:206:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 's32' {aka 'int'} [-Wsign-compare] 206 | for (i = 0; i < stack->size; i++) | ~~^~~~~~~~~~~~~ In file included from src/matrix.cpp:24: src/matrix.h: At global scope: src/matrix.h:127:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 127 | static void memset_u32(void *dst, const u32 val, const size_t length) | ^~~~~~~~~~ src/matrix.h:108:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 108 | static void memset_u16(void *dst, const u16 val, const size_t length) | ^~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/gfx3d.o src/gfx3d.cpp In file included from src/MMU.h:24, from src/armcpu.h:23, from src/gfx3d.cpp:41: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/gfx3d.cpp:52: src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ In file included from src/movie.h:25, from src/gfx3d.cpp:56: src/utils/datetime.h: In static member function 'static s64 TimeSpan::CalculateTicks(int, int, int, int, int)': src/utils/datetime.h:308:22: warning: variable 'overflow' set but not used [-Wunused-but-set-variable] 308 | bool overflow = false; | ^~~~~~~~ src/utils/datetime.h: In member function 'DateTime DateTime::AddMonths(int) const': src/utils/datetime.h:680:25: warning: left operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~~ src/utils/datetime.h:680:38: warning: right operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~ src/gfx3d.cpp: In function 'void gfx3d_init()': src/gfx3d.cpp:523:13: warning: unused variable 'zzz' [-Wunused-variable] 523 | int zzz=9; | ^~~ src/gfx3d.cpp: In function 'BOOL gfx3d_glBoxTest(u32)': src/gfx3d.cpp:1650:41: warning: unused variable 'vert' [-Wunused-variable] 1650 | DS_ALIGN(16) VERT_POS4f vert = { verts[i].x, verts[i].y, verts[i].z, verts[i].w }; | ^~~~ src/gfx3d.cpp: In function 'bool gfx3d_ysort_compare(int, int)': src/gfx3d.cpp:2061:14: warning: unused variable 'kalven' [-Wunused-variable] 2061 | bool kalven = gfx3d_ysort_compare_kalven(num1,num2); | ^~~~~~ src/gfx3d.cpp: In function 'void gfx3d_savestate(EMUFILE*)': src/gfx3d.cpp:2463:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2463 | for (size_t i = 0; i < vertlist->count; i++) | ~~^~~~~~~~~~~~~~~~~ src/gfx3d.cpp:2466:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2466 | for (size_t i = 0; i < polylist->count; i++) | ~~^~~~~~~~~~~~~~~~~ src/gfx3d.cpp:2472:37: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 2472 | for(size_t j = 0; j < mtxStack[i].size*16; j++) | ~~^~~~~~~~~~~~~~~~~~~~~ src/gfx3d.cpp: In function 'bool gfx3d_loadstate(EMUFILE*, int)': src/gfx3d.cpp:2505:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2505 | for (size_t i = 0; i < vertlist->count; i++) | ~~^~~~~~~~~~~~~~~~~ src/gfx3d.cpp:2508:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2508 | for (size_t i = 0; i < polylist->count; i++) | ~~^~~~~~~~~~~~~~~~~ src/gfx3d.cpp:2517:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 2517 | for(size_t j = 0; j < mtxStack[i].size*16; j++) | ~~^~~~~~~~~~~~~~~~~~~~~ In file included from src/gfx3d.cpp:45: src/matrix.h: At global scope: src/matrix.h:127:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 127 | static void memset_u32(void *dst, const u32 val, const size_t length) | ^~~~~~~~~~ src/matrix.h:108:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 108 | static void memset_u16(void *dst, const u16 val, const size_t length) | ^~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/thumb_instructions.o src/thumb_instructions.cpp In file included from src/MMU.h:24, from src/armcpu.h:23, from src/thumb_instructions.cpp:20: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/thumb_instructions.cpp:30: src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/advanscene.o src/utils/advanscene.cpp In file included from src/utils/advanscene.cpp:24: src/utils/advanscene.h: In constructor 'ADVANsCEne::ADVANsCEne()': src/utils/advanscene.h:33:41: warning: 'ADVANsCEne::saveType' will be initialized after [-Wreorder] 33 | u8 saveType; | ^~~~~~~~ src/utils/advanscene.h:29:41: warning: 'u32 ADVANsCEne::crc32' [-Wreorder] 29 | u32 crc32; | ^~~~~ src/utils/advanscene.h:46:9: warning: when initialized here [-Wreorder] 46 | ADVANsCEne() | ^~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/datetime.o src/utils/datetime.cpp In file included from src/utils/datetime.cpp:1: src/utils/datetime.h: In static member function 'static s64 TimeSpan::CalculateTicks(int, int, int, int, int)': src/utils/datetime.h:308:22: warning: variable 'overflow' set but not used [-Wunused-but-set-variable] 308 | bool overflow = false; | ^~~~~~~~ src/utils/datetime.h: In member function 'DateTime DateTime::AddMonths(int) const': src/utils/datetime.h:680:25: warning: left operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~~ src/utils/datetime.h:680:38: warning: right operand of comma operator has no effect [-Wunused-value] 680 | temp = (year, month, day); | ^~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/GPU.o src/GPU.cpp In file included from src/MMU.h:24, from src/GPU.cpp:38: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/GPU.cpp:45: src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/GPU.cpp: In instantiation of 'void GPUEngineBase::_SpriteRenderPerform(u16*, u8*, u8*, u8*) [with SpriteRenderMode MODE = SpriteRenderMode_Sprite1D; u16 = short unsigned int; u8 = unsigned char]': src/GPU.cpp:1703:56: required from here src/GPU.cpp:1829:54: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 1829 | for (size_t j = 0; j < lg; ++j, ++sprX) | ~~^~~~ src/GPU.cpp:1868:54: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 1868 | for (size_t j = 0; j < lg; ++j, ++sprX) | ~~^~~~ src/GPU.cpp:1919:54: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 1919 | for (size_t j = 0; j < lg; ++j, ++sprX) | ~~^~~~ src/GPU.cpp: In instantiation of 'void GPUEngineBase::_SpriteRenderPerform(u16*, u8*, u8*, u8*) [with SpriteRenderMode MODE = SpriteRenderMode_Sprite2D; u16 = short unsigned int; u8 = unsigned char]': src/GPU.cpp:1705:56: required from here src/GPU.cpp:1829:54: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 1829 | for (size_t j = 0; j < lg; ++j, ++sprX) | ~~^~~~ src/GPU.cpp:1868:54: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 1868 | for (size_t j = 0; j < lg; ++j, ++sprX) | ~~^~~~ src/GPU.cpp:1919:54: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 's32' {aka 'int'} [-Wsign-compare] 1919 | for (size_t j = 0; j < lg; ++j, ++sprX) | ~~^~~~ In file included from src/GPU.cpp:47: src/matrix.h: At global scope: src/matrix.h:127:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 127 | static void memset_u32(void *dst, const u32 val, const size_t length) | ^~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/emufat.o src/utils/emufat.cpp In file included from src/utils/emufat.cpp:28: src/utils/emufat.h: In constructor 'EmuFat::EmuFat(EMUFILE*)': src/utils/emufat.h:691:26: warning: 'EmuFat::m_owns' will be initialized after [-Wreorder] 691 | bool m_readonly, m_owns; | ^~~~~~ src/utils/emufat.h:691:14: warning: 'bool EmuFat::m_readonly' [-Wreorder] 691 | bool m_readonly, m_owns; | ^~~~~~~~~~ src/utils/emufat.cpp:115:1: warning: when initialized here [-Wreorder] 115 | EmuFat::EmuFat(EMUFILE* fileNotToDelete) | ^~~~~~ src/utils/emufat.cpp: In function 'bool calculateClusterSize(TFat32BootSector*, u32, u32&, u32&, int, int&)': src/utils/emufat.cpp:245:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 245 | if (maxclust12 > MAX_CLUST_12) | ^~ 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", | ^~~~~~ src/utils/emufat.cpp: In member function 'bool EmuFatVolume::formatNew(u32)': src/utils/emufat.cpp:562:30: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 562 | for(int j=0;jfread(&data, size); | ^~~~~~ src/addons/slot2_gbagame.cpp: In member function 'u32 Slot2_GbaCart::readSRAM(u32, u8)': src/addons/slot2_gbagame.cpp:80:21: warning: unused variable 'readed' [-Wunused-variable] 80 | u32 readed = fSRAM->fread(&data, size); | ^~~~~~ src/addons/slot2_gbagame.cpp: In member function 'void Slot2_GbaCart::writeSRAM(u32, const u8*, u32)': src/addons/slot2_gbagame.cpp:91:21: warning: unused variable 'writed' [-Wunused-variable] 91 | u32 writed = size; | ^~~~~~ make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/addons/slot2_guitarGrip.o src/addons/slot2_guitarGrip.cpp make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/addons/slot2_expMemory.o src/addons/slot2_expMemory.cpp make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/addons/slot2_piano.o src/addons/slot2_piano.cpp make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/addons/slot2_passme.o src/addons/slot2_passme.cpp In file included from src/addons/slot2_passme.cpp:19: src/addons/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/addons/../NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/addons/../NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/addons/../NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/addons/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/addons/../NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/addons/../NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/addons/../NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/addons/slot1_none.o src/addons/slot1_none.cpp In file included from src/addons/../MMU.h:24, from src/addons/../slot1.h:24, from src/addons/slot1_none.cpp:18: src/addons/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/addons/../firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/addons/../firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/addons/../firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/addons/slot1_r4.o src/addons/slot1_r4.cpp In file included from src/addons/../MMU.h:24, from src/addons/slot1comp_protocol.h:27, from src/addons/slot1_r4.cpp:18: src/addons/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/addons/../firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/addons/../firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/addons/../firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/addons/slot1_r4.cpp:23: src/addons/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/addons/../NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/addons/../NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/addons/../NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/addons/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/addons/../NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/addons/../NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/addons/../NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ In file included from src/addons/slot1_r4.cpp:24: In member function 'EMUFILE::fread(void const*, unsigned long)', inlined from 'Slot1_R4::slot1client_read_GCDATAIN(eSlot1Operation)' at src/addons/slot1_r4.cpp:143:15: src/addons/../emufile.h:71:30: warning: 'val' may be used uninitialized [-Wmaybe-uninitialized] 71 | return _fread(ptr,bytes); | ~~~~~~^~~~~~~~~~~ src/addons/../emufile.h:71:30: note: by argument 2 of type 'const void *' to 'size_t EMUFILE:: (struct EMUFILE *, const void *, size_t)' src/addons/slot1_r4.cpp: In member function 'Slot1_R4::slot1client_read_GCDATAIN(eSlot1Operation)': src/addons/slot1_r4.cpp:127:21: note: 'val' declared here 127 | u32 val; | ^~~ src/addons/../emufile.h: In member function 'non-virtual thunk to Slot1_R4::slot1client_read_GCDATAIN(eSlot1Operation)': src/addons/../emufile.h:71:30: warning: 'val' may be used uninitialized [-Wmaybe-uninitialized] 71 | return _fread(ptr,bytes); | ~~~~~~^~~~~~~~~~~ src/addons/../emufile.h:71:30: note: by argument 2 of type 'const void *' to 'size_t EMUFILE:: (struct EMUFILE *, const void *, size_t)' src/addons/slot1_r4.cpp:127:21: note: 'val' declared here 127 | u32 val; | ^~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/addons/slot1comp_mc.o src/addons/slot1comp_mc.cpp In file included from src/addons/../MMU.h:24, from src/addons/slot1comp_mc.cpp:23: src/addons/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/addons/../firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/addons/../firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/addons/../firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/addons/slot1comp_mc.cpp:24: src/addons/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/addons/../NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/addons/../NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/addons/../NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/addons/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/addons/../NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/addons/../NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/addons/../NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/addons/slot1comp_rom.o src/addons/slot1comp_rom.cpp In file included from src/addons/../MMU.h:24, from src/addons/slot1comp_protocol.h:27, from src/addons/slot1comp_rom.h:24, from src/addons/slot1comp_rom.cpp:18: src/addons/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/addons/../firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/addons/../firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/addons/../firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/addons/slot1comp_rom.cpp:20: src/addons/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/addons/../NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/addons/../NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/addons/../NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/addons/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/addons/../NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/addons/../NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/addons/../NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/slot1comp_rom.cpp: In member function 'void Slot1Comp_Rom::loadstate(EMUFILE*)': src/addons/slot1comp_rom.cpp:121:13: warning: unused variable 'version' [-Wunused-variable] 121 | s32 version = is->read32le(); | ^~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/addons/slot1comp_protocol.o src/addons/slot1comp_protocol.cpp In file included from src/addons/../MMU.h:24, from src/addons/slot1comp_protocol.h:27, from src/addons/slot1comp_protocol.cpp:18: src/addons/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/addons/../firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/addons/../firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/addons/../firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ src/addons/slot1comp_protocol.cpp: In member function 'void Slot1Comp_Protocol::loadstate(EMUFILE*)': src/addons/slot1comp_protocol.cpp:251:13: warning: unused variable 'version' [-Wunused-variable] 251 | s32 version = is->read32le(); | ^~~~~~~ In file included from src/addons/slot1comp_protocol.cpp:23: src/addons/../encrypt.h: In member function '_KEY1::_KEY1(unsigned char const*)': src/addons/../encrypt.h:27:21: warning: 'this_7(D)->keyBuf' is used uninitialized [-Wuninitialized] 27 | if (keyBuf) delete keyBuf; | ^~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/addons/slot1_retail_mcrom.o src/addons/slot1_retail_mcrom.cpp In file included from src/addons/../MMU.h:24, from src/addons/slot1comp_protocol.h:27, from src/addons/slot1comp_rom.h:24, from src/addons/slot1_retail_mcrom.cpp:19: src/addons/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/addons/../firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/addons/../firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/addons/../firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/addons/slot1_retail_mcrom.cpp:23: src/addons/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/addons/../NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/addons/../NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/addons/../NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/addons/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/addons/../NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/addons/../NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/addons/../NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/addons/slot1_retail_nand.o src/addons/slot1_retail_nand.cpp In file included from src/addons/../MMU.h:24, from src/addons/slot1comp_protocol.h:27, from src/addons/slot1comp_rom.h:24, from src/addons/slot1_retail_nand.cpp:24: src/addons/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/addons/../firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/addons/../firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/addons/../firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/addons/slot1_retail_nand.cpp:28: src/addons/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/addons/../NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/addons/../NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/addons/../NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/addons/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/addons/../NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/addons/../NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/addons/../NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/slot1_retail_nand.cpp: In member function 'virtual void Slot1_Retail_NAND::slot1client_write_GCDATAIN(eSlot1Operation, u32)': src/addons/slot1_retail_nand.cpp:261:21: warning: unused variable 'value' [-Wunused-variable] 261 | u32 value = val; | ^~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/addons/slot1_retail_auto.o src/addons/slot1_retail_auto.cpp In file included from src/addons/../MMU.h:24, from src/addons/../slot1.h:24, from src/addons/slot1_retail_auto.cpp:18: src/addons/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/addons/../firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/addons/../firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/addons/../firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/addons/slot1_retail_auto.cpp:19: src/addons/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/addons/../NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/addons/../NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/addons/../NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/addons/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/addons/../NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/addons/../NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/addons/../NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/cheatSystem.o src/cheatSystem.cpp In file included from src/cheatSystem.cpp:18: src/cheatSystem.h: In constructor 'CHEATSEXPORT::CHEATSEXPORT()': src/cheatSystem.h:119:49: warning: 'CHEATSEXPORT::encOffset' will be initialized after [-Wreorder] 119 | u32 encOffset; | ^~~~~~~~~ src/cheatSystem.h:114:33: warning: 'CHEATS_DB_TYPE CHEATSEXPORT::type' [-Wreorder] 114 | CHEATS_DB_TYPE type; | ^~~~ src/cheatSystem.h:135:9: warning: when initialized here [-Wreorder] 135 | CHEATSEXPORT() : | ^~~~~~~~~~~~ src/cheatSystem.h:159:41: warning: 'CHEATSEXPORT::CRC' will be initialized after [-Wreorder] 159 | u32 CRC; | ^~~ src/cheatSystem.h:128:49: warning: 'u8 CHEATSEXPORT::error' [-Wreorder] 128 | u8 error; // 0 - no errors | ^~~~~ src/cheatSystem.h:135:9: warning: when initialized here [-Wreorder] 135 | CHEATSEXPORT() : | ^~~~~~~~~~~~ In file included from src/cheatSystem.cpp:21: src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ In file included from src/MMU.h:24, from src/cheatSystem.cpp:24: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ src/cheatSystem.cpp: In member function 'bool CHEATSEXPORT::getCodes()': src/cheatSystem.cpp:933: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] 933 | memset(cheats, 0, sizeof(CHEATS_LIST) * numCheats); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cheatSystem.h:32:8: note: 'struct CHEATS_LIST' declared here 32 | struct CHEATS_LIST | ^~~~~~~~~~~ src/cheatSystem.cpp: In member function 'CHEATS::setDescription(char const*, unsigned int)': src/cheatSystem.cpp:567:16: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 567 | strncpy(list[pos].description, description, sizeof(list[pos].description)); | ^ src/cheatSystem.cpp: In member function 'CHEATSEXPORT::getCodes()': src/cheatSystem.cpp:975:40: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 975 | strncpy(cheats[pos_cht].description, descriptionStr.c_str(), sizeof(cheats[pos_cht].description)); | ^ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/texcache.o src/texcache.cpp In file included from src/texcache.cpp:25: src/texcache.h: In constructor 'TexCacheItem::TexCacheItem()': src/texcache.h:67:14: warning: 'TexCacheItem::assumedInvalid' will be initialized after [-Wreorder] 67 | bool assumedInvalid; | ^~~~~~~~~~~~~~ src/texcache.h:42:36: warning: 'void (* TexCacheItem::_deleteCallback)(TexCacheItem*, void*, void*)' [-Wreorder] 42 | TexCacheItemDeleteCallback _deleteCallback; | ^~~~~~~~~~~~~~~ src/texcache.h:47:9: warning: when initialized here [-Wreorder] 47 | TexCacheItem() | ^~~~~~~~~~~~ In file included from src/MMU.h:24, from src/texcache.cpp:30: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/texcache.cpp:31: src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/mic.o src/mic.cpp In file included from src/mic.cpp:25: src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/driver.o src/driver.cpp In file included from src/driver.cpp:23: src/texcache.h: In constructor 'TexCacheItem::TexCacheItem()': src/texcache.h:67:14: warning: 'TexCacheItem::assumedInvalid' will be initialized after [-Wreorder] 67 | bool assumedInvalid; | ^~~~~~~~~~~~~~ src/texcache.h:42:36: warning: 'void (* TexCacheItem::_deleteCallback)(TexCacheItem*, void*, void*)' [-Wreorder] 42 | TexCacheItemDeleteCallback _deleteCallback; | ^~~~~~~~~~~~~~~ src/texcache.h:47:9: warning: when initialized here [-Wreorder] 47 | TexCacheItem() | ^~~~~~~~~~~~ src/driver.cpp: In member function 'void BaseDriver::VIEW3D_Shutdown()': src/driver.cpp:35:35: warning: deleting object of polymorphic class type 'VIEW3D_Driver' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 35 | if(view3d != &nullView3d) delete view3d; | ^~~~~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/libretro/libretro.o src/libretro/libretro.cpp In file included from src/libretro/libretro.cpp:8: src/cheatSystem.h: In constructor 'CHEATSEXPORT::CHEATSEXPORT()': src/cheatSystem.h:119:49: warning: 'CHEATSEXPORT::encOffset' will be initialized after [-Wreorder] 119 | u32 encOffset; | ^~~~~~~~~ src/cheatSystem.h:114:33: warning: 'CHEATS_DB_TYPE CHEATSEXPORT::type' [-Wreorder] 114 | CHEATS_DB_TYPE type; | ^~~~ src/cheatSystem.h:135:9: warning: when initialized here [-Wreorder] 135 | CHEATSEXPORT() : | ^~~~~~~~~~~~ src/cheatSystem.h:159:41: warning: 'CHEATSEXPORT::CRC' will be initialized after [-Wreorder] 159 | u32 CRC; | ^~~ src/cheatSystem.h:128:49: warning: 'u8 CHEATSEXPORT::error' [-Wreorder] 128 | u8 error; // 0 - no errors | ^~~~~ src/cheatSystem.h:135:9: warning: when initialized here [-Wreorder] 135 | CHEATSEXPORT() : | ^~~~~~~~~~~~ In file included from src/MMU.h:24, from src/libretro/libretro.cpp:9: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/libretro/libretro.cpp:10: src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/libretro/libretro.cpp: In function 'void DrawPointerLine(uint16_t*, uint32_t)': src/libretro/libretro.cpp:109:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 109 | for(int i = 0; i < (5 * scale) ; i ++) | ~~^~~~~~~~~~~~~ src/libretro/libretro.cpp: In function 'void DrawPointerLineSmall(uint16_t*, uint32_t, int)': src/libretro/libretro.cpp:115:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 115 | for(int i = 0; i < (factor * scale) ; i ++) | ~~^~~~~~~~~~~~~~~~~~ src/libretro/libretro.cpp: In function 'void DrawPointer(uint16_t*, uint32_t)': src/libretro/libretro.cpp:127:14: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 127 | if(TouchX > (5 * scale)) DrawPointerLine(&aOut[TouchY * aPitchInPix + TouchX - (5 * scale) ], 1); | ~~~~~~~^~~~~~~~~~~~~~~ src/libretro/libretro.cpp:128:14: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 128 | if(TouchX < (GPU_LR_FRAMEBUFFER_NATIVE_WIDTH - (5 * scale) )) DrawPointerLine(&aOut[TouchY * aPitchInPix + TouchX + 1], 1); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro/libretro.cpp:129:14: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 129 | if(TouchY > (5 * scale)) DrawPointerLine(&aOut[(TouchY - (5 * scale) ) * aPitchInPix + TouchX], aPitchInPix); | ~~~~~~~^~~~~~~~~~~~~~~ src/libretro/libretro.cpp:130:14: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 130 | if(TouchY < (GPU_LR_FRAMEBUFFER_NATIVE_HEIGHT-(5 * scale) )) DrawPointerLine(&aOut[(TouchY + 1) * aPitchInPix + TouchX], aPitchInPix); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro/libretro.cpp: In function 'void DrawPointerHybrid(uint16_t*, uint32_t, bool)': src/libretro/libretro.cpp:143:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 143 | if(nds_screen_gap >= hybrid_layout_scale*GPU_LR_FRAMEBUFFER_NATIVE_HEIGHT/3) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro/libretro.cpp: In function 'void BlankScreenSmallSection(uint16_t*, const uint16_t*)': src/libretro/libretro.cpp:222:18: warning: unused variable 'i' [-Wunused-variable] 222 | unsigned i; | ^ src/libretro/libretro.cpp: In function 'void SwapScreenLarge(uint16_t*, const uint16_t*, uint32_t)': src/libretro/libretro.cpp:309:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 309 | for(k = 0; k < hybrid_layout_scale; ++k) | ~~^~~~~~~~~~~~~~~~~~~~~ src/libretro/libretro.cpp: In function 'void SwapScreenSmall(uint16_t*, const uint16_t*, uint32_t, bool, bool)': src/libretro/libretro.cpp:320:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 320 | if(nds_screen_gap >= hybrid_layout_scale*GPU_LR_FRAMEBUFFER_NATIVE_HEIGHT/3) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro/libretro.cpp:329:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 329 | fmake: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' or(i=0; i< addgap; ++i) | ~^~~~~~~~ src/libretro/libretro.cpp:378:25: warning: value computed is not used [-Wunused-value] 378 | *src++; *dst++; | ^~~~~~ src/libretro/libretro.cpp:378:33: warning: value computed is not used [-Wunused-value] 378 | *src++; *dst++; | ^~~~~~ src/libretro/libretro.cpp:385:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 385 | for(i=0; i= hybrid_layout_scale*GPU_LR_FRAMEBUFFER_NATIVE_HEIGHT/3) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro/libretro.cpp:507:43: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 507 | if(nds_screen_gap >= GPU_LR_FRAMEBUFFER_NATIVE_HEIGHT/3) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro/libretro.cpp: In function 'void check_variables(bool)': src/libretro/libretro.cpp:720:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 720 | if (old_layout_id != new_layout_id) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/libretro/libretro.cpp:817:34: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 817 | if (firmwareLanguage == -1) firmwareLanguage = host_get_language(); | ~~~~~~~~~~~~~~~~~^~~~~ src/libretro/libretro.cpp: In function 'bool retro_serialize(void*, size_t)': src/libretro/libretro.cpp:1687:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1687 | if(state.size() <= size) | ~~~~~~~~~~~~~^~~~~~~ src/libretro/libretro.cpp: At global scope: src/libretro/libretro.cpp:571:13: warning: 'void MicrophoneToggle()' defined but not used [-Wunused-function] 571 | static void MicrophoneToggle(void) | ^~~~~~~~~~~~~~~~ In file included from src/SPU.h:28, from src/libretro/libretro.cpp:17: src/matrix.h:127:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 127 | static void memset_u32(void *dst, const u32 val, const size_t length) | ^~~~~~~~~~ src/matrix.h:108:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 108 | static void memset_u16(void *dst, const u16 val, const size_t length) | ^~~~~~~~~~ make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/libretro/scrc32.o src/libretro/scrc32.cpp make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/addons/slot1_retail_mcrom_debug.o src/addons/slot1_retail_mcrom_debug.cpp In file included from src/addons/../MMU.h:24, from src/addons/slot1comp_protocol.h:27, from src/addons/slot1comp_rom.h:24, from src/addons/slot1_retail_mcrom_debug.cpp:19: src/addons/../firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/addons/../firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/addons/../firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/addons/../firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/addons/slot1_retail_mcrom_debug.cpp:26: src/addons/../path.h: In member function 'void PathInfo::ReadPathSettings()': src/addons/../path.h:181:58: warning: the address of 'PathInfo::pathToModule' will never be NULL [-Waddress] 181 | if( ( strcmp(pathToModule, "") == 0) || !pathToModule) | ^~~~~~~~~~~~ src/addons/../path.h:103:14: note: 'PathInfo::pathToModule' declared here 103 | char pathToModule[PATH_MAX_LENGTH]; | ^~~~~~~~~~~~ In file included from src/addons/slot1_retail_mcrom_debug.cpp:27: src/addons/../NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/addons/../NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/addons/../NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/addons/../NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/addons/../NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/addons/../NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/addons/../NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/addons/../NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/addons/../NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/addons/../path.h: In member function 'PathInfo::SwitchPath(PathInfo::Action, PathInfo::KnownPath, char*)': src/addons/../path.h:281:32: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 281 | strncpy(pathToCopy, buffer, PATH_MAX_LENGTH); | ^ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/fsnitro.o src/utils/fsnitro.cpp src/utils/fsnitro.cpp: In member function 'bool FS_NITRO::loadFileTables()': src/utils/fsnitro.cpp:205:23: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct FNT_NITRO' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 205 | memcpy(&fnt[i], _FNT, 8); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/utils/fsnitro.cpp:35: src/utils/fsnitro.h:69:8: note: 'struct FNT_NITRO' declared here 69 | struct FNT_NITRO | ^~~~~~~~~ src/utils/fsnitro.cpp:212:34: warning: unused variable '_end' [-Wunused-variable] 212 | u8 *_end = (u8*)(rom + FNameTblOff + FNameTblSize - 1); | ^~~~ src/utils/fsnitro.cpp: In member function 'bool FS_NITRO::rebuildFAT(u32, u32, std::string)': src/utils/fsnitro.cpp:294:13: warning: unused variable 'romFAT' [-Wunused-variable] 294 | u8 *romFAT = (u8*)(rom + addr); | ^~~~~~ src/utils/fsnitro.cpp: In member function 'bool FS_NITRO::extractFile(u16, std::string)': src/utils/fsnitro.cpp:503:15: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 503 | getcwd(curr_dir, sizeof(curr_dir)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/fsnitro.cpp:504:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 504 | chdir(to.c_str()); | ~~~~~^~~~~~~~~~~~ src/utils/fsnitro.cpp:506:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 506 | chdir(curr_dir); | ~~~~~^~~~~~~~~~ src/utils/fsnitro.cpp: In member function 'bool FS_NITRO::extractAll(std::string, void (*)(u32, u32))': src/utils/fsnitro.cpp:521:15: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 521 | getcwd(curr_dir, sizeof(curr_dir)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/fsnitro.cpp:522:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 522 | chdir(dataDir.c_str()); | ~~~~~^~~~~~~~~~~~~~~~~ src/utils/fsnitro.cpp:537:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 537 | chdir(dataDir.c_str()); | ~~~~~^~~~~~~~~~~~~~~~~ src/utils/fsnitro.cpp:547:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 547 | chdir(overlayDir.c_str()); | ~~~~~^~~~~~~~~~~~~~~~~~~~ src/utils/fsnitro.cpp:554:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 554 | chdir(curr_dir); | ~~~~~^~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/task.o src/utils/task.cpp make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/rasterize.o src/rasterize.cpp In file included from src/rasterize.cpp:60: src/texcache.h: In constructor 'TexCacheItem::TexCacheItem()': src/texcache.h:67:14: warning: 'TexCacheItem::assumedInvalid' will be initialized after [-Wreorder] 67 | bool assumedInvalid; | ^~~~~~~~~~~~~~ src/texcache.h:42:36: warning: 'void (* TexCacheItem::_deleteCallback)(TexCacheItem*, void*, void*)' [-Wreorder] 42 | TexCacheItemDeleteCallback _deleteCallback; | ^~~~~~~~~~~~~~~ src/texcache.h:47:9: warning: when initialized here [-Wreorder] 47 | TexCacheItem() | ^~~~~~~~~~~~ In file included from src/MMU.h:24, from src/rasterize.cpp:61: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/rasterize.cpp:62: src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/rasterize.cpp: In member function 'virtual Render3DError SoftRasterizerRenderer::RenderEdgeMarking(const u16*, bool)': src/rasterize.cpp:1504:20: warning: unused variable 'r' [-Wunused-variable] 1504 | size_t i, x, y, r; | ^ src/rasterize.cpp: In instantiation of 'void RasterizerUnit::mainLoop() [with bool SLI = false; bool RENDERER = false]': src/rasterize.cpp:1056:45: required from here src/rasterize.cpp:954:61: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 954 | if (!RENDERER) _debug_thisPoly = (i == this->_softRender->_debug_drawClippedUserPoly); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/rasterize.cpp: In instantiation of 'size_t SoftRasterizerRenderer::performClipping(const VERTLIST*, const POLYLIST*, const INDEXLIST*) [with bool useHiResInterpolate = true; size_t = long unsigned int]': src/rasterize.cpp:1429:56: required from here src/rasterize.cpp:1222:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 1222 | for (size_t i = 0; i < polyList->count; i++) | ~~^~~~~~~~~~~~~~~~~ src/rasterize.cpp: In instantiation of 'size_t SoftRasterizerRenderer::performClipping(const VERTLIST*, const POLYLIST*, const INDEXLIST*) [with bool useHiResInterpolate = false; size_t = long unsigned int]': src/rasterize.cpp:1431:57: required from here src/rasterize.cpp:1222:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] src/rasterize.cpp: In instantiation of 'void RasterizerUnit::runscanlines(const PolygonAttributes&, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*, bool, bool) [with bool SLI = true; bool isShadowPolygon = true; bool RENDERER = true; size_t = long unsigned int]': src/rasterize.cpp:909:38: required from 'void RasterizerUnit::shape_engine(const PolygonAttributes&, FragmentColor*, size_t, size_t, int, bool, bool) [with bool SLI = true; bool isShadowPolygon = true; bool RENDERER = true; size_t = long unsigned int]' src/rasterize.cpp:984:28: required from 'void RasterizerUnit::mainLoop() [with bool SLI = true; bool RENDERER = true]' src/rasterize.cpp:1006:38: required from here src/rasterize.cpp:739:83: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 739 | if (lineHack && left->Height == 0 && right->Height == 0 && left->YY>=0) | ~~~~~~~^~~~~~~~~~~~~~~~~~ src/rasterize.cpp: In instantiation of 'void RasterizerUnit::runscanlines(const PolygonAttributes&, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*, bool, bool) [with bool SLI = true; bool isShadowPolygon = false; bool RENDERER = true; size_t = long unsigned int]': src/rasterize.cpp:909:38: required from 'void RasterizerUnit::shape_engine(const PolygonAttributes&, FragmentColor*, size_t, size_t, int, bool, bool) [with bool SLI = true; bool isShadowPolygon = false; bool RENDERER = true; size_t = long unsigned int]' src/rasterize.cpp:988:29: required from 'void RasterizerUnit::mainLoop() [with bool SLI = true; bool RENDERER = true]' src/rasterize.cpp:1006:38: required from here src/rasterize.cpp:739:83: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] src/rasterize.cpp: In instantiation of 'void RasterizerUnit::runscanlines(const PolygonAttributes&, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*, bool, bool) [with bool SLI = false; bool isShadowPolygon = true; bool RENDERER = false; size_t = long unsigned int]': src/rasterize.cpp:909:38: required from 'void RasterizerUnit::shape_engine(const PolygonAttributes&, FragmentColor*, size_t, size_t, int, bool, bool) [with bool SLI = false; bool isShadowPolygon = true; bool RENDERER = false; size_t =make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' long unsigned int]' src/rasterize.cpp:984:28: required from 'void RasterizerUnit::mainLoop() [with bool SLI = false; bool RENDERER = false]' src/rasterize.cpp:1056:45: required from here src/rasterize.cpp:739:83: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] src/rasterize.cpp: In instantiation of 'void RasterizerUnit::runscanlines(const PolygonAttributes&, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*, bool, bool) [with bool SLI = false; bool isShadowPolygon = false; bool RENDERER = false; size_t = long unsigned int]': src/rasterize.cpp:909:38: required from 'void RasterizerUnit::shape_engine(const PolygonAttributes&, FragmentColor*, size_t, size_t, int, bool, bool) [with bool SLI = false; bool isShadowPolygon = false; bool RENDERER = false; size_t = long unsigned int]' src/rasterize.cpp:988:29: required from 'void RasterizerUnit::mainLoop() [with bool SLI = false; bool RENDERER = false]' src/rasterize.cpp:1056:45: required from here src/rasterize.cpp:739:83: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] src/rasterize.cpp: In instantiation of 'void RasterizerUnit::runscanlines(const PolygonAttributes&, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*, bool, bool) [with bool SLI = false; bool isShadowPolygon = true; bool RENDERER = true; size_t = long unsigned int]': src/rasterize.cpp:909:38: required from 'void RasterizerUnit::shape_engine(const PolygonAttributes&, FragmentColor*, size_t, size_t, int, bool, bool) [with bool SLI = false; bool isShadowPolygon = true; bool RENDERER = true; size_t = long unsigned int]' src/rasterize.cpp:984:28: required from 'void RasterizerUnit::mainLoop() [with bool SLI = false; bool RENDERER = true]' src/rasterize.cpp:1488:36: required from here src/rasterize.cpp:739:83: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] src/rasterize.cpp: In instantiation of 'void RasterizerUnit::runscanlines(const PolygonAttributes&, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*, bool, bool) [with bool SLI = false; bool isShadowPolygon = false; bool RENDERER = true; size_t = long unsigned int]': src/rasterize.cpp:909:38: required from 'void RasterizerUnit::shape_engine(const PolygonAttributes&, FragmentColor*, size_t, size_t, int, bool, bool) [with bool SLI = false; bool isShadowPolygon = false; bool RENDERER = true; size_t = long unsigned int]' src/rasterize.cpp:988:29: required from 'void RasterizerUnit::mainLoop() [with bool SLI = false; bool RENDERER = true]' src/rasterize.cpp:1488:36: required from here src/rasterize.cpp:739:83: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] src/rasterize.cpp: In instantiation of 'void RasterizerUnit::drawscanline(const PolygonAttributes&, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*, bool) [with bool isShadowPolygon = true; bool RENDERER = true; size_t = long unsigned int]': src/rasterize.cpp:742:42: required from 'void RasterizerUnit::runscanlines(const PolygonAttributes&, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*, bool, bool) [with bool SLI = true; bool isShadowPolygon = true; bool RENDERER = true; size_t = long unsigned int]' src/rasterize.cpp:909:38: required from 'void RasterizerUnit::shape_engine(const PolygonAttributes&, FragmentColor*, size_t, size_t, int, bool, bool) [with bool SLI = true; bool isShadowPolygon = true; bool RENDERER = true; size_t = long unsigned int]' src/rasterize.cpp:984:28: required from 'void RasterizerUnit::mainLoop() [with bool SLI = true; bool RENDERER = true]' src/rasterize.cpp:1006:38: required from here src/rasterize.cpp:671:59: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 671 | if (RENDERER && (pLeft->Y < 0 || pLeft->Y > (framebufferHeight - 1))) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/rasterize.cpp:676:60: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 676 | if (!RENDERER && (pLeft->Y < 0 || pLeft->Y >= framebufferHeight)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/rasterize.cpp:702:29: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 702 | if (x+width > framebufferWidth) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ src/rasterize.cpp: In instantiation of 'void RasterizerUnit::drawscanline(const PolygonAttributes&, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*, bool) [with bool isShadowPolygon = false; bool RENDERER = true; size_t = long unsigned int]': src/rasterize.cpp:742:42: required from 'void RasterizerUnit::runscanlines(const PolygonAttributes&, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*, bool, bool) [with bool SLI = true; bool isShadowPolygon = false; bool RENDERER = true; size_t = long unsigned int]' src/rasterize.cpp:909:38: required from 'void RasterizerUnit::shape_engine(const PolygonAttributes&, FragmentColor*, size_t, size_t, int, bool, bool) [with bool SLI = true; bool isShadowPolygon = false; bool RENDERER = true; size_t = long unsigned int]' src/rasterize.cpp:988:29: required from 'void RasterizerUnit::mainLoop() [with bool SLI = true; bool RENDERER = true]' src/rasterize.cpp:1006:38: required from here src/rasterize.cpp:671:59: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 671 | if (RENDERER && (pLeft->Y < 0 || pLeft->Y > (framebufferHeight - 1))) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/rasterize.cpp:676:60: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 676 | if (!RENDERER && (pLeft->Y < 0 || pLeft->Y >= framebufferHeight)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/rasterize.cpp:702:29: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 702 | if (x+width > framebufferWidth) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ src/rasterize.cpp: In instantiation of 'void RasterizerUnit::drawscanline(const PolygonAttributes&, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*, bool) [with bool isShadowPolygon = true; bool RENDERER = false; size_t = long unsigned int]': src/rasterize.cpp:742:42: required from 'void RasterizerUnit::runscanlines(const PolygonAttributes&, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*, bool, bool) [with bool SLI = false; bool isShadowPolygon = true; bool RENDERER = false; size_t = long unsigned int]' src/rasterize.cpp:909:38: required from 'void RasterizerUnit::shape_engine(const PolygonAttributes&, FragmentColor*, size_t, size_t, int, bool, bool) [with bool SLI = false; bool isShadowPolygon = true; bool RENDERER = false; size_t = long unsigned int]' src/rasterize.cpp:984:28: required from 'void RasterizerUnit::mainLoop() [with bool SLI = false; bool RENDERER = false]' src/rasterize.cpp:1056:45: required from here src/rasterize.cpp:671:59: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 671 | if (RENDERER && (pLeft->Y < 0 || pLeft->Y > (framebufferHeight - 1))) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/rasterize.cpp:676:60: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 676 | if (!RENDERER && (pLeft->Y < 0 || pLeft->Y >= framebufferHeight)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/rasterize.cpp:702:29: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 702 | if (x+width > framebufferWidth) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ src/rasterize.cpp: In instantiation of 'void RasterizerUnit::drawscanline(const PolygonAttributes&, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*, bool) [with bool isShadowPolygon = false; bool RENDERER = false; size_t = long unsigned int]': src/rasterize.cpp:742:42: required from 'void RasterizerUnit::runscanlines(const PolygonAttributes&, FragmentColor*, size_t, size_t, edge_fx_fl*, edge_fx_fl*, bool, bool) [with bool SLI = false; bool isShadowPolygon = false; bool RENDERER = false; size_t = long unsigned int]' src/rasterize.cpp:909:38: required from 'void RasterizerUnit::shape_engine(const PolygonAttributes&, FragmentColor*, size_t, size_t, int, bool, bool) [with bool SLI = false; bool isShadowPolygon = false; bool RENDERER = false; size_t = long unsigned int]' src/rasterize.cpp:988:29: required from 'void RasterizerUnit::mainLoop() [with bool SLI = false; bool RENDERER = false]' src/rasterize.cpp:1056:45: required from here src/rasterize.cpp:671:59: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 671 | if (RENDERER && (pLeft->Y < 0 || pLeft->Y > (framebufferHeight - 1))) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/rasterize.cpp:676:60: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 676 | if (!RENDERER && (pLeft->Y < 0 || pLeft->Y >= framebufferHeight)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/rasterize.cpp:702:29: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 702 | if (x+width > framebufferWidth) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/rasterize.cpp:57: src/matrix.h: At global scope: src/matrix.h:127:13: warning: 'void memset_u32(void*, u32, size_t)' defined but not used [-Wunused-function] 127 | static void memset_u32(void *dst, const u32 val, const size_t length) | ^~~~~~~~~~ src/matrix.h:108:13: warning: 'void memset_u16(void*, u16, size_t)' defined but not used [-Wunused-function] 108 | static void memset_u16(void *dst, const u16 val, const size_t length) | ^~~~~~~~~~ make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/core/assembler.o src/utils/AsmJit/core/assembler.cpp make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/core/assert.o src/utils/AsmJit/core/assert.cpp make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/core/buffer.o src/utils/AsmJit/core/buffer.cpp make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/core/compiler.o src/utils/AsmJit/core/compiler.cpp In file included from src/utils/AsmJit/core/../core/compiler.h:15, from src/utils/AsmJit/core/compiler.cpp:11: src/utils/AsmJit/core/../core/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': 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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/core/../core/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/core/../core/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/core/compilercontext.o src/utils/AsmJit/core/compilercontext.cpp In file included from src/utils/AsmJit/core/../core/../core/compiler.h:15, from src/utils/AsmJit/core/../core/compilercontext.h:12, from src/utils/AsmJit/core/compilercontext.cpp:10: src/utils/AsmJit/core/../core/../core/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': 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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/core/../core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/core/../core/../core/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/core/../core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/core/../core/../core/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/core/../core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/core/compilerfunc.o src/utils/AsmJit/core/compilerfunc.cpp In file included from src/utils/AsmJit/core/../core/compiler.h:15, from src/utils/AsmJit/core/compilerfunc.cpp:11: src/utils/AsmJit/core/../core/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': 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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/core/../core/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/core/../core/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/core/compileritem.o src/utils/AsmJit/core/compileritem.cpp In file included from src/utils/AsmJit/core/../core/compiler.h:15, from src/utils/AsmJit/core/compileritem.cpp:11: src/utils/AsmJit/core/../core/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': 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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/core/../core/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/core/../core/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/core/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/core/context.o src/utils/AsmJit/core/context.cpp make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/core/cpuinfo.o src/utils/AsmJit/core/cpuinfo.cpp make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/core/defs.o src/utils/AsmJit/core/defs.cpp make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/core/func.o src/utils/AsmJit/core/func.cpp make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/core/logger.o src/utils/AsmJit/core/logger.cpp make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/core/memorymanager.o src/utils/AsmJit/core/memorymanager.cpp src/utils/AsmJit/core/memorymanager.cpp: In constructor 'AsmJit::MemoryManagerPrivate::MemoryManagerPrivate()': src/utils/AsmJit/core/memorymanager.cpp:311:12: warning: 'AsmJit::MemoryManagerPrivate::_root' will be initialized after [-Wreorder] 311 | MemNode* _root; | ^~~~~ src/utils/AsmJit/core/memorymanager.cpp:306:12: warning: 'AsmJit::MemNode* AsmJit::MemoryManagerPrivate::_first' [-Wreorder] 306 | MemNode* _first; | ^~~~~~ src/utils/AsmJit/core/memorymanager.cpp:325:1: warning: when initialized here [-Wreorder] 325 | MemoryManagerPrivate::MemoryManagerPrivate() : | ^~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/core/memorymanager.cpp: At global scope: 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) | ^~~~~~~~~~ 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) | ^~~~~~~~~ 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) | ^~~~~~~ src/utils/AsmJit/core/memorymanager.cpp: In member function 'AsmJit::MemoryManagerPrivate::insertNode(AsmJit::MemNode*)': src/utils/AsmJit/core/memorymanager.cpp:844:27: warning: array subscript 'struct MemNode[0]' is partly outside array bounds of 'struct RbNode[1]' [-Warray-bounds=] 844 | MemNode* q = t->node[1] = _root; | ~~~~~~~~~^ src/utils/AsmJit/core/memorymanager.cpp:836:21: note: object 'head' of size 32 836 | RbNode head = {0}; | ^~~~ In function 'AsmJit::rbRotateSingle(AsmJit::MemNode*, int)', inlined from 'AsmJit::MemoryManagerPrivate::insertNode(AsmJit::MemNode*)' at src/utils/AsmJit/core/memorymanager.cpp:869:62: src/utils/AsmJit/core/memorymanager.cpp:804:12: warning: 'last' may be used uninitialized [-Wmaybe-uninitialized] 804 | MemNode* save = root->node[!dir]; | ^~~~ src/utils/AsmJit/core/memorymanager.cpp: In member function 'AsmJit::MemoryManagerPrivate::insertNode(AsmJit::MemNode*)': src/utils/AsmJit/core/memorymanager.cpp:846:18: note: 'last' was declared here 846 | int dir = 0, last; | ^~~~ src/utils/AsmJit/core/memorymanager.cpp: In member function 'AsmJit::MemoryManagerPrivate::removeNode(AsmJit::MemNode*)': src/utils/AsmJit/core/memorymanager.cpp:923:12: warning: array subscript 'struct MemNode[0]' is partly outside array bounds of 'struct RbNode[1]' [-Warray-bounds=] 923 | q->node[1] = _root; | ~~~~~~~~~^ src/utils/AsmJit/core/memorymanager.cpp:912:19: note: object 'head' of size 32 912 | RbNode head = {0}; | ^~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/core/memorymarker.o src/utils/AsmJit/core/memorymarker.cpp make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/core/operand.o src/utils/AsmJit/core/operand.cpp In file included from src/utils/AsmJit/core/operand.cpp:10: src/utils/AsmJit/core/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': 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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/core/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/core/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/core/stringbuilder.o src/utils/AsmJit/core/stringbuilder.cpp make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/core/stringutil.o src/utils/AsmJit/core/stringutil.cpp make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/core/virtualmemory.o src/utils/AsmJit/core/virtualmemory.cpp make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/core/zonememory.o src/utils/AsmJit/core/zonememory.cpp make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/x86/x86assembler.o src/utils/AsmJit/x86/x86assembler.cpp In file included from src/utils/AsmJit/x86/../x86/../x86/x86operand.h:13, from src/utils/AsmJit/x86/../x86/x86assembler.h:15, from src/utils/AsmJit/x86/x86assembler.cpp:20: src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': 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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/x86/x86assembler.cpp: In member function 'void AsmJit::X86Assembler::_emitInstruction(uint32_t, const AsmJit::Operand*, const AsmJit::Operand*, const AsmJit::Operand*)': src/utils/AsmJit/x86/x86assembler.cpp:1068:20: warning: unused variable 'src' [-Wunused-variable] 1068 | const Imm& src = reinterpret_cast(*o1); | ^~~ src/utils/AsmJit/x86/x86assembler.cpp: In member function 'virtual size_t AsmJit::X86Assembler::relocCode(void*, sysuint_t) const': src/utils/AsmJit/x86/x86assembler.cpp:2661:10: warning: unused variable 'csize' [-Wunused-variable] 2661 | size_t csize = getCodeSize(); | ^~~~~ src/utils/AsmJit/x86/x86assembler.cpp:2720:53: warning: 'val' may be used uninitialized [-Wmaybe-uninitialized] 2720 | *reinterpret_cast(dst + r.offset) = static_cast(val); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/x86assembler.cpp:2679:14: note: 'val' was declared here 2679 | sysint_t val; | ^~~ src/utils/AsmJit/x86/x86assembler.cpp: In member function 'AsmJit::X86Assembler::_emitInstruction(unsigned int, AsmJit::Operand const*, AsmJit::Operand const*, AsmJit::Operand const*)': src/utils/AsmJit/x86/x86assembler.cpp:2581:7: warning: 'immSize' may be used uninitialized [-Wmaybe-uninitialized] 2581 | switch (immSize) | ^~~~~~ src/utils/AsmJit/x86/x86assembler.cpp:878:12: note: 'immSize' was declared here 878 | uint32_t immSize; | ^~~~~~~ src/utils/AsmJit/x86/x86assembler.cpp:2596:9: warning: '_loggerOperands[0]' may be used uninitialized [-Wmaybe-uninitialized] 2596 | if (o0 == immOperand) o0 = &immTemporary; | ^~ src/utils/AsmJit/x86/x86assembler.cpp:863:18: note: '_loggerOperands[0]' was declared here 863 | const Operand* _loggerOperands[3]; | ^~~~~~~~~~~~~~~ src/utils/AsmJit/x86/x86assembler.cpp:2597:9: warning: '_loggerOperands[1]' may be used uninitialized [-Wmaybe-uninitialized] 2597 | if (o1 == immOperand) o1 = &immTemporary; | ^~ src/utils/AsmJit/x86/x86assembler.cpp:863:18: note: '_loggerOperands[1]' was declared here 863 | const Operand* _loggerOperands[3]; | ^~~~~~~~~~~~~~~ src/utils/AsmJit/x86/x86assembler.cpp:2598:9: warning: '_loggerOperands[2]' may be used uninitialized [-Wmaybe-uninitialized] 2598 | if (o2 == immOperand) o2 = &immTemporary; | ^~ src/utils/AsmJit/x86/x86assembler.cpp:863:18: note: '_loggerOperands[2]' was declared here 863 | const Operand* _loggerOperands[3]; | ^~~~~~~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/x86/x86compiler.o src/utils/AsmJit/x86/x86compiler.cpp In file included from src/utils/AsmJit/x86/../x86/../x86/x86operand.h:13, from src/utils/AsmJit/x86/../x86/x86assembler.h:15, from src/utils/AsmJit/x86/x86compiler.cpp:13: src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': 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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/x86/x86compilercontext.o src/utils/AsmJit/x86/x86compilercontext.cpp In file included from src/utils/AsmJit/x86/../x86/../x86/x86operand.h:13, from src/utils/AsmJit/x86/../x86/x86assembler.h:15, from src/utils/AsmJit/x86/x86compilercontext.cpp:13: src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': 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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/x86/x86compilercontext.cpp: In member function 'void AsmJit::X86CompilerContext::_assignState(AsmJit::X86CompilerState*)': src/utils/AsmJit/x86/x86compilercontext.cpp:1493:13: warning: unused variable 'compiler' [-Wunused-variable] 1493 | Compiler* compiler = getCompiler(); | ^~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/x86/x86compilerfunc.o src/utils/AsmJit/x86/x86compilerfunc.cpp In file included from src/utils/AsmJit/x86/../x86/../core/compiler.h:15, from src/utils/AsmJit/x86/../x86/x86compiler.h:13, from src/utils/AsmJit/x86/x86compilerfunc.cpp:13: src/utils/AsmJit/x86/../x86/../core/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': 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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/x86/../x86/../core/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/x86/../x86/../core/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/x86/x86compilerfunc.cpp: In member function 'void AsmJit::X86CompilerFuncDecl::_preparePrologEpilog(AsmJit::CompilerContext&)': src/utils/AsmJit/x86/x86compilerfunc.cpp:215:21: warning: unused variable 'cpuInfo' [-Wunused-variable] 215 | const X86CpuInfo* cpuInfo = X86CpuInfo::getGlobal(); | ^~~~~~~ src/utils/AsmJit/x86/x86compilerfunc.cpp: In member function 'void AsmJit::X86CompilerFuncDecl::_dumpFunction(AsmJit::CompilerContext&)': src/utils/AsmJit/x86/x86compilerfunc.cpp:362:31: warning: operation on 'memHome' may be undefined [-Wsequence-point] 362 | char* memHome = memHome = _buf; | ~~~~~~~~^~~~~~ src/utils/AsmJit/x86/x86compilerfunc.cpp: In member function 'void AsmJit::X86CompilerFuncDecl::_emitProlog(AsmJit::CompilerContext&)': src/utils/AsmJit/x86/x86compilerfunc.cpp:522:23: warning: unused variable 'x86Context' [-Wunused-variable] 522 | X86CompilerContext& x86Context = static_cast(cc); | ^~~~~~~~~~ src/utils/AsmJit/x86/x86compilerfunc.cpp: In member function 'void AsmJit::X86CompilerFuncDecl::_emitEpilog(AsmJit::CompilerContext&)': src/utils/AsmJit/x86/x86compilerfunc.cpp:651:23: warning: unused variable 'x86Context' [-Wunused-variable] 651 | X86CompilerContext& x86Context = static_cast(cc); | ^~~~~~~~~~ src/utils/AsmJit/x86/x86compilerfunc.cpp: In member function 'virtual AsmJit::CompilerItem* AsmJit::X86CompilerFuncRet::translate(AsmJit::CompilerContext&)': src/utils/AsmJit/x86/x86compilerfunc.cpp:991:18: warning: unused variable 'dsti' [-Wunused-variable] 991 | uint32_t dsti = i; | ^~~~ src/utils/AsmJit/x86/x86compilerfunc.cpp: In member function 'virtual void AsmJit::X86CompilerFuncCall::setPrototype(uint32_t, uint32_t, const uint32_t*, uint32_t)': src/utils/AsmJit/x86/x86compilerfunc.cpp:2866: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] 2866 | memset(_args, 0, sizeof(Operand) * argumentsCount); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/x86/x86compileritem.o src/utils/AsmJit/x86/x86compileritem.cpp In file included from src/utils/AsmJit/x86/../x86/../core/compiler.h:15, from src/utils/AsmJit/x86/../x86/x86compiler.h:13, from src/utils/AsmJit/x86/x86compileritem.cpp:13: src/utils/AsmJit/x86/../x86/../core/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': 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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/x86/../x86/../core/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/x86/../x86/../core/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/x86/x86compileritem.cpp: In member function 'virtual AsmJit::CompilerItem* AsmJit::X86CompilerJmpInst::translate(AsmJit::CompilerContext&)': src/utils/AsmJit/x86/x86compileritem.cpp:1672:16: warning: unused variable 'x86Compiler' [-Wunused-variable] 1672 | X86Compiler* x86Compiler = getCompiler(); | ^~~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/x86/x86cpuinfo.o src/utils/AsmJit/x86/x86cpuinfo.cpp make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/x86/x86defs.o src/utils/AsmJit/x86/x86defs.cpp make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/x86/x86func.o src/utils/AsmJit/x86/x86func.cpp In file included from src/utils/AsmJit/x86/../x86/../x86/x86operand.h:13, from src/utils/AsmJit/x86/../x86/x86util.h:13, from src/utils/AsmJit/x86/x86func.cpp:16: src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': 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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/x86/../x86/../x86/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/x86/x86operand.o src/utils/AsmJit/x86/x86operand.cpp In file included from src/utils/AsmJit/x86/../x86/x86operand.h:13, from src/utils/AsmJit/x86/x86operand.cpp:11: src/utils/AsmJit/x86/../x86/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': 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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/x86/../x86/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/x86/../x86/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/x86/../x86/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/utils/AsmJit/x86/x86util.o src/utils/AsmJit/x86/x86util.cpp make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/utils/libfat/partition.o src/utils/libfat/partition.c make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/utils/libfat/cache.o src/utils/libfat/cache.c make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/utils/libfat/directory.o src/utils/libfat/directory.c make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/utils/libfat/disc.o src/utils/libfat/disc.c make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/utils/libfat/fatdir.o src/utils/libfat/fatdir.c In file included from src/utils/libfat/fatdir.c:48: src/utils/libfat/fatdir.h:71:71: warning: 'struct statvfs' declared inside parameter list will not be visible outside of this definition or declaration 71 | extern int _FAT_statvfs_r (struct _reent *r, const char *path, struct statvfs *buf); | ^~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/utils/libfat/fatfile.o src/utils/libfat/fatfile.c make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/utils/libfat/filetime.o src/utils/libfat/filetime.c make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/utils/libfat/file_allocation_table.o src/utils/libfat/file_allocation_table.c make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/utils/libfat/libfat.o src/utils/libfat/libfat.c In file included from src/utils/libfat/libfat.c:35: src/utils/libfat/fatdir.h:71:71: warning: 'struct statvfs' declared inside parameter list will not be visible outside of this definition or declaration 71 | extern int _FAT_statvfs_r (struct _reent *r, const char *path, struct statvfs *buf); | ^~~~~~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/utils/libfat/libfat_public_api.o src/utils/libfat/libfat_public_api.c src/utils/libfat/libfat_public_api.c: In function 'LIBFAT_Init': src/utils/libfat/libfat_public_api.c:85:8: warning: unused variable 'zzz' [-Wunused-variable] 85 | int zzz=9; | ^~~ make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/utils/libfat/lock.o src/utils/libfat/lock.c make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/libretro-common/rthreads/rthreads.o src/libretro-common/rthreads/rthreads.c make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/common.o src/common.c make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/utils/dlditool.o src/utils/dlditool.c make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/libretro-common/memmap/memalign.o src/libretro-common/memmap/memalign.c make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/libretro-common/streams/file_stream.o src/libretro-common/streams/file_stream.c make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/libretro-common/features/features_cpu.o src/libretro-common/features/features_cpu.c make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/libretro-common/compat/compat_strl.o src/libretro-common/compat/compat_strl.c make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/libretro-common/file/retro_dirent.o src/libretro-common/file/retro_dirent.c make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/libretro-common/file/retro_stat.o src/libretro-common/file/retro_stat.c make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/libretro-common/file/file_path.o src/libretro-common/file/file_path.c make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/libretro-common/string/stdstring.o src/libretro-common/string/stdstring.c make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -c -osrc/version.o src/version.c make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DGIT_VERSION=\"af397ff\" -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC -Isrc/libretro-common/include -Isrc -Isrc/libretro -fpermissive -c -osrc/arm_jit.o src/arm_jit.cpp In file included from src/MMU.h:24, from src/armcpu.h:23, from src/arm_jit.cpp:35: src/firmware.h: In constructor 'CFIRMWARE::CFIRMWARE()': src/firmware.h:90:17: warning: 'CFIRMWARE::patched' will be initialized after [-Wreorder] 90 | bool patched; | ^~~~~~~ src/firmware.h:42:25: warning: 'u32 CFIRMWARE::userDataAddr' [-Wreorder] 42 | u32 userDataAddr; | ^~~~~~~~~~~~ src/firmware.h:51:9: warning: when initialized here [-Wreorder] 51 | CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {}; | ^~~~~~~~~ In file included from src/MMU_timing.h:30, from src/arm_jit.cpp:42: src/NDSSystem.h: In constructor 'GameInfo::GameInfo()': src/NDSSystem.h:334:13: warning: 'GameInfo::chipID' will be initialized after [-Wreorder] 334 | u32 chipID; | ^~~~~~ src/NDSSystem.h:330:13: warning: 'u32 GameInfo::romsize' [-Wreorder] 330 | u32 romsize; | ^~~~~~~ src/NDSSystem.h:347:9: warning: when initialized here [-Wreorder] 347 | GameInfo() : fROM(NULL), | ^~~~~~~~ src/NDSSystem.h: In constructor 'TCommonSettings::TCommonSettings()': src/NDSSystem.h:581:17: warning: 'TCommonSettings::jit_max_block_size' will be initialized after [-Wreorder] 581 | u32 jit_max_block_size; | ^~~~~~~~~~~~~~~~~~ src/NDSSystem.h:549:14: warning: 'bool TCommonSettings::loadToMemory' [-Wreorder] 549 | bool loadToMemory; | ^~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:602:13: warning: 'TCommonSettings::manualBackupType' will be initialized after [-Wreorder] 602 | int manualBackupType; | ^~~~~~~~~~~~~~~~ src/NDSSystem.h:600:13: warning: 'int TCommonSettings::autodetectBackupMethod' [-Wreorder] 600 | int autodetectBackupMethod; | ^~~~~~~~~~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:607:14: warning: 'TCommonSettings::spu_advanced' will be initialized after [-Wreorder] 607 | bool spu_advanced; | ^~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'int TCommonSettings::StylusPressure' [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ src/NDSSystem.h:573:13: warning: 'TCommonSettings::StylusPressure' will be initialized after [-Wreorder] 573 | int StylusPressure; | ^~~~~~~~~~~~~~ src/NDSSystem.h:563:26: warning: 'NDS_CONSOLE_TYPE TCommonSettings::ConsoleType' [-Wreorder] 563 | NDS_CONSOLE_TYPE ConsoleType; | ^~~~~~~~~~~ src/NDSSystem.h:486:9: warning: when initialized here [-Wreorder] 486 | TCommonSettings() | ^~~~~~~~~~~~~~~ In file included from src/utils/AsmJit/core/compiler.h:15, from src/utils/AsmJit/core.h:17, from src/utils/AsmJit/AsmJit.h:331, from src/arm_jit.cpp:43: src/utils/AsmJit/core/../core/operand.h: In constructor 'AsmJit::Operand::Operand()': 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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/core/../core/operand.h: In member function 'void AsmJit::Operand::_init(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/utils/AsmJit/core/../core/operand.h: In member function 'void AsmJit::Operand::_copy(const AsmJit::Operand&)': 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)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils/AsmJit/core/../core/operand.h:174:8: note: 'struct AsmJit::Operand' declared here 174 | struct Operand | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_AND_LSL_IMM(u32)': src/arm_jit.cpp:462:13: warning: unused variable 'rhs_first' [-Wunused-variable] 462 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:827:56: note: in expansion of macro 'LSL_IMM' 827 | static int OP_AND_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM, and_, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_AND_LSR_IMM(u32)': src/arm_jit.cpp:492:13: warning: unused variable 'rhs_first' [-Wunused-variable] 492 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:829:56: note: in expansion of macro 'LSR_IMM' 829 | static int OP_AND_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM, and_, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_AND_ASR_IMM(u32)': src/arm_jit.cpp:522:13: warning: unused variable 'rhs_first' [-Wunused-variable] 522 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:831:56: note: in expansion of macro 'ASR_IMM' 831 | static int OP_AND_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM, and_, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_AND_ROR_IMM(u32)': src/arm_jit.cpp:549:13: warning: unused variable 'rhs_first' [-Wunused-variable] 549 | 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); | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:833:56: note: in expansion of macro 'ROR_IMM' 833 | static int OP_AND_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM, and_, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_AND_IMM_VAL(u32)': src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:835:56: note: in expansion of macro 'IMM_VAL' 835 | static int OP_AND_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL, and_, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_EOR_LSL_IMM(u32)': src/arm_jit.cpp:462:13: warning: unused variable 'rhs_first' [-Wunused-variable] 462 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:837:56: note: in expansion of macro 'LSL_IMM' 837 | static int OP_EOR_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM, xor_, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_EOR_LSR_IMM(u32)': src/arm_jit.cpp:492:13: warning: unused variable 'rhs_first' [-Wunused-variable] 492 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:839:56: note: in expansion of macro 'LSR_IMM' 839 | static int OP_EOR_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM, xor_, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_EOR_ASR_IMM(u32)': src/arm_jit.cpp:522:13: warning: unused variable 'rhs_first' [-Wunused-variable] 522 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:841:56: note: in expansion of macro 'ASR_IMM' 841 | static int OP_EOR_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM, xor_, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_EOR_ROR_IMM(u32)': src/arm_jit.cpp:549:13: warning: unused variable 'rhs_first' [-Wunused-variable] 549 | 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); | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:843:56: note: in expansion of macro 'ROR_IMM' 843 | static int OP_EOR_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM, xor_, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_EOR_IMM_VAL(u32)': src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:845:56: note: in expansion of macro 'IMM_VAL' 845 | static int OP_EOR_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL, xor_, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ORR_LSL_IMM(u32)': src/arm_jit.cpp:462:13: warning: unused variable 'rhs_first' [-Wunused-variable] 462 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:847:56: note: in expansion of macro 'LSL_IMM' 847 | static int OP_ORR_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM, or_, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ORR_LSR_IMM(u32)': src/arm_jit.cpp:492:13: warning: unused variable 'rhs_first' [-Wunused-variable] 492 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:849:56: note: in expansion of macro 'LSR_IMM' 849 | static int OP_ORR_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM, or_, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ORR_ASR_IMM(u32)': src/arm_jit.cpp:522:13: warning: unused variable 'rhs_first' [-Wunused-variable] 522 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:851:56: note: in expansion of macro 'ASR_IMM' 851 | static int OP_ORR_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM, or_, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ORR_ROR_IMM(u32)': src/arm_jit.cpp:549:13: warning: unused variable 'rhs_first' [-Wunused-variable] 549 | 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); | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:853:56: note: in expansion of macro 'ROR_IMM' 853 | static int OP_ORR_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM, or_, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ORR_IMM_VAL(u32)': src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:855:56: note: in expansion of macro 'IMM_VAL' 855 | static int OP_ORR_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL, or_, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ADD_LSL_IMM(u32)': src/arm_jit.cpp:462:13: warning: unused variable 'rhs_first' [-Wunused-variable] 462 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:857:56: note: in expansion of macro 'LSL_IMM' 857 | static int OP_ADD_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM, add, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ADD_LSR_IMM(u32)': src/arm_jit.cpp:492:13: warning: unused variable 'rhs_first' [-Wunused-variable] 492 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:859:56: note: in expansion of macro 'LSR_IMM' 859 | static int OP_ADD_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM, add, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ADD_ASR_IMM(u32)': src/arm_jit.cpp:522:13: warning: unused variable 'rhs_first' [-Wunused-variable] 522 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:861:56: note: in expansion of macro 'ASR_IMM' 861 | static int OP_ADD_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM, add, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ADD_ROR_IMM(u32)': src/arm_jit.cpp:549:13: warning: unused variable 'rhs_first' [-Wunused-variable] 549 | 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); | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:863:56: note: in expansion of macro 'ROR_IMM' 863 | static int OP_ADD_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM, add, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ADD_IMM_VAL(u32)': src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:865:56: note: in expansion of macro 'IMM_VAL' 865 | static int OP_ADD_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL, add, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_SUB_LSL_IMM(u32)': src/arm_jit.cpp:462:13: warning: unused variable 'rhs_first' [-Wunused-variable] 462 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:867:56: note: in expansion of macro 'LSL_IMM' 867 | static int OP_SUB_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM, sub, 0, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_SUB_LSR_IMM(u32)': src/arm_jit.cpp:492:13: warning: unused variable 'rhs_first' [-Wunused-variable] 492 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:869:56: note: in expansion of macro 'LSR_IMM' 869 | static int OP_SUB_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM, sub, 0, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_SUB_ASR_IMM(u32)': src/arm_jit.cpp:522:13: warning: unused variable 'rhs_first' [-Wunused-variable] 522 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:871:56: note: in expansion of macro 'ASR_IMM' 871 | static int OP_SUB_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM, sub, 0, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_SUB_ROR_IMM(u32)': src/arm_jit.cpp:549:13: warning: unused variable 'rhs_first' [-Wunused-variable] 549 | 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); | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:873:56: note: in expansion of macro 'ROR_IMM' 873 | static int OP_SUB_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM, sub, 0, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_SUB_IMM_VAL(u32)': src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:875:56: note: in expansion of macro 'IMM_VAL' 875 | static int OP_SUB_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL, sub, 0, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSB_LSL_IMM(u32)': src/arm_jit.cpp:457:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 457 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:877:58: note: in expansion of macro 'LSL_IMM' 877 | static int OP_RSB_LSL_IMM(const u32 i) { OP_ARITHMETIC_R(LSL_IMM, sub, 0); } | ^~~~~~~ src/arm_jit.cpp:462:13: warning: unused variable 'rhs_first' [-Wunused-variable] 462 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:877:58: note: in expansion of macro 'LSL_IMM' 877 | static int OP_RSB_LSL_IMM(const u32 i) { OP_ARITHMETIC_R(LSL_IMM, sub, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSB_LSL_REG(u32)': src/arm_jit.cpp:609:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 609 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:666:17: note: in expansion of macro 'LSX_REG' 666 | #define LSL_REG LSX_REG(LSL_REG, shl, 0) | ^~~~~~~ src/arm_jit.cpp:878:58: note: in expansion of macro 'LSL_REG' 878 | static int OP_RSB_LSL_REG(const u32 i) { OP_ARITHMETIC_R(LSL_REG, sub, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSB_LSR_IMM(u32)': src/arm_jit.cpp:482:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 482 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:879:58: note: in expansion of macro 'LSR_IMM' 879 | static int OP_RSB_LSR_IMM(const u32 i) { OP_ARITHMETIC_R(LSR_IMM, sub, 0); } | ^~~~~~~ src/arm_jit.cpp:492:13: warning: unused variable 'rhs_first' [-Wunused-variable] 492 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:879:58: note: in expansion of macro 'LSR_IMM' 879 | static int OP_RSB_LSR_IMM(const u32 i) { OP_ARITHMETIC_R(LSR_IMM, sub, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSB_LSR_REG(u32)': src/arm_jit.cpp:609:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 609 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:667:17: note: in expansion of macro 'LSX_REG' 667 | #define LSR_REG LSX_REG(LSR_REG, shr, 0) | ^~~~~~~ src/arm_jit.cpp:880:58: note: in expansion of macro 'LSR_REG' 880 | static int OP_RSB_LSR_REG(const u32 i) { OP_ARITHMETIC_R(LSR_REG, sub, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSB_ASR_IMM(u32)': src/arm_jit.cpp:516:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 516 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:881:58: note: in expansion of macro 'ASR_IMM' 881 | static int OP_RSB_ASR_IMM(const u32 i) { OP_ARITHMETIC_R(ASR_IMM, sub, 0); } | ^~~~~~~ src/arm_jit.cpp:522:13: warning: unused variable 'rhs_first' [-Wunused-variable] 522 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:881:58: note: in expansion of macro 'ASR_IMM' 881 | static int OP_RSB_ASR_IMM(const u32 i) { OP_ARITHMETIC_R(ASR_IMM, sub, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSB_ASR_REG(u32)': src/arm_jit.cpp:609:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 609 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:668:17: note: in expansion of macro 'LSX_REG' 668 | #define ASR_REG LSX_REG(ASR_REG, sar, 1) | ^~~~~~~ src/arm_jit.cpp:882:58: note: in expansion of macro 'ASR_REG' 882 | static int OP_RSB_ASR_REG(const u32 i) { OP_ARITHMETIC_R(ASR_REG, sub, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSB_ROR_IMM(u32)': src/arm_jit.cpp:538:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 538 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:883:58: note: in expansion of macro 'ROR_IMM' 883 | static int OP_RSB_ROR_IMM(const u32 i) { OP_ARITHMETIC_R(ROR_IMM, sub, 0); } | ^~~~~~~ src/arm_jit.cpp:549:13: warning: unused variable 'rhs_first' [-Wunused-variable] 549 | 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); | ^~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:883:58: note: in expansion of macro 'ROR_IMM' 883 | static int OP_RSB_ROR_IMM(const u32 i) { OP_ARITHMETIC_R(ROR_IMM, sub, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSB_ROR_REG(u32)': src/arm_jit.cpp:675:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 675 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:884:58: note: in expansion of macro 'ROR_REG' 884 | static int OP_RSB_ROR_REG(const u32 i) { OP_ARITHMETIC_R(ROR_REG, sub, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSB_IMM_VAL(u32)': src/arm_jit.cpp:576:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 576 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:885:58: note: in expansion of macro 'IMM_VAL' 885 | static int OP_RSB_IMM_VAL(const u32 i) { OP_ARITHMETIC_R(IMM_VAL, sub, 0); } | ^~~~~~~ src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:885:58: note: in expansion of macro 'IMM_VAL' 885 | static int OP_RSB_IMM_VAL(const u32 i) { OP_ARITHMETIC_R(IMM_VAL, sub, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_AND_S_IMM_VAL(u32)': src/arm_jit.cpp:592:13: warning: unused variable 'rhs_first' [-Wunused-variable] 592 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:799:5: note: in definition of macro 'OP_ARITHMETIC_S' 799 | arg; \ | ^~~ src/arm_jit.cpp:896:60: note: in expansion of macro 'S_IMM_VAL' 896 | static int OP_AND_S_IMM_VAL(const u32 i) { OP_ARITHMETIC_S(S_IMM_VAL, and_, 1); } | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_EOR_S_IMM_VAL(u32)': src/arm_jit.cpp:592:13: warning: unused variable 'rhs_first' [-Wunused-variable] 592 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:799:5: note: in definition of macro 'OP_ARITHMETIC_S' 799 | arg; \ | ^~~ src/arm_jit.cpp:906:60: note: in expansion of macro 'S_IMM_VAL' 906 | static int OP_EOR_S_IMM_VAL(const u32 i) { OP_ARITHMETIC_S(S_IMM_VAL, xor_, 1); } | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_ORR_S_IMM_VAL(u32)': src/arm_jit.cpp:592:13: warning: unused variable 'rhs_first' [-Wunused-variable] 592 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:799:5: note: in definition of macro 'OP_ARITHMETIC_S' 799 | arg; \ | ^~~ src/arm_jit.cpp:916:60: note: in expansion of macro 'S_IMM_VAL' 916 | static int OP_ORR_S_IMM_VAL(const u32 i) { OP_ARITHMETIC_S(S_IMM_VAL, or_, 1); } | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_ADD_S_LSL_IMM(u32)': src/arm_jit.cpp:462:13: warning: unused variable 'rhs_first' [-Wunused-variable] 462 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:918:58: note: in expansion of macro 'LSL_IMM' 918 | static int OP_ADD_S_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM, add, 1, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ADD_S_LSR_IMM(u32)': src/arm_jit.cpp:492:13: warning: unused variable 'rhs_first' [-Wunused-variable] 492 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:920:58: note: in expansion of macro 'LSR_IMM' 920 | static int OP_ADD_S_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM, add, 1, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ADD_S_ASR_IMM(u32)': src/arm_jit.cpp:522:13: warning: unused variable 'rhs_first' [-Wunused-variable] 522 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:922:58: note: in expansion of macro 'ASR_IMM' 922 | static int OP_ADD_S_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM, add, 1, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ADD_S_ROR_IMM(u32)': src/arm_jit.cpp:549:13: warning: unused variable 'rhs_first' [-Wunused-variable] 549 | 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); | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:924:58: note: in expansion of macro 'ROR_IMM' 924 | static int OP_ADD_S_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM, add, 1, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ADD_S_IMM_VAL(u32)': src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:926:58: note: in expansion of macro 'IMM_VAL' 926 | static int OP_ADD_S_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL, add, 1, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_SUB_S_LSL_IMM(u32)': src/arm_jit.cpp:462:13: warning: unused variable 'rhs_first' [-Wunused-variable] 462 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:928:58: note: in expansion of macro 'LSL_IMM' 928 | static int OP_SUB_S_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM, sub, 0, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_SUB_S_LSR_IMM(u32)': src/arm_jit.cpp:492:13: warning: unused variable 'rhs_first' [-Wunused-variable] 492 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:930:58: note: in expansion of macro 'LSR_IMM' 930 | static int OP_SUB_S_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM, sub, 0, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_SUB_S_ASR_IMM(u32)': src/arm_jit.cpp:522:13: warning: unused variable 'rhs_first' [-Wunused-variable] 522 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:932:58: note: in expansion of macro 'ASR_IMM' 932 | static int OP_SUB_S_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM, sub, 0, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_SUB_S_ROR_IMM(u32)': src/arm_jit.cpp:549:13: warning: unused variable 'rhs_first' [-Wunused-variable] 549 | 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); | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:934:58: note: in expansion of macro 'ROR_IMM' 934 | static int OP_SUB_S_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM, sub, 0, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_SUB_S_IMM_VAL(u32)': src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:936:58: note: in expansion of macro 'IMM_VAL' 936 | static int OP_SUB_S_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL, sub, 0, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSB_S_LSL_IMM(u32)': src/arm_jit.cpp:457:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 457 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:938:60: note: in expansion of macro 'LSL_IMM' 938 | static int OP_RSB_S_LSL_IMM(const u32 i) { OP_ARITHMETIC_R(LSL_IMM, sub, 1); } | ^~~~~~~ src/arm_jit.cpp:462:13: warning: unused variable 'rhs_first' [-Wunused-variable] 462 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:938:60: note: in expansion of macro 'LSL_IMM' 938 | static int OP_RSB_S_LSL_IMM(const u32 i) { OP_ARITHMETIC_R(LSL_IMM, sub, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSB_S_LSL_REG(u32)': src/arm_jit.cpp:609:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 609 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:666:17: note: in expansion of macro 'LSX_REG' 666 | #define LSL_REG LSX_REG(LSL_REG, shl, 0) | ^~~~~~~ src/arm_jit.cpp:939:60: note: in expansion of macro 'LSL_REG' 939 | static int OP_RSB_S_LSL_REG(const u32 i) { OP_ARITHMETIC_R(LSL_REG, sub, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSB_S_LSR_IMM(u32)': src/arm_jit.cpp:482:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 482 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:940:60: note: in expansion of macro 'LSR_IMM' 940 | static int OP_RSB_S_LSR_IMM(const u32 i) { OP_ARITHMETIC_R(LSR_IMM, sub, 1); } | ^~~~~~~ src/arm_jit.cpp:492:13: warning: unused variable 'rhs_first' [-Wunused-variable] 492 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:940:60: note: in expansion of macro 'LSR_IMM' 940 | static int OP_RSB_S_LSR_IMM(const u32 i) { OP_ARITHMETIC_R(LSR_IMM, sub, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSB_S_LSR_REG(u32)': src/arm_jit.cpp:609:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 609 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:667:17: note: in expansion of macro 'LSX_REG' 667 | #define LSR_REG LSX_REG(LSR_REG, shr, 0) | ^~~~~~~ src/arm_jit.cpp:941:60: note: in expansion of macro 'LSR_REG' 941 | static int OP_RSB_S_LSR_REG(const u32 i) { OP_ARITHMETIC_R(LSR_REG, sub, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSB_S_ASR_IMM(u32)': src/arm_jit.cpp:516:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 516 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:942:60: note: in expansion of macro 'ASR_IMM' 942 | static int OP_RSB_S_ASR_IMM(const u32 i) { OP_ARITHMETIC_R(ASR_IMM, sub, 1); } | ^~~~~~~ src/arm_jit.cpp:522:13: warning: unused variable 'rhs_first' [-Wunused-variable] 522 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:942:60: note: in expansion of macro 'ASR_IMM' 942 | static int OP_RSB_S_ASR_IMM(const u32 i) { OP_ARITHMETIC_R(ASR_IMM, sub, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSB_S_ASR_REG(u32)': src/arm_jit.cpp:609:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 609 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:668:17: note: in expansion of macro 'LSX_REG' 668 | #define ASR_REG LSX_REG(ASR_REG, sar, 1) | ^~~~~~~ src/arm_jit.cpp:943:60: note: in expansion of macro 'ASR_REG' 943 | static int OP_RSB_S_ASR_REG(const u32 i) { OP_ARITHMETIC_R(ASR_REG, sub, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSB_S_ROR_IMM(u32)': src/arm_jit.cpp:538:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 538 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:944:60: note: in expansion of macro 'ROR_IMM' 944 | static int OP_RSB_S_ROR_IMM(const u32 i) { OP_ARITHMETIC_R(ROR_IMM, sub, 1); } | ^~~~~~~ src/arm_jit.cpp:549:13: warning: unused variable 'rhs_first' [-Wunused-variable] 549 | 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); | ^~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:944:60: note: in expansion of macro 'ROR_IMM' 944 | static int OP_RSB_S_ROR_IMM(const u32 i) { OP_ARITHMETIC_R(ROR_IMM, sub, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSB_S_ROR_REG(u32)': src/arm_jit.cpp:675:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 675 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:945:60: note: in expansion of macro 'ROR_REG' 945 | static int OP_RSB_S_ROR_REG(const u32 i) { OP_ARITHMETIC_R(ROR_REG, sub, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSB_S_IMM_VAL(u32)': src/arm_jit.cpp:576:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 576 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:946:60: note: in expansion of macro 'IMM_VAL' 946 | static int OP_RSB_S_IMM_VAL(const u32 i) { OP_ARITHMETIC_R(IMM_VAL, sub, 1); } | ^~~~~~~ src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:946:60: note: in expansion of macro 'IMM_VAL' 946 | static int OP_RSB_S_IMM_VAL(const u32 i) { OP_ARITHMETIC_R(IMM_VAL, sub, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ADC_LSL_IMM(u32)': src/arm_jit.cpp:462:13: warning: unused variable 'rhs_first' [-Wunused-variable] 462 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:948:56: note: in expansion of macro 'LSL_IMM' 948 | static int OP_ADC_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM; GET_CARRY(0), adc, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ADC_LSR_IMM(u32)': src/arm_jit.cpp:492:13: warning: unused variable 'rhs_first' [-Wunused-variable] 492 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:950:56: note: in expansion of macro 'LSR_IMM' 950 | static int OP_ADC_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM; GET_CARRY(0), adc, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ADC_ASR_IMM(u32)': src/arm_jit.cpp:522:13: warning: unused variable 'rhs_first' [-Wunused-variable] 522 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:952:56: note: in expansion of macro 'ASR_IMM' 952 | static int OP_ADC_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM; GET_CARRY(0), adc, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ADC_ROR_IMM(u32)': src/arm_jit.cpp:549:13: warning: unused variable 'rhs_first' [-Wunused-variable] 549 | 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); | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:954:56: note: in expansion of macro 'ROR_IMM' 954 | static int OP_ADC_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM; GET_CARRY(0), adc, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ADC_IMM_VAL(u32)': src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:956:56: note: in expansion of macro 'IMM_VAL' 956 | static int OP_ADC_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL; GET_CARRY(0), adc, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ADC_S_LSL_IMM(u32)': src/arm_jit.cpp:462:13: warning: unused variable 'rhs_first' [-Wunused-variable] 462 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:958:58: note: in expansion of macro 'LSL_IMM' 958 | static int OP_ADC_S_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM; GET_CARRY(0), adc, 1, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ADC_S_LSR_IMM(u32)': src/arm_jit.cpp:492:13: warning: unused variable 'rhs_first' [-Wunused-variable] 492 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:960:58: note: in expansion of macro 'LSR_IMM' 960 | static int OP_ADC_S_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM; GET_CARRY(0), adc, 1, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ADC_S_ASR_IMM(u32)': src/arm_jit.cpp:522:13: warning: unused variable 'rhs_first' [-Wunused-variable] 522 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:962:58: note: in expansion of macro 'ASR_IMM' 962 | static int OP_ADC_S_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM; GET_CARRY(0), adc, 1, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ADC_S_ROR_IMM(u32)': src/arm_jit.cpp:549:13: warning: unused variable 'rhs_first' [-Wunused-variable] 549 | 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); | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:964:58: note: in expansion of macro 'ROR_IMM' 964 | static int OP_ADC_S_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM; GET_CARRY(0), adc, 1, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_ADC_S_IMM_VAL(u32)': src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:966:58: note: in expansion of macro 'IMM_VAL' 966 | static int OP_ADC_S_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL; GET_CARRY(0), adc, 1, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_SBC_LSL_IMM(u32)': src/arm_jit.cpp:462:13: warning: unused variable 'rhs_first' [-Wunused-variable] 462 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:968:56: note: in expansion of macro 'LSL_IMM' 968 | static int OP_SBC_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM; GET_CARRY(1), sbb, 0, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_SBC_LSR_IMM(u32)': src/arm_jit.cpp:492:13: warning: unused variable 'rhs_first' [-Wunused-variable] 492 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:970:56: note: in expansion of macro 'LSR_IMM' 970 | static int OP_SBC_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM; GET_CARRY(1), sbb, 0, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_SBC_ASR_IMM(u32)': src/arm_jit.cpp:522:13: warning: unused variable 'rhs_first' [-Wunused-variable] 522 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:972:56: note: in expansion of macro 'ASR_IMM' 972 | static int OP_SBC_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM; GET_CARRY(1), sbb, 0, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_SBC_ROR_IMM(u32)': src/arm_jit.cpp:549:13: warning: unused variable 'rhs_first' [-Wunused-variable] 549 | 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); | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:974:56: note: in expansion of macro 'ROR_IMM' 974 | static int OP_SBC_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM; GET_CARRY(1), sbb, 0, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_SBC_IMM_VAL(u32)': src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:976:56: note: in expansion of macro 'IMM_VAL' 976 | static int OP_SBC_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL; GET_CARRY(1), sbb, 0, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_SBC_S_LSL_IMM(u32)': src/arm_jit.cpp:462:13: warning: unused variable 'rhs_first' [-Wunused-variable] 462 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:978:58: note: in expansion of macro 'LSL_IMM' 978 | static int OP_SBC_S_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM; GET_CARRY(1), sbb, 0, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_SBC_S_LSR_IMM(u32)': src/arm_jit.cpp:492:13: warning: unused variable 'rhs_first' [-Wunused-variable] 492 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:980:58: note: in expansion of macro 'LSR_IMM' 980 | static int OP_SBC_S_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM; GET_CARRY(1), sbb, 0, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_SBC_S_ASR_IMM(u32)': src/arm_jit.cpp:522:13: warning: unused variable 'rhs_first' [-Wunused-variable] 522 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:982:58: note: in expansion of macro 'ASR_IMM' 982 | static int OP_SBC_S_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM; GET_CARRY(1), sbb, 0, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_SBC_S_ROR_IMM(u32)': src/arm_jit.cpp:549:13: warning: unused variable 'rhs_first' [-Wunused-variable] 549 | 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); | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:984:58: note: in expansion of macro 'ROR_IMM' 984 | static int OP_SBC_S_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM; GET_CARRY(1), sbb, 0, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_SBC_S_IMM_VAL(u32)': src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:986:58: note: in expansion of macro 'IMM_VAL' 986 | static int OP_SBC_S_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL; GET_CARRY(1), sbb, 0, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSC_LSL_IMM(u32)': src/arm_jit.cpp:457:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 457 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:988:58: note: in expansion of macro 'LSL_IMM' 988 | static int OP_RSC_LSL_IMM(const u32 i) { OP_ARITHMETIC_R(LSL_IMM; GET_CARRY(1), sbb, 0); } | ^~~~~~~ src/arm_jit.cpp:462:13: warning: unused variable 'rhs_first' [-Wunused-variable] 462 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:988:58: note: in expansion of macro 'LSL_IMM' 988 | static int OP_RSC_LSL_IMM(const u32 i) { OP_ARITHMETIC_R(LSL_IMM; GET_CARRY(1), sbb, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSC_LSL_REG(u32)': src/arm_jit.cpp:609:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 609 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:666:17: note: in expansion of macro 'LSX_REG' 666 | #define LSL_REG LSX_REG(LSL_REG, shl, 0) | ^~~~~~~ src/arm_jit.cpp:989:58: note: in expansion of macro 'LSL_REG' 989 | static int OP_RSC_LSL_REG(const u32 i) { OP_ARITHMETIC_R(LSL_REG; GET_CARRY(1), sbb, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSC_LSR_IMM(u32)': src/arm_jit.cpp:482:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 482 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:990:58: note: in expansion of macro 'LSR_IMM' 990 | static int OP_RSC_LSR_IMM(const u32 i) { OP_ARITHMETIC_R(LSR_IMM; GET_CARRY(1), sbb, 0); } | ^~~~~~~ src/arm_jit.cpp:492:13: warning: unused variable 'rhs_first' [-Wunused-variable] 492 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:990:58: note: in expansion of macro 'LSR_IMM' 990 | static int OP_RSC_LSR_IMM(const u32 i) { OP_ARITHMETIC_R(LSR_IMM; GET_CARRY(1), sbb, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSC_LSR_REG(u32)': src/arm_jit.cpp:609:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 609 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:667:17: note: in expansion of macro 'LSX_REG' 667 | #define LSR_REG LSX_REG(LSR_REG, shr, 0) | ^~~~~~~ src/arm_jit.cpp:991:58: note: in expansion of macro 'LSR_REG' 991 | static int OP_RSC_LSR_REG(const u32 i) { OP_ARITHMETIC_R(LSR_REG; GET_CARRY(1), sbb, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSC_ASR_IMM(u32)': src/arm_jit.cpp:516:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 516 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:992:58: note: in expansion of macro 'ASR_IMM' 992 | static int OP_RSC_ASR_IMM(const u32 i) { OP_ARITHMETIC_R(ASR_IMM; GET_CARRY(1), sbb, 0); } | ^~~~~~~ src/arm_jit.cpp:522:13: warning: unused variable 'rhs_first' [-Wunused-variable] 522 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:992:58: note: in expansion of macro 'ASR_IMM' 992 | static int OP_RSC_ASR_IMM(const u32 i) { OP_ARITHMETIC_R(ASR_IMM; GET_CARRY(1), sbb, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSC_ASR_REG(u32)': src/arm_jit.cpp:609:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 609 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:668:17: note: in expansion of macro 'LSX_REG' 668 | #define ASR_REG LSX_REG(ASR_REG, sar, 1) | ^~~~~~~ src/arm_jit.cpp:993:58: note: in expansion of macro 'ASR_REG' 993 | static int OP_RSC_ASR_REG(const u32 i) { OP_ARITHMETIC_R(ASR_REG; GET_CARRY(1), sbb, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSC_ROR_IMM(u32)': src/arm_jit.cpp:538:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 538 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:994:58: note: in expansion of macro 'ROR_IMM' 994 | static int OP_RSC_ROR_IMM(const u32 i) { OP_ARITHMETIC_R(ROR_IMM; GET_CARRY(1), sbb, 0); } | ^~~~~~~ src/arm_jit.cpp:549:13: warning: unused variable 'rhs_first' [-Wunused-variable] 549 | 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); | ^~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:994:58: note: in expansion of macro 'ROR_IMM' 994 | static int OP_RSC_ROR_IMM(const u32 i) { OP_ARITHMETIC_R(ROR_IMM; GET_CARRY(1), sbb, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSC_ROR_REG(u32)': src/arm_jit.cpp:675:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 675 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:995:58: note: in expansion of macro 'ROR_REG' 995 | static int OP_RSC_ROR_REG(const u32 i) { OP_ARITHMETIC_R(ROR_REG; GET_CARRY(1), sbb, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSC_IMM_VAL(u32)': src/arm_jit.cpp:576:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 576 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:996:58: note: in expansion of macro 'IMM_VAL' 996 | static int OP_RSC_IMM_VAL(const u32 i) { OP_ARITHMETIC_R(IMM_VAL; GET_CARRY(1), sbb, 0); } | ^~~~~~~ src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:996:58: note: in expansion of macro 'IMM_VAL' 996 | static int OP_RSC_IMM_VAL(const u32 i) { OP_ARITHMETIC_R(IMM_VAL; GET_CARRY(1), sbb, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSC_S_LSL_IMM(u32)': src/arm_jit.cpp:457:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 457 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:998:60: note: in expansion of macro 'LSL_IMM' 998 | static int OP_RSC_S_LSL_IMM(const u32 i) { OP_ARITHMETIC_R(LSL_IMM; GET_CARRY(1), sbb, 1); } | ^~~~~~~ src/arm_jit.cpp:462:13: warning: unused variable 'rhs_first' [-Wunused-variable] 462 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:998:60: note: in expansion of macro 'LSL_IMM' 998 | static int OP_RSC_S_LSL_IMM(const u32 i) { OP_ARITHMETIC_R(LSL_IMM; GET_CARRY(1), sbb, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSC_S_LSL_REG(u32)': src/arm_jit.cpp:609:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 609 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:666:17: note: in expansion of macro 'LSX_REG' 666 | #define LSL_REG LSX_REG(LSL_REG, shl, 0) | ^~~~~~~ src/arm_jit.cpp:999:60: note: in expansion of macro 'LSL_REG' 999 | static int OP_RSC_S_LSL_REG(const u32 i) { OP_ARITHMETIC_R(LSL_REG; GET_CARRY(1), sbb, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSC_S_LSR_IMM(u32)': src/arm_jit.cpp:482:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 482 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:1000:60: note: in expansion of macro 'LSR_IMM' 1000 | static int OP_RSC_S_LSR_IMM(const u32 i) { OP_ARITHMETIC_R(LSR_IMM; GET_CARRY(1), sbb, 1); } | ^~~~~~~ src/arm_jit.cpp:492:13: warning: unused variable 'rhs_first' [-Wunused-variable] 492 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:1000:60: note: in expansion of macro 'LSR_IMM' 1000 | static int OP_RSC_S_LSR_IMM(const u32 i) { OP_ARITHMETIC_R(LSR_IMM; GET_CARRY(1), sbb, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSC_S_LSR_REG(u32)': src/arm_jit.cpp:609:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 609 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:667:17: note: in expansion of macro 'LSX_REG' 667 | #define LSR_REG LSX_REG(LSR_REG, shr, 0) | ^~~~~~~ src/arm_jit.cpp:1001:60: note: in expansion of macro 'LSR_REG' 1001 | static int OP_RSC_S_LSR_REG(const u32 i) { OP_ARITHMETIC_R(LSR_REG; GET_CARRY(1), sbb, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSC_S_ASR_IMM(u32)': src/arm_jit.cpp:516:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 516 | boolmake: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:1002:60: note: in expansion of macro 'ASR_IMM' 1002 | static int OP_RSC_S_ASR_IMM(const u32 i) { OP_ARITHMETIC_R(ASR_IMM; GET_CARRY(1), sbb, 1); } | ^~~~~~~ src/arm_jit.cpp:522:13: warning: unused variable 'rhs_first' [-Wunused-variable] 522 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:1002:60: note: in expansion of macro 'ASR_IMM' 1002 | static int OP_RSC_S_ASR_IMM(const u32 i) { OP_ARITHMETIC_R(ASR_IMM; GET_CARRY(1), sbb, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSC_S_ASR_REG(u32)': src/arm_jit.cpp:609:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 609 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:668:17: note: in expansion of macro 'LSX_REG' 668 | #define ASR_REG LSX_REG(ASR_REG, sar, 1) | ^~~~~~~ src/arm_jit.cpp:1003:60: note: in expansion of macro 'ASR_REG' 1003 | static int OP_RSC_S_ASR_REG(const u32 i) { OP_ARITHMETIC_R(ASR_REG; GET_CARRY(1), sbb, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSC_S_ROR_IMM(u32)': src/arm_jit.cpp:538:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 538 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:1004:60: note: in expansion of macro 'ROR_IMM' 1004 | static int OP_RSC_S_ROR_IMM(const u32 i) { OP_ARITHMETIC_R(ROR_IMM; GET_CARRY(1), sbb, 1); } | ^~~~~~~ src/arm_jit.cpp:549:13: warning: unused variable 'rhs_first' [-Wunused-variable] 549 | 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); | ^~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:1004:60: note: in expansion of macro 'ROR_IMM' 1004 | static int OP_RSC_S_ROR_IMM(const u32 i) { OP_ARITHMETIC_R(ROR_IMM; GET_CARRY(1), sbb, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSC_S_ROR_REG(u32)': src/arm_jit.cpp:675:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 675 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:1005:60: note: in expansion of macro 'ROR_REG' 1005 | static int OP_RSC_S_ROR_REG(const u32 i) { OP_ARITHMETIC_R(ROR_REG; GET_CARRY(1), sbb, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_RSC_S_IMM_VAL(u32)': src/arm_jit.cpp:576:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 576 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:1006:60: note: in expansion of macro 'IMM_VAL' 1006 | static int OP_RSC_S_IMM_VAL(const u32 i) { OP_ARITHMETIC_R(IMM_VAL; GET_CARRY(1), sbb, 1); } | ^~~~~~~ src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:773:5: note: in definition of macro 'OP_ARITHMETIC_R' 773 | arg; \ | ^~~ src/arm_jit.cpp:1006:60: note: in expansion of macro 'IMM_VAL' 1006 | static int OP_RSC_S_IMM_VAL(const u32 i) { OP_ARITHMETIC_R(IMM_VAL; GET_CARRY(1), sbb, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_BIC_LSL_IMM(u32)': src/arm_jit.cpp:462:13: warning: unused variable 'rhs_first' [-Wunused-variable] 462 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:1008:56: note: in expansion of macro 'LSL_IMM' 1008 | static int OP_BIC_LSL_IMM(const u32 i) { OP_ARITHMETIC(LSL_IMM; c.not_(rhs), and_, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_BIC_LSR_IMM(u32)': src/arm_jit.cpp:492:13: warning: unused variable 'rhs_first' [-Wunused-variable] 492 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:1010:56: note: in expansion of macro 'LSR_IMM' 1010 | static int OP_BIC_LSR_IMM(const u32 i) { OP_ARITHMETIC(LSR_IMM; c.not_(rhs), and_, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_BIC_ASR_IMM(u32)': src/arm_jit.cpp:522:13: warning: unused variable 'rhs_first' [-Wunused-variable] 522 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:1012:56: note: in expansion of macro 'ASR_IMM' 1012 | static int OP_BIC_ASR_IMM(const u32 i) { OP_ARITHMETIC(ASR_IMM; c.not_(rhs), and_, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_BIC_ROR_IMM(u32)': src/arm_jit.cpp:549:13: warning: unused variable 'rhs_first' [-Wunused-variable] 549 | 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); | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:1014:56: note: in expansion of macro 'ROR_IMM' 1014 | static int OP_BIC_ROR_IMM(const u32 i) { OP_ARITHMETIC(ROR_IMM; c.not_(rhs), and_, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_BIC_IMM_VAL(u32)': src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:735:5: note: in definition of macro 'OP_ARITHMETIC' 735 | arg; \ | ^~~ src/arm_jit.cpp:1016:56: note: in expansion of macro 'IMM_VAL' 1016 | static int OP_BIC_IMM_VAL(const u32 i) { OP_ARITHMETIC(IMM_VAL; rhs = ~rhs, and_, 1, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_BIC_S_IMM_VAL(u32)': src/arm_jit.cpp:592:13: warning: unused variable 'rhs_first' [-Wunused-variable] 592 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:799:5: note: in definition of macro 'OP_ARITHMETIC_S' 799 | arg; \ | ^~~ src/arm_jit.cpp:1026:60: note: in expansion of macro 'S_IMM_VAL' 1026 | static int OP_BIC_S_IMM_VAL(const u32 i) { OP_ARITHMETIC_S(S_IMM_VAL; rhs = ~rhs, and_, 1); } | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_TST_LSL_IMM(u32)': src/arm_jit.cpp:466:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 466 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1032:9: note: in definition of macro 'OP_TST_' 1032 | arg; \ | ^~~ src/arm_jit.cpp:1037:50: note: in expansion of macro 'S_LSL_IMM' 1037 | static int OP_TST_LSL_IMM(const u32 i) { OP_TST_(S_LSL_IMM); } | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_TST_LSL_REG(u32)': src/arm_jit.cpp:625:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 625 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1032:9: note: in definition of macro 'OP_TST_' 1032 | arg; \ | ^~~ src/arm_jit.cpp:669:19: note: in expansion of macro 'S_LSX_REG' 669 | #define S_LSL_REG S_LSX_REG(S_LSL_REG, shl, 0) | ^~~~~~~~~ src/arm_jit.cpp:1038:50: note: in expansion of macro 'S_LSL_REG' 1038 | static int OP_TST_LSL_REG(const u32 i) { OP_TST_(S_LSL_REG); } | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_TST_LSR_IMM(u32)': src/arm_jit.cpp:496:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 496 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1032:9: note: in definition of macro 'OP_TST_' 1032 | arg; \ | ^~~ src/arm_jit.cpp:1039:50: note: in expansion of macro 'S_LSR_IMM' 1039 | static int OP_TST_LSR_IMM(const u32 i) { OP_TST_(S_LSR_IMM); } | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_TST_LSR_REG(u32)': src/arm_jit.cpp:625:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 625 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1032:9: note: in definition of macro 'OP_TST_' 1032 | arg; \ | ^~~ src/arm_jit.cpp:670:19: note: in expansion of macro 'S_LSX_REG' 670 | #define S_LSR_REG S_LSX_REG(S_LSR_REG, shr, 0) | ^~~~~~~~~ src/arm_jit.cpp:1040:50: note: in expansion of macro 'S_LSR_REG' 1040 | static int OP_TST_LSR_REG(const u32 i) { OP_TST_(S_LSR_REG); } | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_TST_ASR_IMM(u32)': src/arm_jit.cpp:526:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 526 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1032:9: note: in definition of macro 'OP_TST_' 1032 | arg; \ | ^~~ src/arm_jit.cpp:1041:50: note: in expansion of macro 'S_ASR_IMM' 1041 | static int OP_TST_ASR_IMM(const u32 i) { OP_TST_(S_ASR_IMM); } | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_TST_ASR_REG(u32)': src/arm_jit.cpp:625:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 625 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1032:9: note: in definition of macro 'OP_TST_' 1032 | arg; \ | ^~~ src/arm_jit.cpp:671:19: note: in expansion of macro 'S_LSX_REG' 671 | #define S_ASR_REG S_LSX_REG(S_ASR_REG, sar, 1) | ^~~~~~~~~ src/arm_jit.cpp:1042:50: note: in expansion of macro 'S_ASR_REG' 1042 | static int OP_TST_ASR_REG(const u32 i) { OP_TST_(S_ASR_REG); } | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_TST_ROR_IMM(u32)': src/arm_jit.cpp:553:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 553 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1032:9: note: in definition of macro 'OP_TST_' 1032 | arg; \ | ^~~ src/arm_jit.cpp:1043:50: note: in expansion of macro 'S_ROR_IMM' 1043 | static int OP_TST_ROR_IMM(const u32 i) { OP_TST_(S_ROR_IMM); } | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_TST_ROR_REG(u32)': src/arm_jit.cpp:684:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 684 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1032:9: note: in definition of macro 'OP_TST_' 1032 | arg; \ | ^~~ src/arm_jit.cpp:1044:50: note: in expansion of macro 'S_ROR_REG' 1044 | static int OP_TST_ROR_REG(const u32 i) { OP_TST_(S_ROR_REG); } | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_TST_IMM_VAL(u32)': src/arm_jit.cpp:582:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 582 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ src/arm_jit.cpp:1032:9: note: in definition of macro 'OP_TST_' 1032 | arg; \ | ^~~ src/arm_jit.cpp:1045:50: note: in expansion of macro 'S_IMM_VAL' 1045 | static int OP_TST_IMM_VAL(const u32 i) { OP_TST_(S_IMM_VAL); } | ^~~~~~~~~ src/arm_jit.cpp:592:13: warning: unused variable 'rhs_first' [-Wunused-variable] 592 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:1032:9: note: in definition of macro 'OP_TST_' 1032 | arg; \ | ^~~ src/arm_jit.cpp:1045:50: note: in expansion of macro 'S_IMM_VAL' 1045 | static int OP_TST_IMM_VAL(const u32 i) { OP_TST_(S_IMM_VAL); } | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_TEQ_IMM_VAL(u32)': src/arm_jit.cpp:592:13: warning: unused variable 'rhs_first' [-Wunused-variable] 592 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:1051:9: note: in definition of macro 'OP_TEQ_' 1051 | arg; \ | ^~~ src/arm_jit.cpp:1071:50: note: in expansion of macro 'S_IMM_VAL' 1071 | static int OP_TEQ_IMM_VAL(const u32 i) { OP_TEQ_(S_IMM_VAL); } | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_CMP_LSL_IMM(u32)': src/arm_jit.cpp:457:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 457 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1077:9: note: in definition of macro 'OP_CMP' 1077 | arg; \ | ^~~ src/arm_jit.cpp:1082:49: note: in expansion of macro 'LSL_IMM' 1082 | static int OP_CMP_LSL_IMM(const u32 i) { OP_CMP(LSL_IMM); } | ^~~~~~~ src/arm_jit.cpp:462:13: warning: unused variable 'rhs_first' [-Wunused-variable] 462 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ src/arm_jit.cpp:1077:9: note: in definition of macro 'OP_CMP' 1077 | arg; \ | ^~~ src/arm_jit.cpp:1082:49: note: in expansion of macro 'LSL_IMM' 1082 | static int OP_CMP_LSL_IMM(const u32 i) { OP_CMP(LSL_IMM); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_CMP_LSL_REG(u32)': src/arm_jit.cpp:609:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 609 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1077:9: note: in definition of macro 'OP_CMP' 1077 | arg; \ | ^~~ src/arm_jit.cpp:666:17: note: in expansion of macro 'LSX_REG' 666 | #define LSL_REG LSX_REG(LSL_REG, shl, 0) | ^~~~~~~ src/arm_jit.cpp:1083:49: note: in expansion of macro 'LSL_REG' 1083 | static int OP_CMP_LSL_REG(const u32 i) { OP_CMP(LSL_REG); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_CMP_LSR_IMM(u32)': src/arm_jit.cpp:482:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 482 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1077:9: note: in definition of macro 'OP_CMP' 1077 | arg; \ | ^~~ src/arm_jit.cpp:1084:49: note: in expansion of macro 'LSR_IMM' 1084 | static int OP_CMP_LSR_IMM(const u32 i) { OP_CMP(LSR_IMM); } | ^~~~~~~ src/arm_jit.cpp:492:13: warning: unused variable 'rhs_first' [-Wunused-variable] 492 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ src/arm_jit.cpp:1077:9: note: in definition of macro 'OP_CMP' 1077 | arg; \ | ^~~ src/arm_jit.cpp:1084:49: note: in expansion of macro 'LSR_IMM' 1084 | static int OP_CMP_LSR_IMM(const u32 i) { OP_CMP(LSR_IMM); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_CMP_LSR_REG(u32)': src/arm_jit.cpp:609:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 609 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1077:9: note: in definition of macro 'OP_CMP' 1077 | arg; \ | ^~~ src/arm_jit.cpp:667:17: note: in expansion of macro 'LSX_REG' 667 | #define LSR_REG LSX_REG(LSR_REG, shr, 0) | ^~~~~~~ src/arm_jit.cpp:1085:49: note: in expansion of macro 'LSR_REG' 1085 | static int OP_CMP_LSR_REG(const u32 i) { OP_CMP(LSR_REG); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_CMP_ASR_IMM(u32)': src/arm_jit.cpp:516:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 516 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1077:9: note: in definition of macro 'OP_CMP' 1077 | arg; \ | ^~~ src/arm_jit.cpp:1086:49: note: in expansion of macro 'ASR_IMM' 1086 | static int OP_CMP_ASR_IMM(const u32 i) { OP_CMP(ASR_IMM); } | ^~~~~~~ src/arm_jit.cpp:522:13: warning: unused variable 'rhs_first' [-Wunused-variable] 522 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ src/arm_jit.cpp:1077:9: note: in definition of macro 'OP_CMP' 1077 | arg; \ | ^~~ src/arm_jit.cpp:1086:49: note: in expansion of macro 'ASR_IMM' 1086 | static int OP_CMP_ASR_IMM(const u32 i) { OP_CMP(ASR_IMM); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_CMP_ASR_REG(u32)': src/arm_jit.cpp:609:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 609 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1077:9: note: in definition of macro 'OP_CMP' 1077 | arg; \ | ^~~ src/arm_jit.cpp:668:17: note: in expansion of macro 'LSX_REG' 668 | #define ASR_REG LSX_REG(ASR_REG, sar, 1) | ^~~~~~~ src/arm_jit.cpp:1087:49: note: in expansion of macro 'ASR_REG' 1087 | static int OP_CMP_ASR_REG(const u32 i) { OP_CMP(ASR_REG); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_CMP_ROR_IMM(u32)': src/arm_jit.cpp:538:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 538 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1077:9: note: in definition of macro 'OP_CMP' 1077 | arg; \ | ^~~ src/arm_jit.cpp:1088:49: note: in expansion of macro 'ROR_IMM' 1088 | static int OP_CMP_ROR_IMM(const u32 i) { OP_CMP(ROR_IMM); } | ^~~~~~~ src/arm_jit.cpp:549:13: warning: unused variable 'rhs_first' [-Wunused-variable] 549 | 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); | ^~~~~~~~~ src/arm_jit.cpp:1077:9: note: in definition of macro 'OP_CMP' 1077 | arg; \ | ^~~ src/arm_jit.cpp:1088:49: note: in expansion of macro 'ROR_IMM' 1088 | static int OP_CMP_ROR_IMM(const u32 i) { OP_CMP(ROR_IMM); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_CMP_ROR_REG(u32)': src/arm_jit.cpp:675:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 675 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1077:9: note: in definition of macro 'OP_CMP' 1077 | arg; \ | ^~~ src/arm_jit.cpp:1089:49: note: in expansion of macro 'ROR_REG' 1089 | static int OP_CMP_ROR_REG(const u32 i) { OP_CMP(ROR_REG); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_CMP_IMM_VAL(u32)': src/arm_jit.cpp:576:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 576 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ src/arm_jit.cpp:1077:9: note: in definition of macro 'OP_CMP' 1077 | arg; \ | ^~~ src/arm_jit.cpp:1090:49: note: in expansion of macro 'IMM_VAL' 1090 | static int OP_CMP_IMM_VAL(const u32 i) { OP_CMP(IMM_VAL); } | ^~~~~~~ src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:1077:9: note: in definition of macro 'OP_CMP' 1077 | arg; \ | ^~~ src/arm_jit.cpp:1090:49: note: in expansion of macro 'IMM_VAL' 1090 | static int OP_CMP_IMM_VAL(const u32 i) { OP_CMP(IMM_VAL); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_CMN_LSL_IMM(u32)': src/arm_jit.cpp:462:13: warning: unused variable 'rhs_first' [-Wunused-variable] 462 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ src/arm_jit.cpp:1097:9: note: in definition of macro 'OP_CMN' 1097 | arg; \ | ^~~ src/arm_jit.cpp:1111:49: note: in expansion of macro 'LSL_IMM' 1111 | static int OP_CMN_LSL_IMM(const u32 i) { OP_CMN(LSL_IMM); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_CMN_LSR_IMM(u32)': src/arm_jit.cpp:492:13: warning: unused variable 'rhs_first' [-Wunused-variable] 492 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ src/arm_jit.cpp:1097:9: note: in definition of macro 'OP_CMN' 1097 | arg; \ | ^~~ src/arm_jit.cpp:1113:49: note: in expansion of macro 'LSR_IMM' 1113 | static int OP_CMN_LSR_IMM(const u32 i) { OP_CMN(LSR_IMM); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_CMN_ASR_IMM(u32)': src/arm_jit.cpp:522:13: warning: unused variable 'rhs_first' [-Wunused-variable] 522 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ src/arm_jit.cpp:1097:9: note: in definition of macro 'OP_CMN' 1097 | arg; \ | ^~~ src/arm_jit.cpp:1115:49: note: in expansion of macro 'ASR_IMM' 1115 | static int OP_CMN_ASR_IMM(const u32 i) { OP_CMN(ASR_IMM); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_CMN_ROR_IMM(u32)': src/arm_jit.cpp:549:13: warning: unused variable 'rhs_first' [-Wunused-variable] 549 | 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); | ^~~~~~~~~ src/arm_jit.cpp:1097:9: note: in definition of macro 'OP_CMN' 1097 | arg; \ | ^~~ src/arm_jit.cpp:1117:49: note: in expansion of macro 'ROR_IMM' 1117 | static int OP_CMN_ROR_IMM(const u32 i) { OP_CMN(ROR_IMM); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_CMN_IMM_VAL(u32)': src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:1097:9: note: in definition of macro 'OP_CMN' 1097 | arg; \ | ^~~ src/arm_jit.cpp:1119:49: note: in expansion of macro 'IMM_VAL' 1119 | static int OP_CMN_IMM_VAL(const u32 i) { OP_CMN(IMM_VAL); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MOV_LSL_IMM(u32)': src/arm_jit.cpp:457:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 457 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1135:114: note: in expansion of macro 'LSL_IMM' 1135 | static int OP_MOV_LSL_IMM(const u32 i) { if (i == 0xE1A00000) { /* nop */ JIT_COMMENT("nop"); return 1; } OP_MOV(LSL_IMM); } | ^~~~~~~ src/arm_jit.cpp:462:13: warning: unused variable 'rhs_first' [-Wunused-variable] 462 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1135:114: note: in expansion of macro 'LSL_IMM' 1135 | static int OP_MOV_LSL_IMM(const u32 i) { if (i == 0xE1A00000) { /* nop */ JIT_COMMENT("nop"); return 1; } OP_MOV(LSL_IMM); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MOV_LSL_REG(u32)': src/arm_jit.cpp:609:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 609 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:666:17: note: in expansion of macro 'LSX_REG' 666 | #define LSL_REG LSX_REG(LSL_REG, shl, 0) | ^~~~~~~ src/arm_jit.cpp:1136:49: note: in expansion of macro 'LSL_REG' 1136 | static int OP_MOV_LSL_REG(const u32 i) { OP_MOV(LSL_REG; if (REG_POS(i,0) == 15) c.add(rhs, 4);); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MOV_LSR_IMM(u32)': src/arm_jit.cpp:482:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 482 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1137:49: note: in expansion of macro 'LSR_IMM' 1137 | static int OP_MOV_LSR_IMM(const u32 i) { OP_MOV(LSR_IMM); } | ^~~~~~~ src/arm_jit.cpp:492:13: warning: unused variable 'rhs_first' [-Wunused-variable] 492 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1137:49: note: in expansion of macro 'LSR_IMM' 1137 | static int OP_MOV_LSR_IMM(const u32 i) { OP_MOV(LSR_IMM); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MOV_LSR_REG(u32)': src/arm_jit.cpp:609:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 609 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:667:17: note: in expansion of macro 'LSX_REG' 667 | #define LSR_REG LSX_REG(LSR_REG, shr, 0) | ^~~~~~~ src/arm_jit.cpp:1138:49: note: in expansion of macro 'LSR_REG' 1138 | static int OP_MOV_LSR_REG(const u32 i) { OP_MOV(LSR_REG; if (REG_POS(i,0) == 15) c.add(rhs, 4);); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MOV_ASR_IMM(u32)': src/arm_jit.cpp:516:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 516 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1139:49: note: in expansion of macro 'ASR_IMM' 1139 | static int OP_MOV_ASR_IMM(const u32 i) { OP_MOV(ASR_IMM); } | ^~~~~~~ src/arm_jit.cpp:522:13: warning: unused variable 'rhs_first' [-Wunused-variable] 522 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1139:49: note: in expansion of macro 'ASR_IMM' 1139 | static int OP_MOV_ASR_IMM(const u32 i) { OP_MOV(ASR_IMM); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MOV_ASR_REG(u32)': src/arm_jit.cpp:609:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 609 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:668:17: note: in expansion of macro 'LSX_REG' 668 | #define ASR_REG LSX_REG(ASR_REG, sar, 1) | ^~~~~~~ src/arm_jit.cpp:1140:49: note: in expansion of macro 'ASR_REG' 1140 | static int OP_MOV_ASR_REG(const u32 i) { OP_MOV(ASR_REG); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MOV_ROR_IMM(u32)': src/arm_jit.cpp:538:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 538 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1141:49: note: in expansion of macro 'ROR_IMM' 1141 | static int OP_MOV_ROR_IMM(const u32 i) { OP_MOV(ROR_IMM); } | ^~~~~~~ src/arm_jit.cpp:549:13: warning: unused variable 'rhs_first' [-Wunused-variable] 549 | 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); | ^~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1141:49: note: in expansion of macro 'ROR_IMM' 1141 | static int OP_MOV_ROR_IMM(const u32 i) { OP_MOV(ROR_IMM); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MOV_ROR_REG(u32)': src/arm_jit.cpp:675:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 675 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1142:49: note: in expansion of macro 'ROR_REG' 1142 | static int OP_MOV_ROR_REG(const u32 i) { OP_MOV(ROR_REG); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MOV_IMM_VAL(u32)': src/arm_jit.cpp:576:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 576 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1143:49: note: in expansion of macro 'IMM_VAL' 1143 | static int OP_MOV_IMM_VAL(const u32 i) { OP_MOV(IMM_VAL); } | ^~~~~~~ src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1143:49: note: in expansion of macro 'IMM_VAL' 1143 | static int OP_MOV_IMM_VAL(const u32 i) { OP_MOV(IMM_VAL); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MOV_S_IMM_VAL(u32)': src/arm_jit.cpp:592:13: warning: unused variable 'rhs_first' [-Wunused-variable] 592 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:1146:5: note: in definition of macro 'OP_MOV_S' 1146 | arg; \ | ^~~ src/arm_jit.cpp:1169:53: note: in expansion of macro 'S_IMM_VAL' 1169 | static int OP_MOV_S_IMM_VAL(const u32 i) { OP_MOV_S(S_IMM_VAL); } | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_MVN_LSL_IMM(u32)': src/arm_jit.cpp:457:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 457 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1174:49: note: in expansion of macro 'LSL_IMM' 1174 | static int OP_MVN_LSL_IMM(const u32 i) { OP_MOV(LSL_IMM; c.not_(rhs)); } | ^~~~~~~ src/arm_jit.cpp:462:13: warning: unused variable 'rhs_first' [-Wunused-variable] 462 | u32 rhs_first = cpu->R[REG_POS(i,0)] << imm; | ^~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1174:49: note: in expansion of macro 'LSL_IMM' 1174 | static int OP_MVN_LSL_IMM(const u32 i) { OP_MOV(LSL_IMM; c.not_(rhs)); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MVN_LSL_REG(u32)': src/arm_jit.cpp:609:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 609 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:666:17: note: in expansion of macro 'LSX_REG' 666 | #define LSL_REG LSX_REG(LSL_REG, shl, 0) | ^~~~~~~ src/arm_jit.cpp:1175:49: note: in expansion of macro 'LSL_REG' 1175 | static int OP_MVN_LSL_REG(const u32 i) { OP_MOV(LSL_REG; c.not_(rhs)); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MVN_LSR_IMM(u32)': src/arm_jit.cpp:482:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 482 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1176:49: note: in expansion of macro 'LSR_IMM' 1176 | static int OP_MVN_LSR_IMM(const u32 i) { OP_MOV(LSR_IMM; c.not_(rhs)); } | ^~~~~~~ src/arm_jit.cpp:492:13: warning: unused variable 'rhs_first' [-Wunused-variable] 492 | u32 rhs_first = imm ? cpu->R[REG_POS(i,0)] >> imm : 0; | ^~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1176:49: note: in expansion of macro 'LSR_IMM' 1176 | static int OP_MVN_LSR_IMM(const u32 i) { OP_MOV(LSR_IMM; c.not_(rhs)); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MVN_LSR_REG(u32)': src/arm_jit.cpp:609:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 609 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:667:17: note: in expansion of macro 'LSX_REG' 667 | #define LSR_REG LSX_REG(LSR_REG, shr, 0) | ^~~~~~~ src/arm_jit.cpp:1177:49: note: in expansion of macro 'LSR_REG' 1177 | static int OP_MVN_LSR_REG(const u32 i) { OP_MOV(LSR_REG; c.not_(rhs)); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MVN_ASR_IMM(u32)': src/arm_jit.cpp:516:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 516 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1178:49: note: in expansion of macro 'ASR_IMM' 1178 | static int OP_MVN_ASR_IMM(const u32 i) { OP_MOV(ASR_IMM; c.not_(rhs)); } | ^~~~~~~ src/arm_jit.cpp:522:13: warning: unused variable 'rhs_first' [-Wunused-variable] 522 | u32 rhs_first = (s32)cpu->R[REG_POS(i,0)] >> imm; | ^~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1178:49: note: in expansion of macro 'ASR_IMM' 1178 | static int OP_MVN_ASR_IMM(const u32 i) { OP_MOV(ASR_IMM; c.not_(rhs)); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MVN_ASR_REG(u32)': src/arm_jit.cpp:609:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 609 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:668:17: note: in expansion of macro 'LSX_REG' 668 | #define ASR_REG LSX_REG(ASR_REG, sar, 1) | ^~~~~~~ src/arm_jit.cpp:1179:49: note: in expansion of macro 'ASR_REG' 1179 | static int OP_MVN_ASR_REG(const u32 i) { OP_MOV(ASR_REG; c.not_(rhs)); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MVN_ROR_IMM(u32)': src/arm_jit.cpp:538:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 538 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1180:49: note: in expansion of macro 'ROR_IMM' 1180 | static int OP_MVN_ROR_IMM(const u32 i) { OP_MOV(ROR_IMM; c.not_(rhs)); } | ^~~~~~~ src/arm_jit.cpp:549:13: warning: unused variable 'rhs_first' [-Wunused-variable] 549 | 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); | ^~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1180:49: note: in expansion of macro 'ROR_IMM' 1180 | static int OP_MVN_ROR_IMM(const u32 i) { OP_MOV(ROR_IMM; c.not_(rhs)); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MVN_ROR_REG(u32)': src/arm_jit.cpp:675:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 675 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1181:49: note: in expansion of macro 'ROR_REG' 1181 | static int OP_MVN_ROR_REG(const u32 i) { OP_MOV(ROR_REG; c.not_(rhs)); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MVN_IMM_VAL(u32)': src/arm_jit.cpp:576:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 576 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1182:49: note: in expansion of macro 'IMM_VAL' 1182 | static int OP_MVN_IMM_VAL(const u32 i) { OP_MOV(IMM_VAL; rhs = ~rhs); } | ^~~~~~~ src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:1126:5: note: in definition of macro 'OP_MOV' 1126 | arg; \ | ^~~ src/arm_jit.cpp:1182:49: note: in expansion of macro 'IMM_VAL' 1182 | static int OP_MVN_IMM_VAL(const u32 i) { OP_MOV(IMM_VAL; rhs = ~rhs); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MVN_S_IMM_VAL(u32)': src/arm_jit.cpp:592:13: warning: unused variable 'rhs_first' [-Wunused-variable] 592 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:1146:5: note: in definition of macro 'OP_MOV_S' 1146 | arg; \ | ^~~ src/arm_jit.cpp:1192:53: note: in expansion of macro 'S_IMM_VAL' 1192 | static int OP_MVN_S_IMM_VAL(const u32 i) { OP_MOV_S(S_IMM_VAL; rhs = ~rhs); } | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_MSR_CPSR(u32)': src/arm_jit.cpp:570:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 570 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1405:9: note: in definition of macro 'OP_MSR_' 1405 | args; \ | ^~~~ src/arm_jit.cpp:1518:53: note: in expansion of macro 'REG_OFF' 1518 | static int OP_MSR_CPSR(const u32 i) { OP_MSR_(CPSR, REG_OFF, 1); } | ^~~~~~~ src/arm_jit.cpp:572:13: warning: unused variable 'rhs_first' [-Wunused-variable] 572 | u32 rhs_first = cpu->R[REG_POS(i,0)]; | ^~~~~~~~~ src/arm_jit.cpp:1405:9: note: in definition of macro 'OP_MSR_' 1405 | args; \ | ^~~~ src/arm_jit.cpp:1518:53: note: in expansion of macro 'REG_OFF' 1518 | static int OP_MSR_CPSR(const u32 i) { OP_MSR_(CPSR, REG_OFF, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MSR_SPSR(u32)': src/arm_jit.cpp:570:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 570 | bool rhs_is_imm = false; \ | ^~~~~~~~~~ src/arm_jit.cpp:1405:9: note: in definition of macro 'OP_MSR_' 1405 | args; \ | ^~~~ src/arm_jit.cpp:1519:53: note: in expansion of macro 'REG_OFF' 1519 | static int OP_MSR_SPSR(const u32 i) { OP_MSR_(SPSR, REG_OFF, 0); } | ^~~~~~~ src/arm_jit.cpp:572:13: warning: unused variable 'rhs_first' [-Wunused-variable] 572 | u32 rhs_first = cpu->R[REG_POS(i,0)]; | ^~~~~~~~~ src/arm_jit.cpp:1405:9: note: in definition of macro 'OP_MSR_' 1405 | args; \ | ^~~~ src/arm_jit.cpp:1519:53: note: in expansion of macro 'REG_OFF' 1519 | static int OP_MSR_SPSR(const u32 i) { OP_MSR_(SPSR, REG_OFF, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MSR_CPSR_IMM_VAL(u32)': src/arm_jit.cpp:576:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 576 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ src/arm_jit.cpp:1405:9: note: in definition of macro 'OP_MSR_' 1405 | args; \ | ^~~~ src/arm_jit.cpp:1520:61: note: in expansion of macro 'IMM_VAL' 1520 | static int OP_MSR_CPSR_IMM_VAL(const u32 i) { OP_MSR_(CPSR, IMM_VAL, 1); } | ^~~~~~~ src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:1405:9: note: in definition of macro 'OP_MSR_' 1405 | args; \ | ^~~~ src/arm_jit.cpp:1520:61: note: in expansion of macro 'IMM_VAL' 1520 | static int OP_MSR_CPSR_IMM_VAL(const u32 i) { OP_MSR_(CPSR, IMM_VAL, 1); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_MSR_SPSR_IMM_VAL(u32)': src/arm_jit.cpp:576:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 576 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ src/arm_jit.cpp:1405:9: note: in definition of macro 'OP_MSR_' 1405 | args; \ | ^~~~ src/arm_jit.cpp:1521:61: note: in expansion of macro 'IMM_VAL' 1521 | static int OP_MSR_SPSR_IMM_VAL(const u32 i) { OP_MSR_(SPSR, IMM_VAL, 0); } | ^~~~~~~ src/arm_jit.cpp:578:13: warning: unused variable 'rhs_first' [-Wunused-variable] 578 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:1405:9: note: in definition of macro 'OP_MSR_' 1405 | args; \ | ^~~~ src/arm_jit.cpp:1521:61: note: in expansion of macro 'IMM_VAL' 1521 | static int OP_MSR_SPSR_IMM_VAL(const u32 i) { OP_MSR_(SPSR, IMM_VAL, 0); } | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_LDRD_STRD_POST_INDEX(u32)': src/arm_jit.cpp:596:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 596 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ src/arm_jit.cpp:1952:17: note: in expansion of macro 'IMM_OFF' 1952 | IMM_OFF; | ^~~~~~~ src/arm_jit.cpp:598:13: warning: unused variable 'rhs_first' [-Wunused-variable] 598 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:1952:17: note: in expansion of macro 'IMM_OFF' 1952 | IMM_OFF; | ^~~~~~~ src/arm_jit.cpp: In function 'int OP_LDRD_STRD_OFFSET_PRE_INDEX(u32)': src/arm_jit.cpp:596:14: warning: unused variable 'rhs_is_imm' [-Wunused-variable] 596 | bool rhs_is_imm = true; \ | ^~~~~~~~~~ src/arm_jit.cpp:1993:17: note: in expansion of macro 'IMM_OFF' 1993 | IMM_OFF; | ^~~~~~~ src/arm_jit.cpp:598:13: warning: unused variable 'rhs_first' [-Wunused-variable] 598 | u32 rhs_first = rhs; | ^~~~~~~~~ src/arm_jit.cpp:1993:17: note: in expansion of macro 'IMM_OFF' 1993 | IMM_OFF; | ^~~~~~~ src/arm_jit.cpp: In function 'int op_ldm_stm2(u32, bool, int, bool, bool)': src/arm_jit.cpp:2335:13: warning: unused variable 'adr_first' [-Wunused-variable] 2335 | u32 adr_first = cpu->R[REG_POS(i, 16)]; | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_STRB_IMM_OFF(u32)': src/arm_jit.cpp:3497:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 3497 | if ((offset) != -1) \ | ~~~~~~~~~^~~~~ src/arm_jit.cpp:3545:43: note: in expansion of macro 'STR_THUMB' 3545 | static int OP_STRB_IMM_OFF(const u32 i) { STR_THUMB(STRB, ((i>>6)&0x1F)); } | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_LDRB_IMM_OFF(u32)': src/arm_jit.cpp:3524:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 3524 | if ((offset) != -1) \ | ~~~~~~~~~^~~~~ src/arm_jit.cpp:3546:43: note: in expansion of macro 'LDR_THUMB' 3546 | static int OP_LDRB_IMM_OFF(const u32 i) { LDR_THUMB(LDRB, ((i>>6)&0x1F)); } | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_STRH_IMM_OFF(u32)': src/arm_jit.cpp:3497:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 3497 | if ((offset) != -1) \ | ~~~~~~~~~^~~~~ src/arm_jit.cpp:3551:43: note: in expansion of macro 'STR_THUMB' 3551 | static int OP_STRH_IMM_OFF(const u32 i) { STR_THUMB(STRH, ((i>>5)&0x3E)); } | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_LDRH_IMM_OFF(u32)': src/arm_jit.cpp:3524:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 3524 | if ((offset) != -1) \ | ~~~~~~~~~^~~~~ src/arm_jit.cpp:3552:43: note: in expansion of macro 'LDR_THUMB' 3552 | static int OP_LDRH_IMM_OFF(const u32 i) { LDR_THUMB(LDRH, ((i>>5)&0x3E)); } | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_STR_IMM_OFF(u32)': src/arm_jit.cpp:3497:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 3497 | if ((offset) != -1) \ | ~~~~~~~~~^~~~~ src/arm_jit.cpp:3557:42: note: in expansion of macro 'STR_THUMB' 3557 | static int OP_STR_IMM_OFF(const u32 i) { STR_THUMB(STR, ((i>>4)&0x7C)); } | ^~~~~~~~~ src/arm_jit.cpp: In function 'int OP_LDR_IMM_OFF(u32)': src/arm_jit.cpp:3524:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 3524 | if ((offset) != -1) \ | ~~~~~~~~~^~~~~ src/arm_jit.cpp:3558:42: note: in expansion of macro 'LDR_THUMB' 3558 | static int OP_LDR_IMM_OFF(const u32 i) { LDR_THUMB(LDR, ((i>>4)&0x7C)); } // FIXME: tempValue = (tempValue>>adr) | (tempValue<<(32-adr)); | ^~~~~~~~~ src/arm_jit.cpp: In function 'void arm_jit_reset(bool, bool)': src/arm_jit.cpp:4282:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 4282 | for(int i=0; i(unsigned int)unsigned int': src/arm_jit.cpp:1914:22: warning: array subscript 16 is above array bounds of 'u32[16]' [-Warray-bounds=] 1914 | cpu->R[Rnum+1] = READ32(cpu->mem_if->data, adr+4); | ^ src/armcpu.h:253:13: note: while referencing 'R' 253 | u32 R[16]; //16 | ^ src/arm_jit.cpp: In function 'OP_STRD_REG<1, (unsigned char)15>(unsigned int)unsigned int': src/MMU.h:894:46: warning: array subscript 16 is above array bounds of 'u32[16]' [-Warray-bounds=] 894 | #define WRITE32(a,b,c) _MMU_write32((b) & 0xFFFFFFFC,c) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/armcpu.h:253:13: note: while referencing 'R' 253 | u32 R[16]; //16 | ^ src/arm_jit.cpp: In function 'OP_STRD_REG<0, (unsigned char)15>(unsigned int)unsigned int': src/MMU.h:894:46: warning: array subscript 16 is above array bounds of 'u32[16]' [-Warray-bounds=] 894 | #define WRITE32(a,b,c) _MMU_write32((b) & 0xFFFFFFFC,c) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/armcpu.h:253:13: note: while referencing 'R' 253 | u32 R[16]; //16 | ^ src/arm_jit.cpp: In function 'OP_LDRD_REG<0, (unsigned char)15>(unsigned int)unsigned int': src/arm_jit.cpp:1914:22: warning: array subscript 16 is above array bounds of 'u32[16]' [-Warray-bounds=] 1914 | cpu->R[Rnum+1] = READ32(cpu->mem_if->data, adr+4); | ^ src/armcpu.h:253:13: note: while referencing 'R' 253 | u32 R[16]; //16 | ^ make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -fPIC -shared -Wl,--no-undefined -Wl,--version-script=src/libretro/link.T -o desmume2015_libretro.so src/armcpu.o src/arm_instructions.o src/bios.o src/cp15.o src/emufile.o src/encrypt.o src/FIFO.o src/firmware.o src/GPU.o src/mc.o src/path.o src/readwrite.o src/wifi.o src/MMU.o src/NDSSystem.o src/render3D.o src/rtc.o src/saves.o src/slot1.o src/slot2.o src/SPU.o src/matrix.o src/gfx3d.o src/thumb_instructions.o src/utils/advanscene.o src/utils/datetime.o src/utils/emufat.o src/utils/xstring.o src/utils/decrypt/crc.o src/utils/decrypt/decrypt.o src/utils/decrypt/header.o src/utils/vfat.o src/utils/tinyxml/tinystr.o src/utils/tinyxml/tinyxml.o src/utils/tinyxml/tinyxmlerror.o src/utils/tinyxml/tinyxmlparser.o src/addons/slot2_auto.o src/addons/slot2_mpcf.o src/addons/slot2_paddle.o src/addons/slot2_gbagame.o src/addons/slot2_none.o src/addons/slot2_rumblepak.o src/addons/slot2_guitarGrip.o src/addons/slot2_expMemory.o src/addons/slot2_piano.o src/addons/slot2_passme.o src/addons/slot1_none.o src/addons/slot1_r4.o src/addons/slot1comp_mc.o src/addons/slot1comp_rom.o src/addons/slot1comp_protocol.o src/addons/slot1_retail_mcrom.o src/addons/slot1_retail_nand.o src/addons/slot1_retail_auto.o src/cheatSystem.o src/texcache.o src/rasterize.o src/mic.o src/driver.o src/libretro/libretro.o src/libretro/scrc32.o src/addons/slot1_retail_mcrom_debug.o src/utils/fsnitro.o src/utils/task.o src/arm_jit.o src/utils/AsmJit/core/assembler.o src/utils/AsmJit/core/assert.o src/utils/AsmJit/core/buffer.o src/utils/AsmJit/core/compiler.o src/utils/AsmJit/core/compilercontext.o src/utils/AsmJit/core/compilerfunc.o src/utils/AsmJit/core/compileritem.o src/utils/AsmJit/core/context.o src/utils/AsmJit/core/cpuinfo.o src/utils/AsmJit/core/defs.o src/utils/AsmJit/core/func.o src/utils/AsmJit/core/logger.o src/utils/AsmJit/core/memorymanager.o src/utils/AsmJit/core/memorymarker.o src/utils/AsmJit/core/operand.o src/utils/AsmJit/core/stringbuilder.o src/utils/AsmJit/core/stringutil.o src/utils/AsmJit/core/virtualmemory.o src/utils/AsmJit/core/zonememory.o src/utils/AsmJit/x86/x86assembler.o src/utils/AsmJit/x86/x86compiler.o src/utils/AsmJit/x86/x86compilercontext.o src/utils/AsmJit/x86/x86compilerfunc.o src/utils/AsmJit/x86/x86compileritem.o src/utils/AsmJit/x86/x86cpuinfo.o src/utils/AsmJit/x86/x86defs.o src/utils/AsmJit/x86/x86func.o src/utils/AsmJit/x86/x86operand.o src/utils/AsmJit/x86/x86util.o src/utils/libfat/partition.o src/utils/libfat/cache.o src/utils/libfat/directory.o src/utils/libfat/disc.o src/utils/libfat/fatdir.o src/utils/libfat/fatfile.o src/utils/libfat/filetime.o src/utils/libfat/file_allocation_table.o src/utils/libfat/libfat.o src/utils/libfat/libfat_public_api.o src/utils/libfat/lock.o src/libretro-common/rthreads/rthreads.o src/common.o src/utils/dlditool.o src/libretro-common/memmap/memalign.o src/libretro-common/streams/file_stream.o src/libretro-common/features/features_cpu.o src/libretro-common/compat/compat_strl.o src/libretro-common/file/retro_dirent.o src/libretro-common/file/retro_stat.o src/libretro-common/file/file_path.o src/libretro-common/string/stdstring.o src/version.o -lpthread make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' src/utils/tinyxml/tinyxml.h:423:7: warning: type 'struct TiXmlNode' violates the C++ One Definition Rule [-Wodr] 423 | class TiXmlNode : public TiXmlBase | ^ src/utils/tinyxml/tinyxml.h:423:7: note: a different type is defined in another translation unit 423 | class TiXmlNode : public TiXmlBase | ^ src/utils/tinyxml/tinyxml.h:761:25: note: the first difference of corresponding definitions is field 'value' 761 | TIXML_STRING value; | ^ src/utils/tinyxml/tinyxml.h:761:25: note: a field of same name but different type is defined in another translation unit 761 | TIXML_STRING value; | ^ src/utils/tinyxml/tinyxml.h:423:7: note: type name 'std::__cxx11::basic_string, std::allocator >' should match type name 'TiXmlString' 423 | class TiXmlNode : public TiXmlBase | ^ src/utils/tinyxml/tinystr.h:55:7: note: the incompatible type is defined here 55 | class TiXmlString | ^ src/utils/tinyxml/tinyxml.h:779:7: warning: type 'struct TiXmlAttribute' violates the C++ One Definition Rule [-Wodr] 779 | class TiXmlAttribute : public TiXmlBase | ^ src/utils/tinyxml/tinyxml.h:779:7: note: a different type is defined in another translation unit 779 | class TiXmlAttribute : public TiXmlBase | ^ src/utils/tinyxml/tinyxml.h:884:22: note: the first difference of corresponding definitions is field 'name' 884 | TIXML_STRING name; | ^ src/utils/tinyxml/tinyxml.h:884:22: note: a field of same name but different type is defined in another translation unit 884 | TIXML_STRING name; | ^ src/utils/tinyxml/tinyxml.h:779:7: note: type name 'std::__cxx11::basic_string, std::allocator >' should match type name 'TiXmlString' 779 | class TiXmlAttribute : public TiXmlBase | ^ src/utils/tinyxml/tinystr.h:55:7: note: the incompatible type is defined here 55 | class TiXmlString | ^ src/utils/tinyxml/tinyxml.h:903:7: warning: type 'struct TiXmlAttributeSet' violates the C++ One Definition Rule [-Wodr] 903 | class TiXmlAttributeSet | ^ src/utils/tinyxml/tinyxml.h:903:7: note: a different type is defined in another translation unit 903 | class TiXmlAttributeSet | ^ src/utils/tinyxml/tinyxml.h:932:24: note: the first difference of corresponding definitions is field 'sentinel' 932 | TiXmlAttribute sentinel; | ^ src/utils/tinyxml/tinyxml.h:932:24: note: a field of same name but different type is defined in another translation unit 932 | TiXmlAttribute sentinel; | ^ src/utils/tinyxml/tinyxml.h:779:7: note: type 'struct TiXmlAttribute' itself violates the C++ One Definition Rule 779 | class TiXmlAttribute : public TiXmlBase | ^ src/utils/tinyxml/tinyxml.h:1393:7: warning: type 'struct TiXmlDocument' violates the C++ One Definition Rule [-Wodr] 1393 | class TiXmlDocument : public TiXmlNode | ^ src/utils/tinyxml/tinyxml.h:1393:7: note: a type with different bases is defined in another translation unit 1393 | class TiXmlDocument : public TiXmlNode | ^ src/utils/tinyxml/tinyxml.h:940:7: warning: type 'struct TiXmlElement' violates the C++ One Definition Rule [-Wodr] 940 | class TiXmlElement : public TiXmlNode | ^ src/utils/tinyxml/tinyxml.h:940:7: note: a type with different bases is defined in another translation unit 940 | class TiXmlElement : public TiXmlNode | ^ src/utils/tinyxml/tinyxml.h:1212:7: warning: type 'struct TiXmlText' violates the C++ One Definition Rule [-Wodr] 1212 | class TiXmlText : public TiXmlNode | ^ src/utils/tinyxml/tinyxml.h:1212:7: note: a type with different bases is defined in another translation unit 1212 | class TiXmlText : public TiXmlNode | ^ src/utils/tinyxml/tinyxml.h:1285:7: warning: type 'struct TiXmlDeclaration' violates the C++ One Definition Rule [-Wodr] 1285 | class TiXmlDeclaration : public TiXmlNode | ^ src/utils/tinyxml/tinyxml.h:1285:7: note: a type with different bases is defined in another translation unit 1285 | class TiXmlDeclaration : public TiXmlNode | ^ src/utils/tinyxml/tinyxml.h:1162:7: warning: type 'struct TiXmlComment' violates the C++ One Definition Rule [-Wodr] 1162 | class TiXmlComment : public TiXmlNode | ^ src/utils/tinyxml/tinyxml.h:1162:7: note: a type with different bases is defined in another translation unit 1162 | class TiXmlComment : public TiXmlNode | ^ src/utils/tinyxml/tinyxml.h:1354:7: warning: type 'struct TiXmlUnknown' violates the C++ One Definition Rule [-Wodr] 1354 | class TiXmlUnknown : public TiXmlNode | ^ src/utils/tinyxml/tinyxml.h:1354:7: note: a type with different bases is defined in another translation unit 1354 | class TiXmlUnknown : public TiXmlNode | ^ src/utils/tinyxml/tinyxml.h:653:29: warning: type of 'NextSiblingElement' does not match original declaration [-Wlto-type-mismatch] 653 | const TiXmlElement* NextSiblingElement( const char * ) const; | ^ src/utils/tinyxml/tinyxml.cpp:497:21: note: 'NextSiblingElement' was previously declared here 497 | const TiXmlElement* TiXmlNode::NextSiblingElement( const char * _value ) const | ^ src/utils/tinyxml/tinyxml.cpp:497:21: note: code may be misoptimized unless '-fno-strict-aliasing' is used src/utils/tinyxml/tinyxml.h:1397:9: warning: type of '__ct_comp ' does not match original declaration [-Wlto-type-mismatch] 1397 | TiXmlDocument(); | ^ src/utils/tinyxml/tinyxml.cpp:913:1: note: '__ct_comp ' was previously declared here 913 | TiXmlDocument::TiXmlDocument() : TiXmlNode( TiXmlNode::TINYXML_DOCUMENT ) | ^ src/utils/tinyxml/tinyxml.cpp:913:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used src/utils/tinyxml/tinyxml.h:1419:14: warning: type of 'LoadFile' does not match original declaration [-Wlto-type-mismatch] 1419 | bool LoadFile( const char * filename, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING ); | ^ src/utils/tinyxml/tinyxml.cpp:965:6: note: 'LoadFile' was previously declared here 965 | bool TiXmlDocument::LoadFile( const char* _filename, TiXmlEncoding encoding ) | ^ src/utils/tinyxml/tinyxml.cpp:965:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used src/utils/tinyxml/tinyxml.h:670:29: warning: type of 'FirstChildElement' does not match original declaration [-Wlto-type-mismatch] 670 | const TiXmlElement* FirstChildElement( const char * _value ) const; | ^ src/utils/tinyxml/tinyxml.cpp:467:21: note: 'FirstChildElement' was previously declared here 467 | const TiXmlElement* TiXmlNode::FirstChildElement( const char * _value ) const | ^ src/utils/tinyxml/tinyxml.cpp:467:21: note: code may be misoptimized unless '-fno-strict-aliasing' is used src/utils/tinyxml/tinyxml.h:1121:21: warning: type of 'GetText' does not match original declaration [-Wlto-type-mismatch] 1121 | const char* GetText() const; | ^ src/utils/tinyxml/tinyxml.cpp:900:13: note: 'GetText' was previously declared here 900 | const char* TiXmlElement::GetText() const | ^ src/utils/tinyxml/tinyxml.cpp:900:13: note: code may be misoptimized unless '-fno-strict-aliasing' is used src/utils/tinyxml/tinyxml.h:473:17: warning: type of '__dt_base ' does not match original declaration [-Wlto-type-mismatch] 473 | virtual ~TiXmlNode(); | ^ src/utils/tinyxml/tinyxml.cpp:147:1: note: '__dt_base ' was previously declared here 147 | TiXmlNode::~TiXmlNode() | ^ src/utils/tinyxml/tinyxml.cpp:147:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used src/utils/tinyxml/tinyxml.h:1409:17: warning: type of '__dt_del ' does not match original declaration [-Wlto-type-mismatch] 1409 | virtual ~TiXmlDocument() {} | ^ src/utils/tinyxml/tinyxml.h:1409:17: warning: type of '__dt_del ' does not match original declaration [-Wlto-type-mismatch] 1409 | virtual ~TiXmlDocument() {} | ^ src/utils/tinyxml/tinyxml.h:1409:17: note: '__dt_del ' was previously declared here 1409 | virtual ~TiXmlDocument() {} | ^ src/utils/tinyxml/tinyxml.h:1409:17: note: code may be misoptimized unless '-fno-strict-aliasing' is used src/utils/tinyxml/tinyxml.h:1409:17: warning: type of '__dt_comp ' does not match original declaration [-Wlto-type-mismatch] 1409 | virtual ~TiXmlDocument() {} | ^ src/utils/tinyxml/tinyxml.h:1409:17: warning: type of '__dt_comp ' does not match original declaration [-Wlto-type-mismatch] 1409 | virtual ~TiXmlDocument() {} | ^ src/utils/tinyxml/tinyxml.h:1409:17: note: '__dt_comp ' was previously declared here 1409 | virtual ~TiXmlDocument() {} | ^ src/utils/tinyxml/tinyxml.h:1409:17: note: code may be misoptimized unless '-fno-strict-aliasing' is used src/utils/tinyxml/tinyxml.h:1409:17: warning: type of '__dt_base ' does not match original declaration [-Wlto-type-mismatch] 1409 | virtual ~TiXmlDocument() {} | ^ src/utils/tinyxml/tinyxml.h:1409:17: warning: type of '__dt_base ' does not match original declaration [-Wlto-type-mismatch] 1409 | virtual ~TiXmlDocument() {} | ^ src/utils/tinyxml/tinyxml.h:1409:17: note: '__dt_base ' was previously declared here 1409 | virtual ~TiXmlDocument() {} | ^ src/utils/tinyxml/tinyxml.h:1409:17: note: code may be misoptimized unless '-fno-strict-aliasing' is used + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.B37lkI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libretro-desmume2015-0-0.10.20220406gitaf397ff.15.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libretro-desmume2015-0-0.10.20220406gitaf397ff.15.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/libretro-desmume2015-0-0.10.20220406gitaf397ff.15.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libretro-desmume2015-0-0.10.20220406gitaf397ff.15.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libretro-desmume2015-0-0.10.20220406gitaf397ff.15.fc38.x86_64 'INSTALL=/usr/bin/install -p' -C desmume prefix=/usr libdir=/usr/lib64 make: Entering directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' /bin/sh: line 1: git: command not found install -D -m 755 desmume2015_libretro.so /builddir/build/BUILDROOT/libretro-desmume2015-0-0.10.20220406gitaf397ff.15.fc38.x86_64/usr/lib64/libretro/desmume2015_libretro.so make: Leaving directory '/builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893/desmume' + install -Dp -m 0644 /builddir/build/SOURCES/desmume2015.libretro /builddir/build/BUILDROOT/libretro-desmume2015-0-0.10.20220406gitaf397ff.15.fc38.x86_64/usr/lib64/libretro/desmume2015.libretro + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0-0.10.20220406gitaf397ff.15.fc38 --unique-debug-suffix -0-0.10.20220406gitaf397ff.15.fc38.x86_64 --unique-debug-src-base libretro-desmume2015-0-0.10.20220406gitaf397ff.15.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893 extracting debug info from /builddir/build/BUILDROOT/libretro-desmume2015-0-0.10.20220406gitaf397ff.15.fc38.x86_64/usr/lib64/libretro/desmume2015_libretro.so original debug info size: 21872kB, size after compression: 19728kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 8325 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: libretro-desmume2015-0-0.10.20220406gitaf397ff.15.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QSR54B + umask 022 + cd /builddir/build/BUILD + cd desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893 + DOCDIR=/builddir/build/BUILDROOT/libretro-desmume2015-0-0.10.20220406gitaf397ff.15.fc38.x86_64/usr/share/doc/libretro-desmume2015 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libretro-desmume2015-0-0.10.20220406gitaf397ff.15.fc38.x86_64/usr/share/doc/libretro-desmume2015 + cp -pr desmume/dsm.txt /builddir/build/BUILDROOT/libretro-desmume2015-0-0.10.20220406gitaf397ff.15.fc38.x86_64/usr/share/doc/libretro-desmume2015 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.uncj9u + umask 022 + cd /builddir/build/BUILD + cd desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893 + LICENSEDIR=/builddir/build/BUILDROOT/libretro-desmume2015-0-0.10.20220406gitaf397ff.15.fc38.x86_64/usr/share/licenses/libretro-desmume2015 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libretro-desmume2015-0-0.10.20220406gitaf397ff.15.fc38.x86_64/usr/share/licenses/libretro-desmume2015 + cp -pr desmume/COPYING /builddir/build/BUILDROOT/libretro-desmume2015-0-0.10.20220406gitaf397ff.15.fc38.x86_64/usr/share/licenses/libretro-desmume2015 + RPM_EC=0 ++ jobs -p + exit 0 Provides: libretro-desmume2015 = 0-0.10.20220406gitaf397ff.15.fc38 libretro-desmume2015(x86-64) = 0-0.10.20220406gitaf397ff.15.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.11)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) rtld(GNU_HASH) Supplements: gnome-games retroarch Processing files: libretro-desmume2015-debugsource-0-0.10.20220406gitaf397ff.15.fc38.x86_64 Provides: libretro-desmume2015-debugsource = 0-0.10.20220406gitaf397ff.15.fc38 libretro-desmume2015-debugsource(x86-64) = 0-0.10.20220406gitaf397ff.15.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libretro-desmume2015-debuginfo-0-0.10.20220406gitaf397ff.15.fc38.x86_64 Provides: debuginfo(build-id) = a132132aef0daf9198d554d11c85b43da5b12d64 libretro-desmume2015-debuginfo = 0-0.10.20220406gitaf397ff.15.fc38 libretro-desmume2015-debuginfo(x86-64) = 0-0.10.20220406gitaf397ff.15.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libretro-desmume2015-debugsource(x86-64) = 0-0.10.20220406gitaf397ff.15.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libretro-desmume2015-0-0.10.20220406gitaf397ff.15.fc38.x86_64 Wrote: /builddir/build/RPMS/libretro-desmume2015-debugsource-0-0.10.20220406gitaf397ff.15.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/libretro-desmume2015-0-0.10.20220406gitaf397ff.15.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/libretro-desmume2015-debuginfo-0-0.10.20220406gitaf397ff.15.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Uw8jab + umask 022 + cd /builddir/build/BUILD + cd desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libretro-desmume2015-0-0.10.20220406gitaf397ff.15.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.9vwFCT + umask 022 + cd /builddir/build/BUILD + rm -rf desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893 desmume2015-af397ff3d1f208c27f3922cc8f2b8e08884ba893.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0