Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/btbuilder.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1671805166.888578/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2hdovb0v:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2hdovb0v:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '576ffe4812bc4ad585b060c60310b79a', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1671805166.888578/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2hdovb0v:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/btbuilder.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658275200 Wrote: /builddir/build/SRPMS/btbuilder-0.5.19-3.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/btbuilder.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1671805166.888578/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2hdovb0v:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2hdovb0v:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4daeac4d20804f5a87d437561d8edc76', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1671805166.888578/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2hdovb0v:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/btbuilder.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7IjlmH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf btbuilder-0.5.19 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/btbuilder-0.5.19.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd btbuilder-0.5.19 + /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.YbAReO + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd btbuilder-0.5.19 + /usr/bin/make -O -j2 V=1 VERBOSE=1 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/file.o src/file.C src/file.C: In member function 'void BinaryReadFile::readByte(IByte&)': src/file.C:65:26: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 65 | size_t ans = PHYSFS_read(file, &a, 1, 1); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from src/file.h:14, from src/file.C:12: /usr/include/physfs.h:1333:27: note: declared here 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ src/file.C: In member function 'void BinaryReadFile::readByteArray(int, IByte*)': src/file.C:74:26: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 74 | size_t ans = PHYSFS_read(file, a, 1, size); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/physfs.h:1333:27: note: declared here 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ src/file.C:75:10: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 75 | if (ans != size) | ~~~~^~~~~~~ src/file.C: In member function 'void BinaryReadFile::readShort(IShort&)': src/file.C:83:26: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 83 | size_t ans = PHYSFS_read(file, &a, 2, 1); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/physfs.h:1333:27: note: declared here 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ src/file.C: In member function 'void BinaryReadFile::readShortArray(int, IShort*)': src/file.C:96:26: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 96 | size_t ans = PHYSFS_read(file, a, 2, size); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/physfs.h:1333:27: note: declared here 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ src/file.C:97:10: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 97 | if (ans != size) | ~~~~^~~~~~~ src/file.C: In member function 'void BinaryReadFile::readLong(ILong&)': src/file.C:112:26: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 112 | size_t ans = PHYSFS_read(file, &a, 4, 1); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/physfs.h:1333:27: note: declared here 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ src/file.C: In member function 'void BinaryReadFile::readLongArray(int, ILong*)': src/file.C:125:26: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 125 | size_t ans = PHYSFS_read(file, a, 4, size); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/physfs.h:1333:27: note: declared here 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ src/file.C:126:10: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 126 | if (ans != size) | ~~~~^~~~~~~ src/file.C: In member function 'void BinaryReadFile::readUByte(IUByte&)': src/file.C:141:26: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 141 | size_t ans = PHYSFS_read(file, &a, 1, 1); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/physfs.h:1333:27: note: declared here 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ src/file.C: In member function 'void BinaryReadFile::readUByteArray(int, IUByte*)': src/file.C:150:26: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 150 | size_t ans = PHYSFS_read(file, a, 1, size); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/physfs.h:1333:27: note: declared here 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ src/file.C:151:10: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 151 | if (ans != size) | ~~~~^~~~~~~ src/file.C: In member function 'void BinaryReadFile::readUShort(IUShort&)': src/file.C:159:26: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 159 | size_t ans = PHYSFS_read(file, &a, 2, 1); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/physfs.h:1333:27: note: declared here 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ src/file.C: In member function 'void BinaryReadFile::readUShortArray(int, IUShort*)': src/file.C:172:26: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 172 | size_t ans = PHYSFS_read(file, a, 2, size); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/physfs.h:1333:27: note: declared here 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ src/file.C:173:10: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 173 | if (ans != size) | ~~~~^~~~~~~ src/file.C: In member function 'void BinaryReadFile::readULong(IULong&)': src/file.C:188:26: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 188 | size_t ans = PHYSFS_read(file, &a, 4, 1); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/physfs.h:1333:27: note: declared here 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ src/file.C: In member function 'void BinaryReadFile::readULongArray(int, IULong*)': src/file.C:201:26: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 201 | size_t ans = PHYSFS_read(file, a, 4, size); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/physfs.h:1333:27: note: declared here 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ src/file.C:202:10: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 202 | if (ans != size) | ~~~~^~~~~~~ src/file.C: In member function 'void BinaryWriteFile::writeByte(const IByte&)': src/file.C:258:14: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 258 | PHYSFS_write(file, &a, 1, 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ src/file.C: In member function 'void BinaryWriteFile::writeByteArray(int, const IByte*)': src/file.C:263:14: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 263 | PHYSFS_write(file, a, 1, size); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ src/file.C: In member function 'void BinaryWriteFile::writeShort(const IShort&)': src/file.C:268:14: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 268 | PHYSFS_write(file, &a, 2, 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ src/file.C: In member function 'void BinaryWriteFile::writeShortArray(int, const IShort*)': src/file.C:273:14: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 273 | PHYSFS_write(file, a, 2, size); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ src/file.C: In member function 'void BinaryWriteFile::writeLong(const ILong&)': src/file.C:278:14: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 278 | PHYSFS_write(file, &a, 4, 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ src/file.C: In member function 'void BinaryWriteFile::writeLongArray(int, const ILong*)': src/file.C:283:14: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 283 | PHYSFS_write(file, a, 4, size); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ src/file.C: In member function 'void BinaryWriteFile::writeUByte(const IUByte&)': src/file.C:288:14: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 288 | PHYSFS_write(file, &a, 1, 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ src/file.C: In member function 'void BinaryWriteFile::writeUByteArray(int, const IUByte*)': src/file.C:293:14: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 293 | PHYSFS_write(file, a, 1, size); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ src/file.C: In member function 'void BinaryWriteFile::writeUShort(const IUShort&)': src/file.C:298:14: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 298 | PHYSFS_write(file, &a, 2, 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ src/file.C: In member function 'void BinaryWriteFile::writeUShortArray(int, const IUShort*)': src/file.C:303:14: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 303 | PHYSFS_write(file, a, 2, size); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ src/file.C: In member function 'void BinaryWriteFile::writeULong(const IULong&)': src/file.C:308:14: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 308 | PHYSFS_write(file, &a, 4, 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ src/file.C: In member function 'void BinaryWriteFile::writeULongArray(int, const IULong*)': src/file.C:313:14: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 313 | PHYSFS_write(file, a, 4, size); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/dice.o src/dice.C g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/monster.o src/monster.C In file included from src/combatant.h:13, from src/monster.h:14, from src/monster.C:8: src/spelleffect.h:66:15: warning: 'virtual int BTBaseEffect::apply(BTDisplay&, BTCombat*, int, int)' was hidden [-Woverloaded-virtual=] 66 | virtual int apply(BTDisplay &d, BTCombat *combat, int g = BTTARGET_NONE, int trgt = BTTARGET_INDIVIDUAL); | ^~~~~ src/spelleffect.h:204:7: note: by 'int BTDispellIllusionEffect::apply(BTDisplay&, BTCombatant*)' 204 | int apply(BTDisplay &d, BTCombatant *target); | ^~~~~ In file included from src/combat.h:14, from src/game.h:12, from src/monster.C:9: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ src/monster.h: In constructor 'BTMonster::BTMonster()': src/monster.h:125:10: warning: 'BTMonster::range' will be initialized after [-Wreorder] 125 | IShort range; | ^~~~~ src/monster.h:114:16: warning: 'unsigned int BTMonster::xp' [-Wreorder] 114 | unsigned int xp; | ^~ src/monster.C:83:1: warning: when initialized here [-Wreorder] 83 | BTMonster::BTMonster() | ^~~~~~~~~ src/monster.C: In member function 'void BTMonster::useRangedOnGroup(BTDisplay&, BTCombatantCollection*, int, int&)': src/monster.C:305:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 305 | for (int i = 0; i < grp->size(); ++i) | ~~^~~~~~~~~~~~~ src/monster.C: In static member function 'static void BTMonster::readXML(const char*, XMLVector&)': src/monster.C:402:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 402 | for (int i = 0; i < monster.size(); ++i) | ~~^~~~~~~~~~~~~~~~ src/monster.C: In member function 'BTMonster::write(BinaryWriteFile&)': src/monster.C:322:9: warning: 'strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 322 | strncpy(tmp, name.c_str(), 14); | ^ src/monster.C:342:9: warning: 'strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 342 | strncpy(tmp, meleeMessage, 14); | ^ src/monster.C:350:9: warning: 'strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 350 | strncpy(tmp, rangedMessage, 14); | ^ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/spell.o src/spell.C In file included from src/combatant.h:13, from src/combat.h:11, from src/spell.h:14, from src/spell.C:8: src/spelleffect.h:66:15: warning: 'virtual int BTBaseEffect::apply(BTDisplay&, BTCombat*, int, int)' was hidden [-Woverloaded-virtual=] 66 | virtual int apply(BTDisplay &d, BTCombat *combat, int g = BTTARGET_NONE, int trgt = BTTARGET_INDIVIDUAL); | ^~~~~ src/spelleffect.h:204:7: note: by 'int BTDispellIllusionEffect::apply(BTDisplay&, BTCombatant*)' 204 | int apply(BTDisplay &d, BTCombatant *target); | ^~~~~ In file included from src/combat.h:14: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/spell.h:16: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ In file included from src/game.h:18, from src/spell.C:9: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ src/spell.C: In copy constructor 'BTSpell::BTSpell(const BTSpell&)': src/spell.C:31:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 31 | for (int i = 0; i < copy.manifest.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ src/spell.C: In member function 'bool BTSpell::hasCombatEffect() const': src/spell.C:108:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 108 | for (int i = 0; i < manifest.size(); ++i) | ~~^~~~~~~~~~~~~~~~~ src/spell.C: In member function 'int BTSpell::activate(BTDisplay&, const char*, bool, BTCombat*, int, int, int, int)': src/spell.C:201:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 201 | for (int i = 0; i < manifest.size(); ++i) | ~~^~~~~~~~~~~~~~~~~ src/spell.C: In member function 'void BTSpell::silentActivate(BTDisplay&, int, int, int)': src/spell.C:263:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 263 | for (int i = 0; i < manifest.size(); ++i) | ~~^~~~~~~~~~~~~~~~~ src/spell.C: In static member function 'static void BTSpell::readXML(const char*, XMLVector&)': src/spell.C:315:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 315 | for (int i = 0; i < spell.size(); ++i) | ~~^~~~~~~~~~~~~~ src/spell.C: In member function 'virtual void BTSpell1::upgrade()': src/spell.C:512:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 512 | for (int which = 0; which < skillList.size(); ++which) | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/spell.h:12: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTMonster; item1 = BTMonster; IShort = short int]': src/spell.C:175:38: required from here src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 187 | if (num >= items.size()) | ~~~~^~~~~~~~~~~~~~~ src/spell.C: In member function 'BTSpell::write(BinaryWriteFile&)': src/spell.C:126:9: warning: 'strncpy' specified bound 29 equals destination size [-Wstringop-truncation] 126 | strncpy(tmp, name.c_str(), 29); | ^ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/item.o src/item.C In file included from src/item.C:8: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/combatant.h:13, from src/pc.h:11, from src/item.C:9: src/spelleffect.h: At global scope: src/spelleffect.h:66:15: warning: 'virtual int BTBaseEffect::apply(BTDisplay&, BTCombat*, int, int)' was hidden [-Woverloaded-virtual=] 66 | virtual int apply(BTDisplay &d, BTCombat *combat, int g = BTTARGET_NONE, int trgt = BTTARGET_INDIVIDUAL); | ^~~~~ src/spelleffect.h:204:7: note: by 'int BTDispellIllusionEffect::apply(BTDisplay&, BTCombatant*)' 204 | int apply(BTDisplay &d, BTCombatant *target); | ^~~~~ In file included from src/combat.h:14, from src/game.h:12, from src/item.C:10: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ src/item.h: In constructor 'BTItem::BTItem()': src/item.h:80:7: warning: 'BTItem::price' will be initialized after [-Wreorder] 80 | int price; | ^~~~~ src/item.h:78:7: warning: 'int BTItem::spellCast' [-Wreorder] 78 | int spellCast; | ^~~~~~~~~ src/item.C:59:1: warning: when initialized here [-Wreorder] 59 | BTItem::BTItem() | ^~~~~~ src/item.h:78:7: warning: 'BTItem::spellCast' will be initialized after [-Wreorder] 78 | int spellCast; | ^~~~~~~~~ src/item.h:77:7: warning: 'int BTItem::type' [-Wreorder] 77 | int type; | ^~~~ src/item.C:59:1: warning: when initialized here [-Wreorder] 59 | BTItem::BTItem() | ^~~~~~ src/item.C: In member function 'virtual std::string BTItemSlotList::getName(int)': src/item.C:260:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 260 | if (size() > index) | ~~~~~~~^~~~~~~ src/item.C: In member function 'virtual int BTItemSlotList::getIndex(std::string)': src/item.C:268:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 268 | for (int i = 0; i < size(); ++i) | ~~^~~~~~~~ src/item.C: In member function 'virtual std::string BTItemTypeList::getName(int)': src/item.C:281:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 281 | if (size() > index) | ~~~~~~~^~~~~~~ src/item.C: In member function 'virtual int BTItemTypeList::getIndex(std::string)': src/item.C:289:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 289 | for (int i = 0; i < size(); ++i) | ~~^~~~~~~~ src/item.C: In member function 'BTItem::write(BinaryWriteFile&)': src/item.C:164:9: warning: 'strncpy' specified bound 25 equals destination size [-Wstringop-truncation] 164 | strncpy(tmp, name.c_str(), 25); | ^ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/main.o src/main.C In file included from src/combat.h:14, from src/spell.h:14, from src/main.C:5: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/spell.h:16: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ In file included from src/main.C:6: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ src/main.C: In function 'int main(int, char**)': src/main.C:236:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 236 | for (i = 0; i < monList.size(); i++) | ~~^~~~~~~~~~~~~~~~ src/main.C:297:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 297 | for (i = 0; i < sortedSplList.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ src/main.C:307:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 307 | for (j = 0; j < jobList.size(); ++j) | ~~^~~~~~~~~~~~~~~~ src/main.C:312:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 312 | printf("Class: %s\n", ((j < jobList.size()) ? BTGame::getGame()->getJobList()[j]->name : "Unknown")); | ~~^~~~~~~~~~~~~~~~ src/main.C:323:24: warning: format '%s' expects argument of type 'char*', but argument 2 has type '__gnu_cxx::__alloc_traits, BTDuration*>::value_type' {aka 'BTDuration*'} [-Wformat=] 323 | printf("Duration: %s\n", BTGame::getGame()->getDurationList()[mon.getDuration()]); | ~^ | | | char* src/main.C:359:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 359 | for (i = 0; i < itmList.size(); i++) | ~~^~~~~~~~~~~~~~~~ src/main.C:363:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type '__gnu_cxx::__alloc_traits, BTItemType*>::value_type' {aka 'BTItemType*'} [-Wformat=] 363 | printf("Type: %s\n", game.getItemTypeList()[mon.getType()]); | ~^ | | | char* In file included from src/monster.h:16, from src/main.C:4: src/factory.h: In instantiation of 'void BTFactory::save(const char*) [with item = BTMonster; item1 = BTMonster]': src/main.C:232:16: required from here src/factory.h:149:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 149 | if ((len > extension.length()) && (strcmp(extension.c_str(), filename + (len - extension.length())) == 0)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTMonster; item1 = BTMonster; IShort = short int]': src/main.C:238:29: required from here src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 187 | if (num >= items.size()) | ~~~~^~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTSpell; item1 = BTSpell1; IShort = short int]': src/main.C:266:50: required from here src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] src/factory.h: In instantiation of 'void BTFactory::save(const char*) [with item = BTSpell; item1 = BTSpell1]': src/main.C:289:16: required from here src/factory.h:149:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 149 | if ((len > extension.length()) && (strcmp(extension.c_str(), filename + (len - extension.length())) == 0)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'item& BTSortedFactory::operator[](IShort) [with item = BTSpell; IShort = short int]': src/main.C:299:33: required from here src/factory.h:273:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 273 | if (num >= sortedItems.size()) | ~~~~^~~~~~~~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'void BTFactory::save(const char*) [with item = BTItem; item1 = BTItem]': src/main.C:355:16: required from here src/factory.h:149:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 149 | if ((len > extension.length()) && (strcmp(extension.c_str(), filename + (len - extension.length())) == 0)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTItem; item1 = BTItem; IShort = short int]': src/main.C:361:26: required from here src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 187 | if (num >= items.size()) | ~~~~^~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/btconst.o src/btconst.C g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/map.o src/map.C In file included from src/map.C:9: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ In file included from src/game.h:12, from src/map.C:11: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ src/map.C: In copy constructor 'BTSpecialBody::BTSpecialBody(const BTSpecialBody&)': src/map.C:94:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 94 | for (int i = 0; i < copy.ops.size(); ++i) | ~~^~~~~~~~~~~~~~~~~ src/map.C: In member function 'void BTSpecialBody::eraseOperation(BTSpecialOperation*)': src/map.C:102:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 0; i < ops.size(); ++i) | ~~^~~~~~~~~~~~ src/map.C: In member function 'int BTSpecialBody::findLabel(const std::string&) const': src/map.C:114:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 114 | for (int i = 0; i < ops.size(); ++i) | ~~^~~~~~~~~~~~ src/map.C: In member function 'BTSpecialOperation* BTSpecialBody::getOperation(int)': src/map.C:125:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 125 | if (line < ops.size()) | ~~~~~^~~~~~~~~~~~ src/map.C: In member function 'void BTSpecialBody::insertOperation(BTSpecialOperation*, BTSpecialOperation*)': src/map.C:132:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 132 | for (int i = 0; i < ops.size(); ++i) | ~~^~~~~~~~~~~~ src/map.C: In member function 'void BTSpecialBody::replaceOperation(BTSpecialOperation*, BTSpecialOperation*)': src/map.C:144:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 144 | for (int i = 0; i < ops.size(); ++i) | ~~^~~~~~~~~~~~ src/map.C: In member function 'virtual IBool BTSpecialBody::isNothing() const': src/map.C:163:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 163 | while (i < ops.size()) | ~~^~~~~~~~~~~~ src/map.C: In member function 'int BTSpecialBody::numOfOperations(bool) const': src/map.C:186:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 186 | for (int i = 0; i < ops.size(); ++i) | ~~^~~~~~~~~~~~ src/map.C: In member function 'virtual void BTSpecialBody::print(FILE*, int) const': src/map.C:221:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 221 | while (i < ops.size()) | ~~^~~~~~~~~~~~ src/map.C: In member function 'void BTSpecialBody::runFromLine(BTDisplay&, BTSpecialContext*, int) const': src/map.C:235:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 235 | while (line < ops.size()) | ~~~~~^~~~~~~~~~~~ src/map.C: In member function 'void BTSpecialBody::upgradeToLabel(BitField&)': src/map.C:252:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 252 | for (int i = 0; i < ops.size(); ++i) | ~~^~~~~~~~~~~~ src/map.C: In member function 'virtual std::string BTSpecialCommand::print() const': src/map.C:325:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 325 | while (dollarSign = strchr(start, '$')) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/map.C: In member function 'virtual void BTSpecialCommand::run(BTDisplay&, BTSpecialContext*) const': src/map.C:453:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 453 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/map.C:479:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 479 | if (n < party.size()) | ~~^~~~~~~~~~~~~~ src/map.C:548:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 548 | if (n < party.size()) | ~~^~~~~~~~~~~~~~ src/map.C:613:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 613 | for (int who = 0; who < party.size(); ++who) | ~~~~^~~~~~~~~~~~~~ src/map.C:629:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 629 | for (int who = 0; who < party.size(); ++who) | ~~~~^~~~~~~~~~~~~~ src/map.C:645:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 645 | for (int who = 0; who < party.size(); ++who) | ~~~~^~~~~~~~~~~~~~ src/map.C:661:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 661 | for (int who = 0; who < party.size(); ++who) | ~~~~^~~~~~~~~~~~~~ src/map.C:689:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 689 | for (int who = 0; who < party.size(); ++who) | ~~~~^~~~~~~~~~~~~~ src/map.C:691:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 691 | for (int which = 0; which < skillList.size(); ++which) | ~~~~~~^~~~~~~~~~~~~~~~~~ src/map.C:863:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 863 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/map.C:873:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 873 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/map.C:886:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 886 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/map.C:903:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 903 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/map.C:933:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 933 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/map.C:996:37: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 996 | if ((27 != key) && (party.size() > (key - '1'))) | ~~~~~~~~~~~~~^~~~~~~~~~~~~ src/map.C: In member function 'virtual std::string BTSpecialConditional::print() const': src/map.C:1138:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1138 | while (dollarSign = strchr(start, '$')) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/map.C: In member function 'virtual void BTSpecialConditional::run(BTDisplay&, BTSpecialContext*) const': src/map.C:1226:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1226 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/map.C:1238:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1238 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/map.C:1271:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1271 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/map.C:1279:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1279 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/map.C:1311:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1311 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/map.C:1320:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1320 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/map.C:1337:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1337 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/map.C:1351:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1351 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/map.C:1386:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1386 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ In file included from src/screenset.h:12: src/map.h: In copy constructor 'BTSpecial::BTSpecial(const BTSpecial&)': src/map.h:286:17: warning: 'BTSpecial::body' will be initialized after [-Wreorder] 286 | BTSpecialBody body; | ^~~~ src/map.h:285:7: warning: 'int BTSpecial::decoration' [-Wreorder] 285 | int decoration; | ^~~~~~~~~~ src/map.C:1466:1: warning: when initialized here [-Wreorder] 1466 | BTSpecial::BTSpecial(const BTSpecial ©) | ^~~~~~~~~ src/map.C: In constructor 'BTSpecial::BTSpecial(BinaryReadFile&)': src/map.C:1566:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1566 | if (body.ops.size() <= i - 1) | ~~~~~~~~~~~~~~~~^~~~~~~~ src/map.C: In member function 'void BTSpecial::print(FILE*) const': src/map.C:1609:6: warning: unused variable 'i' [-Wunused-variable] 1609 | int i, last; | ^ src/map.C:1609:9: warning: unused variable 'last' [-Wunused-variable] 1609 | int i, last; | ^~~~ src/map.C: In member function 'void BTSpecial::write(BinaryWriteFile&)': src/map.C:1690:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1690 | for (i = 0; i < body.ops.size(); ++i) | ~~^~~~~~~~~~~~~~~~~ src/map.C:1698:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1698 | for (i = 0; i < body.ops.size(); ++i) | ~~^~~~~~~~~~~~~~~~~ src/map.C:1726:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1726 | for (i = 0; i < body.ops.size(); ++i) | ~~^~~~~~~~~~~~~~~~~ src/map.C:1681:9: warning: unused variable 'unknown' [-Wunused-variable] 1681 | IUByte unknown; | ^~~~~~~ src/map.C: In member function 'void BTSpecial::upgrade()': src/map.C:1779:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1779 | if (body.ops.size() <= i - 1) | ~~~~~~~~~~~~~~~~^~~~~~~~ src/map.C: In constructor 'BTMap::BTMap(BinaryReadFile&)': src/map.C:1859:23: warning: catching polymorphic type 'class FileException' by value [-Wcatch-value=] 1859 | catch (FileException e) | ^ src/map.C: In member function 'void BTMap::checkRandomEncounter(BTDisplay&) const': src/map.C:1911:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1911 | for (int i = 0; i < monsterChance.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ src/map.C: In member function 'int BTMap::getMonsterChance() const': src/map.C:1950:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1950 | for (int i = 0; i < monsterChance.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ src/map.C: In member function 'void BTMap::generateRandomEncounter(BTDisplay&, int) const': src/map.C:1982:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1982 | for (int i = 0; i < monList.size(); ++i) | ~~^~~~~~~~~~~~~~~~ src/map.C: In member function 'BTSpecial* BTMap::getSpecial(IShort)': src/map.C:2002:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'IShort' {aka 'short int'} [-Wsign-compare] 2002 | return ((specials.size() > num) ? specials[num] : NULL); | ~~~~~~~~~~~~~~~~^~~~~ src/map.C: In member function 'std::string BTMap::getStreetName(int)': src/map.C:2018:29: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2018 | return ((streetName.size() > num) ? streetName[num] : std::string("")); | ~~~~~~~~~~~~~~~~~~^~~~~ src/map.C: In member function 'void BTMap::write(BinaryWriteFile&)': src/map.C:2173:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2173 | for (i = 0; i < specials.size(); i++) | ~~^~~~~~~~~~~~~~~~~ src/map.C:2127:9: warning: unused variable 'unknown' [-Wunused-variable] 2127 | IUByte unknown; | ^~~~~~~ src/map.C: In member function 'void BTMap::upgrade()': src/map.C:2183:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2183 | for (int i = 0; i < specials.size(); i++) | ~~^~~~~~~~~~~~~~~~~ src/map.C: In member function 'bool BTLevel::contains(const std::string&)': src/map.C:2195:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2195 | for (int i = 0; i < filename.size(); ++i) | ~~^~~~~~~~~~~~~~~~~ src/map.C: In member function 'std::string BTLevel::deeper(const std::string&, int)': src/map.C:2206:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2206 | for (int i = 0; i < filename.size(); ++i) | ~~^~~~~~~~~~~~~~~~~ src/map.C:2211:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2211 | if ((where == -1) || (where + down >= filename.size()) || (where + down < 0)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/map.C: In member function 'int BTLevel::level(const std::string&)': src/map.C:2219:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2219 | for (int i = 0; i < filename.size(); ++i) | ~~^~~~~~~~~~~~~~~~~ In file included from src/duration.h:12, from src/game.h:14: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTItem; item1 = BTItem; IShort = short int]': src/map.C:335:63: required from here src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 187 | if (num >= items.size()) | ~~~~^~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTMonster; item1 = BTMonster; IShort = short int]': src/map.C:339:66: required from here src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTSpell; item1 = BTSpell1; IShort = short int]': src/map.C:342:64: required from here src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/psuedo3d.o src/psuedo3d.C src/psuedo3d.C: In member function 'void Psuedo3D::clear()': src/psuedo3d.C:51:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 51 | for (int i = 0; i < config->mapType.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ src/psuedo3d.C:69:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 69 | for (int i = 0; i < config->wallType.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/psuedo3d.C:87:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 87 | for (int i = 0; i < config->decorType.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/psuedo3d.C: In member function 'void Psuedo3D::draw(Psuedo3DMap*, int, int, int)': src/psuedo3d.C:112:6: warning: unused variable 'i' [-Wunused-variable] 112 | int i; | ^ src/psuedo3d.C:113:6: warning: unused variable 'type' [-Wunused-variable] 113 | int type; | ^~~~ src/psuedo3d.C: In member function 'void Psuedo3D::setConfig(Psuedo3DConfig*)': src/psuedo3d.C:185:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 185 | for (int i = 0; i < config->wallType.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/psuedo3d.C:199:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 199 | for (int i = 0; i < config->decorType.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/psuedo3d.C:213:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 213 | for (int i = 0; i < config->mapType.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/psuedo3dconfig.o src/psuedo3dconfig.C src/psuedo3dconfig.C: In member function 'int Psuedo3DConfig::findWallType(int, int)': src/psuedo3dconfig.C:65:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 65 | for (int i = 0; i < mapType.size(); ++i) | ~~^~~~~~~~~~~~~~~~ src/psuedo3dconfig.C:75:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 75 | for (int i = 0; i < wallType.size(); ++i) | ~~^~~~~~~~~~~~~~~~~ src/psuedo3dconfig.C: In member function 'int Psuedo3DConfig::findMapType(int, bool)': src/psuedo3dconfig.C:88:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 88 | for (int i = 0; i < mapType.size(); ++i) | ~~^~~~~~~~~~~~~~~~ src/psuedo3dconfig.C: In member function 'int Psuedo3DConfig::findDecorationType(int)': src/psuedo3dconfig.C:106:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 106 | for (int i = 0; i < decorType.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~ src/psuedo3dconfig.C: In member function 'bool Psuedo3DConfig::validate()': src/psuedo3dconfig.C:146:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 146 | for (int i = 0; i < wallType.size(); ++i) | ~~^~~~~~~~~~~~~~~~~ src/psuedo3dconfig.C:155:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 155 | for (int i = 0; i < wallType.size(); ++i) | ~~^~~~~~~~~~~~~~~~~ src/psuedo3dconfig.C:159:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 159 | for (int k = 0; k < wallType[i]->modulus.size(); ++k) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/psuedo3dconfig.C: In static member function 'static void Psuedo3DConfig::readXML(const char*, XMLVector&)': src/psuedo3dconfig.C:184:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 184 | for (int i = 0; i < cfg.size(); ++i) | ~~^~~~~~~~~~~~ src/psuedo3dconfig.C: In member function 'virtual std::string Psuedo3DConfigList::getName(int)': src/psuedo3dconfig.C:197:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 197 | if (size() > index) | ~~~~~~~^~~~~~~ src/psuedo3dconfig.C: In member function 'virtual int Psuedo3DConfigList::getIndex(std::string)': src/psuedo3dconfig.C:205:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 205 | for (int i = 0; i < size(); ++i) | ~~^~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/job.o src/job.C In file included from src/combatant.h:13, from src/pc.h:11, from src/job.h:11, from src/job.C:8: src/spelleffect.h:66:15: warning: 'virtual int BTBaseEffect::apply(BTDisplay&, BTCombat*, int, int)' was hidden [-Woverloaded-virtual=] 66 | virtual int apply(BTDisplay &d, BTCombat *combat, int g = BTTARGET_NONE, int trgt = BTTARGET_INDIVIDUAL); | ^~~~~ src/spelleffect.h:204:7: note: by 'int BTDispellIllusionEffect::apply(BTDisplay&, BTCombatant*)' 204 | int apply(BTDisplay &d, BTCombatant *target); | ^~~~~ In file included from src/combat.h:14, from src/game.h:12, from src/job.C:9: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ src/job.C: In member function 'virtual bool BTJobChangeRuleAtLeast::compare(BTPc*)': src/job.C:16:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 16 | for (int i = 0; (i < changeRule.size()) && (match < minimum); ++i) | ~~^~~~~~~~~~~~~~~~~~~ src/job.C: In member function 'BTJobSkillPurchase* BTJobSkill::findNextPurchase(int)': src/job.C:73:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 73 | for (int pr = 0; pr < purchase.size(); ++pr) | ~~~^~~~~~~~~~~~~~~~~ src/job.C: In member function 'BTJobSkill* BTJob::getSkill(int)': src/job.C:105:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 105 | for (int i = 0; i < skill.size(); ++i) | ~~^~~~~~~~~~~~~~ src/job.C: In member function 'bool BTJob::isAllowed(BTPc*, bool)': src/job.C:125:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 125 | for (int i = 0; i < changeRule.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ src/job.C: In member function 'virtual std::string BTJobList::getName(int)': src/job.C:171:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 171 | if (size() > index) | ~~~~~~~^~~~~~~ src/job.C: In member function 'virtual int BTJobList::getIndex(std::string)': src/job.C:179:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 179 | for (int i = 0; i < size(); ++i) | ~~^~~~~~~~ src/job.C: In member function 'virtual std::string BTJobAbbrevList::getName(int)': src/job.C:197:21: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 197 | if (jbList->size() > index) | ~~~~~~~~~~~~~~~^~~~~~~ src/job.C: In member function 'virtual int BTJobAbbrevList::getIndex(std::string)': src/job.C:205:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 205 | for (int i = 0; i < jbList->size(); ++i) | ~~^~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/expatcpp.o src/expatcpp.C src/expatcpp.C: In member function 'void ExpatXMLParser::parse(const char*, bool)': src/expatcpp.C:39:35: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 39 | PHYSFS_sint64 num = PHYSFS_read(f, buffer, 1, XMLBUFFER); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/expatcpp.C:13: /usr/include/physfs.h:1333:27: note: declared here 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/game.o src/game.C In file included from src/combat.h:14, from src/game.h:12, from src/game.C:9: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ src/game.C: In member function 'BTShop* BTCore::getShop(int)': src/game.C:133:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 133 | for (int i = 0; i < shops.size(); ++i) | ~~^~~~~~~~~~~~~~ src/game.C: In member function 'void BTGame::loadStart()': src/game.C:362:14: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 362 | PHYSFS_read(start, levelName, 1, 14); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/file.h:14, from src/game.h:10: /usr/include/physfs.h:1333:27: note: declared here 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ src/game.C: In member function 'bool BTGame::findTrap(BTDisplay&)': src/game.C:394:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 394 | for (int i = 0; i < skillList.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~ src/game.C:398:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 398 | for (int k = 0; k < party.size(); ++k) | ~~^~~~~~~~~~~~~~ src/game.C: In member function 'void BTGame::run(BTDisplay&)': src/game.C:674:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 674 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/game.C:762:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 762 | if (n < party.size()) | ~~^~~~~~~~~~~~~~ src/game.C: In member function 'void BTGame::nextTurn(BTDisplay&, BTCombat*)': src/game.C:1133:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1133 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/game.C: In member function 'void BTGame::readSaveXML(const char*)': src/game.C:1223:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1223 | for (int i = 0; i < getRoster().size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ src/game.C:1227:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1227 | for (int i = 0; i < curParty.member.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ src/game.C:1230:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1230 | for (int k = 0; k < roster.size(); ++k) | ~~^~~~~~~~~~~~~~~ src/game.C:1239:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1239 | if ((!found) && (extraPos < extra.size())) | ~~~~~~~~~^~~~~~~~~~~~~~ src/game.C: In member function 'void BTGame::writeSaveXML(const char*)': src/game.C:1253:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1253 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/game.C:1257:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1257 | for (int k = 0; k < roster.size(); ++k) | ~~^~~~~~~~~~~~~~~ In file included from src/duration.h:12, from src/game.h:14: src/factory.h: In instantiation of 'void BTFactory::load(const char*) [with item = BTSpell; item1 = BTSpell1]': src/game.C:31:16: required from here src/factory.h:124:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 124 | if ((len > extension.length()) && (strcmp(extension.c_str(), filename + (len - extension.length())) == 0)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ src/factory.h:135:24: warning: catching polymorphic type 'class FileException' by value [-Wcatch-value=] 135 | catch (FileException e) | ^ src/factory.h: In instantiation of 'void BTFactory::load(const char*) [with item = BTItem; item1 = BTItem]': src/game.C:32:15: required from here src/factory.h:124:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 124 | if ((len > extension.length()) && (strcmp(extension.c_str(), filename + (len - extension.length())) == 0)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ src/factory.h:135:24: warning: catching polymorphic type 'class FileException' by value [-Wcatch-value=] 135 | catch (FileException e) | ^ src/factory.h: In instantiation of 'void BTFactory::load(const char*) [with item = BTMonster; item1 = BTMonster]': src/game.C:33:18: required from here src/factory.h:124:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 124 | if ((len > extension.length()) && (strcmp(extension.c_str(), filename + (len - extension.length())) == 0)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ src/factory.h:135:24: warning: catching polymorphic type 'class FileException' by value [-Wcatch-value=] 135 | catch (FileException e) | ^ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/race.o src/race.C src/race.C: In member function 'virtual std::string BTRaceList::getName(int)': src/race.C:33:14: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 33 | if ((size() > index) && (index >= 0)) | ~~~~~~~^~~~~~~ src/race.C: In member function 'virtual int BTRaceList::getIndex(std::string)': src/race.C:41:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 41 | for (int i = 0; i < size(); ++i) | ~~^~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/xmlserializer.o src/xmlserializer.C src/xmlserializer.C: In member function 'void XMLSerializer::write(const char*, bool)': src/xmlserializer.C:672:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 672 | for (; i < ary->size(); ++i) | ~~^~~~~~~~~~~~~ src/xmlserializer.C:679:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 679 | if (i + 1 == ary->size()) | ~~~~~~^~~~~~~~~~~~~~ src/xmlserializer.C:781:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 781 | for (int i = 0; i < v->size(); ++i) | ~~^~~~~~~~~~~ src/xmlserializer.C:791:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 791 | for (int i = 0; i < v->size(); ++i) | ~~^~~~~~~~~~~ src/xmlserializer.C:801:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 801 | for (int i = 0; i < v->size(); ++i) | ~~^~~~~~~~~~~ src/xmlserializer.C: In member function 'void XMLSerializer::write(PHYSFS_File*, FILE*, const char*, size_t)': src/xmlserializer.C:875:15: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 875 | PHYSFS_write(physFile, content, 1, len); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/xmlserializer.h:17, from src/xmlserializer.C:8: /usr/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/sdlextend.o src/sdlextend.c cc1: warning: command-line option '-std=gnu++11' is valid for C++/ObjC++ but not for C g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/pc.o src/pc.C In file included from src/combatant.h:13, from src/pc.h:11, from src/pc.C:8: src/spelleffect.h:66:15: warning: 'virtual int BTBaseEffect::apply(BTDisplay&, BTCombat*, int, int)' was hidden [-Woverloaded-virtual=] 66 | virtual int apply(BTDisplay &d, BTCombat *combat, int g = BTTARGET_NONE, int trgt = BTTARGET_INDIVIDUAL); | ^~~~~ src/spelleffect.h:204:7: note: by 'int BTDispellIllusionEffect::apply(BTDisplay&, BTCombatant*)' 204 | int apply(BTDisplay &d, BTCombatant *target); | ^~~~~ In file included from src/combat.h:14, from src/game.h:12, from src/pc.C:9: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ src/pc.h: In constructor 'BTPc::BTPc()': src/pc.h:133:16: warning: 'BTPc::gold' will be initialized after [-Wreorder] 133 | unsigned int gold; | ^~~~ src/pc.h:132:16: warning: 'unsigned int BTPc::xp' [-Wreorder] 132 | unsigned int xp; | ^~ src/pc.C:38:1: warning: when initialized here [-Wreorder] 38 | BTPc::BTPc() | ^~~~ src/pc.h: In constructor 'BTPc::BTPc(int, int, BTCombatant*)': src/pc.h:133:16: warning: 'BTPc::gold' will be initialized after [-Wreorder] 133 | unsigned int gold; | ^~~~ src/pc.h:132:16: warning: 'unsigned int BTPc::xp' [-Wreorder] 132 | unsigned int xp; | ^~ src/pc.C:49:1: warning: when initialized here [-Wreorder] 49 | BTPc::BTPc(int monsterType, int j, BTCombatant *c /*= NULL*/) | ^~~~ src/pc.C: In member function 'void BTPc::activateItems(BTDisplay&)': src/pc.C:102:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 102 | for (numItems = 0; numItems < BT_ITEMS; ++numItems) src/pc.C: In member function 'bool BTPc::advanceLevel()': src/pc.C:150:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 150 | for (int i = 0; i < jobList[job]->skill.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pc.C:154:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 154 | for (int k = 0; k < skill.size(); ++k) | ~~^~~~~~~~~~~~~~ src/pc.C:178:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 178 | for (int k = 0; k < skill.size(); ++k) | ~~^~~~~~~~~~~~~~ src/pc.C:180:35: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 180 | if (skill[k]->history.size() >= level - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/pc.C: In member function 'std::string BTPc::attack(BTCombatant*, int, int&, int&)': src/pc.C:233:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 233 | for (int i = 0; i < skill.size(); ++i) | ~~^~~~~~~~~~~~~~ src/pc.C:253:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 253 | for (int i = 0; i < BT_ITEMS; ++i) src/pc.C:275:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 275 | for (int i = 0; i < BT_ITEMS; ++i) src/pc.C: In member function 'void BTPc::changeJob(int)': src/pc.C:335:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 335 | for (int i = 0; i < skill.size(); ++i) | ~~^~~~~~~~~~~~~~ src/pc.C:340:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 340 | for (int k = 0; k < jobList[newJob]->skill.size(); ++k) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pc.C:343:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 343 | for (int i = 0; i < skill.size(); ++i) | ~~^~~~~~~~~~~~~~ src/pc.C: In member function 'void BTPc::deactivateItems(BTDisplay&)': src/pc.C:391:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 391 | for (numItems = 0; numItems < BT_ITEMS; ++numItems) src/pc.C:387:6: warning: unused variable 'pc' [-Wunused-variable] 387 | int pc = party.find(this); | ^~ src/pc.C:388:21: warning: unused variable 'itemList' [-Wunused-variable] 388 | BTFactory &itemList = game->getItemList(); | ^~~~~~~~ src/pc.C:389:32: warning: unused variable 'spellList' [-Wunused-variable] 389 | BTFactory &spellList = game->getSpellList(); | ^~~~~~~~~ src/pc.C: In member function 'bool BTPc::drainItem(BTDisplay&, int)': src/pc.C:413:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 413 | for (numItems = 0; numItems < BT_ITEMS; ++numItems) src/pc.C: In member function 'virtual bool BTPc::drainLevel()': src/pc.C:442:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 442 | for (int k = 0; k < skill.size(); ++k) | ~~^~~~~~~~~~~~~~ src/pc.C:444:33: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 444 | if (skill[k]->history.size() >= level) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ src/pc.C: In member function 'bool BTPc::equip(BTDisplay&, int)': src/pc.C:468:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 468 | for (int i = 0; i < BT_ITEMS; ++i) src/pc.C: In member function 'int BTPc::getHandWeapon() const': src/pc.C:585:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 585 | for (int i = 0; i < BT_ITEMS; ++i) src/pc.C: In member function 'int BTPc::getSkill(int) const': src/pc.C:602:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 602 | for (int i = 0; i < skill.size(); ++i) | ~~^~~~~~~~~~~~~~ src/pc.C: In member function 'bool BTPc::giveItem(int, bool, int)': src/pc.C:626:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 626 | for (int i = 0; i < BT_ITEMS; ++i) src/pc.C: In member function 'void BTPc::giveSkillUse(int, int)': src/pc.C:674:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 674 | for (int i = 0; i < skill.size(); ++i) | ~~^~~~~~~~~~~~~~ src/pc.C: In member function 'bool BTPc::hasItem(int) const': src/pc.C:699:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 699 | for (int i = 0; i < BT_ITEMS; ++i) src/pc.C: In member function 'bool BTPc::hasSkillUse(int)': src/pc.C:736:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 736 | for (int i = 0; i < skill.size(); ++i) | ~~^~~~~~~~~~~~~~ src/pc.C: In member function 'void BTPc::removeTag(const std::string&)': src/pc.C:753:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 753 | for (int i = 0; i < tag.size(); ++i) | ~~^~~~~~~~~~~~ src/pc.C: In member function 'virtual void BTPc::serialize(ObjectSerializer*)': src/pc.C:841:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 841 | for (i = 0; i < BT_ITEMS; ++i) src/pc.C: In member function 'void BTPc::setTag(const std::string&)': src/pc.C:861:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 861 | for (int i = 0; i < tag.size(); ++i) | ~~^~~~~~~~~~~~ src/pc.C: In member function 'void BTPc::setSkill(int, int, int)': src/pc.C:871:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 871 | for (int i = 0; i < skill.size(); ++i) | ~~^~~~~~~~~~~~~~ src/pc.C: In member function 'void BTPc::setSkillUnlimited(int, bool)': src/pc.C:889:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 889 | for (int i = 0; i < skill.size(); ++i) | ~~^~~~~~~~~~~~~~ src/pc.C: In member function 'bool BTPc::takeItem(BTDisplay&, int)': src/pc.C:916:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 916 | for (int i = 0; i < BT_ITEMS; ++i) src/pc.C: In member function 'bool BTPc::takeItemFromIndex(BTDisplay&, int)': src/pc.C:932:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (int i = index + 1; i < BT_ITEMS; ++i) src/pc.C: In member function 'void BTPc::takeItemCharge(BTDisplay&, int, int)': src/pc.C:957:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 957 | for (int i = index + 1; i < BT_ITEMS; ++i) src/pc.C: In member function 'virtual void BTPc::useAutoCombatSkill(bool, BitField&)': src/pc.C:1006:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1006 | for (int i = 0; i < skillList.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~ src/pc.C: In member function 'bool BTPc::useSkill(int, int)': src/pc.C:1025:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1025 | for (int i = 0; i < skill.size(); ++i) | ~~^~~~~~~~~~~~~~ src/pc.C: In member function 'void BTPc::updateSkills()': src/pc.C:1057:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1057 | for (int i = 0; i < jobList[job]->skill.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pc.C:1067:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1067 | for (int sk = 0; sk < skill.size(); ++sk) | ~~~^~~~~~~~~~~~~~ src/pc.C: In static member function 'static void BTPc::readXML(const char*, XMLVector&, XMLVector&, XMLVector&)': src/pc.C:1117:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1117 | for (int i = 0; i < pc.size(); ++i) | ~~^~~~~~~~~~~ src/pc.C: In member function 'bool BTParty::checkDead(BTDisplay&)': src/pc.C:1212:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1212 | if (size() == restStoned - 1) | ~~~~~~~^~~~~~~~~~~~~~~~~ src/pc.C: In member function 'int BTParty::find(BTPc*)': src/pc.C:1229:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1229 | for (int who = 0; who < size(); ++who) | ~~~~^~~~~~~~ src/pc.C: In member function 'void BTParty::giveItem(int, BTDisplay&)': src/pc.C:1242:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1242 | for (; who < size(); ++who) | ~~~~^~~~~~~~ src/pc.C:1248:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1248 | if (who < size()) | ~~~~^~~~~~~~ src/pc.C: In member function 'void BTParty::moveTo(int, int, BTDisplay&)': src/pc.C:1265:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1265 | if (where == size()) | ~~~~~~^~~~~~~~~ In file included from src/duration.h:12, from src/game.h:14: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTMonster; item1 = BTMonster; IShort = short int]': src/pc.C:55:37: required from here src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 187 | if (num >= items.size()) | ~~~~^~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTItem; item1 = BTItem; IShort = short int]': src/pc.C:110:46: required from here src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTSpell; item1 = BTSpell1; IShort = short int]': src/pc.C:119:25: required from here src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] src/pc.C: In member function 'BTPc::serialize(ObjectSerializer*)': src/pc.C:845:24: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 845 | snprintf(tmp, 10, "%d", i + 1); | ^ In file included from /usr/include/stdio.h:906, from /usr/include/c++/13/cstdio:42, from /usr/include/c++/13/ext/string_conversions.h:45, from /usr/include/c++/13/bits/basic_string.h:4072, from /usr/include/c++/13/string:54, from src/bitfield.h:10, from src/combatant.h:10: In function 'snprintf', inlined from 'BTPc::serialize(ObjectSerializer*)' at src/pc.C:845:11: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 2 and 11 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/module.o src/module.C g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/display.o src/display.C In file included from src/combat.h:14, from src/game.h:12, from src/display.C:10: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ src/display.C: In member function 'unsigned int BTTextWidget::process(BTBackgroundAndScreen*, const char*, int*, int)': src/display.C:276:24: warning: comparison of integer expressions of different signedness: 'const char' and 'unsigned int' [-Wsign-compare] 276 | if (specialKeys[i] == key) | ~~~~~~~~~~~~~~~^~~~~~ src/display.C: In member function 'int BTTextWidget::selectFlag(BTBackgroundAndScreen*, int, BTFlagNameList*)': src/display.C:457:20: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 457 | while ((f->size() <= initial) || (f->size() < 16)) | ~~~~~~~~~~^~~~~~~~~~ src/display.C:532:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 532 | if ((f->size() - 1 == selected) && (s == "")) | ~~~~~~~~~~~~~~^~~~~~~~~~~ src/display.C: In destructor 'BTDisplay::~BTDisplay()': src/display.C:865:3: warning: deleting object of polymorphic class type 'BTStatusBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 865 | delete status; | ^~~~~~~~~~~~~ src/display.C: In member function 'void BTDisplay::addChoice(const char*, const char*, BTAlignment::alignment)': src/display.C:914:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 914 | if (partial = strchr(words, '\n')) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/display.C:923:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 923 | while (partial = strchr(words, '\n')); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/display.C: In member function 'void BTDisplay::drawImage(int)': src/display.C:1102:11: warning: variable 'src' set but not used [-Wunused-but-set-variable] 1102 | SDL_Rect src, dst; | ^~~ src/display.C: In member function 'void BTDisplay::drawIcons()': src/display.C:1234:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1234 | for (int i = 0; i < config->icon.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~ src/display.C: In member function 'void BTDisplay::drawStats()': src/display.C:1248:6: warning: unused variable 'i' [-Wunused-variable] 1248 | int i; | ^ src/display.C: In member function 'SDL_Color& BTDisplay::getColor(const std::string&)': src/display.C:1261:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1261 | for (int i = 0; i < config->color.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ src/display.C: In member function 'unsigned int BTDisplay::readChar(int)': src/display.C:1401:59: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 1401 | if ((animationDelay) && ((delay == 0) || (animationDelay < delay))) | ~~~~~~~~~~~~~~~^~~~~~~ src/display.C:1472:61: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 1472 | if ((animationDelay) && ((delay == 0) || (animationDelay < delay))) | ~~~~~~~~~~~~~~~^~~~~~~ src/display.C:1485:61: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 1485 | if ((animationDelay) && ((delay == 0) || (animationDelay < delay))) | ~~~~~~~~~~~~~~~^~~~~~~ src/display.C:1490:62: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 1490 | if ((animationDelay) && ((delay == 0) || (animationDelay < delay))) | ~~~~~~~~~~~~~~~^~~~~~~ src/display.C: In member function 'Psuedo3DConfig* BTDisplay::setWallGraphics(int)': src/display.C:1664:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1664 | if (p3dConfig->size() > type) | ~~~~~~~~~~~~~~~~~~^~~~~~ src/display.C: In member function 'void BTDisplay::stopMusic(int)': src/display.C:1755:88: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1755 | if ((!music.empty()) && (music.front()->musicObj != NULL) && ((music.front()->musicId == id) || (id == BTMUSICID_ALL))) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/display.C:1771:51: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1771 | if ((!music.empty()) && (music.front()->musicId == id)) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/display.C:1786:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1786 | if ((*itr)->musicId == id) | ~~~~~~~~~~~~~~~~^~~~~ src/display.C: In member function 'void BTDisplay::toggleFullScreen()': src/display.C:1800:11: warning: variable 'src' set but not used [-Wunused-but-set-variable] 1800 | SDL_Rect src, dst; | ^~~ src/display.C: In member function 'void BTDisplay::setupScreens(BTDisplayConfig*, int, int)': src/display.C:2302:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2302 | for (int w = 0; w < c->layout.size(); ++w) | ~~^~~~~~~~~~~~~~~~~~ src/display.C:2315:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2315 | for (int i = 0; i < c->layout[w]->widgets.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/display.C: In member function 'void BTBackgroundAndScreen::drawMap(bool)': src/display.C:2627:17: warning: unused variable 'response' [-Wunused-variable] 2627 | unsigned char response = display->readChar(); | ^~~~~~~~ src/display.C:2469:11: warning: variable 'src' set but not used [-Wunused-but-set-variable] 2469 | SDL_Rect src, dst; | ^~~ src/display.C: In member function 'BTDisplay::readChar(int)': src/display.C:1411:20: warning: 'timer' may be used uninitialized [-Wmaybe-uninitialized] 1411 | SDL_RemoveTimer(timer); | ~~~~~~~~~~~~~~~^~~~~~~ src/display.C:1397:14: note: 'timer' was declared here 1397 | SDL_TimerID timer; | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/physfsrwops.o src/physfsrwops.c cc1: warning: command-line option '-std=gnu++11' is valid for C++/ObjC++ but not for C src/physfsrwops.c: In function 'physfsrwops_seek': src/physfsrwops.c:56:27: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] 56 | PHYSFS_getLastError()); | ^~~~~~~~~~~~~~~~~~~ In file included from src/physfsrwops.h:26, from src/physfsrwops.c:24: /usr/include/physfs.h:654:25: note: declared here 654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~~ src/physfsrwops.c:78:13: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] 78 | SDL_SetError("Can't find end of file: %s", PHYSFS_getLastError()); | ^~~~~~~~~~~~ /usr/include/physfs.h:654:25: note: declared here 654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~~ src/physfsrwops.c:106:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] 106 | SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); | ^~~~~~~~~~~~ /usr/include/physfs.h:654:25: note: declared here 654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~~ src/physfsrwops.c: In function 'physfsrwops_read': src/physfsrwops.c:117:5: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] 117 | PHYSFS_sint64 rc = PHYSFS_read(handle, ptr, size, maxnum); | ^~~~~~~~~~~~~ /usr/include/physfs.h:1333:27: note: declared here 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ src/physfsrwops.c:121:13: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] 121 | SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); | ^~~~~~~~~~~~ /usr/include/physfs.h:654:25: note: declared here 654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~~ src/physfsrwops.c: In function 'physfsrwops_write': src/physfsrwops.c:133:5: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] 133 | PHYSFS_sint64 rc = PHYSFS_write(handle, ptr, size, num); | ^~~~~~~~~~~~~ /usr/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ src/physfsrwops.c:135:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] 135 | SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); | ^~~~~~~~~~~~ /usr/include/physfs.h:654:25: note: declared here 654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~~ src/physfsrwops.c: In function 'physfsrwops_close': src/physfsrwops.c:148:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] 148 | SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); | ^~~~~~~~~~~~ /usr/include/physfs.h:654:25: note: declared here 654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~~ src/physfsrwops.c: In function 'create_rwops': src/physfsrwops.c:163:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] 163 | SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); | ^~~~~~~~~~~~ /usr/include/physfs.h:654:25: note: declared here 654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/compressor.o src/compressor.C src/compressor.C: In member function 'void BTCompressorReadFile::readData(int, int, IUByte*)': src/compressor.C:145:25: warning: catching polymorphic type 'class FileException' by value [-Wcatch-value=] 145 | catch (FileException e) | ^ src/compressor.C:149:23: warning: comparison of integer expressions of different signedness: 'int' and 'IULong' {aka 'unsigned int'} [-Wsign-compare] 149 | IULong amount = ((i > length) ? length : i); | ~~^~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/bitfield.o src/bitfield.C src/bitfield.C: In copy constructor 'BitField::BitField(const BitField&)': src/bitfield.C:22:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 22 | for (int i = 0; i < size; ++i) | ~~^~~~~~ src/bitfield.C: In member function 'void BitField::clear(int)': src/bitfield.C:45:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 45 | if (where < size) | ~~~~~~^~~~~~ src/bitfield.C:50:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 50 | if (index < (sizeof(size) << 3)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/bitfield.C: In member function 'int BitField::getMinSet() const': src/bitfield.C:106:21: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 106 | for (int i = 0; i < size; ++i) | ~~^~~~~~ src/bitfield.C: In member function 'bool BitField::isSet(int) const': src/bitfield.C:140:13: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 140 | if (where < size) | ~~~~~~^~~~~~ src/bitfield.C:145:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 145 | if (index < (sizeof(size) << 3)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/bitfield.C: In member function 'void BitField::move(int, int)': src/bitfield.C:159:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 159 | else if ((index < (sizeof(size) << 3)) && (where < (sizeof(size) << 3))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/bitfield.C:159:52: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 159 | else if ((index < (sizeof(size) << 3)) && (where < (sizeof(size) << 3))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/bitfield.C:195:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | if ((pos1 >= size) && (pos2 >= size)) | ~~~~~^~~~~~~ src/bitfield.C:195:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 195 | if ((pos1 >= size) && (pos2 >= size)) | ~~~~~^~~~~~~ src/bitfield.C:197:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 197 | else if (pos1 >= size) | ~~~~~^~~~~~~ src/bitfield.C:199:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 199 | else if (pos2 >= size) | ~~~~~^~~~~~~ src/bitfield.C: In member function 'std::string BitField::print(ValueLookup*, bool) const': src/bitfield.C:265:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 265 | for (int i = 0; i < lookup->size(); ++i) | ~~^~~~~~~~~~~~~~~~ src/bitfield.C: In member function 'void BitField::remove(int)': src/bitfield.C:291:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 291 | if (where < size) | ~~~~~~^~~~~~ src/bitfield.C:296:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 296 | for (++where; where < size; ++where) | ~~~~~~^~~~~~ src/bitfield.C:306:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 306 | if (index < (sizeof(size) << 3)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/bitfield.C: In member function 'void BitField::set(int)': src/bitfield.C:319:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 319 | if (index < (sizeof(size) << 3)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/bitfield.C:327:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 327 | if (where >= size) | ~~~~~~^~~~~~~ src/bitfield.C: In member function 'void BitField::expand(int)': src/bitfield.C:354:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 354 | for (i = 0; i < size; ++i) | ~~^~~~~~ src/bitfield.C: In member function 'BitField BitField::operator&(const BitField&) const': src/bitfield.C:378:19: warning: comparison of integer expressions of different signedness: 'const unsigned int' and 'int' [-Wsign-compare] 378 | if (other.size < i) | ~~~~~~~~~~~^~~ src/bitfield.C: In member function 'BitField& BitField::operator|=(const BitField&)': src/bitfield.C:406:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 406 | for (int i = 0; i < size; ++i) | ~~^~~~~~ src/bitfield.C:415:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 415 | for (int i = 0; i < size; ++i) | ~~^~~~~~ src/bitfield.C: In member function 'BitField& BitField::operator=(const BitField&)': src/bitfield.C:445:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 445 | for (int i = 0; i < size; ++i) | ~~^~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/serialrect.o src/serialrect.C g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/status.o src/status.C In file included from src/status.h:10, from src/status.C:8: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ In file included from src/game.h:12, from src/status.C:9: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/displayconfig.o src/displayconfig.C src/displayconfig.C: In member function 'BTDisplayExpanded* BTDisplayConfig::findExpanded(int, int)': src/displayconfig.C:154:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 154 | for (int i = 0; i < expanded.size(); ++i) | ~~^~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/skill.o src/skill.C In file included from src/combatant.h:13, from src/combat.h:11, from src/game.h:12, from src/skill.C:9: src/spelleffect.h:66:15: warning: 'virtual int BTBaseEffect::apply(BTDisplay&, BTCombat*, int, int)' was hidden [-Woverloaded-virtual=] 66 | virtual int apply(BTDisplay &d, BTCombat *combat, int g = BTTARGET_NONE, int trgt = BTTARGET_INDIVIDUAL); | ^~~~~ src/spelleffect.h:204:7: note: by 'int BTDispellIllusionEffect::apply(BTDisplay&, BTCombatant*)' 204 | int apply(BTDisplay &d, BTCombatant *target); | ^~~~~ In file included from src/combat.h:14: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ src/skill.C: In member function 'BTDice* BTSkill::getRoll(int)': src/skill.C:38:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 38 | else if (roll.size() > value) | ~~~~~~~~~~~~^~~~~~~ src/skill.C: In member function 'virtual std::string BTSkillList::getName(int)': src/skill.C:68:14: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 68 | if ((size() > index) && (index >= 0)) | ~~~~~~~^~~~~~~ src/skill.C: In member function 'virtual int BTSkillList::getIndex(std::string)': src/skill.C:76:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 76 | for (int i = 0; i < size(); ++i) | ~~^~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/statusbar.o src/statusbar.C In file included from src/combat.h:14, from src/game.h:12, from src/statusbar.C:9: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ src/statusbar.C: In member function 'void BTStatusBar::draw(BTBackgroundAndScreen*)': src/statusbar.C:21:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 21 | for (i = 0; i < BT_PARTYSIZE; ++i) src/statusbar.C:30:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 30 | for (i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/statusbar.C:34:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 34 | for (int k = 0; k < statusInfo.size(); ++k) | ~~^~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/statusinfo.o src/statusinfo.C src/statusinfo.C: In member function 'void BTCondition::draw(BTBackgroundAndScreen&, int, int, ObjectSerializer*)': src/statusinfo.C:163:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 163 | for (int i = 0; i < info.size(); ++i) | ~~^~~~~~~~~~~~~ src/statusinfo.C: In member function 'virtual void BTConditional::draw(BTBackgroundAndScreen&, int, int, ObjectSerializer*)': src/statusinfo.C:196:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 196 | for (int i = 0; i < condition.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/valuelookup.o src/valuelookup.C src/valuelookup.C: In member function 'virtual std::string ArrayLookup::getName(int)': src/valuelookup.C:28:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 28 | if ((index >= 0) && (index < sz)) | ~~~~~~^~~~ src/valuelookup.C: In member function 'virtual int ArrayLookup::getIndex(std::string)': src/valuelookup.C:36:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 36 | for (int i = 0; i < sz; ++i) | ~~^~~~ src/valuelookup.C: In member function 'virtual std::string PairLookup::getName(int)': src/valuelookup.C:52:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 52 | if ((arrayIndex >= 0) && (arrayIndex < sz)) | ~~~~~~~~~~~^~~~ src/valuelookup.C: In member function 'virtual int PairLookup::getIndex(std::string)': src/valuelookup.C:60:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 60 | for (int i = 0; i < sz; ++i) | ~~^~~~ src/valuelookup.C: In member function 'virtual int PairLookup::getNextIndex(int)': src/valuelookup.C:86:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 86 | if ((arrayIndex >= 0) && (arrayIndex + 1 < sz)) | ~~~~~~~~~~~~~~~^~~~ src/valuelookup.C: In member function 'int PairLookup::getArrayFromIndex(int)': src/valuelookup.C:94:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 94 | for (int i = 0; i < sz; ++i) | ~~^~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/combat.o src/combat.C In file included from src/combatant.h:13, from src/combat.h:11, from src/combat.C:9: src/spelleffect.h:66:15: warning: 'virtual int BTBaseEffect::apply(BTDisplay&, BTCombat*, int, int)' was hidden [-Woverloaded-virtual=] 66 | virtual int apply(BTDisplay &d, BTCombat *combat, int g = BTTARGET_NONE, int trgt = BTTARGET_INDIVIDUAL); | ^~~~~ src/spelleffect.h:204:7: note: by 'int BTDispellIllusionEffect::apply(BTDisplay&, BTCombatant*)' 204 | int apply(BTDisplay &d, BTCombatant *target); | ^~~~~ In file included from src/combat.h:14: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18, from src/combat.C:10: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ src/combat.C: In member function 'void BTCombat::addEncounter(int, int)': src/combat.C:220:24: warning: unused variable 'monList' [-Wunused-variable] 220 | BTFactory &monList = BTGame::getGame()->getMonsterList(); | ^~~~~~~ src/combat.C: In member function 'bool BTCombat::findNextInitiative(int&, int&)': src/combat.C:252:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 252 | for (int i = 0; i < party.size(); i++) | ~~^~~~~~~~~~~~~~ src/combat.C: In member function 'virtual int BTCombat::findScreen(int)': src/combat.C:283:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 283 | for (i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/combat.C:305:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 305 | for (i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/combat.C:332:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 332 | for (++i; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/combat.C: In member function 'bool BTCombat::findTargetPC(int, int&, int)': src/combat.C:409:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 409 | for (target = 0; (target < party.size()) && (target < range); ++target) | ~~~~~~~^~~~~~~~~~~~~~ src/combat.C:419:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 419 | for (target = 0; target < party.size(); ++target) | ~~~~~~~^~~~~~~~~~~~~~ src/combat.C: In member function 'virtual void BTCombat::initScreen(BTDisplay&)': src/combat.C:495:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 495 | add("inRange", new bool(range >= itr->distance), attrib, true); | ~~~~~~^~~~~~~~~~~~~~~~ src/combat.C:505:50: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector::size_type' {aka 'long unsigned int'} [-Wformat=] 505 | sprintf(monsterNames + strlen(monsterNames), "%d %s (%d0')", itr->individual.size(), itr->getName().c_str(), itr->distance); | ~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int std::vector::size_type {aka long unsigned int} | %ld src/combat.C: In member function 'void BTCombat::run(BTDisplay&, bool)': src/combat.C:553:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 553 | for (int i = 0; i < errors.size(); ++i) | ~~^~~~~~~~~~~~~~~ src/combat.C: In member function 'void BTCombat::runCombat(BTDisplay&)': src/combat.C:587:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 587 | for (i = 0; i < itr->individual.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ src/combat.C:591:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 591 | for (i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/combat.C: In member function 'void BTCombat::runPcAction(BTDisplay&, int&, int, BTPc&)': src/combat.C:839:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 839 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/combat.C:841:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 841 | for (int s = 0; s < skillList.size(); ++s) | ~~^~~~~~~~~~~~~~~~~~ src/combat.C:874:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 874 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/combat.C:895:8: warning: variable 'target' set but not used [-Wunused-but-set-variable] 895 | int target; | ^~~~~~ src/combat.C:928:28: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 928 | for (target = 0; target < party.size(); ++target) | ~~~~~~~^~~~~~~~~~~~~~ src/combat.C:972:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 972 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/combat.C:1041:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1041 | for (int i = 0; i < skillList.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~ src/combat.C:1046:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1046 | for (int k = 0; k < BT_ITEMS; ++k) src/combat.C: In member function 'bool BTCombat::endRound(BTDisplay&)': src/combat.C:1207:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1207 | if (size != effect.size()) | ~~~~~^~~~~~~~~~~~~~~~ src/combat.C:1238:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1238 | if (size != effect.size()) | ~~~~~^~~~~~~~~~~~~~~~ src/combat.C:1177:8: warning: unused variable 'hasIndvidualSpell' [-Wunused-variable] 1177 | bool hasIndvidualSpell = true; | ^~~~~~~~~~~~~~~~~ src/combat.C:1265:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1265 | for (i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/combat.C:1272:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1272 | for (i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/combat.C:1165:32: warning: unused variable 'spellList' [-Wunused-variable] 1165 | BTFactory &spellList = game->getSpellList(); | ^~~~~~~~~ src/combat.C: In static member function 'static int BTCombat::advance(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/combat.C:1289:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1289 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/combat.C: In static member function 'static int BTCombat::cast(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/combat.C:1329:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1329 | for (int i = 0; i < spellList.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~ src/combat.C:1368:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1368 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/combat.C: In static member function 'static int BTCombat::hide(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/combat.C:1405:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1405 | for (int i = 0; i < skillList.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~ src/combat.C:1403:11: warning: unused variable 'party' [-Wunused-variable] 1403 | BTParty &party = game->getParty(); | ^~~~~ src/combat.C: In static member function 'static int BTCombat::runAway(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/combat.C:1427:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1427 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/combat.C: In static member function 'static int BTCombat::sing(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/combat.C:1440:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1440 | for (int i = 0; i < skillList.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~ src/combat.C:1445:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1445 | for (int k = 0; k < BT_ITEMS; ++k) src/combat.C:1437:32: warning: unused variable 'spellList' [-Wunused-variable] 1437 | BTFactory &spellList = game->getSpellList(); | ^~~~~~~~~ src/combat.C:1438:12: warning: unused variable 'c' [-Wunused-variable] 1438 | BTCombat &c = static_cast(b); | ^ src/combat.C: In static member function 'static int BTCombat::target(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/combat.C:1468:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1468 | if ((key >= '1') && (key <= '9') && (key - '1' < party.size())) | ~~~~~~~~~~^~~~~~~~~~~~~~ src/combat.C:1476:54: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::list::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1476 | else if ((key >= 'a') && (key <= 'd') && (key - 'a' < c.monsters.size())) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/combat.C: In static member function 'static int BTCombat::useItem(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/combat.C:1502:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1502 | for (int i = 0; i < BT_ITEMS; ++i) src/combat.C:1556:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1556 | for (int who = 0; who < party.size(); ++who) | ~~~~^~~~~~~~~~~~~~ In file included from src/duration.h:12, from src/game.h:14: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTMonster; item1 = BTMonster; IShort = short int]': src/combat.C:37:35: required from here src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 187 | if (num >= items.size()) | ~~~~^~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTSpell; item1 = BTSpell1; IShort = short int]': src/combat.C:653:116: required from here src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTItem; item1 = BTItem; IShort = short int]': src/combat.C:1048:79: required from here src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] src/combat.C: In member function 'BTCombat::initScreen(BTDisplay&)': src/combat.C:484:24: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 484 | snprintf(tmp, 10, "%d", i); | ^ In file included from /usr/include/stdio.h:906, from /usr/include/c++/13/cstdio:42, from /usr/include/c++/13/ext/string_conversions.h:45, from /usr/include/c++/13/bits/basic_string.h:4072, from /usr/include/c++/13/string:54, from /usr/include/c++/13/stdexcept:39, from src/file.h:15, from src/combat.h:10: In function 'snprintf', inlined from 'BTCombat::initScreen(BTDisplay&)' at src/combat.C:484:11: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 2 and 11 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/combat.C: In member function 'BTCombat::runPcAction(BTDisplay&, int&, int, BTPc&)': src/combat.C:915:23: warning: 'group' may be used uninitialized [-Wmaybe-uninitialized] 915 | pc.combat.setTarget(group); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ src/combat.C:894:8: note: 'group' was declared here 894 | int group; | ^~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/xpchart.o src/xpchart.C src/xpchart.C: In member function 'unsigned int BTXpChart::getXpNeeded(int)': src/xpchart.C:12:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 12 | if (level <= xp.size()) | ~~~~~~^~~~~~~~~~~~ src/xpchart.C: In member function 'virtual std::string BTXpChartList::getName(int)': src/xpchart.C:34:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 34 | if (size() > index) | ~~~~~~~^~~~~~~ src/xpchart.C: In member function 'virtual int BTXpChartList::getIndex(std::string)': src/xpchart.C:42:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 42 | for (int i = 0; i < size(); ++i) | ~~^~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/screenset.o src/screenset.C In file included from src/screenset.C:9: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ In file included from src/game.h:12, from src/screenset.C:10: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ src/screenset.C: In member function 'virtual std::string BTElement::eval(ObjectSerializer*) const': src/screenset.C:112:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 112 | for (int i = 0; i < ary->size(); ++i) | ~~^~~~~~~~~~~~~ src/screenset.C: In member function 'virtual int BTSelectRoster::buildList(ObjectSerializer*)': src/screenset.C:545:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 545 | for (i = 0; i < group.size(); ++i) | ~~^~~~~~~~~~~~~~ src/screenset.C:550:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 550 | for (i = 0; i < roster.size(); ++i) | ~~^~~~~~~~~~~~~~~ src/screenset.C: In member function 'virtual int BTSelectRace::buildList(ObjectSerializer*)': src/screenset.C:591:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 591 | for (int i = 0; i < race.size(); ++i) | ~~^~~~~~~~~~~~~ src/screenset.C: In member function 'virtual int BTSelectJob::buildList(ObjectSerializer*)': src/screenset.C:630:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 630 | for (int i = 0; i < job.size(); ++i) | ~~^~~~~~~~~~~~ src/screenset.C: In member function 'virtual int BTSelectGoods::buildList(ObjectSerializer*)': src/screenset.C:673:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 673 | for (int i = 0; i < shopObj->goods.size(); ) | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/screenset.C:675:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 675 | if (shopObj->goods[i]->id < itemList.size()) src/screenset.C: In member function 'virtual int BTSelectInventory::buildList(ObjectSerializer*)': src/screenset.C:737:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 737 | for (int i = 0; i < BT_ITEMS; ++i) src/screenset.C: In member function 'virtual void BTSelectParty::draw(BTDisplay&, ObjectSerializer*)': src/screenset.C:846:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 846 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/screenset.C: In member function 'virtual int BTSelectSkill::buildList(ObjectSerializer*)': src/screenset.C:909:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 909 | for (int sk = 0; sk < job[pc->job]->skill.size(); ++sk) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/screenset.C: In member function 'virtual void BTCan::draw(BTDisplay&, ObjectSerializer*)': src/screenset.C:1079:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1079 | for (int i = 0; (i < ary->size()) && (!found); ++i) | ~~^~~~~~~~~~~~~ src/screenset.C:1110:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1110 | for (int i = 0; i < items.size(); ++i) | ~~^~~~~~~~~~~~~~ src/screenset.C: In member function 'virtual void BTScreenSetScreen::draw(BTDisplay&, ObjectSerializer*)': src/screenset.C:1174:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1174 | for (int i = 0; i < items.size(); ++i) | ~~^~~~~~~~~~~~~~ src/screenset.C: In member function 'BTScreenItem* BTScreenSetScreen::findItem(int)': src/screenset.C:1186:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1186 | for (int i = 0; i < items.size(); ++i) | ~~^~~~~~~~~~~~~~ src/screenset.C: In member function 'void BTScreenSet::checkEffects(BTDisplay&)': src/screenset.C:1372:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1372 | for (int i = 0; i < effects.size(); ++i) | ~~^~~~~~~~~~~~~~~~ src/screenset.C: In member function 'int BTScreenSet::displayError(BTDisplay&, const BTSpecialError&)': src/screenset.C:1409:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1409 | for (int i = 0; i < errors.size(); ++i) | ~~^~~~~~~~~~~~~~~ src/screenset.C: In member function 'BTAction* BTScreenSet::findAction(const std::string&)': src/screenset.C:1431:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1431 | for (int i = 0; i < actions.size(); ++i) | ~~^~~~~~~~~~~~~~~~ src/screenset.C: In member function 'virtual int BTScreenSet::findScreen(int)': src/screenset.C:1454:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1454 | for (int i = 0; i < screen.size(); ++i) | ~~^~~~~~~~~~~~~~~ src/screenset.C: In member function 'void BTScreenSet::run(BTDisplay&, int, bool)': src/screenset.C:1556:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1556 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/screenset.C:1645:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1645 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/screenset.C: In member function 'void BTScreenSet::setEffect(int)': src/screenset.C:1660:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1660 | for (int i = 0; i < effects.size(); ++i) | ~~^~~~~~~~~~~~~~~~ src/screenset.C: In static member function 'static int BTScreenSet::addToParty(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:1713:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1713 | if (select->select < group.size()) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/screenset.C:1715:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1715 | for (int i = 0; i < group[select->select]->member.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/screenset.C:1718:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1718 | for (found = 0; found < party.size(); ++found) | ~~~~~~^~~~~~~~~~~~~~ src/screenset.C:1723:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1723 | if (found >= party.size()) | ~~~~~~^~~~~~~~~~~~~~~ src/screenset.C:1725:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1725 | for (int k = 0; k < roster.size(); ++k) | ~~^~~~~~~~~~~~~~~ src/screenset.C:1742:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1742 | for (found = 0; found < party.size(); ++found) | ~~~~~~^~~~~~~~~~~~~~ src/screenset.C:1748:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1748 | if (found >= party.size()) | ~~~~~~^~~~~~~~~~~~~~~ src/screenset.C: In static member function 'static int BTScreenSet::buySkill(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:1784:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1784 | for (int sk = 0; sk < job[b.pc[0]->job]->skill.size(); ++sk) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/screenset.C:1782:15: warning: unused variable 'skill' [-Wunused-variable] 1782 | BTSkillList &skill = BTGame::getGame()->getSkillList(); | ^~~~~ src/screenset.C: In static member function 'static int BTScreenSet::castNow(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:1818:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1818 | for (int i = 0; i < spellList.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~ src/screenset.C:1829:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1829 | for (int k = 0; k < party.size(); ++k) | ~~^~~~~~~~~~~~~~ src/screenset.C: In static member function 'static int BTScreenSet::changeJob(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:1880:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1880 | for (int i = 0; i < job.size(); i++) | ~~^~~~~~~~~~~~ src/screenset.C: In static member function 'static int BTScreenSet::dropFromParty(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:1915:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1915 | if ((key >= '1') && (key <= '9') && (key - '1' < party.size())) | ~~~~~~~~~~^~~~~~~~~~~~~~ src/screenset.C: In static member function 'static int BTScreenSet::findTraps(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:1978:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1978 | for (int i = 0; i < skillList.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~ src/screenset.C:1982:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1982 | for (int k = 0; k < party.size(); ++k) | ~~^~~~~~~~~~~~~~ src/screenset.C: In static member function 'static int BTScreenSet::give(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:1999:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1999 | if ((key >= '1') && (key <= '9') && (key - '1' < party.size()) && (party[key - '1'] != b.pc[0])) | ~~~~~~~~~~^~~~~~~~~~~~~~ src/screenset.C: In static member function 'static int BTScreenSet::moveTo(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:2040:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2040 | if ((key >= '1') && (key <= '9') && (key - '1' < party.size()) && (party[key - '1'] != b.pc[0])) | ~~~~~~~~~~^~~~~~~~~~~~~~ src/screenset.C:2042:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2042 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/screenset.C: In static member function 'static int BTScreenSet::poolGold(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:2068:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2068 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/screenset.C: In static member function 'static int BTScreenSet::requestSkill(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:2092:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2092 | for (int sk = 0; sk < job[b.pc[0]->job]->skill.size(); ++sk) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/screenset.C: In static member function 'static int BTScreenSet::requestSpecificSkill(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:2128:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2128 | if (select->select >= job[b.pc[0]->job]->skill.size()) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/screenset.C:2127:7: warning: unused variable 'bFound' [-Wunused-variable] 2127 | bool bFound(false); | ^~~~~~ src/screenset.C: In static member function 'static int BTScreenSet::requestJob(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:2147:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2147 | for (int i = 0; i < job.size(); i++) | ~~^~~~~~~~~~~~ src/screenset.C: In static member function 'static int BTScreenSet::removeFromParty(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:2164:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2164 | if ((key >= '1') && (key <= '9') && (key - '1' < party.size())) | ~~~~~~~~~~^~~~~~~~~~~~~~ src/screenset.C: In static member function 'static int BTScreenSet::removeRoster(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:2208:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2208 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/screenset.C: In static member function 'static int BTScreenSet::save(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:2236:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2236 | for (found = 0; found < roster.size(); ++found) | ~~~~~~^~~~~~~~~~~~~~~ src/screenset.C: In static member function 'static int BTScreenSet::saveParty(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:2263:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2263 | for (found = 0; found < group.size(); ++found) | ~~~~~~^~~~~~~~~~~~~~ src/screenset.C:2272:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2272 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/screenset.C: In static member function 'static int BTScreenSet::selectBard(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:2301:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2301 | for (int i = 0; i < skill.size(); ++i) | ~~^~~~~~~~~~~~~~ src/screenset.C: In static member function 'static int BTScreenSet::selectRoster(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:2356:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2356 | if (select->select < group.size()) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/screenset.C: In static member function 'static int BTScreenSet::setJob(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:2377:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2377 | for (int i = 0; i < job.size(); i++) | ~~^~~~~~~~~~~~ src/screenset.C:2392:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2392 | for (int k = 0; k < job[i]->skill.size(); ++k) | ~~^~~~~~~~~~~~~~~~~~~~~~ src/screenset.C: In static member function 'static int BTScreenSet::singNow(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:2431:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2431 | for (int i = 0; i < skill.size(); ++i) | ~~^~~~~~~~~~~~~~ src/screenset.C:2436:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2436 | for (int k = 0; k < BT_ITEMS; ++k) src/screenset.C: In static member function 'static int BTScreenSet::useNow(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:2506:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2506 | for (int i = 0; i < BT_ITEMS; ++i) src/screenset.C:2532:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2532 | for (int k = 0; k < party.size(); ++k) | ~~^~~~~~~~~~~~~~ src/screenset.C: In static member function 'static int BTScreenSet::useOn(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': src/screenset.C:2597:51: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2597 | if ((key >= '1') && (key <= '9') && (key - '1' < party.size())) | ~~~~~~~~~~^~~~~~~~~~~~~~ In file included from src/duration.h:12, from src/game.h:14: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTItem; item1 = BTItem; IShort = short int]': src/screenset.C:677:39: required from here src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 187 | if (num >= items.size()) | ~~~~^~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTSpell; item1 = BTSpell1; IShort = short int]': src/screenset.C:1820:53: required from here src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/spelleffect.o src/spelleffect.C In file included from src/spelleffect.C:8: src/spelleffect.h:66:15: warning: 'virtual int BTBaseEffect::apply(BTDisplay&, BTCombat*, int, int)' was hidden [-Woverloaded-virtual=] 66 | virtual int apply(BTDisplay &d, BTCombat *combat, int g = BTTARGET_NONE, int trgt = BTTARGET_INDIVIDUAL); | ^~~~~ src/spelleffect.h:204:7: note: by 'int BTDispellIllusionEffect::apply(BTDisplay&, BTCombatant*)' 204 | int apply(BTDisplay &d, BTCombatant *target); | ^~~~~ In file included from src/combat.h:14, from src/spelleffect.C:10: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18, from src/spelleffect.C:11: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ src/spelleffect.C: In member function 'bool BTResistedEffect::checkResists(BTCombat*, int, int)': src/spelleffect.C:209:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 209 | for (int k = 0; k < grp->individual.size(); ++k) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ src/spelleffect.C:230:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 230 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/spelleffect.C:269:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 269 | for (int i = 0; i < grp->individual.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ src/spelleffect.C: In member function 'virtual int BTAttackEffect::maintain(BTDisplay&, BTCombat*)': src/spelleffect.C:328:24: warning: unused variable 'monList' [-Wunused-variable] 328 | BTFactory &monList = game->getMonsterList(); | ^~~~~~~ src/spelleffect.C: In member function 'int BTAttackEffect::applyToGroup(BTDisplay&, BTCombatantCollection*, int)': src/spelleffect.C:392:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 392 | for (int i = 0; i < grp->size(); ++i) | ~~^~~~~~~~~~~~~ src/spelleffect.C: In member function 'virtual void BTAttackEffect::finish(BTDisplay&, BTCombat*, int, int)': src/spelleffect.C:418:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 418 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/spelleffect.C:441:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 441 | for (int k = 0; k < grp->individual.size(); ++k) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ src/spelleffect.C:455:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 455 | for (int i = 0; i < grp->individual.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ src/spelleffect.C: In member function 'virtual int BTHealEffect::maintain(BTDisplay&, BTCombat*)': src/spelleffect.C:668:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 668 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/spelleffect.C: In member function 'virtual int BTDispellIllusionEffect::maintain(BTDisplay&, BTCombat*)': src/spelleffect.C:744:24: warning: unused variable 'monList' [-Wunused-variable] 744 | BTFactory &monList = game->getMonsterList(); | ^~~~~~~ src/spelleffect.C: In member function 'int BTDispellIllusionEffect::applyToGroup(BTDisplay&, BTCombatantCollection*)': src/spelleffect.C:795:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 795 | for (int i = 0; i < grp->size(); ++i) | ~~^~~~~~~~~~~~~ src/spelleffect.C: In member function 'virtual int BTNonStackingBonusEffect::apply(BTDisplay&, BTCombat*, int, int)': src/spelleffect.C:921:1: warning: no return statement in function returning non-void [-Wreturn-type] 921 | } | ^ src/spelleffect.C: In member function 'virtual void BTArmorBonusEffect::finishBonus(BTDisplay&, BTCombat*, int, int)': src/spelleffect.C:1050:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1050 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/spelleffect.C: In member function 'virtual int BTResurrectEffect::maintain(BTDisplay&, BTCombat*)': src/spelleffect.C:1246:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1246 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/spelleffect.C:1264:1: warning: no return statement in function returning non-void [-Wreturn-type] 1264 | } | ^ src/spelleffect.C: In member function 'virtual int BTScrySightEffect::maintain(BTDisplay&, BTCombat*)': src/spelleffect.C:1755:1: warning: no return statement in function returning non-void [-Wreturn-type] 1755 | } | ^ src/spelleffect.C: In member function 'virtual void BTDamageBonusEffect::finishBonus(BTDisplay&, BTCombat*, int, int)': src/spelleffect.C:1949:33: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1949 | for (int dmgNum = 0; dmgNum < party[i]->dmgBonus.size(); dmgNum++) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/spelleffect.C:1961:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1961 | for (int dmgNum = 0; dmgNum < party[trgt]->dmgBonus.size(); dmgNum++) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/spelleffect.C:1981:33: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1981 | for (int dmgNum = 0; dmgNum < grp->individual[k].dmgBonus.size(); dmgNum++) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/spelleffect.C:1999:33: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1999 | for (int dmgNum = 0; dmgNum < grp->individual[i].dmgBonus.size(); dmgNum++) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/spelleffect.C:2011:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2011 | for (int dmgNum = 0; dmgNum < grp->individual[trgt].dmgBonus.size(); dmgNum++) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/spelleffect.C: In member function 'virtual int BTDetectEffect::maintain(BTDisplay&, BTCombat*)': src/spelleffect.C:2060:1: warning: no return statement in function returning non-void [-Wreturn-type] 2060 | } | ^ src/spelleffect.C: In member function 'virtual int BTLocationEffect::maintain(BTDisplay&, BTCombat*)': src/spelleffect.C:2107:1: warning: no return statement in function returning non-void [-Wreturn-type] 2107 | } | ^ In file included from src/duration.h:12, from src/game.h:14: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTMonster; item1 = BTMonster; IShort = short int]': src/spelleffect.C:206:45: required from here src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 187 | if (num >= items.size()) | ~~~~^~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/group.o src/group.C g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/combatant.o src/combatant.C In file included from src/combatant.h:13, from src/combatant.C:9: src/spelleffect.h:66:15: warning: 'virtual int BTBaseEffect::apply(BTDisplay&, BTCombat*, int, int)' was hidden [-Woverloaded-virtual=] 66 | virtual int apply(BTDisplay &d, BTCombat *combat, int g = BTTARGET_NONE, int trgt = BTTARGET_INDIVIDUAL); | ^~~~~ src/spelleffect.h:204:7: note: by 'int BTDispellIllusionEffect::apply(BTDisplay&, BTCombatant*)' 204 | int apply(BTDisplay &d, BTCombatant *target); | ^~~~~ In file included from src/combat.h:14, from src/game.h:12, from src/combatant.C:10: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ src/combatant.C: In member function 'std::string BTCombatant::attack(BTCombatant*, bool, const std::string&, const std::string&, const BTDice&, IShort, IShort, int&, int&, int)': src/combatant.C:52:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 52 | for (int i = 0; i < dmgBonus.size(); i++) | ~~^~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/icon.o src/icon.C In file included from src/combat.h:14, from src/game.h:12, from src/icon.C:10: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/song.o src/song.C In file included from src/combat.h:14, from src/game.h:12, from src/song.C:8: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ src/song.C: In member function 'int BTSong::play(BTDisplay&, BTPc*, BTCombat*)': src/song.C:26:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 26 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ src/song.C:40:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 40 | for (int i = 0; i < manifest.size(); ++i) | ~~^~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/chest.o src/chest.C In file included from src/combat.h:14, from src/game.h:12, from src/chest.C:8: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ In file included from src/game.h:11: src/chest.h: In constructor 'BTChest::BTChest()': src/chest.h:31:10: warning: 'BTChest::trapDamage' will be initialized after [-Wreorder] 31 | BTDice trapDamage; | ^~~~~~~~~~ src/chest.h:30:7: warning: 'int BTChest::trapExtra' [-Wreorder] 30 | int trapExtra; | ^~~~~~~~~ src/chest.C:11:1: warning: when initialized here [-Wreorder] 11 | BTChest::BTChest() | ^~~~~~~ src/chest.C: In member function 'void BTChest::open(BTDisplay&)': src/chest.C:53:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 53 | for (int i = 0; i < party.size(); ++i) | ~~^~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/manifest.o src/manifest.C In file included from src/combat.h:14, from src/game.h:12, from src/manifest.C:8: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ src/manifest.C: In member function 'virtual std::string BTBonusManifest::createString()': src/manifest.C:156:14: warning: too many arguments for format [-Wformat-extra-args] 156 | sprintf(s, "[max: %d]", level, maximum); | ^~~~~~~~~~~ src/manifest.C: In member function 'virtual std::string BTAttackManifest::createString()': src/manifest.C:254:15: warning: too many arguments for format [-Wformat-extra-args] 254 | sprintf(s, "[max: %d]", level, maximum); | ^~~~~~~~~~~ src/manifest.C: In member function 'virtual void BTAttackManifest::supportOldFormat(IShort&, BTDice&, IShort&)': src/manifest.C:313:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 313 | else if (level = 1) | ~~~~~~^~~ src/manifest.C: In member function 'virtual std::string BTHealManifest::createString()': src/manifest.C:453:14: warning: too many arguments for format [-Wformat-extra-args] 453 | sprintf(s, "[max: %d]", level, maximum); | ^~~~~~~~~~~ src/manifest.C: In member function 'virtual std::__cxx11::list BTMultiManifest::manifest(bool, BTCombat*, unsigned int, int, int, int, int, const BTEffectSource&)': src/manifest.C:526:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 526 | for (int i = 0; i < content.size(); ++i) | ~~^~~~~~~~~~~~~~~~ src/manifest.C: In member function 'virtual std::__cxx11::list BTMultiManifest::manifest(BTDisplay&, bool, BTCombat*, unsigned int, int, int, int, int, const BTEffectSource&)': src/manifest.C:554:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 554 | for (int i = 0; i < content.size(); ++i) | ~~^~~~~~~~~~~~~~~~ src/manifest.C: In member function 'virtual std::string BTRangeBonusManifest::createString()': src/manifest.C:1044:14: warning: too many arguments for format [-Wformat-extra-args] 1044 | sprintf(s, "[max: %d]", level, maximum); | ^~~~~~~~~~~ src/manifest.C: In copy constructor 'BTRandomManifestChance::BTRandomManifestChance(const BTRandomManifestChance&)': src/manifest.C:1152:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1152 | for (int i = 0; i < other.content.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ src/manifest.C: In copy constructor 'BTRandomManifest::BTRandomManifest(const BTRandomManifest&)': src/manifest.C:1167:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1167 | for (int i = 0; i < other.chance.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~ src/manifest.C: In member function 'virtual std::__cxx11::list BTRandomManifest::manifest(bool, BTCombat*, unsigned int, int, int, int, int, const BTEffectSource&)': src/manifest.C:1204:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1204 | for (int i = 0; i < chance.size(); i++) | ~~^~~~~~~~~~~~~~~ src/manifest.C:1208:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1208 | for (int k = 0; k < chance[i]->content.size(); ++k) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/manifest.C: In member function 'virtual std::__cxx11::list BTRandomManifest::manifest(BTDisplay&, bool, BTCombat*, unsigned int, int, int, int, int, const BTEffectSource&)': src/manifest.C:1228:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1228 | for (int i = 0; i < chance.size(); i++) | ~~^~~~~~~~~~~~~~~ src/manifest.C:1232:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1232 | for (int k = 0; k < chance[i]->content.size(); ++k) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/duration.h:12, from src/game.h:14: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTMonster; item1 = BTMonster; IShort = short int]': src/manifest.C:700:80: required from here src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 187 | if (num >= items.size()) | ~~~~^~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/shop.o src/shop.C g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/mainscreen.o src/mainscreen.C In file included from src/combat.h:14, from src/spell.h:14, from src/mainscreen.C:11: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/spell.h:16: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ In file included from src/mainscreen.C:12: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ src/mainscreen.C: In destructor 'BTMainScreen::~BTMainScreen()': src/mainscreen.C:32:3: warning: deleting object of polymorphic class type 'BTDisplay' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 32 | delete display; | ^~~~~~~~~~~~~~ src/mainscreen.C: In member function 'void BTMainScreen::run()': src/mainscreen.C:51:27: warning: 'int PHYSFS_isDirectory(const char*)' is deprecated [-Wdeprecated-declarations] 51 | if ((!PHYSFS_isDirectory(*i)) && (len > 4) && (strcmp(".xml", (*i) + (len - 4)) == 0)) | ~~~~~~~~~~~~~~~~~~^~~~ In file included from src/xmlserializer.h:17, from src/psuedo3dconfig.h:10, from src/psuedo3d.h:10, from src/display.h:10, from src/mainscreen.h:10, from src/mainscreen.C:8: /usr/include/physfs.h:1159:17: note: declared here 1159 | PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~ src/mainscreen.C:69:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 69 | for (int i = 0; i < module.size(); ++i) | ~~^~~~~~~~~~~~~~~ src/mainscreen.C:100:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 100 | if (moduleSize != module.size()) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/mainscreen.C:105:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 105 | for (int i = 0; i < module.size(); ++i) | ~~^~~~~~~~~~~~~~~ src/mainscreen.C:118:2: warning: deleting object of polymorphic class type 'BTDisplay' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 118 | delete display; | ^~~~~~~~~~~~~~ src/mainscreen.C: In member function 'void BTMainScreen::runModule(std::string)': src/mainscreen.C:146:3: warning: deleting object of polymorphic class type 'BTDisplay' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 146 | delete display; | ^~~~~~~~~~~~~~ src/mainscreen.C: In member function 'void BTMainScreen::editModule(std::string, std::string)': src/mainscreen.C:172:3: warning: deleting object of polymorphic class type 'BTDisplay' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 172 | delete display; | ^~~~~~~~~~~~~~ src/mainscreen.C: In member function 'void BTMainScreen::init(std::string, std::string)': src/mainscreen.C:213:41: warning: 'const char* PHYSFS_getUserDir()' is deprecated [-Wdeprecated-declarations] 213 | std::string userdir = PHYSFS_getUserDir(); | ~~~~~~~~~~~~~~~~~^~ /usr/include/physfs.h:792:25: note: declared here 792 | PHYSFS_DECL const char *PHYSFS_getUserDir(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~ src/mainscreen.C:245:24: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] 245 | PHYSFS_addToSearchPath(writedir.c_str(), 0); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/physfs.h:851:17: note: declared here 851 | PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) | ^~~~~~~~~~~~~~~~~~~~~~ src/mainscreen.C:256:25: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] 256 | PHYSFS_addToSearchPath(contentPath.c_str(), 1); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/physfs.h:851:17: note: declared here 851 | PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) | ^~~~~~~~~~~~~~~~~~~~~~ src/mainscreen.C:259:25: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] 259 | PHYSFS_addToSearchPath(basedir, 1); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/physfs.h:851:17: note: declared here 851 | PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) | ^~~~~~~~~~~~~~~~~~~~~~ src/mainscreen.C:261:25: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] 261 | PHYSFS_addToSearchPath(libDir.c_str(), 1); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/physfs.h:851:17: note: declared here 851 | PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) | ^~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/psuedo3dmap.o src/psuedo3dmap.C g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/effectgroup.o src/effectgroup.C In file included from src/effectgroup.h:10, from src/effectgroup.C:8: src/spelleffect.h:66:15: warning: 'virtual int BTBaseEffect::apply(BTDisplay&, BTCombat*, int, int)' was hidden [-Woverloaded-virtual=] 66 | virtual int apply(BTDisplay &d, BTCombat *combat, int g = BTTARGET_NONE, int trgt = BTTARGET_INDIVIDUAL); | ^~~~~ src/spelleffect.h:204:7: note: by 'int BTDispellIllusionEffect::apply(BTDisplay&, BTCombatant*)' 204 | int apply(BTDisplay &d, BTCombatant *target); | ^~~~~ In file included from src/combat.h:14, from src/game.h:12, from src/effectgroup.C:9: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ src/effectgroup.C: In member function 'virtual void BTEffectGroup::clearEffectsByEffectID(BTDisplay&, unsigned int)': src/effectgroup.C:49:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 49 | if ((*itr)->source.effectID == effectID) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ src/effectgroup.C: In member function 'virtual bool BTEffectGroup::hasEffectID(unsigned int)': src/effectgroup.C:98:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 98 | if ((*itr)->source.effectID == effectID) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ src/effectgroup.C: In member function 'virtual void BTEffectGroup::checkExpiration(BTDisplay&, BTCombat*)': src/effectgroup.C:188:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 188 | if (size != effect.size()) | ~~~~~^~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/editor.o src/editor.C In file included from src/combat.h:14, from src/game.h:12, from src/editor.h:10, from src/editor.C:9: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ src/editor.C: In member function 'void BTEditor::editMap(BTDisplay&, const char*)': src/editor.C:205:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 205 | if (currentWall < p3dConfig->mapType.size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/editor.C:264:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 264 | if (currentWall < p3dConfig->mapType.size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/editor.C:275:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 275 | if (currentWall < p3dConfig->mapType.size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/editor.C:283:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 283 | if (currentWall < p3dConfig->mapType.size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/editor.C:353:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 353 | if (currentWall < p3dConfig->mapType.size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/editor.C:403:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 403 | if (currentWall < p3dConfig->mapType.size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/editor.C:424:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 424 | if (currentWall < p3dConfig->mapType.size()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/editor.C: In member function 'void BTEditor::editSpecial(BTDisplay&, BTSpecial*)': src/editor.C:553:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 553 | for (int curIndex = 0; curIndex != p3dc->decorType.size(); curIndex++) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/editor.C: In member function 'BTSpecialOperation* BTEditor::editSpecialOperation(BTDisplay&, BTSpecialOperation*)': src/editor.C:779:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 779 | while (dollarSign = strchr(cmd, '$')) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/duration.h:12, from src/game.h:14: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTMonster; item1 = BTMonster; IShort = short int]': src/editor.C:132:24: required from here src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 187 | if (num >= items.size()) | ~~~~^~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'void BTFactory::save(const char*) [with item = BTMonster; item1 = BTMonster]': src/editor.C:135:20: required from here src/factory.h:149:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 149 | if ((len > extension.length()) && (strcmp(extension.c_str(), filename + (len - extension.length())) == 0)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTSpell; item1 = BTSpell1; IShort = short int]': src/editor.C:146:20: required from here src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 187 | if (num >= items.size()) | ~~~~^~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'void BTFactory::save(const char*) [with item = BTSpell; item1 = BTSpell1]': src/editor.C:149:18: required from here src/factory.h:149:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 149 | if ((len > extension.length()) && (strcmp(extension.c_str(), filename + (len - extension.length())) == 0)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTItem; item1 = BTItem; IShort = short int]': src/editor.C:160:18: required from here src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 187 | if (num >= items.size()) | ~~~~^~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'void BTFactory::save(const char*) [with item = BTItem; item1 = BTItem]': src/editor.C:163:17: required from here src/factory.h:149:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 149 | if ((len > extension.length()) && (strcmp(extension.c_str(), filename + (len - extension.length())) == 0)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from src/editor.C:10: src/serialeditor.h: In instantiation of 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const std::string&) [with item = BTDuration; std::string = std::__cxx11::basic_string]': src/editor.C:171:62: required from here src/serialeditor.h:35:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 35 | else if (current < itemList.size()) | ~~~~~~~~^~~~~~~~~~~~~~~~~ src/serialeditor.h:40:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 40 | if (sortedCurrent != itemList.size()) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/serialeditor.h:47:38: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 47 | else if (('c' == key) && (current != itemList.size())) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/serialeditor.h:55:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 55 | if (current == itemList.size()) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ src/serialeditor.h: In instantiation of 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const std::string&) [with item = BTMonster; std::string = std::__cxx11::basic_string]': src/serialeditor.h:66:32: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const std::string&) [with item = BTMonster; item1 = BTMonster; std::string = std::__cxx11::basic_string]' src/editor.C:129:68: required from here src/serialeditor.h:35:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 35 | else if (current < itemList.size()) | ~~~~~~~~^~~~~~~~~~~~~~~~~ src/serialeditor.h:40:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 40 | if (sortedCurrent != itemList.size()) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/serialeditor.h:47:38: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 47 | else if (('c' == key) && (current != itemList.size())) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/serialeditor.h:55:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 55 | if (current == itemList.size()) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ src/serialeditor.h: In instantiation of 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const std::string&) [with item = BTSpell; std::string = std::__cxx11::basic_string]': src/serialeditor.h:66:32: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const std::string&) [with item = BTSpell; item1 = BTSpell1; std::string = std::__cxx11::basic_string]' src/editor.C:143:72: required from here src/serialeditor.h:35:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 35 | else if (current < itemList.size()) | ~~~~~~~~^~~~~~~~~~~~~~~~~ src/serialeditor.h:40:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 40 | if (sortedCurrent != itemList.size()) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/serialeditor.h:47:38: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 47 | else if (('c' == key) && (current != itemList.size())) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/serialeditor.h:55:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 55 | if (current == itemList.size()) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ src/serialeditor.h: In instantiation of 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const std::string&) [with item = BTItem; std::string = std::__cxx11::basic_string]': src/serialeditor.h:66:32: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const std::string&) [with item = BTItem; item1 = BTItem; std::string = std::__cxx11::basic_string]' src/editor.C:157:59: required from here src/serialeditor.h:35:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 35 | else if (current < itemList.size()) | ~~~~~~~~^~~~~~~~~~~~~~~~~ src/serialeditor.h:40:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 40 | if (sortedCurrent != itemList.size()) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/serialeditor.h:47:38: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 47 | else if (('c' == key) && (current != itemList.size())) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/serialeditor.h:55:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 55 | if (current == itemList.size()) | ~~~~~~~~^~~~~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'item& BTSortedFactory::operator[](IShort) [with item = BTDuration; IShort = short int]': src/serialeditor.h:30:29: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const std::string&) [with item = BTDuration; std::string = std::__cxx11::basic_string]' src/editor.C:171:62: required from here src/factory.h:273:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 273 | if (num >= sortedItems.size()) | ~~~~^~~~~~~~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'int BTSortedFactory::getUnsortedIndex(int) [with item = BTDuration]': src/serialeditor.h:34:40: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const std::string&) [with item = BTDuration; std::string = std::__cxx11::basic_string]' src/editor.C:171:62: required from here src/factory.h:226:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 226 | if (index < sortedItems.size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'item& BTSortedFactory::operator[](IShort) [with item = BTMonster; IShort = short int]': src/serialeditor.h:30:29: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const std::string&) [with item = BTMonster; std::string = std::__cxx11::basic_string]' src/serialeditor.h:66:32: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const std::string&) [with item = BTMonster; item1 = BTMonster; std::string = std::__cxx11::basic_string]' src/editor.C:129:68: required from here src/factory.h:273:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 273 | if (num >= sortedItems.size()) | ~~~~^~~~~~~~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'int BTSortedFactory::getUnsortedIndex(int) [with item = BTMonster]': src/serialeditor.h:34:40: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const std::string&) [with item = BTMonster; std::string = std::__cxx11::basic_string]' src/serialeditor.h:66:32: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const std::string&) [with item = BTMonster; item1 = BTMonster; std::string = std::__cxx11::basic_string]' src/editor.C:129:68: required from here src/factory.h:226:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 226 | if (index < sortedItems.size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'item& BTSortedFactory::operator[](IShort) [with item = BTSpell; IShort = short int]': src/serialeditor.h:30:29: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const std::string&) [with item = BTSpell; std::string = std::__cxx11::basic_string]' src/serialeditor.h:66:32: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const std::string&) [with item = BTSpell; item1 = BTSpell1; std::string = std::__cxx11::basic_string]' src/editor.C:143:72: required from here src/factory.h:273:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 273 | if (num >= sortedItems.size()) | ~~~~^~~~~~~~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'int BTSortedFactory::getUnsortedIndex(int) [with item = BTSpell]': src/serialeditor.h:34:40: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const std::string&) [with item = BTSpell; std::string = std::__cxx11::basic_string]' src/serialeditor.h:66:32: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const std::string&) [with item = BTSpell; item1 = BTSpell1; std::string = std::__cxx11::basic_string]' src/editor.C:143:72: required from here src/factory.h:226:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 226 | if (index < sortedItems.size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'item& BTSortedFactory::operator[](IShort) [with item = BTItem; IShort = short int]': src/serialeditor.h:30:29: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const std::string&) [with item = BTItem; std::string = std::__cxx11::basic_string]' src/serialeditor.h:66:32: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const std::string&) [with item = BTItem; item1 = BTItem; std::string = std::__cxx11::basic_string]' src/editor.C:157:59: required from here src/factory.h:273:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 273 | if (num >= sortedItems.size()) | ~~~~^~~~~~~~~~~~~~~~~~~~~ src/factory.h: In instantiation of 'int BTSortedFactory::getUnsortedIndex(int) [with item = BTItem]': src/serialeditor.h:34:40: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const std::string&) [with item = BTItem; std::string = std::__cxx11::basic_string]' src/serialeditor.h:66:32: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const std::string&) [with item = BTItem; item1 = BTItem; std::string = std::__cxx11::basic_string]' src/editor.C:157:59: required from here src/factory.h:226:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 226 | if (index < sortedItems.size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/serialeditor.o src/serialeditor.C In file included from src/combat.h:14, from src/game.h:12, from src/editor.h:10, from src/serialeditor.h:10, from src/serialeditor.C:9: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ src/serialeditor.C: In member function 'void BTSerializedEditor::edit(BTDisplay&, ObjectSerializer&)': src/serialeditor.C:67:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 67 | if (where < obj->size()) | ~~~~~~^~~~~~~~~~~~~ src/serialeditor.C:86:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 86 | if (where < obj->size()) | ~~~~~~^~~~~~~~~~~~~ src/serialeditor.C:58:9: warning: unused variable 'where' [-Wunused-variable] 58 | int where = 0; | ^~~~~ src/serialeditor.C:115:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 115 | if (where >= obj->size()) | ~~~~~~^~~~~~~~~~~~~~ src/serialeditor.C:134:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 134 | if (where >= obj->size()) | ~~~~~~^~~~~~~~~~~~~~ src/serialeditor.C: In member function 'void BTSerializedEditor::editField(BTDisplay&, ObjectSerializer&, const char*, XMLAction*, int, int)': src/serialeditor.C:244:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 244 | for (int i = 0; i < lookup->size(); ++i) | ~~^~~~~~~~~~~~~~~~ src/serialeditor.C: In member function 'virtual int BTSerializedEditor::setup(ObjectSerializer&, BitField&, std::vector&)': src/serialeditor.C:458:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 458 | if (current >= entries) | ~~~~~~~~^~~~~~~~~~ src/serialeditor.C: In member function 'virtual void BTSpellEditor::delSpecialField(BTDisplay&, ObjectSerializer&, int)': src/serialeditor.C:651:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 651 | if ((val != extra.size()) && (extra[val].name == "type")) | ~~~~^~~~~~~~~~~~~~~ src/serialeditor.C: In member function 'virtual void BTSpellEditor::handleSpecialField(BTDisplay&, ObjectSerializer&, int)': src/serialeditor.C:670:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 670 | if ((val == extra.size()) || (extra[val].name == "type")) | ~~~~^~~~~~~~~~~~~~~ src/serialeditor.C:678:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 678 | if ((val != extra.size()) && (extra[val].item->type == spellTypes[i].type)) | ~~~~^~~~~~~~~~~~~~~ src/serialeditor.C:682:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 682 | if ((27 != d.process()) && ((val == extra.size()) || (lookupCurrent != extra[val].item->type))) | ~~~~^~~~~~~~~~~~~~~ src/serialeditor.C:687:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 687 | if (val == extra.size()) | ~~~~^~~~~~~~~~~~~~~ src/serialeditor.C:694:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 694 | for (int i = 0; i < manifest->size(); ++i) | ~~^~~~~~~~~~~~~~~~~~ src/serialeditor.C: In member function 'virtual int BTSpellEditor::setup(ObjectSerializer&, BitField&, std::vector&)': src/serialeditor.C:727:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 727 | if (current == items.size()) | ~~~~~~~~^~~~~~~~~~~~~~~ src/serialeditor.C:741:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 741 | if (current == items.size()) | ~~~~~~~~^~~~~~~~~~~~~~~ src/serialeditor.C:751:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 751 | if (current == items.size()) | ~~~~~~~~^~~~~~~~~~~~~~~ In file included from src/duration.h:12, from src/game.h:14: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTMonster; item1 = BTMonster; IShort = short int]': src/serialeditor.C:564:30: required from here src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 187 | if (num >= items.size()) | ~~~~^~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/specialcontext.o src/specialcontext.C In file included from src/combatant.h:13, from src/pc.h:11, from src/specialcontext.h:10, from src/specialcontext.C:8: src/spelleffect.h:66:15: warning: 'virtual int BTBaseEffect::apply(BTDisplay&, BTCombat*, int, int)' was hidden [-Woverloaded-virtual=] 66 | virtual int apply(BTDisplay &d, BTCombat *combat, int g = BTTARGET_NONE, int trgt = BTTARGET_INDIVIDUAL); | ^~~~~ src/spelleffect.h:204:7: note: by 'int BTDispellIllusionEffect::apply(BTDisplay&, BTCombatant*)' 204 | int apply(BTDisplay &d, BTCombatant *target); | ^~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/specialflag.o src/specialflag.C In file included from src/combat.h:14, from src/game.h:12, from src/specialflag.C:8: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ src/specialflag.C: In member function 'virtual std::string BTSpecialFlagList::getName(int)': src/specialflag.C:31:14: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 31 | if ((size() > index) && (index >= 0)) | ~~~~~~~^~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/imagetag.o src/imagetag.C src/imagetag.C: In static member function 'static void BTImageTag::readXML(const char*, XMLVector&)': src/imagetag.C:58:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 58 | if (tag.size() <= itr->slot) | ~~~~~~~~~~~^~~~~~~~~~~~ src/imagetag.C:60:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 60 | while (tag.size() < itr->slot) | ~~~~~~~~~~~^~~~~~~~~~~ src/imagetag.C: In member function 'BTDisplay::selectItem* BTImageTagList::search(std::string, bool, int&, int&, int&)': src/imagetag.C:91:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 91 | if (((*this)[i]->name != "") || (i == current)) | ~~^~~~~~~~~~ src/imagetag.C:93:11: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 93 | if (i == current) | ~~^~~~~~~~~~ src/imagetag.C:123:11: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 123 | if (i == current) | ~~^~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/log.o src/log.C g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/duration.o src/duration.C In file included from src/combat.h:14, from src/game.h:12, from src/duration.C:8: src/screenset.h:125:15: warning: 'virtual int BTScreenItem::getScreen(BTPc*)' was hidden [-Woverloaded-virtual=] 125 | virtual int getScreen(BTPc *pc) { return 0; } | ^~~~~~~~~ src/screenset.h:391:7: note: by 'int BTError::getScreen()' 391 | int getScreen() { return screen; } | ^~~~~~~~~ src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] 44 | BTMonsterGroup *group; | ^~~~~ src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] 41 | int save; | ^~~~ src/combat.h:32:3: warning: when initialized here [-Wreorder] 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} | ^~~~~~~~~~~~~~~~~~ In file included from src/game.h:18: src/item.h: In constructor 'BTItemType::BTItemType()': src/item.h:124:7: warning: 'BTItemType::itemSlot' will be initialized after [-Wreorder] 124 | int itemSlot; | ^~~~~~~~ src/item.h:123:7: warning: 'int BTItemType::bowDamage' [-Wreorder] 123 | int bowDamage; | ^~~~~~~~~ src/item.h:111:3: warning: when initialized here [-Wreorder] 111 | BTItemType() : mustEquip(true), showCharges(false), toHitBonus(BTTOHITBONUS_ALWAYS), itemSlot(0), bowDamage(BTBOWDAMAGE_ARROW) {} | ^~~~~~~~~~ In file included from src/song.h:12, from src/game.h:25: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] 113 | int xSpecial; | ^~~~~~~~ src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] 111 | int saveDifficulty; | ^~~~~~~~~~~~~~ src/manifest.h:97:3: warning: when initialized here [-Wreorder] 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} | ^~~~~~~~~~~~~~~~ src/duration.C: In member function 'virtual std::string BTDurationList::getName(int)': src/duration.C:70:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 70 | if (size() > index) | ~~~~~~~^~~~~~~ src/duration.C: In member function 'virtual int BTDurationList::getIndex(std::string)': src/duration.C:78:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 78 | for (int i = 0; i < size(); ++i) | ~~^~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DSDL2LIB -I/usr/include/SDL2 -DHWY_SHARED_DEFINE -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/flagname.o src/flagname.C src/flagname.C: In static member function 'static void BTFlagName::readXML(const char*, XMLVector&)': src/flagname.C:54:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 54 | if (tag.size() <= itr->slot) | ~~~~~~~~~~~^~~~~~~~~~~~ src/flagname.C:56:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 56 | while (tag.size() < itr->slot) | ~~~~~~~~~~~^~~~~~~~~~~ src/flagname.C: In member function 'BTDisplay::selectItem* BTFlagNameList::search(std::string, bool, int&, int&, int&)': src/flagname.C:97:11: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 97 | if (i == current) | ~~^~~~~~~~~~ src/flagname.C:128:11: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 128 | if (i == current) | ~~^~~~~~~~~~ g++ -o btbuilder src/file.o src/dice.o src/monster.o src/spell.o src/item.o src/map.o src/main.o src/btconst.o src/game.o src/psuedo3d.o src/psuedo3dconfig.o src/job.o src/expatcpp.o src/xmlserializer.o src/race.o src/display.o src/sdlextend.o src/pc.o src/module.o src/physfsrwops.o src/compressor.o src/bitfield.o src/status.o src/serialrect.o src/displayconfig.o src/skill.o src/statusbar.o src/statusinfo.o src/valuelookup.o src/screenset.o src/combat.o src/xpchart.o src/spelleffect.o src/combatant.o src/group.o src/icon.o src/song.o src/manifest.o src/chest.o src/mainscreen.o src/shop.o src/effectgroup.o src/psuedo3dmap.o src/editor.o src/serialeditor.o src/specialcontext.o src/specialflag.o src/imagetag.o src/duration.o src/log.o src/flagname.o -lSDL2_image -lSDL2_mixer -lSDL2_ttf -lSDL2 --std=c++11 -lexpat -lphysfs -lboost_filesystem -lboost_system -lpng -lSDL_mng src/editor.C: In member function 'editSpecialOperation.constprop': src/editor.C:1124:66: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1124 | BTDisplay::selectItem *list = new BTDisplay::selectItem[count]; | ^ /usr/include/c++/13/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In member function 'edit', inlined from 'editModule' at src/mainscreen.C:163:14: src/editor.C:85:63: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 85 | BTDisplay::selectItem *list = new BTDisplay::selectItem[count]; | ^ /usr/include/c++/13/new: In member function 'editModule': /usr/include/c++/13/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.w950ET + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd btbuilder-0.5.19 + make prefix=/builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64 install if test ! -d /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64/usr/bin; then mkdir -p /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64/usr/bin; fi if test ! -d /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64/usr/share/btbuilder; then mkdir -p /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64/usr/share/btbuilder; fi if test ! -d /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64/usr/share/appdata; then mkdir -p /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64/usr/share/appdata; fi if test ! -d /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64/usr/share/icons/hicolor; then mkdir -p /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64/usr/share/icons/hicolor; fi cp -R data image module music /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64/usr/share/btbuilder/ cp -R btbuilder.appdata.xml /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64/usr/share/appdata/ cp -R icons/* /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64/usr/share/icons/hicolor/ cp btbuilder /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64/usr/bin desktop-file-install --dir=/builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64/usr/share/applications btbuilder.desktop + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.5.19-3.fc38 --unique-debug-suffix -0.5.19-3.fc38.x86_64 --unique-debug-src-base btbuilder-0.5.19-3.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/btbuilder-0.5.19 extracting debug info from /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64/usr/bin/btbuilder original debug info size: 14812kB, size after compression: 12604kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1624 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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.LQR4B2 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd btbuilder-0.5.19 + appstream-util validate-relax --nonet /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64//usr/share/appdata/btbuilder.appdata.xml /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64//usr/share/appdata/btbuilder.appdata.xml: OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: btbuilder-0.5.19-3.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Bkpta0 + umask 022 + cd /builddir/build/BUILD + cd btbuilder-0.5.19 + DOCDIR=/builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64/usr/share/doc/btbuilder + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64/usr/share/doc/btbuilder + cp -pr README /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64/usr/share/doc/btbuilder + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(btbuilder.desktop) btbuilder = 0.5.19-3.fc38 btbuilder(x86-64) = 0.5.19-3.fc38 metainfo() metainfo(btbuilder.appdata.xml) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libSDL2-2.0.so.0()(64bit) libSDL2_image-2.0.so.0()(64bit) libSDL2_mixer-2.0.so.0()(64bit) libSDL2_ttf-2.0.so.0()(64bit) libSDL_mng.so.0()(64bit) libboost_filesystem.so.1.78.0()(64bit) libboost_system.so.1.78.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libexpat.so.1()(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) libphysfs.so.1()(64bit) libpng16.so.16()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.1)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: btbuilder-data-0.5.19-3.fc38.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.M1bJPG + umask 022 + cd /builddir/build/BUILD + cd btbuilder-0.5.19 + LICENSEDIR=/builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64/usr/share/licenses/btbuilder-data + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64/usr/share/licenses/btbuilder-data + cp -pr COPYING /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64/usr/share/licenses/btbuilder-data + RPM_EC=0 ++ jobs -p + exit 0 Provides: btbuilder-data = 0.5.19-3.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: btbuilder-debugsource-0.5.19-3.fc38.x86_64 Provides: btbuilder-debugsource = 0.5.19-3.fc38 btbuilder-debugsource(x86-64) = 0.5.19-3.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: btbuilder-debuginfo-0.5.19-3.fc38.x86_64 Provides: btbuilder-debuginfo = 0.5.19-3.fc38 btbuilder-debuginfo(x86-64) = 0.5.19-3.fc38 debuginfo(build-id) = d9368af8ab108a5cf5a286db0e09d2e39bdd3955 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: btbuilder-debugsource(x86-64) = 0.5.19-3.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64 Wrote: /builddir/build/RPMS/btbuilder-debuginfo-0.5.19-3.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/btbuilder-0.5.19-3.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/btbuilder-debugsource-0.5.19-3.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/btbuilder-data-0.5.19-3.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.n4W0fw + umask 022 + cd /builddir/build/BUILD + cd btbuilder-0.5.19 + /usr/bin/rm -rf /builddir/build/BUILDROOT/btbuilder-0.5.19-3.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.QmjVS0 + umask 022 + cd /builddir/build/BUILD + rm -rf btbuilder-0.5.19 btbuilder-0.5.19.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0