Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libretro-bsnes-mercury.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667515733.370751/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fo8sir8k:/etc/resolv.conf', '--bind=/dev/btrfs-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.fo8sir8k:/etc/resolv.conf', '--bind=/dev/btrfs-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', '9933dc51b5e240ff8a84fe26aa947a90', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667515733.370751/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fo8sir8k:/etc/resolv.conf', '--bind=/dev/btrfs-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-bsnes-mercury.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=1664841600 Wrote: /builddir/build/SRPMS/libretro-bsnes-mercury-0-0.12.20190817git4a38262.14.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-bsnes-mercury.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667515733.370751/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fo8sir8k:/etc/resolv.conf', '--bind=/dev/btrfs-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.fo8sir8k:/etc/resolv.conf', '--bind=/dev/btrfs-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', '38e8b55da5514789b861312417a00fb5', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667515733.370751/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fo8sir8k:/etc/resolv.conf', '--bind=/dev/btrfs-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-bsnes-mercury.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=1664841600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7fpeN9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bsnes-mercury-4a382621da58ae6da850f1bb003ace8b5f67968c + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libretro-bsnes-mercury-0.20190817git4a38262.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd bsnes-mercury-4a382621da58ae6da850f1bb003ace8b5f67968c + /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.kPHTX1 + 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 + 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 bsnes-mercury-4a382621da58ae6da850f1bb003ace8b5f67968c + 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 + 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 core_installdir=/usr/lib64/libretro profile=balanced /bin/sh: line 1: git: command not found 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 -std=gnu99 -xc -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -c libco/libco.c -o obj/libco.o 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -c processor/arm/arm.cpp -o obj/processor-arm.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./processor/processor.hpp:4, from processor/arm/arm.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from processor/arm/arm.cpp:8: processor/arm/instructions-arm.cpp: In member function 'void Processor::ARM::arm_op_multiply()': processor/arm/instructions-arm.cpp:135:9: warning: variable 'save' set but not used [-Wunused-but-set-variable] 135 | uint1 save = instruction() >> 20; | ^~~~ processor/arm/instructions-arm.cpp: In member function 'void Processor::ARM::arm_op_data_immediate_shift()': processor/arm/instructions-arm.cpp:402:9: warning: variable 'save' set but not used [-Wunused-but-set-variable] 402 | uint1 save = instruction() >> 20; | ^~~~ processor/arm/instructions-arm.cpp: In member function 'void Processor::ARM::arm_op_data_register_shift()': processor/arm/instructions-arm.cpp:432:9: warning: variable 'save' set but not used [-Wunused-but-set-variable] 432 | uint1 save = instruction() >> 20; | ^~~~ processor/arm/instructions-arm.cpp: In member function 'void Processor::ARM::arm_op_data_immediate()': processor/arm/instructions-arm.cpp:461:9: warning: variable 'save' set but not used [-Wunused-but-set-variable] 461 | uint1 save = instruction() >> 20; | ^~~~ processor/arm/instructions-arm.cpp: In member function 'void Processor::ARM::arm_op_move_register_offset()': processor/arm/instructions-arm.cpp:536:8: warning: unused variable 'c' [-Wunused-variable] 536 | bool c = cpsr().c; | ^ processor/arm/instructions-arm.cpp: In member function 'void Processor::ARM::arm_op_software_interrupt()': processor/arm/instructions-arm.cpp:628:10: warning: variable 'immediate' set but not used [-Wunused-but-set-variable] 628 | uint24 immediate = instruction(); | ^~~~~~~~~ In file included from processor/arm/arm.cpp:9: processor/arm/instructions-thumb.cpp: In member function 'void Processor::ARM::thumb_op_software_interrupt()': processor/arm/instructions-thumb.cpp:384:9: warning: unused variable 'immediate' [-Wunused-variable] 384 | uint8 immediate = instruction(); | ^~~~~~~~~ In file included from processor/arm/arm.cpp:10: processor/arm/disassembler.cpp: In member function 'nall::string Processor::ARM::disassemble_arm_instruction(uint32)': processor/arm/disassembler.cpp:144:33: warning: bitwise comparison always evaluates to false [-Wtautological-compare] 144 | if((instruction & 0x0e5000d0) == 0x001000b0) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~ processor/arm/disassembler.cpp:247:12: warning: unused variable 'rm' [-Wunused-variable] 247 | uint32 rm = (immediate >> (rotate * 2)) | (immediate << (32 - (rotate * 2))); | ^~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -c processor/hg51b/hg51b.cpp -o obj/processor-hg51b.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./processor/processor.hpp:4, from processor/hg51b/hg51b.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -c processor/lr35902/lr35902.cpp -o obj/processor-lr35902.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./processor/processor.hpp:4, from processor/lr35902/lr35902.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from processor/lr35902/lr35902.cpp:7: processor/lr35902/disassembler.cpp: In member function 'nall::string Processor::LR35902::disassemble_opcode(uint16)': processor/lr35902/disassembler.cpp:26:9: warning: unused variable 'p2' [-Wunused-variable] 26 | uint8 p2 = debugger_read(pc + 3); | ^~ processor/lr35902/disassembler.cpp: In member function 'nall::string Processor::LR35902::disassemble_opcode_cb(uint16)': processor/lr35902/disassembler.cpp:292:9: warning: unused variable 'p0' [-Wunused-variable] 292 | uint8 p0 = debugger_read(pc + 1); | ^~ processor/lr35902/disassembler.cpp:293:9: warning: unused variable 'p1' [-Wunused-variable] 293 | uint8 p1 = debugger_read(pc + 2); | ^~ processor/lr35902/disassembler.cpp:294:9: warning: unused variable 'p2' [-Wunused-variable] 294 | uint8 p2 = debugger_read(pc + 3); | ^~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -c processor/gsu/gsu.cpp -o obj/processor-gsu.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./processor/processor.hpp:4, from processor/gsu/gsu.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -c processor/spc700/spc700.cpp -o obj/processor-spc700.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./processor/processor.hpp:4, from processor/spc700/spc700.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from processor/spc700/spc700.cpp:8: processor/spc700/disassembler.cpp: In member function 'nall::string Processor::SPC700::disassemble_opcode(uint16)': processor/spc700/disassembler.cpp:6:8: warning: variable 'relative' set but not used [-Wunused-but-set-variable] 6 | auto relative = [&](unsigned length, int8 offset) -> uint16 { | ^~~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -c processor/upd96050/upd96050.cpp -o obj/processor-upd96050.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./processor/processor.hpp:4, from processor/upd96050/upd96050.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -c gb/interface/interface.cpp -o obj/gb-interface.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./gb/gb.hpp:4, from gb/interface/interface.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -c processor/r65816/r65816.cpp -o obj/processor-r65816.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./processor/processor.hpp:4, from processor/r65816/r65816.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from processor/r65816/r65816.cpp:7: processor/r65816/disassembler.cpp: In member function 'void Processor::R65816::disassemble_opcode(char*, uint32)': processor/r65816/disassembler.cpp:140:14: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 140 | else sprintf(t, "ora #$%.4x ", op16); break; | ^~~~ processor/r65816/disassembler.cpp:140:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 140 | else sprintf(t, "ora #$%.4x ", op16); break; | ^~~~~ processor/r65816/disassembler.cpp:173:14: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 173 | else sprintf(t, "and #$%.4x ", op16); break; | ^~~~ processor/r65816/disassembler.cpp:173:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 173 | else sprintf(t, "and #$%.4x ", op16); break; | ^~~~~ processor/r65816/disassembler.cpp:206:14: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 206 | else sprintf(t, "eor #$%.4x ", op16); break; | ^~~~ processor/r65816/disassembler.cpp:206:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 206 | else sprintf(t, "eor #$%.4x ", op16); break; | ^~~~~ processor/r65816/disassembler.cpp:239:14: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 239 | else sprintf(t, "adc #$%.4x ", op16); break; | ^~~~ processor/r65816/disassembler.cpp:239:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 239 | else sprintf(t, "adc #$%.4x ", op16); break; | ^~~~~ processor/r65816/disassembler.cpp:272:14: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 272 | else sprintf(t, "bit #$%.4x ", op16); break; | ^~~~ processor/r65816/disassembler.cpp:272:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 272 | else sprintf(t, "bit #$%.4x ", op16); break; | ^~~~~ processor/r65816/disassembler.cpp:296:14: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 296 | else sprintf(t, "ldy #$%.4x ", op16); break; | ^~~~ processor/r65816/disassembler.cpp:296:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 296 | else sprintf(t, "ldy #$%.4x ", op16); break; | ^~~~~ processor/r65816/disassembler.cpp:299:14: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 299 | else sprintf(t, "ldx #$%.4x ", op16); break; | ^~~~ processor/r65816/disassembler.cpp:299:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 299 | else sprintf(t, "ldx #$%.4x ", op16); break; | ^~~~~ processor/r65816/disassembler.cpp:307:14: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 307 | else sprintf(t, "lda #$%.4x ", op16); break; | ^~~~ processor/r65816/disassembler.cpp:307:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 307 | else sprintf(t, "lda #$%.4x ", op16); break; | ^~~~~ processor/r65816/disassembler.cpp:331:14: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 331 | else sprintf(t, "cpy #$%.4x ", op16); break; | ^~~~ processor/r65816/disassembler.cpp:331:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 331 | else sprintf(t, "cpy #$%.4x ", op16); break; | ^~~~~ processor/r65816/disassembler.cpp:341:14: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 341 | else sprintf(t, "cmp #$%.4x ", op16); break; | ^~~~ processor/r65816/disassembler.cpp:341:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 341 | else sprintf(t, "cmp #$%.4x ", op16); break; | ^~~~~ processor/r65816/disassembler.cpp:365:14: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 365 | else sprintf(t, "cpx #$%.4x ", op16); break; | ^~~~ processor/r65816/disassembler.cpp:365:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 365 | else sprintf(t, "cpx #$%.4x ", op16); break; | ^~~~~ processor/r65816/disassembler.cpp:375:14: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 375 | else sprintf(t, "sbc #$%.4x ", op16); break; | ^~~~ processor/r65816/disassembler.cpp:375:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 375 | else sprintf(t, "sbc #$%.4x ", op16); break; | ^~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -c gb/system/system.cpp -o obj/gb-system.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./gb/gb.hpp:4, from gb/system/system.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from gb/system/system.cpp:6: gb/system/serialization.cpp: In member function 'void GameBoy::System::serialize_init()': gb/system/serialization.cpp:52:40: warning: unused variable 'crc32' [-Wunused-variable] 52 | unsigned signature = 0, version = 0, crc32 = 0; | ^~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./nall/varint.hpp:5, from ./nall/string.hpp:21: In member function 'nall::serializer::integer(unsigned int&)nall::serializer&', inlined from 'GameBoy::System::unserialize(nall::serializer&)' at gb/system/serialization.cpp:24:12: ./nall/serializer.hpp:68:59: warning: 'signature' may be used uninitialized [-Wmaybe-uninitialized] 68 | for(unsigned n = 0; n < size; n++) _data[_size++] = (uintmax_t)value >> (n << 3); | ^~~~~~~~~~~~~~~~ gb/system/serialization.cpp: In member function 'GameBoy::System::unserialize(nall::serializer&)': gb/system/serialization.cpp:21:12: note: 'signature' was declared here 21 | unsigned signature, version; | ^~~~~~~~~ In member function 'nall::serializer::integer(unsigned int&)nall::serializer&', inlined from 'GameBoy::System::unserialize(nall::serializer&)' at gb/system/serialization.cpp:25:12: ./nall/serializer.hpp:68:59: warning: 'version' may be used uninitialized [-Wmaybe-uninitialized] 68 | for(unsigned n = 0; n < size; n++) _data[_size++] = (uintmax_t)value >> (n << 3); | ^~~~~~~~~~~~~~~~ gb/system/serialization.cpp: In member function 'GameBoy::System::unserialize(nall::serializer&)': gb/system/serialization.cpp:21:23: note: 'version' was declared here 21 | unsigned signature, version; | ^~~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -c gb/scheduler/scheduler.cpp -o obj/gb-scheduler.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./gb/gb.hpp:4, from gb/scheduler/scheduler.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -c gb/memory/memory.cpp -o obj/gb-memory.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./gb/gb.hpp:4, from gb/memory/memory.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -c gb/cpu/cpu.cpp -o obj/gb-cpu.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./gb/gb.hpp:4, from gb/cpu/cpu.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -c gb/ppu/ppu.cpp -o obj/gb-ppu.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./gb/gb.hpp:4, from gb/ppu/ppu.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from gb/ppu/ppu.cpp:13: gb/ppu/dmg.cpp: In member function 'void GameBoy::PPU::dmg_scanline()': gb/ppu/dmg.cpp:33:35: warning: '~' on an expression of type 'bool' [-Wbool-operation] 33 | s.tile = oam[n + 2] & ~status.ob_size; | ~~~~~~~^~~~~~~ gb/ppu/dmg.cpp:33:35: note: did you mean to use logical not ('!')? In file included from gb/ppu/ppu.cpp:14: gb/ppu/cgb.cpp: In member function 'void GameBoy::PPU::cgb_scanline()': gb/ppu/cgb.cpp:51:35: warning: '~' on an expression of type 'bool' [-Wbool-operation] 51 | s.tile = oam[n + 2] & ~status.ob_size; | ~~~~~~~^~~~~~~ gb/ppu/cgb.cpp:51:35: note: did you mean to use logical not ('!')? In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -c gb/cartridge/cartridge.cpp -o obj/gb-cartridge.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./gb/gb.hpp:4, from gb/cartridge/cartridge.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -c gb/apu/apu.cpp -o obj/gb-apu.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./gb/gb.hpp:4, from gb/apu/apu.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -c gb/cheat/cheat.cpp -o obj/gb-cheat.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./gb/gb.hpp:4, from gb/cheat/cheat.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -c gb/video/video.cpp -o obj/gb-video.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./gb/gb.hpp:4, from gb/video/video.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/system/system.cpp -o obj/sfc-system-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/system/system.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from sfc/system/system.cpp:12: sfc/system/input.cpp: In member function 'void SuperFamicom::Input::connect(bool, Device)': sfc/system/input.cpp:8:5: warning: deleting object of polymorphic class type 'SuperFamicom::Controller' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 8 | delete controller; | ^~~~~~~~~~~~~~~~~ sfc/system/input.cpp: In destructor 'SuperFamicom::Input::~Input()': sfc/system/input.cpp:35:13: warning: deleting object of polymorphic class type 'SuperFamicom::Controller' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 35 | if(port1) delete port1; | ^~~~~~~~~~~~ sfc/system/input.cpp:36:13: warning: deleting object of polymorphic class type 'SuperFamicom::Controller' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 36 | if(port2) delete port2; | ^~~~~~~~~~~~ In file included from sfc/system/system.cpp:13: sfc/system/serialization.cpp: In member function 'void SuperFamicom::System::serialize(nall::serializer&)': sfc/system/serialization.cpp:47:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | s.integer((unsigned&)region); | ^~~~~~ sfc/system/serialization.cpp:48:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 48 | s.integer((unsigned&)expansion); | ^~~~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./nall/varint.hpp:5, from ./nall/string.hpp:21: In member function 'nall::serializer::integer(unsigned int&)nall::serializer&', inlined from 'SuperFamicom::System::unserialize(nall::serializer&)' at sfc/system/serialization.cpp:27:12: ./nall/serializer.hpp:68:59: warning: 'signature' may be used uninitialized [-Wmaybe-uninitialized] 68 | for(unsigned n = 0; n < size; n++) _data[_size++] = (uintmax_t)value >> (n << 3); | ^~~~~~~~~~~~~~~~ sfc/system/serialization.cpp: In member function 'SuperFamicom::System::unserialize(nall::serializer&)': sfc/system/serialization.cpp:24:12: note: 'signature' was declared here 24 | unsigned signature, version; | ^~~~~~~~~ In member function 'nall::serializer::integer(unsigned int&)nall::serializer&', inlined from 'SuperFamicom::System::unserialize(nall::serializer&)' at sfc/system/serialization.cpp:28:12: ./nall/serializer.hpp:68:59: warning: 'version' may be used uninitialized [-Wmaybe-uninitialized] 68 | for(unsigned n = 0; n < size; n++) _data[_size++] = (uintmax_t)value >> (n << 3); | ^~~~~~~~~~~~~~~~ sfc/system/serialization.cpp: In member function 'SuperFamicom::System::unserialize(nall::serializer&)': sfc/system/serialization.cpp:24:23: note: 'version' was declared here 24 | unsigned signature, version; | ^~~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/interface/interface.cpp -o obj/sfc-interface-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/interface/interface.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/controller/controller.cpp -o obj/sfc-controller-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/controller/controller.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/cheat/cheat.cpp -o obj/sfc-cheat-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/cheat/cheat.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/memory/memory.cpp -o obj/sfc-memory-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/memory/memory.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/cartridge/cartridge.cpp -o obj/sfc-cartridge-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/cartridge/cartridge.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/cpu/cpu.cpp -o obj/sfc-cpu-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/cpu/cpu.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from sfc/cpu/timing/timing.cpp:3, from sfc/cpu/cpu.cpp:12: sfc/cpu/timing/irq.cpp: In member function 'void SuperFamicom::CPU::nmitimen_update(uint8)': sfc/cpu/timing/irq.cpp:61:8: warning: unused variable 'virq_enabled' [-Wunused-variable] 61 | bool virq_enabled = status.virq_enabled; | ^~~~~~~~~~~~ sfc/cpu/timing/irq.cpp:62:8: warning: unused variable 'hirq_enabled' [-Wunused-variable] 62 | bool hirq_enabled = status.hirq_enabled; | ^~~~~~~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/smp/smp.cpp -o obj/sfc-smp-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/smp/smp.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/alt/dsp/dsp.cpp -o obj/sfc-dsp-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/alt/dsp/dsp.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ sfc/alt/dsp/dsp.cpp: In member function 'void SuperFamicom::DSP::enter()': sfc/alt/dsp/dsp.cpp:29:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 29 | for(unsigned n = 0; n < count; n += 2) audio.sample(samplebuffer[n + 0], samplebuffer[n + 1]); | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/base/satellaview/satellaview.cpp -o obj/sfc-satellaviewbase-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/base/satellaview/satellaview.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/icd2/icd2.cpp -o obj/sfc-icd2-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/icd2/icd2.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/bsx/bsx.cpp -o obj/sfc-bsx-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/bsx/bsx.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/nss/nss.cpp -o obj/sfc-nss-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/nss/nss.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/alt/ppu-balanced/ppu.cpp -o obj/sfc-ppu-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/alt/ppu-balanced/ppu.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from sfc/alt/ppu-balanced/render/render.cpp:6, from sfc/alt/ppu-balanced/ppu.cpp:10: sfc/alt/ppu-balanced/render/oam.cpp: In member function 'bool SuperFamicom::PPU::is_sprite_on_scanline()': sfc/alt/ppu-balanced/render/oam.cpp:75:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 75 | if(line >= spr->y && line < (spr->y + spr_height)) return true; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from sfc/alt/ppu-balanced/render/render.cpp:9: sfc/alt/ppu-balanced/render/line.cpp: In member function 'void SuperFamicom::PPU::render_line_output()': sfc/alt/ppu-balanced/render/line.cpp:99:25: warning: unused variable 'prev' [-Wunused-variable] 99 | for(unsigned x = 0, prev = 0; x < 256; x++) { | ^~~~ sfc/alt/ppu-balanced/render/line.cpp:91:16: warning: unused variable 'prev' [-Wunused-variable] 91 | uint32 curr, prev; | ^~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] In file included from sfc/alt/ppu-balanced/render/render.cpp:7: sfc/alt/ppu-balanced/render/mode7.cpp: In instantiation of 'void SuperFamicom::PPU::render_line_mode7(uint8, uint8) [with unsigned int bg = 0; uint8 = unsigned char]': sfc/alt/ppu-balanced/render/render.cpp:96:27: required from here sfc/alt/ppu-balanced/render/mode7.cpp:37:8: warning: unused variable '_bg_enabled' [-Wunused-variable] 37 | bool _bg_enabled = regs.bg_enabled[bg]; | ^~~~~~~~~~~ sfc/alt/ppu-balanced/render/mode7.cpp:38:8: warning: unused variable '_bgsub_enabled' [-Wunused-variable] 38 | bool _bgsub_enabled = regs.bgsub_enabled[bg]; | ^~~~~~~~~~~~~~ sfc/alt/ppu-balanced/render/mode7.cpp: In instantiation of 'void SuperFamicom::PPU::render_line_mode7(uint8, uint8) [with unsigned int bg = 1; uint8 = unsigned char]': sfc/alt/ppu-balanced/render/render.cpp:100:27: required from here sfc/alt/ppu-balanced/render/mode7.cpp:37:8: warning: unused variable '_bg_enabled' [-Wunused-variable] 37 | bool _bg_enabled = regs.bg_enabled[bg]; | ^~~~~~~~~~~ sfc/alt/ppu-balanced/render/mode7.cpp:38:8: warning: unused variable '_bgsub_enabled' [-Wunused-variable] 38 | bool _bgsub_enabled = regs.bgsub_enabled[bg]; | ^~~~~~~~~~~~~~ ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from sfc/alt/ppu-balanced/render/render.cpp:5: sfc/alt/ppu-balanced/render/bg.cpp: In member function 'SuperFamicom::PPU::render_line_bg<1u, 0u, 1u>(unsigned char, unsigned char)void': sfc/alt/ppu-balanced/render/bg.cpp:48:28: warning: 'tile_pri' may be used uninitialized [-Wmaybe-uninitialized] 48 | pixel_cache[x].pri_sub = tile_pri; \ | ^ sfc/alt/ppu-balanced/render/bg.cpp:95:10: note: 'tile_pri' was declared here 95 | uint16 tile_pri, tile_num; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:188:31: warning: 'pal_index' may be used uninitialized [-Wmaybe-uninitialized] 188 | col = get_palette(col + pal_index); | ~~~~^~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:96:10: note: 'pal_index' was declared here 96 | uint8 pal_index, pal_num; | ^~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:182:5: warning: 'mirror_x' may be used uninitialized [-Wmaybe-uninitialized] 182 | if(mirror_x) hoffset ^= 7; //invert x tile pos | ^~ sfc/alt/ppu-balanced/render/bg.cpp:98:10: note: 'mirror_x' was declared here 98 | bool mirror_x, mirror_y; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:183:22: warning: 'tile_ptr' may be used uninitialized [-Wmaybe-uninitialized] 183 | col = *(tile_ptr + (hoffset & 7)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:100:17: note: 'tile_ptr' was declared here 100 | const uint8* tile_ptr; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp: In member function 'SuperFamicom::PPU::render_line_bg<1u, 1u, 1u>(unsigned char, unsigned char)void': sfc/alt/ppu-balanced/render/bg.cpp:48:28: warning: 'tile_pri' may be used uninitialized [-Wmaybe-uninitialized] 48 | pixel_cache[x].pri_sub = tile_pri; \ | ^ sfc/alt/ppu-balanced/render/bg.cpp:95:10: note: 'tile_pri' was declared here 95 | uint16 tile_pri, tile_num; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:188:31: warning: 'pal_index' may be used uninitialized [-Wmaybe-uninitialized] 188 | col = get_palette(col + pal_index); | ~~~~^~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:96:10: note: 'pal_index' was declared here 96 | uint8 pal_index, pal_num; | ^~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:182:5: warning: 'mirror_x' may be used uninitialized [-Wmaybe-uninitialized] 182 | if(mirror_x) hoffset ^= 7; //invert x tile pos | ^~ sfc/alt/ppu-balanced/render/bg.cpp:98:10: note: 'mirror_x' was declared here 98 | bool mirror_x, mirror_y; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:183:22: warning: 'tile_ptr' may be used uninitialized [-Wmaybe-uninitialized] 183 | col = *(tile_ptr + (hoffset & 7)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:100:17: note: 'tile_ptr' was declared here 100 | const uint8* tile_ptr; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp: In member function 'SuperFamicom::PPU::render_line_bg<2u, 0u, 1u>(unsigned char, unsigned char)void': sfc/alt/ppu-balanced/render/bg.cpp:139:37: warning: 'hval' may be used uninitialized [-Wmaybe-uninitialized] 139 | hoffset = opt_x + (hval & ~7); | ~~~~~~^~~~~ sfc/alt/ppu-balanced/render/bg.cpp:94:10: note: 'hval' was declared here 94 | uint16 hval, vval; | ^~~~ sfc/alt/ppu-balanced/render/bg.cpp:94:16: warning: 'vval' may be used uninitialized [-Wmaybe-uninitialized] 94 | uint16 hval, vval; | ^~~~ sfc/alt/ppu-balanced/render/bg.cpp:48:28: warning: 'tile_pri' may be used uninitialized [-Wmaybe-uninitialized] 48 | pixel_cache[x].pri_sub = tile_pri; \ | ^ sfc/alt/ppu-balanced/render/bg.cpp:95:10: note: 'tile_pri' was declared here 95 | uint16 tile_pri, tile_num; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:188:31: warning: 'pal_index' may be used uninitialized [-Wmaybe-uninitialized] 188 | col = get_palette(col + pal_index); | ~~~~^~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:96:10: note: 'pal_index' was declared here 96 | uint8 pal_index, pal_num; | ^~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:182:5: warning: 'mirror_x' may be used uninitialized [-Wmaybe-uninitialized] 182 | if(mirror_x) hoffset ^= 7; //invert x tile pos | ^~ sfc/alt/ppu-balanced/render/bg.cpp:98:10: note: 'mirror_x' was declared here 98 | bool mirror_x, mirror_y; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:183:22: warning: 'tile_ptr' may be used uninitialized [-Wmaybe-uninitialized] 183 | col = *(tile_ptr + (hoffset & 7)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:100:17: note: 'tile_ptr' was declared here 100 | const uint8* tile_ptr; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp: In member function 'SuperFamicom::PPU::render_line_bg<2u, 1u, 1u>(unsigned char, unsigned char)void': sfc/alt/ppu-balanced/render/bg.cpp:139:37: warning: 'hval' may be used uninitialized [-Wmaybe-uninitialized] 139 | hoffset = opt_x + (hval & ~7); | ~~~~~~^~~~~ sfc/alt/ppu-balanced/render/bg.cpp:94:10: note: 'hval' was declared here 94 | uint16 hval, vval; | ^~~~ sfc/alt/ppu-balanced/render/bg.cpp:94:16: warning: 'vval' may be used uninitialized [-Wmaybe-uninitialized] 94 | uint16 hval, vval; | ^~~~ sfc/alt/ppu-balanced/render/bg.cpp:48:28: warning: 'tile_pri' may be used uninitialized [-Wmaybe-uninitialized] 48 | pixel_cache[x].pri_sub = tile_pri; \ | ^ sfc/alt/ppu-balanced/render/bg.cpp:95:10: note: 'tile_pri' was declared here 95 | uint16 tile_pri, tile_num; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:188:31: warning: 'pal_index' may be used uninitialized [-Wmaybe-uninitialized] 188 | col = get_palette(col + pal_index); | ~~~~^~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:96:10: note: 'pal_index' was declared here 96 | uint8 pal_index, pal_num; | ^~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:182:5: warning: 'mirror_x' may be used uninitialized [-Wmaybe-uninitialized] 182 | if(mirror_x) hoffset ^= 7; //invert x tile pos | ^~ sfc/alt/ppu-balanced/render/bg.cpp:98:10: note: 'mirror_x' was declared here 98 | bool mirror_x, mirror_y; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:183:22: warning: 'tile_ptr' may be used uninitialized [-Wmaybe-uninitialized] 183 | col = *(tile_ptr + (hoffset & 7)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:100:17: note: 'tile_ptr' was declared here 100 | const uint8* tile_ptr; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp: In member function 'SuperFamicom::PPU::render_line_bg<3u, 1u, 1u>(unsigned char, unsigned char)void': sfc/alt/ppu-balanced/render/bg.cpp:48:28: warning: 'tile_pri' may be used uninitialized [-Wmaybe-uninitialized] 48 | pixel_cache[x].pri_sub = tile_pri; \ | ^ sfc/alt/ppu-balanced/render/bg.cpp:95:10: note: 'tile_pri' was declared here 95 | uint16 tile_pri, tile_num; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:188:31: warning: 'pal_index' may be used uninitialized [-Wmaybe-uninitialized] 188 | col = get_palette(col + pal_index); | ~~~~^~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:96:10: note: 'pal_index' was declared here 96 | uint8 pal_index, pal_num; | ^~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:182:5: warning: 'mirror_x' may be used uninitialized [-Wmaybe-uninitialized] 182 | if(mirror_x) hoffset ^= 7; //invert x tile pos | ^~ sfc/alt/ppu-balanced/render/bg.cpp:98:10: note: 'mirror_x' was declared here 98 | bool mirror_x, mirror_y; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:183:22: warning: 'tile_ptr' may be used uninitialized [-Wmaybe-uninitialized] 183 | col = *(tile_ptr + (hoffset & 7)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:100:17: note: 'tile_ptr' was declared here 100 | const uint8* tile_ptr; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp: In member function 'SuperFamicom::PPU::render_line_bg<5u, 0u, 1u>(unsigned char, unsigned char)void': sfc/alt/ppu-balanced/render/bg.cpp:40:29: warning: 'tile_pri' may be used uninitialized [-Wmaybe-uninitialized] 40 | pixel_cache[x].pri_main = tile_pri; \ | ^ sfc/alt/ppu-balanced/render/bg.cpp:95:10: note: 'tile_pri' was declared here 95 | uint16 tile_pri, tile_num; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:188:31: warning: 'pal_index' may be used uninitialized [-Wmaybe-uninitialized] 188 | col = get_palette(col + pal_index); | ~~~~^~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:96:10: note: 'pal_index' was declared here 96 | uint8 pal_index, pal_num; | ^~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:182:5: warning: 'mirror_x' may be used uninitialized [-Wmaybe-uninitialized] 182 | if(mirror_x) hoffset ^= 7; //invert x tile pos | ^~ sfc/alt/ppu-balanced/render/bg.cpp:98:10: note: 'mirror_x' was declared here 98 | bool mirror_x, mirror_y; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:183:22: warning: 'tile_ptr' may be used uninitialized [-Wmaybe-uninitialized] 183 | col = *(tile_ptr + (hoffset & 7)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:100:17: note: 'tile_ptr' was declared here 100 | const uint8* tile_ptr; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp: In member function 'SuperFamicom::PPU::render_line_bg<6u, 0u, 1u>(unsigned char, unsigned char)void': sfc/alt/ppu-balanced/render/bg.cpp:94:16: warning: 'vval' may be used uninitialized [-Wmaybe-uninitialized] 94 | uint16 hval, vval; | ^~~~ sfc/alt/ppu-balanced/render/bg.cpp:139:37: warning: 'hval' may be used uninitialized [-Wmaybe-uninitialized] 139 | hoffset = opt_x + (hval & ~7); | ~~~~~~^~~~~ sfc/alt/ppu-balanced/render/bg.cpp:94:10: note: 'hval' was declared here 94 | uint16 hval, vval; | ^~~~ sfc/alt/ppu-balanced/render/bg.cpp:40:29: warning: 'tile_pri' may be used uninitialized [-Wmaybe-uninitialized] 40 | pixel_cache[x].pri_main = tile_pri; \ | ^ sfc/alt/ppu-balanced/render/bg.cpp:95:10: note: 'tile_pri' was declared here 95 | uint16 tile_pri, tile_num; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:188:31: warning: 'pal_index' may be used uninitialized [-Wmaybe-uninitialized] 188 | col = get_palette(col + pal_index); | ~~~~^~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:96:10: note: 'pal_index' was declared here 96 | uint8 pal_index, pal_num; | ^~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:182:5: warning: 'mirror_x' may be used uninitialized [-Wmaybe-uninitialized] 182 | if(mirror_x) hoffset ^= 7; //invert x tile pos | ^~ sfc/alt/ppu-balanced/render/bg.cpp:98:10: note: 'mirror_x' was declared here 98 | bool mirror_x, mirror_y; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:183:22: warning: 'tile_ptr' may be used uninitialized [-Wmaybe-uninitialized] 183 | col = *(tile_ptr + (hoffset & 7)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:100:17: note: 'tile_ptr' was declared here 100 | const uint8* tile_ptr; | ^~~~~~~~ In member function 'SuperFamicom::PPU::get_direct_color(unsigned char, unsigned char)', inlined from 'SuperFamicom::PPU::render_line_mode7<0u>(unsigned char, unsigned char)void' at sfc/alt/ppu-balanced/render/mode7.cpp:118:29: sfc/alt/ppu-balanced/render/line.cpp:12:19: warning: 'palette' may be used uninitialized [-Wmaybe-uninitialized] 12 | return ((t & 7) << 2) | ((p & 1) << 1) | | ~~~~~~~~~^~~~~ sfc/alt/ppu-balanced/render/mode7.cpp: In member function 'SuperFamicom::PPU::render_line_mode7<0u>(unsigned char, unsigned char)void': sfc/alt/ppu-balanced/render/mode7.cpp:24:23: note: 'palette' was declared here 24 | int32 tx, ty, tile, palette; | ^~~~~~~ In member function 'SuperFamicom::PPU::get_palette(unsigned char)', inlined from 'SuperFamicom::PPU::render_line_mode7<1u>(unsigned char, unsigned char)void' at sfc/alt/ppu-balanced/render/mode7.cpp:120:24: sfc/alt/ppu-balanced/render/line.cpp:4:31: warning: 'palette' may be used uninitialized [-Wmaybe-uninitialized] 4 | const unsigned addr = index << 1; | ~~~~~~^~~~ sfc/alt/ppu-balanced/render/mode7.cpp: In member function 'SuperFamicom::PPU::render_line_mode7<1u>(unsigned char, unsigned char)void': sfc/alt/ppu-balanced/render/mode7.cpp:24:23: note: 'palette' was declared here 24 | int32 tx, ty, tile, palette; | ^~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp: In member function 'SuperFamicom::PPU::render_line_bg<0u, 0u, 0u>(unsigned char, unsigned char)void': sfc/alt/ppu-balanced/render/bg.cpp:48:28: warning: 'tile_pri' may be used uninitialized [-Wmaybe-uninitialized] 48 | pixel_cache[x].pri_sub = tile_pri; \ | ^ sfc/alt/ppu-balanced/render/bg.cpp:95:10: note: 'tile_pri' was declared here 95 | uint16 tile_pri, tile_num; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:188:31: warning: 'pal_index' may be used uninitialized [-Wmaybe-uninitialized] 188 | col = get_palette(col + pal_index); | ~~~~^~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:96:10: note: 'pal_index' was declared here 96 | uint8 pal_index, pal_num; | ^~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:182:5: warning: 'mirror_x' may be used uninitialized [-Wmaybe-uninitialized] 182 | if(mirror_x) hoffset ^= 7; //invert x tile pos | ^~ sfc/alt/ppu-balanced/render/bg.cpp:98:10: note: 'mirror_x' was declared here 98 | bool mirror_x, mirror_y; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:183:22: warning: 'tile_ptr' may be used uninitialized [-Wmaybe-uninitialized] 183 | col = *(tile_ptr + (hoffset & 7)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:100:17: note: 'tile_ptr' was declared here 100 | const uint8* tile_ptr; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp: In member function 'SuperFamicom::PPU::render_line_bg<0u, 2u, 0u>(unsigned char, unsigned char)void': sfc/alt/ppu-balanced/render/bg.cpp:48:28: warning: 'tile_pri' may be used uninitialized [-Wmaybe-uninitialized] 48 | pixel_cache[x].pri_sub = tile_pri; \ | ^ sfc/alt/ppu-balanced/render/bg.cpp:95:10: note: 'tile_pri' was declared here 95 | uint16 tile_pri, tile_num; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:188:31: warning: 'pal_index' may be used uninitialized [-Wmaybe-uninitialized] 188 | col = get_palette(col + pal_index); | ~~~~^~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:96:10: note: 'pal_index' was declared here 96 | uint8 pal_index, pal_num; | ^~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:182:5: warning: 'mirror_x' may be used uninitialized [-Wmaybe-uninitialized] 182 | if(mirror_x) hoffset ^= 7; //invert x tile pos | ^~ sfc/alt/ppu-balanced/render/bg.cpp:98:10: note: 'mirror_x' was declared here 98 | bool mirror_x, mirror_y; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:183:22: warning: 'tile_ptr' may be used uninitialized [-Wmaybe-uninitialized] 183 | col = *(tile_ptr + (hoffset & 7)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:100:17: note: 'tile_ptr' was declared here 100 | const uint8* tile_ptr; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp: In member function 'SuperFamicom::PPU::render_line_bg<1u, 2u, 0u>(unsigned char, unsigned char)void': sfc/alt/ppu-balanced/render/bg.cpp:48:28: warning: 'tile_pri' may be used uninitialized [-Wmaybe-uninitialized] 48 | pixel_cache[x].pri_sub = tile_pri; \ | ^ sfc/alt/ppu-balanced/render/bg.cpp:95:10: note: 'tile_pri' was declared here 95 | uint16 tile_pri, tile_num; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:188:31: warning: 'pal_index' may be used uninitialized [-Wmaybe-uninitialized] 188 | col = get_palette(col + pal_index); | ~~~~^~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:96:10: note: 'pal_index' was declared here 96 | uint8 pal_index, pal_num; | ^~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:182:5: warning: 'mirror_x' may be used uninitialized [-Wmaybe-uninitialized] 182 | if(mirror_x) hoffset ^= 7; //invert x tile pos | ^~ sfc/alt/ppu-balanced/render/bg.cpp:98:10: note: 'mirror_x' was declared here 98 | bool mirror_x, mirror_y; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:183:22: warning: 'tile_ptr' may be used uninitialized [-Wmaybe-uninitialized] 183 | col = *(tile_ptr + (hoffset & 7)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:100:17: note: 'tile_ptr' was declared here 100 | const uint8* tile_ptr; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp: In member function 'SuperFamicom::PPU::render_line_bg<0u, 1u, 0u>(unsigned char, unsigned char)void': sfc/alt/ppu-balanced/render/bg.cpp:48:28: warning: 'tile_pri' may be used uninitialized [-Wmaybe-uninitialized] 48 | pixel_cache[x].pri_sub = tile_pri; \ | ^ sfc/alt/ppu-balanced/render/bg.cpp:95:10: note: 'tile_pri' was declared here 95 | uint16 tile_pri, tile_num; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:188:31: warning: 'pal_index' may be used uninitialized [-Wmaybe-uninitialized] 188 | col = get_palette(col + pal_index); | ~~~~^~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:96:10: note: 'pal_index' was declared here 96 | uint8 pal_index, pal_num; | ^~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:182:5: warning: 'mirror_x' may be used uninitialized [-Wmaybe-uninitialized] 182 | if(mirror_x) hoffset ^= 7; //invert x tile pos | ^~ sfc/alt/ppu-balanced/render/bg.cpp:98:10: note: 'mirror_x' was declared here 98 | bool mirror_x, mirror_y; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:183:22: warning: 'tile_ptr' may be used uninitialized [-Wmaybe-uninitialized] 183 | col = *(tile_ptr + (hoffset & 7)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:100:17: note: 'tile_ptr' was declared here 100 | const uint8* tile_ptr; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp: In member function 'SuperFamicom::PPU::render_line_bg<4u, 1u, 0u>(unsigned char, unsigned char)void': sfc/alt/ppu-balanced/render/bg.cpp:48:28: warning: 'tile_pri' may be used uninitialized [-Wmaybe-uninitialized] 48 | pixel_cache[x].pri_sub = tile_pri; \ | ^ sfc/alt/ppu-balanced/render/bg.cpp:95:10: note: 'tile_pri' was declared here 95 | uint16 tile_pri, tile_num; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:131:23: warning: 'hval' may be used uninitialized [-Wmaybe-uninitialized] 131 | if(!(hval & 0x8000)) { | ~~~~~~^~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:94:10: note: 'hval' was declared here 94 | uint16 hval, vval; | ^~~~ sfc/alt/ppu-balanced/render/bg.cpp:188:31: warning: 'pal_index' may be used uninitialized [-Wmaybe-uninitialized] 188 | col = get_palette(col + pal_index); | ~~~~^~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:96:10: note: 'pal_index' was declared here 96 | uint8 pal_index, pal_num; | ^~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:183:22: warning: 'tile_ptr' may be used uninitialized [-Wmaybe-uninitialized] 183 | col = *(tile_ptr + (hoffset & 7)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:100:17: note: 'tile_ptr' was declared here 100 | const uint8* tile_ptr; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:182:5: warning: 'mirror_x' may be used uninitialized [-Wmaybe-uninitialized] 182 | if(mirror_x) hoffset ^= 7; //invert x tile pos | ^~ sfc/alt/ppu-balanced/render/bg.cpp:98:10: note: 'mirror_x' was declared here 98 | bool mirror_x, mirror_y; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp: In member function 'SuperFamicom::PPU::render_line_bg<5u, 1u, 0u>(unsigned char, unsigned char)void': sfc/alt/ppu-balanced/render/bg.cpp:40:29: warning: 'tile_pri' may be used uninitialized [-Wmaybe-uninitialized] 40 | pixel_cache[x].pri_main = tile_pri; \ | ^ sfc/alt/ppu-balanced/render/bg.cpp:95:10: note: 'tile_pri' was declared here 95 | uint16 tile_pri, tile_num; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:188:31: warning: 'pal_index' may be used uninitialized [-Wmaybe-uninitialized] 188 | col = get_palette(col + pal_index); | ~~~~^~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:96:10: note: 'pal_index' was declared here 96 | uint8 pal_index, pal_num; | ^~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:182:5: warning: 'mirror_x' may be used uninitialized [-Wmaybe-uninitialized] 182 | if(mirror_x) hoffset ^= 7; //invert x tile pos | ^~ sfc/alt/ppu-balanced/render/bg.cpp:98:10: note: 'mirror_x' was declared here 98 | bool mirror_x, mirror_y; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:183:22: warning: 'tile_ptr' may be used uninitialized [-Wmaybe-uninitialized] 183 | col = *(tile_ptr + (hoffset & 7)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:100:17: note: 'tile_ptr' was declared here 100 | const uint8* tile_ptr; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp: In member function 'SuperFamicom::PPU::render_line_bg<0u, 3u, 0u>(unsigned char, unsigned char)void': sfc/alt/ppu-balanced/render/bg.cpp:48:28: warning: 'tile_pri' may be used uninitialized [-Wmaybe-uninitialized] 48 | pixel_cache[x].pri_sub = tile_pri; \ | ^ sfc/alt/ppu-balanced/render/bg.cpp:95:10: note: 'tile_pri' was declared here 95 | uint16 tile_pri, tile_num; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:188:31: warning: 'pal_index' may be used uninitialized [-Wmaybe-uninitialized] 188 | col = get_palette(col + pal_index); | ~~~~^~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:96:10: note: 'pal_index' was declared here 96 | uint8 pal_index, pal_num; | ^~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:182:5: warning: 'mirror_x' may be used uninitialized [-Wmaybe-uninitialized] 182 | if(mirror_x) hoffset ^= 7; //invert x tile pos | ^~ sfc/alt/ppu-balanced/render/bg.cpp:98:10: note: 'mirror_x' was declared here 98 | bool mirror_x, mirror_y; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:183:22: warning: 'tile_ptr' may be used uninitialized [-Wmaybe-uninitialized] 183 | col = *(tile_ptr + (hoffset & 7)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:100:17: note: 'tile_ptr' was declared here 100 | const uint8* tile_ptr; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp: In member function 'SuperFamicom::PPU::render_line_bg<3u, 0u, 2u>(unsigned char, unsigned char)void': sfc/alt/ppu-balanced/render/bg.cpp:48:28: warning: 'tile_pri' may be used uninitialized [-Wmaybe-uninitialized] 48 | pixel_cache[x].pri_sub = tile_pri; \ | ^ sfc/alt/ppu-balanced/render/bg.cpp:95:10: note: 'tile_pri' was declared here 95 | uint16 tile_pri, tile_num; | ^~~~~~~~ In member function 'SuperFamicom::PPU::get_direct_color(unsigned char, unsigned char)', inlined from 'SuperFamicom::PPU::render_line_bg<3u, 0u, 2u>(unsigned char, unsigned char)void' at sfc/alt/ppu-balanced/render/bg.cpp:186:31: sfc/alt/ppu-balanced/render/line.cpp:14:28: warning: 'pal_num' may be used uninitialized [-Wmaybe-uninitialized] 14 | ((t >> 6) << 13) | ((p >> 2) << 12); | ~~^~~~ sfc/alt/ppu-balanced/render/bg.cpp: In member function 'SuperFamicom::PPU::render_line_bg<3u, 0u, 2u>(unsigned char, unsigned char)void': sfc/alt/ppu-balanced/render/bg.cpp:96:21: note: 'pal_num' was declared here 96 | uint8 pal_index, pal_num; | ^~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:182:5: warning: 'mirror_x' may be used uninitialized [-Wmaybe-uninitialized] 182 | if(mirror_x) hoffset ^= 7; //invert x tile pos | ^~ sfc/alt/ppu-balanced/render/bg.cpp:98:10: note: 'mirror_x' was declared here 98 | bool mirror_x, mirror_y; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:183:22: warning: 'tile_ptr' may be used uninitialized [-Wmaybe-uninitialized] 183 | col = *(tile_ptr + (hoffset & 7)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:100:17: note: 'tile_ptr' was declared here 100 | const uint8* tile_ptr; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp: In member function 'SuperFamicom::PPU::render_line_bg<4u, 0u, 2u>(unsigned char, unsigned char)void': sfc/alt/ppu-balanced/render/bg.cpp:48:28: warning: 'tile_pri' may be used uninitialized [-Wmaybe-uninitialized] 48 | pixel_cache[x].pri_sub = tile_pri; \ | ^ sfc/alt/ppu-balanced/render/bg.cpp:95:10: note: 'tile_pri' was declared here 95 | uint16 tile_pri, tile_num; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:131:23: warning: 'hval' may be used uninitialized [-Wmaybe-uninitialized] 131 | if(!(hval & 0x8000)) { | ~~~~~~^~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:94:10: note: 'hval' was declared here 94 | uint16 hval, vval; | ^~~~ In member function 'SuperFamicom::PPU::get_direct_color(unsigned char, unsigned char)', inlined from 'SuperFamicom::PPU::render_line_bg<4u, 0u, 2u>(unsigned char, unsigned char)void' at sfc/alt/ppu-balanced/render/bg.cpp:186:31: sfc/alt/ppu-balanced/render/line.cpp:14:28: warning: 'pal_num' may be used uninitialized [-Wmaybe-uninitialized] 14 | ((t >> 6) << 13) | ((p >> 2) << 12); | ~~^~~~ sfc/alt/ppu-balanced/render/bg.cpp: In member function 'SuperFamicom::PPU::render_line_bg<4u, 0u, 2u>(unsigned char, unsigned char)void': sfc/alt/ppu-balanced/render/bg.cpp:96:21: note: 'pal_num' was declared here 96 | uint8 pal_index, pal_num; | ^~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:182:5: warning: 'mirror_x' may be used uninitialized [-Wmaybe-uninitialized] 182 | if(mirror_x) hoffset ^= 7; //invert x tile pos | ^~ sfc/alt/ppu-balanced/render/bg.cpp:98:10: note: 'mirror_x' was declared here 98 | bool mirror_x, mirror_y; | ^~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:183:22: warning: 'tile_ptr' may be used uninitialized [-Wmaybe-uninitialized] 183 | col = *(tile_ptr + (hoffset & 7)); | ~~~~~~~~~~^~~~~~~~~~~~~~~~ sfc/alt/ppu-balanced/render/bg.cpp:100:17: note: 'tile_ptr' was declared here 100 | const uint8* tile_ptr; | ^~~~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/event/event.cpp -o obj/sfc-event-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/event/event.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/sa1/sa1.cpp -o obj/sfc-sa1-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/sa1/sa1.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/superfx/superfx.cpp -o obj/sfc-superfx-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/superfx/superfx.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from sfc/chip/superfx/superfx.cpp:8: sfc/chip/superfx/core/core.cpp: In member function 'SuperFamicom::SuperFX::pixelcache_flush(Processor::GSU::pixelcache_t&)': sfc/chip/superfx/core/core.cpp:90:34: warning: 'cn' may be used uninitialized [-Wmaybe-uninitialized] 90 | unsigned addr = 0x700000 + (cn * (bpp << 3)) + (regs.scbr << 10) + ((y & 0x07) * 2); | ~~~~^~~~~~~~~~~~~ sfc/chip/superfx/core/core.cpp:82:12: note: 'cn' was declared here 82 | unsigned cn; //character number | ^~ sfc/chip/superfx/core/core.cpp: In member function 'SuperFamicom::SuperFX::rpix(unsigned char, unsigned char)': sfc/chip/superfx/core/core.cpp:63:34: warning: 'cn' may be used uninitialized [-Wmaybe-uninitialized] 63 | unsigned addr = 0x700000 + (cn * (bpp << 3)) + (regs.scbr << 10) + ((y & 0x07) * 2); | ~~~~^~~~~~~~~~~~~ sfc/chip/superfx/core/core.cpp:55:12: note: 'cn' was declared here 55 | unsigned cn; //character number | ^~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/armdsp/armdsp.cpp -o obj/sfc-armdsp-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/armdsp/armdsp.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/hitachidsp/hitachidsp.cpp -o obj/sfc-hitachidsp-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/hitachidsp/hitachidsp.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/necdsp/necdsp.cpp -o obj/sfc-necdsp-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/necdsp/necdsp.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/sharprtc/sharprtc.cpp -o obj/sfc-sharprtc-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/sharprtc/sharprtc.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from sfc/chip/sharprtc/sharprtc.cpp:8: sfc/chip/sharprtc/serialization.cpp: In member function 'void SuperFamicom::SharpRTC::serialize(nall::serializer&)': sfc/chip/sharprtc/serialization.cpp:6:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 6 | s.integer((unsigned&)rtc_state); | ^~~~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/algorithm.hpp: In instantiation of 'T nall::max(const T&, const U&) [with T = int; U = unsigned int]': sfc/chip/sharprtc/time.cpp:52:13: required from here ./nall/algorithm.hpp:14:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 14 | return t > u ? t : u; | ~~^~~ ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/epsonrtc/epsonrtc.cpp -o obj/sfc-epsonrtc-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/epsonrtc/epsonrtc.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from sfc/chip/epsonrtc/epsonrtc.cpp:8: sfc/chip/epsonrtc/serialization.cpp: In member function 'void SuperFamicom::EpsonRTC::serialize(nall::serializer&)': sfc/chip/epsonrtc/serialization.cpp:10:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 10 | s.integer((unsigned&)state); | ^~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/sdd1/sdd1.cpp -o obj/sfc-sdd1-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/sdd1/sdd1.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from sfc/chip/sdd1/sdd1.cpp:8: sfc/chip/sdd1/decomp.cpp: In member function 'uint8 SuperFamicom::SDD1::Decomp::IM::get_codeword(uint8)': sfc/chip/sdd1/decomp.cpp:18:9: warning: unused variable 'comp_count' [-Wunused-variable] 18 | uint8 comp_count; | ^~~~~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ sfc/chip/sdd1/decomp.cpp: In member function 'SuperFamicom::SDD1::Decomp::PEM::get_bit(unsigned char)': sfc/chip/sdd1/decomp.cpp:180:16: warning: 'bit' may be used uninitialized [-Wmaybe-uninitialized] 180 | return bit ^ current_mps; | ^~~~~~~~~~~ sfc/chip/sdd1/decomp.cpp:158:9: note: 'bit' was declared here 158 | uint8 bit; | ^~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/spc7110/spc7110.cpp -o obj/sfc-spc7110-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/spc7110/spc7110.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ sfc/chip/spc7110/spc7110.cpp: In member function 'uint8 SuperFamicom::SPC7110::mcurom_read(unsigned int)': sfc/chip/spc7110/spc7110.cpp:269:12: warning: unused variable 'mask' [-Wunused-variable] 269 | unsigned mask = (1 << (r4834 & 3)) - 1; //8mbit, 16mbit, 32mbit, 64mbit DROM | ^~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/obc1/obc1.cpp -o obj/sfc-obc1-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/obc1/obc1.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/hsu1/hsu1.cpp -o obj/sfc-hsu1-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/hsu1/hsu1.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/slot/satellaview/satellaview.cpp -o obj/sfc-satellaviewcart-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/slot/satellaview/satellaview.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/slot/sufamiturbo/sufamiturbo.cpp -o obj/sfc-sufamiturbo-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/slot/sufamiturbo/sufamiturbo.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/msu1/msu1.cpp -o obj/sfc-msu1-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/msu1/msu1.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/dsp2/dsp2.cpp -o obj/sfc-hledsp2-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/dsp2/dsp2.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/dsp1/dsp1.cpp -o obj/sfc-hledsp1-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/dsp1/dsp1.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from sfc/chip/dsp1/dsp1.cpp:9: sfc/chip/dsp1/dsp1emu.cpp: In member function 'void SuperFamicom::Dsp1::memoryTest(int16*, int16*)': sfc/chip/dsp1/dsp1emu.cpp:253:11: warning: unused variable 'Size' [-Wunused-variable] 253 | int16& Size = input[0]; | ^~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ sfc/chip/dsp1/dsp1.cpp: At global scope: sfc/chip/dsp1/dsp1.cpp:11:13: warning: 'void SuperFamicom::out(const char*)' defined but not used [-Wunused-function] 11 | static void out(const char * what) | ^~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/dsp3/dsp3.cpp -o obj/sfc-hledsp3-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/dsp3/dsp3.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/dsp4/dsp4.cpp -o obj/sfc-hledsp4-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/dsp4/dsp4.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from sfc/chip/dsp4/dsp4.cpp:32: sfc/chip/dsp4/dsp4emu.c: In function 'void SuperFamicom::DSP4i::DSP4SetByte()': sfc/chip/dsp4/dsp4emu.c:2065:15: warning: unused variable 'in1a' [-Wunused-variable] 2065 | int16 in1a = DSP4_READ_WORD(); | ^~~~ sfc/chip/dsp4/dsp4emu.c:2067:15: warning: unused variable 'in3a' [-Wunused-variable] 2067 | int16 in3a = DSP4_READ_WORD(); | ^~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/st0010/st0010.cpp -o obj/sfc-hlest0010-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/st0010/st0010.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/cx4/cx4.cpp -o obj/sfc-hlecx4-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/cx4/cx4.cpp:7: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from sfc/chip/cx4/cx4.cpp:17: sfc/chip/cx4/oam.cpp: In member function 'void SuperFamicom::Cx4::op00_00()': sfc/chip/cx4/oam.cpp:6:26: warning: comparison of integer expressions of different signedness: 'int32' {aka 'int'} and 'uint32' {aka 'unsigned int'} [-Wsign-compare] 6 | for(int32 i = 0x1fd; i > oamptr && i >= 0; i -= 4) { | ~~^~~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c sfc/chip/sgb-external/sgb-external.cpp -o obj/sfc-sgbexternal-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from sfc/chip/sgb-external/sgb-external.cpp:1: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ 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 -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_BALANCED -c target-libretro/libretro.cpp -o obj/libretro-balanced.o In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30, from ./sfc/sfc.hpp:4, from target-libretro/libretro.cpp:2: ./nall/image/scale.hpp:30: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 30 | #pragma omp parallel for | ./nall/image/scale.hpp:68: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 68 | #pragma omp parallel for | ./nall/image/scale.hpp:108: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 108 | #pragma omp parallel for | ./nall/image/scale.hpp:155: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 155 | #pragma omp parallel for | In file included from ./nall/image.hpp:20: ./nall/image/utility.hpp:13: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 13 | #pragma omp parallel for | ./nall/image/utility.hpp:38: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 38 | #pragma omp parallel for | ./nall/image/utility.hpp:67: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 67 | #pragma omp parallel for | In file included from ./nall/string/char.hpp:5, from ./nall/string.hpp:27, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22: ./nall/string/char/convert.hpp: In function 'char* nall::strtr(char*, const char*, const char*)': ./nall/string/char/convert.hpp:52:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 52 | for(unsigned i = 0; i < sl; i++) { | ~~^~~~ ./nall/string/char/convert.hpp:53:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 53 | for(unsigned l = 0; l < bsl; l++) { | ~~^~~~~ In file included from ./nall/string/core.hpp:9, from ./nall/string.hpp:31: ./nall/string/allocator/small-string-optimization.hpp: In member function 'nall::string& nall::string::operator=(nall::string&&)': ./nall/string/allocator/small-string-optimization.hpp:83:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct nall::string' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 83 | memcpy(this, &source, sizeof(string)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./nall/string.hpp:28: ./nall/string/base.hpp:14:8: note: 'struct nall::string' declared here 14 | struct string { | ^~~~~~ ./nall/string/core.hpp: In member function 'char& nall::string::operator[](int)': ./nall/string/core.hpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 61 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ ./nall/string/core.hpp: In member function 'const char& nall::string::operator[](int) const': ./nall/string/core.hpp:66:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | if(position > size() + 1) throw exception_out_of_bounds{}; | ~~~~~~~~~^~~~~~~~~~~~ In file included from ./nall/string.hpp:33: ./nall/string/file.hpp: In static member function 'static nall::string nall::string::read(const nall::string&)': ./nall/string/file.hpp:19:12: warning: unused variable 'unused' [-Wunused-variable] 19 | unsigned unused = fread(fdata, 1, fsize, fp); | ^~~~~~ In file included from ./nall/string.hpp:37: ./nall/string/platform.hpp: In function 'nall::string nall::activepath()': ./nall/string/platform.hpp:7:8: warning: unused variable 'unused' [-Wunused-variable] 7 | auto unused = getcwd(path, PATH_MAX); | ^~~~~~ In file included from ./nall/string.hpp:40: ./nall/string/utility.hpp: In function 'char* nall::integer(char*, intmax_t)': ./nall/string/utility.hpp:59:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ ./nall/string/utility.hpp: In function 'char* nall::decimal(char*, uintmax_t)': ./nall/string/utility.hpp:74:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | for(signed x = size - 1, y = 0; x >= 0 && y < size; x--, y++) result[x] = buffer[y]; | ~~^~~~~~ In file included from ./nall/string.hpp:42: ./nall/string/wrapper.hpp: In member function 'nall::string& nall::string::reverse()': ./nall/string/wrapper.hpp:66:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 66 | for(signed x = 0, y = length - 1; x < pivot && y >= 0; x++, y--) std::swap(data()[x], data()[y]); | ~~^~~~~~~ In file included from ./nall/string.hpp:48: ./nall/string/markup/bml.hpp: In member function 'bool nall::BML::Node::valid(char) const': ./nall/string/markup/bml.hpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~~ ./nall/string/markup/bml.hpp:13:71: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | return p - 'A' < 26u || p - 'a' < 26u || p - '0' < 10u || p - '-' < 2u; | ~~~~~~~~^~~~ In file included from ./nall/directory.hpp:4, from ./emulator/emulator.hpp:23: ./nall/file.hpp: In member function 'uintmax_t nall::file::readl(unsigned int)': ./nall/file.hpp:135:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 135 | for(int i = 0; i < length; i++) { | ~~^~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::seek(int, index)': ./nall/file.hpp:199:35: warning: comparison of integer expressions of different signedness: 'int' and 'uintmax_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | if (offset < 0 && -offset > req_offset) | ~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_sync()': ./nall/file.hpp:355:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 355 | if(buffer_offset != (file_offset & ~buffer_mask)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nall/file.hpp:359:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:360:27: warning: unused variable 'unused' [-Wunused-variable] 360 | if(length) unsigned unused = fread(buffer, 1, length, fp); | ^~~~~~ ./nall/file.hpp: In member function 'void nall::file::buffer_flush()': ./nall/file.hpp:370:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 370 | unsigned length = (buffer_offset + buffer_size) <= file_size ? buffer_size : (file_size & buffer_mask); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./nall/file.hpp:371:25: warning: unused variable 'unused' [-Wunused-variable] 371 | if(length) unsigned unused = fwrite(buffer, 1, length, fp); | ^~~~~~ In file included from ./nall/image.hpp:9: ./nall/png.hpp: In member function 'bool nall::png::filter(uint8_t*, const uint8_t*, unsigned int, unsigned int)': ./nall/png.hpp:233:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 233 | for(int y = 0; y < height; y++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:14: ./nall/image/core.hpp: In member function 'uint64_t nall::image::read(const uint8_t*) const': ./nall/image/core.hpp:107:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 107 | for(signed n = 0; n < stride; n++) result = (result << 8) | data[n]; | ~~^~~~~~~~ ./nall/image/core.hpp: In member function 'void nall::image::write(uint8_t*, uint64_t) const': ./nall/image/core.hpp:114:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 114 | for(signed n = 0; n < stride; n++) { | ~~^~~~~~~~ In file included from ./nall/image.hpp:17: ./nall/image/fill.hpp: In member function 'void nall::image::fill(uint64_t)': ./nall/image/fill.hpp:7:12: warning: unused variable 'dp' [-Wunused-variable] 7 | uint8_t* dp = data; | ^~ ./nall/image/fill.hpp: In member function 'void nall::image::gradient(uint64_t, uint64_t, int, int, int, int, nall::function)': ./nall/image/fill.hpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for(signed y = 0; y < height; y++) { | ~~^~~~~~~~ ./nall/image/fill.hpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 33 | for(signed x = 0; x < width; x++) { | ~~^~~~~~~ In file included from ./nall/vector.hpp:10, from ./nall/string.hpp:22: ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = lstring::isort()::]': ./nall/string/list.hpp:22:13: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ In file included from ./emulator/emulator.hpp:21: ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = int; U = unsigned int]': ./nall/http.hpp:123:58: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const int' and 'const unsigned int' [-Wsign-compare] 10 | return t < u ? t : u; | ~~^~~ ./nall/algorithm.hpp: In instantiation of 'T nall::min(const T&, const U&) [with T = long unsigned int; U = long int]': ./nall/image/blend.hpp:31:16: required from here ./nall/algorithm.hpp:10:12: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const long int' [-Wsign-compare] ./nall/sort.hpp: In instantiation of 'void nall::sort(T*, unsigned int, const Comparator&) [with T = string; Comparator = sort(string*, unsigned int)::]': ./nall/sort.hpp:72:14: required from 'void nall::sort(T*, unsigned int) [with T = string]' ./nall/vector.hpp:160:15: required from 'void nall::vector::sort() [with T = nall::string]' ./nall/directory.hpp:27:17: required from here ./nall/sort.hpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | for(signed i = 1, j; i < size; i++) { | ~~^~~~~~ target-libretro/libretro.cpp: In function 'retro_cheat_set': target-libretro/libretro.cpp:842:16: warning: 'strncpy' output may be truncated copying 2 bytes from a string of length 6 [-Wstringop-truncation] 842 | strncpy(pair_str,data_str+2*i,2); | ^ target-libretro/libretro.cpp:826:18: warning: 'strncpy' output may be truncated copying 2 bytes from a string of length 6 [-Wstringop-truncation] 826 | strncpy(pair_str,addr_str+2*i,2); | ^ g++ -o out/bsnes_mercury_balanced_libretro.so -shared obj/libco.o obj/processor-arm.o obj/processor-gsu.o obj/processor-hg51b.o obj/processor-lr35902.o obj/processor-r65816.o obj/processor-spc700.o obj/processor-upd96050.o obj/gb-interface.o obj/gb-system.o obj/gb-scheduler.o obj/gb-memory.o obj/gb-cartridge.o obj/gb-cpu.o obj/gb-ppu.o obj/gb-apu.o obj/gb-cheat.o obj/gb-video.o obj/sfc-interface-balanced.o obj/sfc-system-balanced.o obj/sfc-controller-balanced.o obj/sfc-cartridge-balanced.o obj/sfc-cheat-balanced.o obj/sfc-memory-balanced.o obj/sfc-cpu-balanced.o obj/sfc-smp-balanced.o obj/sfc-dsp-balanced.o obj/sfc-ppu-balanced.o obj/sfc-satellaviewbase-balanced.o obj/sfc-icd2-balanced.o obj/sfc-bsx-balanced.o obj/sfc-nss-balanced.o obj/sfc-event-balanced.o obj/sfc-sa1-balanced.o obj/sfc-superfx-balanced.o obj/sfc-armdsp-balanced.o obj/sfc-hitachidsp-balanced.o obj/sfc-necdsp-balanced.o obj/sfc-epsonrtc-balanced.o obj/sfc-sharprtc-balanced.o obj/sfc-spc7110-balanced.o obj/sfc-sdd1-balanced.o obj/sfc-obc1-balanced.o obj/sfc-hsu1-balanced.o obj/sfc-msu1-balanced.o obj/sfc-satellaviewcart-balanced.o obj/sfc-sufamiturbo-balanced.o obj/sfc-hledsp1-balanced.o obj/sfc-hledsp2-balanced.o obj/sfc-hledsp3-balanced.o obj/sfc-hledsp4-balanced.o obj/sfc-hlecx4-balanced.o obj/sfc-hlest0010-balanced.o obj/sfc-sgbexternal-balanced.o obj/libretro-balanced.o -ldl -Wl,--no-undefined -Wl,--version-script=target-libretro/link.T -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 ./sfc/memory/memory.hpp:50:8: warning: type 'struct Bus' violates the C++ One Definition Rule [-Wodr] 50 | struct Bus { | ^ ./sfc/memory/memory.hpp:50:8: note: a different type is defined in another translation unit 50 | struct Bus { | ^ ./sfc/memory/memory.hpp:80:35: note: the first difference of corresponding definitions is field 'libretro_mem_map' 80 | vector libretro_mem_map; | ^ ./sfc/memory/memory.hpp:80:35: note: a field of same name but different type is defined in another translation unit 80 | vector libretro_mem_map; | ^ ./nall/vector.hpp:15:29: note: type name 'nall::vector' should match type name 'nall::vector' 15 | template struct vector { | ^ ./sfc/memory/memory.hpp:87:12: warning: 'bus' violates the C++ One Definition Rule [-Wodr] 87 | extern Bus bus; | ^ ./sfc/memory/memory.hpp:50:8: note: type 'struct Bus' itself violates the C++ One Definition Rule 50 | struct Bus { | ^ sfc/memory/memory.cpp:7:5: note: 'bus' was previously declared here 7 | Bus bus; | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XsaQ1t + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.14.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.14.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.14.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.14.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 + 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 bsnes-mercury-4a382621da58ae6da850f1bb003ace8b5f67968c + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.14.fc38.x86_64 'INSTALL=/usr/bin/install -p' core_installdir=/usr/lib64/libretro profile=balanced /bin/sh: line 1: git: command not found install -D -m 755 out/bsnes_mercury_balanced_libretro.so /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.14.fc38.x86_64/usr/lib64/libretro/bsnes_mercury_balanced_libretro.so + install -Dp -m 0644 /builddir/build/SOURCES/bsnes_mercury_balanced.libretro /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.14.fc38.x86_64/usr/lib64/libretro/bsnes-mercury_balanced.libretro + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0-0.12.20190817git4a38262.14.fc38 --unique-debug-suffix -0-0.12.20190817git4a38262.14.fc38.x86_64 --unique-debug-src-base libretro-bsnes-mercury-0-0.12.20190817git4a38262.14.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/bsnes-mercury-4a382621da58ae6da850f1bb003ace8b5f67968c extracting debug info from /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.14.fc38.x86_64/usr/lib64/libretro/bsnes_mercury_balanced_libretro.so original debug info size: 9736kB, size after compression: 8304kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 2921 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-bsnes-mercury-0-0.12.20190817git4a38262.14.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tWVmlV + umask 022 + cd /builddir/build/BUILD + cd bsnes-mercury-4a382621da58ae6da850f1bb003ace8b5f67968c + DOCDIR=/builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.14.fc38.x86_64/usr/share/doc/libretro-bsnes-mercury + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.14.fc38.x86_64/usr/share/doc/libretro-bsnes-mercury + cp -pr README.md /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.14.fc38.x86_64/usr/share/doc/libretro-bsnes-mercury + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2NFiEY + umask 022 + cd /builddir/build/BUILD + cd bsnes-mercury-4a382621da58ae6da850f1bb003ace8b5f67968c + LICENSEDIR=/builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.14.fc38.x86_64/usr/share/licenses/libretro-bsnes-mercury + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.14.fc38.x86_64/usr/share/licenses/libretro-bsnes-mercury + cp -pr LICENSE /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.14.fc38.x86_64/usr/share/licenses/libretro-bsnes-mercury + RPM_EC=0 ++ jobs -p + exit 0 Provides: libretro-bsnes-mercury = 0-0.12.20190817git4a38262.14.fc38 libretro-bsnes-mercury(x86-64) = 0-0.12.20190817git4a38262.14.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.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(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(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) rtld(GNU_HASH) Suggests: gnome-games retroarch Processing files: libretro-bsnes-mercury-debugsource-0-0.12.20190817git4a38262.14.fc38.x86_64 Provides: libretro-bsnes-mercury-debugsource = 0-0.12.20190817git4a38262.14.fc38 libretro-bsnes-mercury-debugsource(x86-64) = 0-0.12.20190817git4a38262.14.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libretro-bsnes-mercury-debuginfo-0-0.12.20190817git4a38262.14.fc38.x86_64 Provides: debuginfo(build-id) = 5fdbb937175752ac8c0d6805a989aba23e65c218 libretro-bsnes-mercury-debuginfo = 0-0.12.20190817git4a38262.14.fc38 libretro-bsnes-mercury-debuginfo(x86-64) = 0-0.12.20190817git4a38262.14.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libretro-bsnes-mercury-debugsource(x86-64) = 0-0.12.20190817git4a38262.14.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.14.fc38.x86_64 Wrote: /builddir/build/RPMS/libretro-bsnes-mercury-0-0.12.20190817git4a38262.14.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/libretro-bsnes-mercury-debugsource-0-0.12.20190817git4a38262.14.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/libretro-bsnes-mercury-debuginfo-0-0.12.20190817git4a38262.14.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6Q2w6Z + umask 022 + cd /builddir/build/BUILD + cd bsnes-mercury-4a382621da58ae6da850f1bb003ace8b5f67968c + /usr/bin/rm -rf /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.14.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.E6uy6p + umask 022 + cd /builddir/build/BUILD + rm -rf bsnes-mercury-4a382621da58ae6da850f1bb003ace8b5f67968c bsnes-mercury-4a382621da58ae6da850f1bb003ace8b5f67968c.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0