Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libretro-bsnes-mercury.spec'], chrootPath='/var/lib/mock/f37-build-672923-75514/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/libretro-bsnes-mercury-0-0.12.20190817git4a38262.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libretro-bsnes-mercury.spec'], chrootPath='/var/lib/mock/f37-build-672923-75514/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fllUsx + 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.dUIEaq + 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -j4 V=1 VERBOSE=1 core_installdir=/usr/lib64/libretro /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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./processor/processor.hpp:4, from processor/hg51b/hg51b.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-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/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./processor/processor.hpp:4, from processor/arm/arm.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-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/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./processor/processor.hpp:4, from processor/lr35902/lr35902.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-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/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./processor/processor.hpp:4, from processor/upd96050/upd96050.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-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/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./processor/processor.hpp:4, from processor/spc700/spc700.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-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/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./gb/gb.hpp:4, from gb/interface/interface.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-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/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./gb/gb.hpp:4, from gb/scheduler/scheduler.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-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/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./gb/gb.hpp:4, from gb/memory/memory.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-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/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./processor/processor.hpp:4, from processor/r65816/r65816.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-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/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./gb/gb.hpp:4, from gb/system/system.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-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/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./processor/processor.hpp:4, from processor/gsu/gsu.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-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/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./gb/gb.hpp:4, from gb/cpu/cpu.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-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/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./gb/gb.hpp:4, from gb/ppu/ppu.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-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/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./gb/gb.hpp:4, from gb/cartridge/cartridge.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-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/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./gb/gb.hpp:4, from gb/cheat/cheat.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-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/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./gb/gb.hpp:4, from gb/video/video.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-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/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./gb/gb.hpp:4, from gb/apu/apu.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/controller/controller.cpp -o obj/sfc-controller-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/controller/controller.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/system/system.cpp -o obj/sfc-system-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/system/system.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/cheat/cheat.cpp -o obj/sfc-cheat-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/cheat/cheat.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/memory/memory.cpp -o obj/sfc-memory-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/memory/memory.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/interface/interface.cpp -o obj/sfc-interface-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/interface/interface.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/smp/smp.cpp -o obj/sfc-smp-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/smp/smp.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/dsp/dsp.cpp -o obj/sfc-dsp-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/dsp/dsp.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/base/satellaview/satellaview.cpp -o obj/sfc-satellaviewbase-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/base/satellaview/satellaview.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/cartridge/cartridge.cpp -o obj/sfc-cartridge-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/cartridge/cartridge.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/cpu/cpu.cpp -o obj/sfc-cpu-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/cpu/cpu.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/nss/nss.cpp -o obj/sfc-nss-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/nss/nss.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/bsx/bsx.cpp -o obj/sfc-bsx-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/bsx/bsx.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/icd2/icd2.cpp -o obj/sfc-icd2-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/icd2/icd2.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/superfx/superfx.cpp -o obj/sfc-superfx-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/superfx/superfx.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/event/event.cpp -o obj/sfc-event-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/event/event.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/sa1/sa1.cpp -o obj/sfc-sa1-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/sa1/sa1.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/armdsp/armdsp.cpp -o obj/sfc-armdsp-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/armdsp/armdsp.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/ppu/ppu.cpp -o obj/sfc-ppu-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/ppu/ppu.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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/ppu/ppu.hpp:36, from ./sfc/profile-accuracy.hpp:4, from ./sfc/sfc.hpp:59: ./sfc/ppu/background/background.hpp: In constructor 'SuperFamicom::PPU::Background::Background(SuperFamicom::PPU&, unsigned int)': ./sfc/ppu/background/background.hpp:79:8: warning: 'SuperFamicom::PPU::Background::self' will be initialized after [-Wreorder] 79 | PPU& self; | ^~~~ ./sfc/ppu/background/background.hpp:3:12: warning: 'unsigned int SuperFamicom::PPU::Background::id' [-Wreorder] 3 | unsigned id; | ^~ In file included from sfc/ppu/ppu.cpp:8: sfc/ppu/background/background.cpp:284:1: warning: when initialized here [-Wreorder] 284 | PPU::Background::Background(PPU &self, unsigned id) : self(self), id(id) { | ^~~ In file included from sfc/ppu/ppu.cpp:11: sfc/ppu/sprite/sprite.cpp: In member function 'bool SuperFamicom::PPU::Sprite::on_scanline(SpriteItem&)': sfc/ppu/sprite/sprite.cpp:51:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 51 | if(t.y >= sprite.y && t.y < (sprite.y + height)) return true; | ~~~~^~~~~~~~~~~~~~~~~~~~~ sfc/ppu/sprite/sprite.cpp: In member function 'void SuperFamicom::PPU::Sprite::tilefetch()': sfc/ppu/sprite/sprite.cpp:108:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 108 | } else if(y < sprite.width()) { | ~~^~~~~~~~~~~~~~~~ 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/ppu/background/background.cpp:3: sfc/ppu/background/mode7.cpp: In member function 'SuperFamicom::PPU::Background::run_mode7()': sfc/ppu/background/mode7.cpp:102:25: warning: 'priority' may be used uninitialized [-Wmaybe-uninitialized] 102 | output.sub.priority = priority; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ sfc/ppu/background/mode7.cpp:84:12: note: 'priority' was declared here 84 | unsigned priority; | ^~~~~~~~ sfc/ppu/background/mode7.cpp:89:13: warning: 'palette' may be used uninitialized [-Wmaybe-uninitialized] 89 | palette &= 0x7f; | ~~~~~~~~^~~~~~~ sfc/ppu/background/mode7.cpp:48:12: note: 'palette' was declared here 48 | unsigned palette; | ^~~~~~~ In file included from sfc/ppu/ppu.cpp:12: In member function 'SuperFamicom::PPU::Window::run()', inlined from 'SuperFamicom::PPU::enter()' at sfc/ppu/ppu.cpp:56:21: sfc/ppu/window/window.cpp:75:17: warning: 'output' may be used uninitialized [-Wmaybe-uninitialized] 75 | case 2: sub = !sub; break; | ^~~~ sfc/ppu/window/window.cpp: In member function 'SuperFamicom::PPU::enter()': sfc/ppu/window/window.cpp:91:8: note: 'output' was declared here 91 | bool output; | ^~~~~~ In member function 'SuperFamicom::PPU::Window::run()', inlined from 'SuperFamicom::PPU::enter()' at sfc/ppu/ppu.cpp:56:21: sfc/ppu/window/window.cpp:55:3: warning: 'output' may be used uninitialized [-Wmaybe-uninitialized] 55 | if(main) self.sprite.output.main.priority = 0; | ^~ sfc/ppu/window/window.cpp: In member function 'SuperFamicom::PPU::enter()': sfc/ppu/window/window.cpp:91:8: note: 'output' was declared here 91 | bool output; | ^~~~~~ In member function 'SuperFamicom::PPU::Window::run()', inlined from 'SuperFamicom::PPU::enter()' at sfc/ppu/ppu.cpp:56:21: sfc/ppu/window/window.cpp:46:3: warning: 'output' may be used uninitialized [-Wmaybe-uninitialized] 46 | if(main) self.bg4.output.main.priority = 0; | ^~ sfc/ppu/window/window.cpp: In member function 'SuperFamicom::PPU::enter()': sfc/ppu/window/window.cpp:91:8: note: 'output' was declared here 91 | bool output; | ^~~~~~ In member function 'SuperFamicom::PPU::Window::run()', inlined from 'SuperFamicom::PPU::enter()' at sfc/ppu/ppu.cpp:56:21: sfc/ppu/window/window.cpp:37:3: warning: 'output' may be used uninitialized [-Wmaybe-uninitialized] 37 | if(main) self.bg3.output.main.priority = 0; | ^~ sfc/ppu/window/window.cpp: In member function 'SuperFamicom::PPU::enter()': sfc/ppu/window/window.cpp:91:8: note: 'output' was declared here 91 | bool output; | ^~~~~~ In member function 'SuperFamicom::PPU::Window::run()', inlined from 'SuperFamicom::PPU::enter()' at sfc/ppu/ppu.cpp:56:21: sfc/ppu/window/window.cpp:28:3: warning: 'output' may be used uninitialized [-Wmaybe-uninitialized] 28 | if(main) self.bg2.output.main.priority = 0; | ^~ sfc/ppu/window/window.cpp: In member function 'SuperFamicom::PPU::enter()': sfc/ppu/window/window.cpp:91:8: note: 'output' was declared here 91 | bool output; | ^~~~~~ In member function 'SuperFamicom::PPU::Window::run()', inlined from 'SuperFamicom::PPU::enter()' at sfc/ppu/ppu.cpp:56:21: sfc/ppu/window/window.cpp:19:3: warning: 'output' may be used uninitialized [-Wmaybe-uninitialized] 19 | if(main) self.bg1.output.main.priority = 0; | ^~ sfc/ppu/window/window.cpp: In member function 'SuperFamicom::PPU::enter()': sfc/ppu/window/window.cpp:91:8: note: 'output' was declared here 91 | bool output; | ^~~~~~ In member function 'SuperFamicom::PPU::Background::run_mode7()', inlined from 'SuperFamicom::PPU::Background::run(bool)' at sfc/ppu/background/background.cpp:173:48, inlined from 'SuperFamicom::PPU::enter()' at sfc/ppu/ppu.cpp:52:16: sfc/ppu/background/mode7.cpp:96:26: warning: 'priority' may be used uninitialized [-Wmaybe-uninitialized] 96 | output.main.priority = priority; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ sfc/ppu/background/mode7.cpp: In member function 'SuperFamicom::PPU::enter()': sfc/ppu/background/mode7.cpp:84:12: note: 'priority' was declared here 84 | unsigned priority; | ^~~~~~~~ In member function 'SuperFamicom::PPU::Background::run_mode7()', inlined from 'SuperFamicom::PPU::Background::run(bool)' at sfc/ppu/background/background.cpp:173:48, inlined from 'SuperFamicom::PPU::enter()' at sfc/ppu/ppu.cpp:52:16: sfc/ppu/background/mode7.cpp:89:13: warning: 'palette' may be used uninitialized [-Wmaybe-uninitialized] 89 | palette &= 0x7f; | ~~~~~~~~^~~~~~~ sfc/ppu/background/mode7.cpp: In member function 'SuperFamicom::PPU::enter()': sfc/ppu/background/mode7.cpp:48:12: note: 'palette' was declared here 48 | unsigned palette; | ^~~~~~~ In member function 'SuperFamicom::PPU::Background::run_mode7()', inlined from 'SuperFamicom::PPU::Background::run(bool)' at sfc/ppu/background/background.cpp:173:48, inlined from 'SuperFamicom::PPU::enter()' at sfc/ppu/ppu.cpp:50:16: sfc/ppu/background/mode7.cpp:96:26: warning: 'priority' may be used uninitialized [-Wmaybe-uninitialized] 96 | output.main.priority = priority; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ sfc/ppu/background/mode7.cpp: In member function 'SuperFamicom::PPU::enter()': sfc/ppu/background/mode7.cpp:84:12: note: 'priority' was declared here 84 | unsigned priority; | ^~~~~~~~ In member function 'SuperFamicom::PPU::Background::run_mode7()', inlined from 'SuperFamicom::PPU::Background::run(bool)' at sfc/ppu/background/background.cpp:173:48, inlined from 'SuperFamicom::PPU::enter()' at sfc/ppu/ppu.cpp:50:16: sfc/ppu/background/mode7.cpp:89:13: warning: 'palette' may be used uninitialized [-Wmaybe-uninitialized] 89 | palette &= 0x7f; | ~~~~~~~~^~~~~~~ sfc/ppu/background/mode7.cpp: In member function 'SuperFamicom::PPU::enter()': sfc/ppu/background/mode7.cpp:48:12: note: 'palette' was declared here 48 | unsigned palette; | ^~~~~~~ In member function 'SuperFamicom::PPU::Background::run_mode7()', inlined from 'SuperFamicom::PPU::Background::run(bool)' at sfc/ppu/background/background.cpp:173:48, inlined from 'SuperFamicom::PPU::enter()' at sfc/ppu/ppu.cpp:47:16: sfc/ppu/background/mode7.cpp:96:26: warning: 'priority' may be used uninitialized [-Wmaybe-uninitialized] 96 | output.main.priority = priority; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ sfc/ppu/background/mode7.cpp: In member function 'SuperFamicom::PPU::enter()': sfc/ppu/background/mode7.cpp:84:12: note: 'priority' was declared here 84 | unsigned priority; | ^~~~~~~~ In member function 'SuperFamicom::PPU::Background::run_mode7()', inlined from 'SuperFamicom::PPU::Background::run(bool)' at sfc/ppu/background/background.cpp:173:48, inlined from 'SuperFamicom::PPU::enter()' at sfc/ppu/ppu.cpp:47:16: sfc/ppu/background/mode7.cpp:89:13: warning: 'palette' may be used uninitialized [-Wmaybe-uninitialized] 89 | palette &= 0x7f; | ~~~~~~~~^~~~~~~ sfc/ppu/background/mode7.cpp: In member function 'SuperFamicom::PPU::enter()': sfc/ppu/background/mode7.cpp:48:12: note: 'palette' was declared here 48 | unsigned palette; | ^~~~~~~ In member function 'SuperFamicom::PPU::Background::run_mode7()', inlined from 'SuperFamicom::PPU::Background::run(bool)' at sfc/ppu/background/background.cpp:173:48, inlined from 'SuperFamicom::PPU::enter()' at sfc/ppu/ppu.cpp:46:16: sfc/ppu/background/mode7.cpp:96:26: warning: 'priority' may be used uninitialized [-Wmaybe-uninitialized] 96 | output.main.priority = priority; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ sfc/ppu/background/mode7.cpp: In member function 'SuperFamicom::PPU::enter()': sfc/ppu/background/mode7.cpp:84:12: note: 'priority' was declared here 84 | unsigned priority; | ^~~~~~~~ In member function 'SuperFamicom::PPU::Background::run_mode7()', inlined from 'SuperFamicom::PPU::Background::run(bool)' at sfc/ppu/background/background.cpp:173:48, inlined from 'SuperFamicom::PPU::enter()' at sfc/ppu/ppu.cpp:46:16: sfc/ppu/background/mode7.cpp:89:13: warning: 'palette' may be used uninitialized [-Wmaybe-uninitialized] 89 | palette &= 0x7f; | ~~~~~~~~^~~~~~~ sfc/ppu/background/mode7.cpp: In member function 'SuperFamicom::PPU::enter()': sfc/ppu/background/mode7.cpp:48:12: note: 'palette' was declared here 48 | unsigned palette; | ^~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/hitachidsp/hitachidsp.cpp -o obj/sfc-hitachidsp-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/hitachidsp/hitachidsp.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/necdsp/necdsp.cpp -o obj/sfc-necdsp-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/necdsp/necdsp.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/sharprtc/sharprtc.cpp -o obj/sfc-sharprtc-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/sharprtc/sharprtc.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/sdd1/sdd1.cpp -o obj/sfc-sdd1-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/sdd1/sdd1.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/epsonrtc/epsonrtc.cpp -o obj/sfc-epsonrtc-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/epsonrtc/epsonrtc.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/obc1/obc1.cpp -o obj/sfc-obc1-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/obc1/obc1.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/spc7110/spc7110.cpp -o obj/sfc-spc7110-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/spc7110/spc7110.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/slot/satellaview/satellaview.cpp -o obj/sfc-satellaviewcart-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/slot/satellaview/satellaview.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/slot/sufamiturbo/sufamiturbo.cpp -o obj/sfc-sufamiturbo-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/slot/sufamiturbo/sufamiturbo.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/hsu1/hsu1.cpp -o obj/sfc-hsu1-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/hsu1/hsu1.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/dsp2/dsp2.cpp -o obj/sfc-hledsp2-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/dsp2/dsp2.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/dsp1/dsp1.cpp -o obj/sfc-hledsp1-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/dsp1/dsp1.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/dsp3/dsp3.cpp -o obj/sfc-hledsp3-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/dsp3/dsp3.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/st0010/st0010.cpp -o obj/sfc-hlest0010-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/st0010/st0010.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/msu1/msu1.cpp -o obj/sfc-msu1-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/msu1/msu1.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/dsp4/dsp4.cpp -o obj/sfc-hledsp4-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/dsp4/dsp4.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/sgb-external/sgb-external.cpp -o obj/sfc-sgbexternal-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/sgb-external/sgb-external.cpp:1: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c sfc/chip/cx4/cx4.cpp -o obj/sfc-hlecx4-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from sfc/chip/cx4/cx4.cpp:7: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++0x -I. -O3 -fomit-frame-pointer -DSFC_LAGFIX -fPIC -D__LIBRETRO__ -DPROFILE_ACCURACY -c target-libretro/libretro.cpp -o obj/libretro-accuracy.o In file included from ./nall/string.hpp:17, from ./nall/base64.hpp:5, from ./emulator/emulator.hpp:22, from ./sfc/sfc.hpp:4, from target-libretro/libretro.cpp:2: ./nall/intrinsics.hpp:67:4: warning: #warning "unable to detect architecture" [-Wcpp] 67 | #warning "unable to detect architecture" | ^~~~~~~ In file included from ./nall/image.hpp:18, from ./emulator/emulator.hpp:30: ./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: ./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_accuracy_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-accuracy.o obj/sfc-system-accuracy.o obj/sfc-controller-accuracy.o obj/sfc-cartridge-accuracy.o obj/sfc-cheat-accuracy.o obj/sfc-memory-accuracy.o obj/sfc-cpu-accuracy.o obj/sfc-smp-accuracy.o obj/sfc-dsp-accuracy.o obj/sfc-ppu-accuracy.o obj/sfc-satellaviewbase-accuracy.o obj/sfc-icd2-accuracy.o obj/sfc-bsx-accuracy.o obj/sfc-nss-accuracy.o obj/sfc-event-accuracy.o obj/sfc-sa1-accuracy.o obj/sfc-superfx-accuracy.o obj/sfc-armdsp-accuracy.o obj/sfc-hitachidsp-accuracy.o obj/sfc-necdsp-accuracy.o obj/sfc-epsonrtc-accuracy.o obj/sfc-sharprtc-accuracy.o obj/sfc-spc7110-accuracy.o obj/sfc-sdd1-accuracy.o obj/sfc-obc1-accuracy.o obj/sfc-hsu1-accuracy.o obj/sfc-msu1-accuracy.o obj/sfc-satellaviewcart-accuracy.o obj/sfc-sufamiturbo-accuracy.o obj/sfc-hledsp1-accuracy.o obj/sfc-hledsp2-accuracy.o obj/sfc-hledsp3-accuracy.o obj/sfc-hledsp4-accuracy.o obj/sfc-hlecx4-accuracy.o obj/sfc-hlest0010-accuracy.o obj/sfc-sgbexternal-accuracy.o obj/libretro-accuracy.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.Oxjy4H + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.fc37.riscv64 + 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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.fc37.riscv64 'INSTALL=/usr/bin/install -p' core_installdir=/usr/lib64/libretro /bin/sh: line 1: git: command not found install -D -m 755 out/bsnes_mercury_accuracy_libretro.so /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.fc37.riscv64/usr/lib64/libretro/bsnes_mercury_accuracy_libretro.so + install -Dp -m 0644 /builddir/build/SOURCES/bsnes_mercury_balanced.libretro /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.fc37.riscv64/usr/lib64/libretro/bsnes-mercury_accuracy.libretro + sed -i 's!Balanced!accuracy!' /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.fc37.riscv64/usr/lib64/libretro/bsnes-mercury_accuracy.libretro + sed -i 's!balanced!accuracy!' /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.fc37.riscv64/usr/lib64/libretro/bsnes-mercury_accuracy.libretro + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0-0.12.20190817git4a38262.fc37 --unique-debug-suffix -0-0.12.20190817git4a38262.fc37.riscv64 --unique-debug-src-base libretro-bsnes-mercury-0-0.12.20190817git4a38262.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/bsnes-mercury-4a382621da58ae6da850f1bb003ace8b5f67968c extracting debug info from /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.fc37.riscv64/usr/lib64/libretro/bsnes_mercury_accuracy_libretro.so original debug info size: 33964kB, size after compression: 32524kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 2860 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.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SEC7r7 + umask 022 + cd /builddir/build/BUILD + cd bsnes-mercury-4a382621da58ae6da850f1bb003ace8b5f67968c + DOCDIR=/builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.fc37.riscv64/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.fc37.riscv64/usr/share/doc/libretro-bsnes-mercury + cp -pr README.md /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.fc37.riscv64/usr/share/doc/libretro-bsnes-mercury + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.WBPyC4 + umask 022 + cd /builddir/build/BUILD + cd bsnes-mercury-4a382621da58ae6da850f1bb003ace8b5f67968c + LICENSEDIR=/builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.fc37.riscv64/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.fc37.riscv64/usr/share/licenses/libretro-bsnes-mercury + cp -pr LICENSE /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.fc37.riscv64/usr/share/licenses/libretro-bsnes-mercury + RPM_EC=0 ++ jobs -p + exit 0 Provides: libretro-bsnes-mercury = 0-0.12.20190817git4a38262.fc37 libretro-bsnes-mercury(riscv-64) = 0-0.12.20190817git4a38262.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(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.27)(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.fc37.riscv64 Provides: libretro-bsnes-mercury-debugsource = 0-0.12.20190817git4a38262.fc37 libretro-bsnes-mercury-debugsource(riscv-64) = 0-0.12.20190817git4a38262.fc37 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.fc37.riscv64 Provides: debuginfo(build-id) = 9cddfe6b272a591f1b0c6fa3299e66e777b1f309 libretro-bsnes-mercury-debuginfo = 0-0.12.20190817git4a38262.fc37 libretro-bsnes-mercury-debuginfo(riscv-64) = 0-0.12.20190817git4a38262.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libretro-bsnes-mercury-debugsource(riscv-64) = 0-0.12.20190817git4a38262.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.fc37.riscv64 Wrote: /builddir/build/RPMS/libretro-bsnes-mercury-0-0.12.20190817git4a38262.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/libretro-bsnes-mercury-debugsource-0-0.12.20190817git4a38262.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/libretro-bsnes-mercury-debuginfo-0-0.12.20190817git4a38262.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MaRehq + umask 022 + cd /builddir/build/BUILD + cd bsnes-mercury-4a382621da58ae6da850f1bb003ace8b5f67968c + /usr/bin/rm -rf /builddir/build/BUILDROOT/libretro-bsnes-mercury-0-0.12.20190817git4a38262.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.lrHGbM + 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