Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/btbuilder.spec'], chrootPath='/var/lib/mock/f30-build-36459-20618/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/btbuilder-0.5.16-3.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/btbuilder.spec'], chrootPath='/var/lib/mock/f30-build-36459-20618/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.k2cGup + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf btbuilder-0.5.16 + /usr/bin/gzip -dc /builddir/build/SOURCES/btbuilder-0.5.16.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd btbuilder-0.5.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.S5A925 + umask 022 + cd /builddir/build/BUILD + cd btbuilder-0.5.16 + /usr/bin/make -O -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/file.o src/file.C BUILDSTDERR: src/file.C: In member function 'void BinaryReadFile::readByte(IByte&)': BUILDSTDERR: src/file.C:65:41: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, &a, 1, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C:65:41: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, &a, 1, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryReadFile::readByteArray(int, IByte*)': BUILDSTDERR: src/file.C:74:43: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, a, 1, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C:74:43: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, a, 1, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C:75:10: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] BUILDSTDERR: if (ans != size) BUILDSTDERR: ~~~~^~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryReadFile::readShort(IShort&)': BUILDSTDERR: src/file.C:83:41: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, &a, 2, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C:83:41: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, &a, 2, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryReadFile::readShortArray(int, IShort*)': BUILDSTDERR: src/file.C:96:43: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, a, 2, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C:96:43: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, a, 2, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C:97:10: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] BUILDSTDERR: if (ans != size) BUILDSTDERR: ~~~~^~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryReadFile::readLong(ILong&)': BUILDSTDERR: src/file.C:112:41: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, &a, 4, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C:112:41: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, &a, 4, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryReadFile::readLongArray(int, ILong*)': BUILDSTDERR: src/file.C:125:43: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, a, 4, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C:125:43: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, a, 4, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C:126:10: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] BUILDSTDERR: if (ans != size) BUILDSTDERR: ~~~~^~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryReadFile::readUByte(IUByte&)': BUILDSTDERR: src/file.C:141:41: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, &a, 1, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C:141:41: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, &a, 1, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryReadFile::readUByteArray(int, IUByte*)': BUILDSTDERR: src/file.C:150:43: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, a, 1, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C:150:43: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, a, 1, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C:151:10: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] BUILDSTDERR: if (ans != size) BUILDSTDERR: ~~~~^~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryReadFile::readUShort(IUShort&)': BUILDSTDERR: src/file.C:159:41: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, &a, 2, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C:159:41: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, &a, 2, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryReadFile::readUShortArray(int, IUShort*)': BUILDSTDERR: src/file.C:172:43: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, a, 2, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C:172:43: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, a, 2, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C:173:10: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] BUILDSTDERR: if (ans != size) BUILDSTDERR: ~~~~^~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryReadFile::readULong(IULong&)': BUILDSTDERR: src/file.C:188:41: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, &a, 4, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C:188:41: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, &a, 4, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryReadFile::readULongArray(int, IULong*)': BUILDSTDERR: src/file.C:201:43: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, a, 4, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C:201:43: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: size_t ans = PHYSFS_read(file, a, 4, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/file.C:202:10: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] BUILDSTDERR: if (ans != size) BUILDSTDERR: ~~~~^~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryWriteFile::writeByte(const IByte&)': BUILDSTDERR: src/file.C:258:29: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, &a, 1, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C:258:29: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, &a, 1, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryWriteFile::writeByteArray(int, const IByte*)': BUILDSTDERR: src/file.C:263:31: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, a, 1, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C:263:31: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, a, 1, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryWriteFile::writeShort(const IShort&)': BUILDSTDERR: src/file.C:268:29: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, &a, 2, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C:268:29: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, &a, 2, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryWriteFile::writeShortArray(int, const IShort*)': BUILDSTDERR: src/file.C:273:31: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, a, 2, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C:273:31: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, a, 2, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryWriteFile::writeLong(const ILong&)': BUILDSTDERR: src/file.C:278:29: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, &a, 4, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C:278:29: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, &a, 4, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryWriteFile::writeLongArray(int, const ILong*)': BUILDSTDERR: src/file.C:283:31: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, a, 4, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C:283:31: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, a, 4, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryWriteFile::writeUByte(const IUByte&)': BUILDSTDERR: src/file.C:288:29: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, &a, 1, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C:288:29: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, &a, 1, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryWriteFile::writeUByteArray(int, const IUByte*)': BUILDSTDERR: src/file.C:293:31: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, a, 1, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C:293:31: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, a, 1, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryWriteFile::writeUShort(const IUShort&)': BUILDSTDERR: src/file.C:298:29: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, &a, 2, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C:298:29: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, &a, 2, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryWriteFile::writeUShortArray(int, const IUShort*)': BUILDSTDERR: src/file.C:303:31: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, a, 2, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C:303:31: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, a, 2, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryWriteFile::writeULong(const IULong&)': BUILDSTDERR: src/file.C:308:29: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, &a, 4, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C:308:29: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, &a, 4, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C: In member function 'void BinaryWriteFile::writeULongArray(int, const IULong*)': BUILDSTDERR: src/file.C:313:31: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, a, 4, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/file.C:313:31: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(file, a, 4, size); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/file.C:12: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/dice.o src/dice.C g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/monster.o src/monster.C BUILDSTDERR: In file included from src/monster.C:8: BUILDSTDERR: src/monster.h: In constructor 'BTMonster::BTMonster()': BUILDSTDERR: src/monster.h:125:10: warning: 'BTMonster::range' will be initialized after [-Wreorder] BUILDSTDERR: IShort range; BUILDSTDERR: ^~~~~ BUILDSTDERR: src/monster.h:114:16: warning: 'unsigned int BTMonster::xp' [-Wreorder] BUILDSTDERR: unsigned int xp; BUILDSTDERR: ^~ BUILDSTDERR: src/monster.C:82:1: warning: when initialized here [-Wreorder] BUILDSTDERR: BTMonster::BTMonster() BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: src/monster.C: In member function 'void BTMonster::useRangedOnGroup(BTDisplay&, BTCombatantCollection*, int, int&)': BUILDSTDERR: src/monster.C:303:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < grp->size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~ BUILDSTDERR: src/monster.C: In static member function 'static void BTMonster::readXML(const char*, XMLVector&)': BUILDSTDERR: src/monster.C:400:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < monster.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/spell.o src/spell.C BUILDSTDERR: src/spell.C: In member function 'bool BTSpell::hasCombatEffect() const': BUILDSTDERR: src/spell.C:103:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < manifest.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/spell.C: In member function 'int BTSpell::activate(BTDisplay&, const char*, bool, BTCombat*, int, int, int, int)': BUILDSTDERR: src/spell.C:222:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < manifest.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/spell.C: In member function 'void BTSpell::silentActivate(BTDisplay&, int, int, int)': BUILDSTDERR: src/spell.C:284:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < manifest.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/spell.C: In static member function 'static void BTSpell::readXML(const char*, XMLVector&)': BUILDSTDERR: src/spell.C:336:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < spell.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/spell.C: In member function 'virtual void BTSpell1::upgrade()': BUILDSTDERR: src/spell.C:533:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int which = 0; which < skillList.size(); ++which) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/spell.h:12, BUILDSTDERR: from src/spell.C:8: BUILDSTDERR: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTMonster; item1 = BTMonster; IShort = short int]': BUILDSTDERR: src/spell.C:196:38: required from here BUILDSTDERR: src/factory.h:177:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (num >= items.size()) g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/btconst.o src/btconst.C g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/item.o src/item.C BUILDSTDERR: In file included from src/item.C:8: BUILDSTDERR: src/item.h: In constructor 'BTItem::BTItem()': BUILDSTDERR: src/item.h:80:10: warning: 'BTItem::price' will be initialized after [-Wreorder] BUILDSTDERR: IShort price; BUILDSTDERR: ^~~~~ BUILDSTDERR: src/item.h:78:7: warning: 'int BTItem::spellCast' [-Wreorder] BUILDSTDERR: int spellCast; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: src/item.C:58:1: warning: when initialized here [-Wreorder] BUILDSTDERR: BTItem::BTItem() BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from src/item.C:8: BUILDSTDERR: src/item.h:78:7: warning: 'BTItem::spellCast' will be initialized after [-Wreorder] BUILDSTDERR: int spellCast; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: src/item.h:77:7: warning: 'int BTItem::type' [-Wreorder] BUILDSTDERR: int type; BUILDSTDERR: ^~~~ BUILDSTDERR: src/item.C:58:1: warning: when initialized here [-Wreorder] BUILDSTDERR: BTItem::BTItem() BUILDSTDERR: ^~~~~~ BUILDSTDERR: src/item.C: In member function 'virtual std::__cxx11::string BTItemSlotList::getName(int)': BUILDSTDERR: src/item.C:256:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (size() > index) BUILDSTDERR: ~~~~~~~^~~~~~~ BUILDSTDERR: src/item.C: In member function 'virtual int BTItemSlotList::getIndex(std::__cxx11::string)': BUILDSTDERR: src/item.C:264:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < size(); ++i) BUILDSTDERR: ~~^~~~~~~~ BUILDSTDERR: src/item.C: In member function 'virtual std::__cxx11::string BTItemTypeList::getName(int)': BUILDSTDERR: src/item.C:277:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (size() > index) BUILDSTDERR: ~~~~~~~^~~~~~~ BUILDSTDERR: src/item.C: In member function 'virtual int BTItemTypeList::getIndex(std::__cxx11::string)': BUILDSTDERR: src/item.C:285:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < size(); ++i) BUILDSTDERR: ~~^~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/psuedo3d.o src/psuedo3d.C BUILDSTDERR: src/psuedo3d.C: In member function 'void Psuedo3D::clear()': BUILDSTDERR: src/psuedo3d.C:51:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < config->mapType.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/psuedo3d.C:69:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < config->wallType.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/psuedo3d.C: In member function 'void Psuedo3D::draw(Psuedo3DMap*, int, int, int)': BUILDSTDERR: src/psuedo3d.C:94:6: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i; BUILDSTDERR: ^ BUILDSTDERR: src/psuedo3d.C:95:6: warning: unused variable 'type' [-Wunused-variable] BUILDSTDERR: int type; BUILDSTDERR: ^~~~ BUILDSTDERR: src/psuedo3d.C: In member function 'void Psuedo3D::setConfig(Psuedo3DConfig*)': BUILDSTDERR: src/psuedo3d.C:162:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < config->wallType.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/psuedo3d.C:176:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < config->mapType.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/main.o src/main.C BUILDSTDERR: src/main.C: In function 'int main(int, char**)': BUILDSTDERR: src/main.C:218:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (i = 0; i < monList.size(); i++) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/main.C:279:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (i = 0; i < sortedSplList.size(); i++) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/main.C:289:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (j = 0; j < jobList.size(); ++j) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/main.C:294:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: printf("Class: %s\n", ((j < jobList.size()) ? BTGame::getGame()->getJobList()[j]->name : "Unknown")); BUILDSTDERR: ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/main.C:341:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (i = 0; i < itmList.size(); i++) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/main.C:345:12: warning: format '%s' expects argument of type 'char*', but argument 2 has type '__gnu_cxx::__alloc_traits, BTItemType*>::value_type' {aka 'BTItemType*'} [-Wformat=] BUILDSTDERR: printf("Type: %s\n", game.getItemTypeList()[mon.getType()]); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from src/monster.h:16, BUILDSTDERR: from src/main.C:4: BUILDSTDERR: src/factory.h: In instantiation of 'void BTFactory::save(const char*) [with item = BTMonster; item1 = BTMonster]': BUILDSTDERR: src/main.C:214:24: required from here BUILDSTDERR: src/factory.h:139:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((len > extension.length()) && (strcmp(extension.c_str(), filename + (len - extension.length())) == 0)) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTMonster; item1 = BTMonster; IShort = short int]': BUILDSTDERR: src/main.C:220:29: required from here BUILDSTDERR: src/factory.h:177:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (num >= items.size()) BUILDSTDERR: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTSpell; item1 = BTSpell1; IShort = short int]': BUILDSTDERR: src/main.C:248:50: required from here BUILDSTDERR: src/factory.h:177:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: src/factory.h: In instantiation of 'void BTFactory::save(const char*) [with item = BTSpell; item1 = BTSpell1]': BUILDSTDERR: src/main.C:271:24: required from here BUILDSTDERR: src/factory.h:139:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((len > extension.length()) && (strcmp(extension.c_str(), filename + (len - extension.length())) == 0)) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h: In instantiation of 'item& BTSortedFactory::operator[](IShort) [with item = BTSpell; item1 = BTSpell1; IShort = short int]': BUILDSTDERR: src/main.C:281:33: required from here BUILDSTDERR: src/factory.h:257:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (num >= sortedItems.size()) BUILDSTDERR: ~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h: In instantiation of 'void BTFactory::save(const char*) [with item = BTItem; item1 = BTItem]': BUILDSTDERR: src/main.C:337:24: required from here BUILDSTDERR: src/factory.h:139:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((len > extension.length()) && (strcmp(extension.c_str(), filename + (len - extension.length())) == 0)) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTItem; item1 = BTItem; IShort = short int]': BUILDSTDERR: src/main.C:343:26: required from here BUILDSTDERR: src/factory.h:177:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (num >= items.size()) g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/psuedo3dconfig.o src/psuedo3dconfig.C BUILDSTDERR: src/psuedo3dconfig.C: In member function 'int Psuedo3DConfig::findWallType(int, int)': BUILDSTDERR: src/psuedo3dconfig.C:51:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < mapType.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/psuedo3dconfig.C:61:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < wallType.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/psuedo3dconfig.C: In member function 'int Psuedo3DConfig::findMapType(int, bool)': BUILDSTDERR: src/psuedo3dconfig.C:74:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < mapType.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/psuedo3dconfig.C: In member function 'bool Psuedo3DConfig::validate()': BUILDSTDERR: src/psuedo3dconfig.C:116:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < wallType.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/psuedo3dconfig.C:125:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < wallType.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/psuedo3dconfig.C:129:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int k = 0; k < wallType[i]->modulus.size(); ++k) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/psuedo3dconfig.C: In static member function 'static void Psuedo3DConfig::readXML(const char*, XMLVector&)': BUILDSTDERR: src/psuedo3dconfig.C:154:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < cfg.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: src/psuedo3dconfig.C: In member function 'virtual std::__cxx11::string Psuedo3DConfigList::getName(int)': BUILDSTDERR: src/psuedo3dconfig.C:167:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (size() > index) BUILDSTDERR: ~~~~~~~^~~~~~~ BUILDSTDERR: src/psuedo3dconfig.C: In member function 'virtual int Psuedo3DConfigList::getIndex(std::__cxx11::string)': BUILDSTDERR: src/psuedo3dconfig.C:175:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < size(); ++i) BUILDSTDERR: ~~^~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/expatcpp.o src/expatcpp.C BUILDSTDERR: src/expatcpp.C: In member function 'void ExpatXMLParser::parse(const char*, bool)': BUILDSTDERR: src/expatcpp.C:39:59: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_sint64 num = PHYSFS_read(f, buffer, 1, XMLBUFFER); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/expatcpp.C:13: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/expatcpp.C:39:59: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_sint64 num = PHYSFS_read(f, buffer, 1, XMLBUFFER); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/expatcpp.C:13: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/map.o src/map.C BUILDSTDERR: src/map.C: In copy constructor 'BTSpecialBody::BTSpecialBody(const BTSpecialBody&)': BUILDSTDERR: src/map.C:94:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < copy.ops.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'void BTSpecialBody::eraseOperation(BTSpecialOperation*)': BUILDSTDERR: src/map.C:102:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < ops.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'int BTSpecialBody::findLabel(const string&) const': BUILDSTDERR: src/map.C:114:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < ops.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'BTSpecialOperation* BTSpecialBody::getOperation(int)': BUILDSTDERR: src/map.C:125:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (line < ops.size()) BUILDSTDERR: ~~~~~^~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'void BTSpecialBody::insertOperation(BTSpecialOperation*, BTSpecialOperation*)': BUILDSTDERR: src/map.C:132:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < ops.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'void BTSpecialBody::replaceOperation(BTSpecialOperation*, BTSpecialOperation*)': BUILDSTDERR: src/map.C:144:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < ops.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'virtual IBool BTSpecialBody::isNothing() const': BUILDSTDERR: src/map.C:163:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: while (i < ops.size()) BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'int BTSpecialBody::numOfOperations(bool) const': BUILDSTDERR: src/map.C:186:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < ops.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'virtual void BTSpecialBody::print(FILE*, int) const': BUILDSTDERR: src/map.C:220:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: while (i < ops.size()) BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'void BTSpecialBody::runFromLine(BTDisplay&, BTSpecialContext*, int) const': BUILDSTDERR: src/map.C:234:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: while (line < ops.size()) BUILDSTDERR: ~~~~~^~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'void BTSpecialBody::upgradeToLabel(BitField&)': BUILDSTDERR: src/map.C:251:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < ops.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'virtual std::__cxx11::string BTSpecialCommand::print() const': BUILDSTDERR: src/map.C:324:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (dollarSign = strchr(start, '$')) BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'virtual void BTSpecialCommand::run(BTDisplay&, BTSpecialContext*) const': BUILDSTDERR: src/map.C:452:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:478:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (n < party.size()) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:547:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (n < party.size()) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:612:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int who = 0; who < party.size(); ++who) BUILDSTDERR: ~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:628:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int who = 0; who < party.size(); ++who) BUILDSTDERR: ~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:644:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int who = 0; who < party.size(); ++who) BUILDSTDERR: ~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:660:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int who = 0; who < party.size(); ++who) BUILDSTDERR: ~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:688:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int who = 0; who < party.size(); ++who) BUILDSTDERR: ~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:690:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int which = 0; which < skillList.size(); ++which) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:862:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:872:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:885:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:902:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:932:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:995:37: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if ((27 != key) && (party.size() > (key - '1'))) BUILDSTDERR: ~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'virtual std::__cxx11::string BTSpecialConditional::print() const': BUILDSTDERR: src/map.C:1119:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (dollarSign = strchr(start, '$')) BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'virtual void BTSpecialConditional::run(BTDisplay&, BTSpecialContext*) const': BUILDSTDERR: src/map.C:1207:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:1219:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:1252:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:1260:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:1292:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:1301:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:1318:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:1332:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:1367:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/map.C: In constructor 'BTSpecial::BTSpecial(BinaryReadFile&)': BUILDSTDERR: src/map.C:1545:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (body.ops.size() <= i - 1) BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: src/map.C: In member function 'void BTSpecial::print(FILE*) const': BUILDSTDERR: src/map.C:1583:6: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i, last; BUILDSTDERR: ^ BUILDSTDERR: src/map.C:1583:9: warning: unused variable 'last' [-Wunused-variable] BUILDSTDERR: int i, last; BUILDSTDERR: ^~~~ BUILDSTDERR: src/map.C: In member function 'void BTSpecial::write(BinaryWriteFile&)': BUILDSTDERR: src/map.C:1658:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (i = 0; i < body.ops.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:1666:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (i = 0; i < body.ops.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:1694:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (i = 0; i < body.ops.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:1649:9: warning: unused variable 'unknown' [-Wunused-variable] BUILDSTDERR: IUByte unknown; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/map.C: In member function 'void BTSpecial::upgrade()': BUILDSTDERR: src/map.C:1747:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (body.ops.size() <= i - 1) BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: src/map.C: In constructor 'BTMap::BTMap(BinaryReadFile&)': BUILDSTDERR: src/map.C:1827:23: warning: catching polymorphic type 'class FileException' by value [-Wcatch-value=] BUILDSTDERR: catch (FileException e) BUILDSTDERR: ^ BUILDSTDERR: src/map.C: In member function 'void BTMap::checkRandomEncounter(BTDisplay&) const': BUILDSTDERR: src/map.C:1879:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < monsterChance.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'int BTMap::getMonsterChance() const': BUILDSTDERR: src/map.C:1913:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < monsterChance.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'void BTMap::generateRandomEncounter(BTDisplay&, int) const': BUILDSTDERR: src/map.C:1945:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < monList.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'BTSpecial* BTMap::getSpecial(IShort)': BUILDSTDERR: src/map.C:1965:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'IShort' {aka 'short int'} [-Wsign-compare] BUILDSTDERR: return ((specials.size() > num) ? specials[num] : NULL); BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: src/map.C: In member function 'std::__cxx11::string BTMap::getStreetName(int)': BUILDSTDERR: src/map.C:1981:29: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: return ((streetName.size() > num) ? streetName[num] : std::string("")); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: src/map.C: In member function 'void BTMap::write(BinaryWriteFile&)': BUILDSTDERR: src/map.C:2135:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (i = 0; i < specials.size(); i++) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:2089:9: warning: unused variable 'unknown' [-Wunused-variable] BUILDSTDERR: IUByte unknown; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/map.C: In member function 'void BTMap::upgrade()': BUILDSTDERR: src/map.C:2145:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < specials.size(); i++) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'bool BTLevel::contains(const string&)': BUILDSTDERR: src/map.C:2155:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < filename.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'std::__cxx11::string BTLevel::deeper(const string&, int)': BUILDSTDERR: src/map.C:2166:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < filename.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:2171:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((where == -1) || (where + down >= filename.size()) || (where + down < 0)) BUILDSTDERR: ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'int BTLevel::level(const string&)': BUILDSTDERR: src/map.C:2179:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < filename.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:14, BUILDSTDERR: from src/map.C:11: BUILDSTDERR: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTItem; item1 = BTItem; IShort = short int]': BUILDSTDERR: src/map.C:334:63: required from here BUILDSTDERR: src/factory.h:177:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (num >= items.size()) BUILDSTDERR: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTMonster; item1 = BTMonster; IShort = short int]': BUILDSTDERR: src/map.C:338:66: required from here BUILDSTDERR: src/factory.h:177:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTSpell; item1 = BTSpell1; IShort = short int]': BUILDSTDERR: src/map.C:341:64: required from here BUILDSTDERR: src/factory.h:177:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: src/map.C: In member function 'int BTSpecialBody::numOfOperations(bool) const': BUILDSTDERR: src/map.C:210:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/race.o src/race.C BUILDSTDERR: src/race.C: In member function 'virtual std::__cxx11::string BTRaceList::getName(int)': BUILDSTDERR: src/race.C:33:14: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if ((size() > index) && (index >= 0)) BUILDSTDERR: ~~~~~~~^~~~~~~ BUILDSTDERR: src/race.C: In member function 'virtual int BTRaceList::getIndex(std::__cxx11::string)': BUILDSTDERR: src/race.C:41:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < size(); ++i) BUILDSTDERR: ~~^~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/xmlserializer.o src/xmlserializer.C BUILDSTDERR: src/xmlserializer.C: In member function 'void XMLSerializer::write(const char*, bool)': BUILDSTDERR: src/xmlserializer.C:663:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (; i < ary->size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~ BUILDSTDERR: src/xmlserializer.C:670:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (i + 1 == ary->size()) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/xmlserializer.C:772:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < v->size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~ BUILDSTDERR: src/xmlserializer.C:782:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < v->size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~ BUILDSTDERR: src/xmlserializer.C:792:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < v->size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~ BUILDSTDERR: src/xmlserializer.C: In member function 'void XMLSerializer::write(PHYSFS_File*, FILE*, const char*, size_t)': BUILDSTDERR: src/xmlserializer.C:866:41: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(physFile, content, 1, len); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/xmlserializer.h:17, BUILDSTDERR: from src/xmlserializer.C:8: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/xmlserializer.C:866:41: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_write(physFile, content, 1, len); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/xmlserializer.h:17, BUILDSTDERR: from src/xmlserializer.C:8: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/job.o src/job.C BUILDSTDERR: src/job.C: In member function 'virtual bool BTJobChangeRuleAtLeast::compare(BTPc*)': BUILDSTDERR: src/job.C:16:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; (i < changeRule.size()) && (match < minimum); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/job.C: In member function 'BTJobSkillPurchase* BTJobSkill::findNextPurchase(int)': BUILDSTDERR: src/job.C:73:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int pr = 0; pr < purchase.size(); ++pr) BUILDSTDERR: ~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/job.C: In member function 'BTJobSkill* BTJob::getSkill(int)': BUILDSTDERR: src/job.C:105:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < skill.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/job.C: In member function 'bool BTJob::isAllowed(BTPc*, bool)': BUILDSTDERR: src/job.C:125:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < changeRule.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/job.C: In member function 'virtual std::__cxx11::string BTJobList::getName(int)': BUILDSTDERR: src/job.C:171:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (size() > index) BUILDSTDERR: ~~~~~~~^~~~~~~ BUILDSTDERR: src/job.C: In member function 'virtual int BTJobList::getIndex(std::__cxx11::string)': BUILDSTDERR: src/job.C:179:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < size(); ++i) BUILDSTDERR: ~~^~~~~~~~ BUILDSTDERR: src/job.C: In member function 'virtual std::__cxx11::string BTJobAbbrevList::getName(int)': BUILDSTDERR: src/job.C:197:21: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (jbList->size() > index) BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: src/job.C: In member function 'virtual int BTJobAbbrevList::getIndex(std::__cxx11::string)': BUILDSTDERR: src/job.C:205:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < jbList->size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/sdlextend.o src/sdlextend.c BUILDSTDERR: cc1: warning: command line option '-std=gnu++11' is valid for C++/ObjC++ but not for C g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/module.o src/module.C gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/physfsrwops.o src/physfsrwops.c BUILDSTDERR: cc1: warning: command line option '-std=gnu++11' is valid for C++/ObjC++ but not for C BUILDSTDERR: src/physfsrwops.c: In function 'physfsrwops_seek': BUILDSTDERR: src/physfsrwops.c:56:27: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_getLastError()); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/physfsrwops.h:26, BUILDSTDERR: from src/physfsrwops.c:24: BUILDSTDERR: /usr/include/physfs.h:654:25: note: declared here BUILDSTDERR: PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/physfsrwops.c:78:13: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: SDL_SetError("Can't find end of file: %s", PHYSFS_getLastError()); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from src/physfsrwops.h:26, BUILDSTDERR: from src/physfsrwops.c:24: BUILDSTDERR: /usr/include/physfs.h:654:25: note: declared here BUILDSTDERR: PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/physfsrwops.c:106:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from src/physfsrwops.h:26, BUILDSTDERR: from src/physfsrwops.c:24: BUILDSTDERR: /usr/include/physfs.h:654:25: note: declared here BUILDSTDERR: PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/physfsrwops.c: In function 'physfsrwops_read': BUILDSTDERR: src/physfsrwops.c:117:5: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_sint64 rc = PHYSFS_read(handle, ptr, size, maxnum); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from src/physfsrwops.h:26, BUILDSTDERR: from src/physfsrwops.c:24: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/physfsrwops.c:121:13: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from src/physfsrwops.h:26, BUILDSTDERR: from src/physfsrwops.c:24: BUILDSTDERR: /usr/include/physfs.h:654:25: note: declared here BUILDSTDERR: PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/physfsrwops.c: In function 'physfsrwops_write': BUILDSTDERR: src/physfsrwops.c:133:5: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_sint64 rc = PHYSFS_write(handle, ptr, size, num); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from src/physfsrwops.h:26, BUILDSTDERR: from src/physfsrwops.c:24: BUILDSTDERR: /usr/include/physfs.h:1362:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/physfsrwops.c:135:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from src/physfsrwops.h:26, BUILDSTDERR: from src/physfsrwops.c:24: BUILDSTDERR: /usr/include/physfs.h:654:25: note: declared here BUILDSTDERR: PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/physfsrwops.c: In function 'physfsrwops_close': BUILDSTDERR: src/physfsrwops.c:148:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from src/physfsrwops.h:26, BUILDSTDERR: from src/physfsrwops.c:24: BUILDSTDERR: /usr/include/physfs.h:654:25: note: declared here BUILDSTDERR: PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/physfsrwops.c: In function 'create_rwops': BUILDSTDERR: src/physfsrwops.c:163:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError()); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from src/physfsrwops.h:26, BUILDSTDERR: from src/physfsrwops.c:24: BUILDSTDERR: /usr/include/physfs.h:654:25: note: declared here BUILDSTDERR: PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/compressor.o src/compressor.C BUILDSTDERR: src/compressor.C: In member function 'void BTCompressorReadFile::readData(int, int, IUByte*)': BUILDSTDERR: src/compressor.C:145:25: warning: catching polymorphic type 'class FileException' by value [-Wcatch-value=] BUILDSTDERR: catch (FileException e) BUILDSTDERR: ^ BUILDSTDERR: src/compressor.C:149:23: warning: comparison of integer expressions of different signedness: 'int' and 'IULong' {aka 'unsigned int'} [-Wsign-compare] BUILDSTDERR: IULong amount = ((i > length) ? length : i); BUILDSTDERR: ~~^~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/game.o src/game.C BUILDSTDERR: src/game.C: In member function 'BTShop* BTCore::getShop(int)': BUILDSTDERR: src/game.C:119:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < shops.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/game.C: In member function 'void BTGame::loadStart()': BUILDSTDERR: src/game.C:328:38: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_read(start, levelName, 1, 14); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/game.h:10, BUILDSTDERR: from src/game.C:9: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/game.C:328:38: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_read(start, levelName, 1, 14); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/file.h:14, BUILDSTDERR: from src/game.h:10, BUILDSTDERR: from src/game.C:9: BUILDSTDERR: /usr/include/physfs.h:1333:27: note: declared here BUILDSTDERR: PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/game.C: In member function 'bool BTGame::findTrap(BTDisplay&)': BUILDSTDERR: src/game.C:360:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < skillList.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/game.C:364:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int k = 0; k < party.size(); ++k) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/game.C: In member function 'void BTGame::run(BTDisplay&)': BUILDSTDERR: src/game.C:629:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/game.C:717:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (n < party.size()) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/game.C: In member function 'void BTGame::nextTurn(BTDisplay&, BTCombat*)': BUILDSTDERR: src/game.C:1088:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/game.C: In member function 'void BTGame::readSaveXML(const char*)': BUILDSTDERR: src/game.C:1178:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < getRoster().size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/game.C:1181:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < curParty.member.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/game.C:1183:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int k = 0; k < roster.size(); ++k) BUILDSTDERR: ~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/game.C: In member function 'void BTGame::writeSaveXML(const char*)': BUILDSTDERR: src/game.C:1198:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:14, BUILDSTDERR: from src/game.C:9: BUILDSTDERR: src/factory.h: In instantiation of 'void BTFactory::load(const char*) [with item = BTSpell; item1 = BTSpell1]': BUILDSTDERR: src/game.C:30:25: required from here BUILDSTDERR: src/factory.h:114:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((len > extension.length()) && (strcmp(extension.c_str(), filename + (len - extension.length())) == 0)) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h:125:3: warning: catching polymorphic type 'class FileException' by value [-Wcatch-value=] BUILDSTDERR: catch (FileException e) BUILDSTDERR: ^~~~~ BUILDSTDERR: src/factory.h: In instantiation of 'void BTFactory::load(const char*) [with item = BTItem; item1 = BTItem]': BUILDSTDERR: src/game.C:31:23: required from here BUILDSTDERR: src/factory.h:114:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((len > extension.length()) && (strcmp(extension.c_str(), filename + (len - extension.length())) == 0)) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h:125:3: warning: catching polymorphic type 'class FileException' by value [-Wcatch-value=] BUILDSTDERR: catch (FileException e) BUILDSTDERR: ^~~~~ BUILDSTDERR: src/factory.h: In instantiation of 'void BTFactory::load(const char*) [with item = BTMonster; item1 = BTMonster]': BUILDSTDERR: src/game.C:32:29: required from here BUILDSTDERR: src/factory.h:114:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((len > extension.length()) && (strcmp(extension.c_str(), filename + (len - extension.length())) == 0)) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h:125:3: warning: catching polymorphic type 'class FileException' by value [-Wcatch-value=] BUILDSTDERR: catch (FileException e) BUILDSTDERR: ^~~~~ BUILDSTDERR: src/game.C: In member function 'BTMap* BTGame::loadMap(const char*, bool)': BUILDSTDERR: src/game.C:318:17: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: BTCore::loadMap(filename); BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/bitfield.o src/bitfield.C BUILDSTDERR: src/bitfield.C: In copy constructor 'BitField::BitField(const BitField&)': BUILDSTDERR: src/bitfield.C:22:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < size; ++i) BUILDSTDERR: ~~^~~~~~ BUILDSTDERR: src/bitfield.C: In member function 'void BitField::clear(int)': BUILDSTDERR: src/bitfield.C:45:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: if (where < size) BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: src/bitfield.C:50:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: if (index < (sizeof(size) << 3)) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/bitfield.C: In member function 'bool BitField::isSet(int) const': BUILDSTDERR: src/bitfield.C:107:13: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] BUILDSTDERR: if (where < size) BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: src/bitfield.C:112:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: if (index < (sizeof(size) << 3)) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/bitfield.C: In member function 'void BitField::move(int, int)': BUILDSTDERR: src/bitfield.C:126:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: else if ((index < (sizeof(size) << 3)) && (where < (sizeof(size) << 3))) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/bitfield.C:126:52: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: else if ((index < (sizeof(size) << 3)) && (where < (sizeof(size) << 3))) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/bitfield.C:162:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: if ((pos1 >= size) && (pos2 >= size)) BUILDSTDERR: ~~~~~^~~~~~~ BUILDSTDERR: src/bitfield.C:162:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: if ((pos1 >= size) && (pos2 >= size)) BUILDSTDERR: ~~~~~^~~~~~~ BUILDSTDERR: src/bitfield.C:164:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: else if (pos1 >= size) BUILDSTDERR: ~~~~~^~~~~~~ BUILDSTDERR: src/bitfield.C:166:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: else if (pos2 >= size) BUILDSTDERR: ~~~~~^~~~~~~ BUILDSTDERR: src/bitfield.C: In member function 'std::__cxx11::string BitField::print(ValueLookup*, bool) const': BUILDSTDERR: src/bitfield.C:232:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < lookup->size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/bitfield.C: In member function 'void BitField::remove(int)': BUILDSTDERR: src/bitfield.C:258:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: if (where < size) BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: src/bitfield.C:263:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (++where; where < size; ++where) BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: src/bitfield.C:273:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: if (index < (sizeof(size) << 3)) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/bitfield.C: In member function 'void BitField::set(int)': BUILDSTDERR: src/bitfield.C:286:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: if (index < (sizeof(size) << 3)) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/bitfield.C:294:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: if (where >= size) BUILDSTDERR: ~~~~~~^~~~~~~ BUILDSTDERR: src/bitfield.C: In member function 'void BitField::expand(int)': BUILDSTDERR: src/bitfield.C:321:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (i = 0; i < size; ++i) BUILDSTDERR: ~~^~~~~~ BUILDSTDERR: src/bitfield.C: In member function 'BitField BitField::operator&(const BitField&) const': BUILDSTDERR: src/bitfield.C:345:19: warning: comparison of integer expressions of different signedness: 'const unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: if (other.size < i) BUILDSTDERR: ~~~~~~~~~~~^~~ BUILDSTDERR: src/bitfield.C: In member function 'BitField& BitField::operator|=(const BitField&)': BUILDSTDERR: src/bitfield.C:373:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < size; ++i) BUILDSTDERR: ~~^~~~~~ BUILDSTDERR: src/bitfield.C:382:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < size; ++i) BUILDSTDERR: ~~^~~~~~ BUILDSTDERR: src/bitfield.C: In member function 'BitField& BitField::operator=(const BitField&)': BUILDSTDERR: src/bitfield.C:412:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < size; ++i) BUILDSTDERR: ~~^~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/serialrect.o src/serialrect.C g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/status.o src/status.C g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/displayconfig.o src/displayconfig.C BUILDSTDERR: src/displayconfig.C: In member function 'BTDisplayExpanded* BTDisplayConfig::findExpanded(int, int)': BUILDSTDERR: src/displayconfig.C:154:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < expanded.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/pc.o src/pc.C BUILDSTDERR: In file included from src/pc.C:8: BUILDSTDERR: src/pc.h: In constructor 'BTPc::BTPc()': BUILDSTDERR: src/pc.h:118:16: warning: 'BTPc::gold' will be initialized after [-Wreorder] BUILDSTDERR: unsigned int gold; BUILDSTDERR: ^~~~ BUILDSTDERR: src/pc.h:117:16: warning: 'unsigned int BTPc::xp' [-Wreorder] BUILDSTDERR: unsigned int xp; BUILDSTDERR: ^~ BUILDSTDERR: src/pc.C:30:1: warning: when initialized here [-Wreorder] BUILDSTDERR: BTPc::BTPc() BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from src/pc.C:8: BUILDSTDERR: src/pc.h: In constructor 'BTPc::BTPc(int, int, BTCombatant*)': BUILDSTDERR: src/pc.h:118:16: warning: 'BTPc::gold' will be initialized after [-Wreorder] BUILDSTDERR: unsigned int gold; BUILDSTDERR: ^~~~ BUILDSTDERR: src/pc.h:117:16: warning: 'unsigned int BTPc::xp' [-Wreorder] BUILDSTDERR: unsigned int xp; BUILDSTDERR: ^~ BUILDSTDERR: src/pc.C:41:1: warning: when initialized here [-Wreorder] BUILDSTDERR: BTPc::BTPc(int monsterType, int j, BTCombatant *c /*= NULL*/) BUILDSTDERR: ^~~~ BUILDSTDERR: src/pc.C: In member function 'void BTPc::activateItems(BTDisplay&)': BUILDSTDERR: src/pc.C:94:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (numItems = 0; numItems < BT_ITEMS; ++numItems) BUILDSTDERR: src/pc.C: In member function 'bool BTPc::advanceLevel()': BUILDSTDERR: src/pc.C:142:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < jobList[job]->skill.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pc.C:146:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int k = 0; k < skill.size(); ++k) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/pc.C:170:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int k = 0; k < skill.size(); ++k) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/pc.C:172:35: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (skill[k]->history.size() >= level - 1) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: src/pc.C: In member function 'std::__cxx11::string BTPc::attack(BTCombatant*, int, int&, int&)': BUILDSTDERR: src/pc.C:225:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < skill.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/pc.C:249:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < BT_ITEMS; ++i) BUILDSTDERR: src/pc.C: In member function 'void BTPc::changeJob(int)': BUILDSTDERR: src/pc.C:309:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < skill.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/pc.C:314:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int k = 0; k < jobList[newJob]->skill.size(); ++k) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pc.C:317:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < skill.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/pc.C: In member function 'void BTPc::deactivateItems(BTDisplay&)': BUILDSTDERR: src/pc.C:365:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (numItems = 0; numItems < BT_ITEMS; ++numItems) BUILDSTDERR: src/pc.C:361:6: warning: unused variable 'pc' [-Wunused-variable] BUILDSTDERR: int pc = party.find(this); BUILDSTDERR: ^~ BUILDSTDERR: src/pc.C:362:21: warning: unused variable 'itemList' [-Wunused-variable] BUILDSTDERR: BTFactory &itemList = game->getItemList(); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: src/pc.C:363:32: warning: unused variable 'spellList' [-Wunused-variable] BUILDSTDERR: BTFactory &spellList = game->getSpellList(); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: src/pc.C: In member function 'bool BTPc::drainItem(BTDisplay&, int)': BUILDSTDERR: src/pc.C:387:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (numItems = 0; numItems < BT_ITEMS; ++numItems) BUILDSTDERR: src/pc.C: In member function 'virtual bool BTPc::drainLevel()': BUILDSTDERR: src/pc.C:416:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int k = 0; k < skill.size(); ++k) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/pc.C:418:33: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (skill[k]->history.size() >= level) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: src/pc.C: In member function 'bool BTPc::equip(BTDisplay&, int)': BUILDSTDERR: src/pc.C:442:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < BT_ITEMS; ++i) BUILDSTDERR: src/pc.C: In member function 'int BTPc::getHandWeapon() const': BUILDSTDERR: src/pc.C:559:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < BT_ITEMS; ++i) BUILDSTDERR: src/pc.C: In member function 'int BTPc::getSkill(int) const': BUILDSTDERR: src/pc.C:576:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < skill.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/pc.C: In member function 'bool BTPc::giveItem(int, bool, int)': BUILDSTDERR: src/pc.C:600:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < BT_ITEMS; ++i) BUILDSTDERR: src/pc.C: In member function 'void BTPc::giveSkillUse(int, int)': BUILDSTDERR: src/pc.C:648:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < skill.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/pc.C: In member function 'bool BTPc::hasItem(int) const': BUILDSTDERR: src/pc.C:673:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < BT_ITEMS; ++i) BUILDSTDERR: src/pc.C: In member function 'bool BTPc::hasSkillUse(int)': BUILDSTDERR: src/pc.C:710:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < skill.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/pc.C: In member function 'void BTPc::removeTag(const string&)': BUILDSTDERR: src/pc.C:727:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < tag.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: src/pc.C: In member function 'virtual void BTPc::serialize(ObjectSerializer*)': BUILDSTDERR: src/pc.C:814:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (i = 0; i < BT_ITEMS; ++i) BUILDSTDERR: src/pc.C: In member function 'void BTPc::setTag(const string&)': BUILDSTDERR: src/pc.C:834:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < tag.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: src/pc.C: In member function 'void BTPc::setSkill(int, int, int)': BUILDSTDERR: src/pc.C:844:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < skill.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/pc.C: In member function 'void BTPc::setSkillUnlimited(int, bool)': BUILDSTDERR: src/pc.C:862:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < skill.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/pc.C: In member function 'bool BTPc::takeItem(BTDisplay&, int)': BUILDSTDERR: src/pc.C:889:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < BT_ITEMS; ++i) BUILDSTDERR: src/pc.C: In member function 'bool BTPc::takeItemFromIndex(BTDisplay&, int)': BUILDSTDERR: src/pc.C:905:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (int i = index + 1; i < BT_ITEMS; ++i) BUILDSTDERR: src/pc.C: In member function 'void BTPc::takeItemCharge(BTDisplay&, int, int)': BUILDSTDERR: src/pc.C:930:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (int i = index + 1; i < BT_ITEMS; ++i) BUILDSTDERR: src/pc.C: In member function 'virtual void BTPc::useAutoCombatSkill(bool, BitField&)': BUILDSTDERR: src/pc.C:979:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < skillList.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pc.C: In member function 'bool BTPc::useSkill(int, int)': BUILDSTDERR: src/pc.C:998:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < skill.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/pc.C: In member function 'void BTPc::updateSkills()': BUILDSTDERR: src/pc.C:1030:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < jobList[job]->skill.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pc.C:1040:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int sk = 0; sk < skill.size(); ++sk) BUILDSTDERR: ~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/pc.C: In static member function 'static void BTPc::readXML(const char*, XMLVector&, XMLVector&)': BUILDSTDERR: src/pc.C:1089:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < pc.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~ BUILDSTDERR: src/pc.C: In member function 'bool BTParty::checkDead(BTDisplay&)': BUILDSTDERR: src/pc.C:1182:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (size() == restStoned - 1) BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pc.C: In member function 'int BTParty::find(BTPc*)': BUILDSTDERR: src/pc.C:1199:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int who = 0; who < size(); ++who) BUILDSTDERR: ~~~~^~~~~~~~ BUILDSTDERR: src/pc.C: In member function 'void BTParty::giveItem(int, BTDisplay&)': BUILDSTDERR: src/pc.C:1212:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (; who < size(); ++who) BUILDSTDERR: ~~~~^~~~~~~~ BUILDSTDERR: src/pc.C:1218:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (who < size()) BUILDSTDERR: ~~~~^~~~~~~~ BUILDSTDERR: src/pc.C: In member function 'void BTParty::moveTo(int, int, BTDisplay&)': BUILDSTDERR: src/pc.C:1235:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (where == size()) BUILDSTDERR: ~~~~~~^~~~~~~~~ BUILDSTDERR: In file included from src/game.h:14, BUILDSTDERR: from src/pc.C:9: BUILDSTDERR: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTMonster; item1 = BTMonster; IShort = short int]': BUILDSTDERR: src/pc.C:47:37: required from here BUILDSTDERR: src/factory.h:177:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (num >= items.size()) BUILDSTDERR: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTItem; item1 = BTItem; IShort = short int]': BUILDSTDERR: src/pc.C:102:46: required from here BUILDSTDERR: src/factory.h:177:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTSpell; item1 = BTSpell1; IShort = short int]': BUILDSTDERR: src/pc.C:111:25: required from here BUILDSTDERR: src/factory.h:177:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: src/pc.C: In member function 'virtual void BTPc::serialize(ObjectSerializer*)': BUILDSTDERR: src/pc.C:818:21: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: snprintf(tmp, 10, "%d", i + 1); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from /usr/include/c++/8/ext/string_conversions.h:43, BUILDSTDERR: from /usr/include/c++/8/bits/basic_string.h:6400, BUILDSTDERR: from /usr/include/c++/8/string:52, BUILDSTDERR: from src/bitfield.h:10, BUILDSTDERR: from src/combatant.h:10, BUILDSTDERR: from src/pc.h:11, BUILDSTDERR: from src/pc.C:8: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 10 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/statusinfo.o src/statusinfo.C BUILDSTDERR: src/statusinfo.C: In member function 'void BTCondition::draw(BTBackgroundAndScreen&, int, int, ObjectSerializer*)': BUILDSTDERR: src/statusinfo.C:163:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < info.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~ BUILDSTDERR: src/statusinfo.C: In member function 'virtual void BTConditional::draw(BTBackgroundAndScreen&, int, int, ObjectSerializer*)': BUILDSTDERR: src/statusinfo.C:196:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < condition.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/display.o src/display.C BUILDSTDERR: src/display.C: In destructor 'BTDisplay::~BTDisplay()': BUILDSTDERR: src/display.C:718:10: warning: deleting object of polymorphic class type 'BTStatusBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: delete status; BUILDSTDERR: ^~~~~~ BUILDSTDERR: src/display.C: In member function 'void BTDisplay::addChoice(const char*, const char*, BTAlignment::alignment)': BUILDSTDERR: src/display.C:767:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (partial = strchr(words, '\n')) BUILDSTDERR: ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/display.C:776:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (partial = strchr(words, '\n')); BUILDSTDERR: ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/display.C: In member function 'void BTDisplay::drawImage(int)': BUILDSTDERR: src/display.C:945:11: warning: variable 'src' set but not used [-Wunused-but-set-variable] BUILDSTDERR: SDL_Rect src, dst; BUILDSTDERR: ^~~ BUILDSTDERR: src/display.C: In member function 'void BTDisplay::drawIcons()': BUILDSTDERR: src/display.C:1074:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < config->icon.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/display.C: In member function 'void BTDisplay::drawStats()': BUILDSTDERR: src/display.C:1088:6: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i; BUILDSTDERR: ^ BUILDSTDERR: src/display.C: In member function 'SDL_Color& BTDisplay::getColor(const string&)': BUILDSTDERR: src/display.C:1101:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < config->color.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/display.C: In member function 'unsigned int BTDisplay::readChar(int)': BUILDSTDERR: src/display.C:1240:59: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: if ((animationDelay) && ((delay == 0) || (animationDelay < delay))) BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: src/display.C:1303:61: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: if ((animationDelay) && ((delay == 0) || (animationDelay < delay))) BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: src/display.C:1316:61: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: if ((animationDelay) && ((delay == 0) || (animationDelay < delay))) BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: src/display.C:1321:62: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: if ((animationDelay) && ((delay == 0) || (animationDelay < delay))) BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: src/display.C: In member function 'Psuedo3DConfig* BTDisplay::setWallGraphics(int)': BUILDSTDERR: src/display.C:1495:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (p3dConfig->size() > type) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: src/display.C: In member function 'void BTDisplay::stopMusic(int)': BUILDSTDERR: src/display.C:1586:88: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: if ((!music.empty()) && (music.front()->musicObj != NULL) && ((music.front()->musicId == id) || (id == BTMUSICID_ALL))) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: src/display.C:1602:51: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: if ((!music.empty()) && (music.front()->musicId == id)) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: src/display.C:1617:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: if ((*itr)->musicId == id) BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: src/display.C: In member function 'void BTDisplay::toggleFullScreen()': BUILDSTDERR: src/display.C:1631:11: warning: variable 'src' set but not used [-Wunused-but-set-variable] BUILDSTDERR: SDL_Rect src, dst; BUILDSTDERR: ^~~ BUILDSTDERR: src/display.C: In member function 'void BTDisplay::setupScreens(BTDisplayConfig*, int, int)': BUILDSTDERR: src/display.C:2129:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int w = 0; w < c->layout.size(); ++w) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/display.C:2142:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < c->layout[w]->widgets.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/display.C: In member function 'void BTBackgroundAndScreen::drawMap(bool)': BUILDSTDERR: src/display.C:2445:17: warning: unused variable 'response' [-Wunused-variable] BUILDSTDERR: unsigned char response = display->readChar(); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: src/display.C:2287:11: warning: variable 'src' set but not used [-Wunused-but-set-variable] BUILDSTDERR: SDL_Rect src, dst; BUILDSTDERR: ^~~ BUILDSTDERR: src/display.C: In member function 'std::__cxx11::string BTDisplay::getCurrentLabel()': BUILDSTDERR: src/display.C:1126:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: src/display.C: In member function 'unsigned int BTDisplay::readChar(int)': BUILDSTDERR: src/display.C:1250:20: warning: 'timer' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: SDL_RemoveTimer(timer); BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/skill.o src/skill.C BUILDSTDERR: src/skill.C: In member function 'BTDice* BTSkill::getRoll(int)': BUILDSTDERR: src/skill.C:38:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: else if (roll.size() > value) BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: src/skill.C: In member function 'virtual std::__cxx11::string BTSkillList::getName(int)': BUILDSTDERR: src/skill.C:68:14: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if ((size() > index) && (index >= 0)) BUILDSTDERR: ~~~~~~~^~~~~~~ BUILDSTDERR: src/skill.C: In member function 'virtual int BTSkillList::getIndex(std::__cxx11::string)': BUILDSTDERR: src/skill.C:76:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < size(); ++i) BUILDSTDERR: ~~^~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/valuelookup.o src/valuelookup.C BUILDSTDERR: src/valuelookup.C: In member function 'virtual std::__cxx11::string ArrayLookup::getName(int)': BUILDSTDERR: src/valuelookup.C:28:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((index >= 0) && (index < sz)) BUILDSTDERR: ~~~~~~^~~~ BUILDSTDERR: src/valuelookup.C: In member function 'virtual int ArrayLookup::getIndex(std::__cxx11::string)': BUILDSTDERR: src/valuelookup.C:36:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < sz; ++i) BUILDSTDERR: ~~^~~~ BUILDSTDERR: src/valuelookup.C: In member function 'virtual std::__cxx11::string PairLookup::getName(int)': BUILDSTDERR: src/valuelookup.C:52:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((arrayIndex >= 0) && (arrayIndex < sz)) BUILDSTDERR: ~~~~~~~~~~~^~~~ BUILDSTDERR: src/valuelookup.C: In member function 'virtual int PairLookup::getIndex(std::__cxx11::string)': BUILDSTDERR: src/valuelookup.C:60:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < sz; ++i) BUILDSTDERR: ~~^~~~ BUILDSTDERR: src/valuelookup.C: In member function 'virtual int PairLookup::getNextIndex(int)': BUILDSTDERR: src/valuelookup.C:86:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((arrayIndex >= 0) && (arrayIndex + 1 < sz)) BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: src/valuelookup.C: In member function 'int PairLookup::getArrayFromIndex(int)': BUILDSTDERR: src/valuelookup.C:94:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < sz; ++i) BUILDSTDERR: ~~^~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/statusbar.o src/statusbar.C BUILDSTDERR: src/statusbar.C: In member function 'void BTStatusBar::draw(BTBackgroundAndScreen*)': BUILDSTDERR: src/statusbar.C:21:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (i = 0; i < BT_PARTYSIZE; ++i) BUILDSTDERR: src/statusbar.C:30:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/statusbar.C:34:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int k = 0; k < statusInfo.size(); ++k) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/xpchart.o src/xpchart.C BUILDSTDERR: src/xpchart.C: In member function 'unsigned int BTXpChart::getXpNeeded(int)': BUILDSTDERR: 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] BUILDSTDERR: if (level <= xp.size()) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~ BUILDSTDERR: src/xpchart.C: In member function 'virtual std::__cxx11::string BTXpChartList::getName(int)': BUILDSTDERR: src/xpchart.C:34:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (size() > index) BUILDSTDERR: ~~~~~~~^~~~~~~ BUILDSTDERR: src/xpchart.C: In member function 'virtual int BTXpChartList::getIndex(std::__cxx11::string)': BUILDSTDERR: src/xpchart.C:42:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < size(); ++i) BUILDSTDERR: ~~^~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/combatant.o src/combatant.C BUILDSTDERR: src/combatant.C: In member function 'std::__cxx11::string BTCombatant::attack(BTCombatant*, bool, const string&, const string&, const BTDice&, IShort, IShort, int&, int&, int)': BUILDSTDERR: src/combatant.C:52:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < dmgBonus.size(); i++) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/group.o src/group.C g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/spelleffect.o src/spelleffect.C BUILDSTDERR: src/spelleffect.C: In member function 'bool BTResistedEffect::checkResists(BTCombat*, int, int)': BUILDSTDERR: 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] BUILDSTDERR: for (int k = 0; k < grp->individual.size(); ++k) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C:230:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: for (int i = 0; i < grp->individual.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C: In member function 'virtual int BTAttackEffect::maintain(BTDisplay&, BTCombat*)': BUILDSTDERR: src/spelleffect.C:327:24: warning: unused variable 'monList' [-Wunused-variable] BUILDSTDERR: BTFactory &monList = game->getMonsterList(); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/spelleffect.C: In member function 'int BTAttackEffect::applyToGroup(BTDisplay&, BTCombatantCollection*, int)': BUILDSTDERR: src/spelleffect.C:391:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < grp->size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C: In member function 'virtual void BTAttackEffect::finish(BTDisplay&, BTCombat*, int, int)': BUILDSTDERR: src/spelleffect.C:417:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C:440:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int k = 0; k < grp->individual.size(); ++k) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C:454:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < grp->individual.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C: In member function 'virtual int BTHealEffect::maintain(BTDisplay&, BTCombat*)': BUILDSTDERR: src/spelleffect.C:667:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C: In member function 'virtual int BTDispellIllusionEffect::maintain(BTDisplay&, BTCombat*)': BUILDSTDERR: src/spelleffect.C:743:24: warning: unused variable 'monList' [-Wunused-variable] BUILDSTDERR: BTFactory &monList = game->getMonsterList(); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/spelleffect.C: In member function 'int BTDispellIllusionEffect::applyToGroup(BTDisplay&, BTCombatantCollection*)': BUILDSTDERR: src/spelleffect.C:794:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < grp->size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C: In member function 'virtual int BTNonStackingBonusEffect::apply(BTDisplay&, BTCombat*, int, int)': BUILDSTDERR: src/spelleffect.C:920:1: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: src/spelleffect.C: In member function 'virtual void BTArmorBonusEffect::finishBonus(BTDisplay&, BTCombat*, int, int)': BUILDSTDERR: src/spelleffect.C:1049:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C: In member function 'virtual int BTResurrectEffect::maintain(BTDisplay&, BTCombat*)': BUILDSTDERR: src/spelleffect.C:1245:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C:1263:1: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: src/spelleffect.C: In member function 'virtual int BTScrySightEffect::maintain(BTDisplay&, BTCombat*)': BUILDSTDERR: src/spelleffect.C:1706:1: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: src/spelleffect.C: In member function 'virtual void BTDamageBonusEffect::finishBonus(BTDisplay&, BTCombat*, int, int)': BUILDSTDERR: src/spelleffect.C:1900:33: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int dmgNum = 0; dmgNum < party[i]->dmgBonus.size(); dmgNum++) BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C:1912:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int dmgNum = 0; dmgNum < party[trgt]->dmgBonus.size(); dmgNum++) BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C:1932:33: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int dmgNum = 0; dmgNum < grp->individual[k].dmgBonus.size(); dmgNum++) BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C:1950:33: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int dmgNum = 0; dmgNum < grp->individual[i].dmgBonus.size(); dmgNum++) BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C:1962:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int dmgNum = 0; dmgNum < grp->individual[trgt].dmgBonus.size(); dmgNum++) BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C: In member function 'virtual int BTDetectEffect::maintain(BTDisplay&, BTCombat*)': BUILDSTDERR: src/spelleffect.C:2011:1: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: src/spelleffect.C: In member function 'virtual int BTLocationEffect::maintain(BTDisplay&, BTCombat*)': BUILDSTDERR: src/spelleffect.C:2058:1: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: In file included from src/game.h:14, BUILDSTDERR: from src/spelleffect.C:11: BUILDSTDERR: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTMonster; item1 = BTMonster; IShort = short int]': BUILDSTDERR: src/spelleffect.C:206:45: required from here BUILDSTDERR: src/factory.h:177:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (num >= items.size()) g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/combat.o src/combat.C BUILDSTDERR: src/combat.C: In member function 'void BTCombat::addEncounter(int, int)': BUILDSTDERR: src/combat.C:220:24: warning: unused variable 'monList' [-Wunused-variable] BUILDSTDERR: BTFactory &monList = BTGame::getGame()->getMonsterList(); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/combat.C: In member function 'bool BTCombat::findNextInitiative(int&, int&)': BUILDSTDERR: src/combat.C:252:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); i++) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C: In member function 'virtual int BTCombat::findScreen(int)': BUILDSTDERR: src/combat.C:283:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:305:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:332:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (++i; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C: In member function 'bool BTCombat::findTargetPC(int, int&, int)': BUILDSTDERR: src/combat.C:409:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (target = 0; (target < party.size()) && (target < range); ++target) BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:419:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (target = 0; target < party.size(); ++target) BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C: In member function 'virtual void BTCombat::initScreen(BTDisplay&)': BUILDSTDERR: src/combat.C:495:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: add("inRange", new bool(range >= itr->distance), attrib, true); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:505:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector::size_type' {aka 'long unsigned int'} [-Wformat=] BUILDSTDERR: sprintf(monsterNames + strlen(monsterNames), "%d %s (%d0')", itr->individual.size(), itr->getName().c_str(), itr->distance); BUILDSTDERR: ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C: In member function 'void BTCombat::run(BTDisplay&, bool)': BUILDSTDERR: src/combat.C:553:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < errors.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C: In member function 'void BTCombat::runCombat(BTDisplay&)': BUILDSTDERR: 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] BUILDSTDERR: for (i = 0; i < itr->individual.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:591:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C: In member function 'void BTCombat::runPcAction(BTDisplay&, int&, int, BTPc&)': BUILDSTDERR: src/combat.C:839:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:841:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int s = 0; s < skillList.size(); ++s) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:874:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:895:8: warning: variable 'target' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int target; BUILDSTDERR: ^~~~~~ BUILDSTDERR: src/combat.C:928:28: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (target = 0; target < party.size(); ++target) BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:972:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:1041:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < skillList.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:1046:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (int k = 0; k < BT_ITEMS; ++k) BUILDSTDERR: src/combat.C: In member function 'bool BTCombat::endRound(BTDisplay&)': BUILDSTDERR: src/combat.C:1207:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (size != effect.size()) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:1238:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (size != effect.size()) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:1177:8: warning: unused variable 'hasIndvidualSpell' [-Wunused-variable] BUILDSTDERR: bool hasIndvidualSpell = true; BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:1265:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:1272:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:1165:32: warning: unused variable 'spellList' [-Wunused-variable] BUILDSTDERR: BTFactory &spellList = game->getSpellList(); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: src/combat.C: In static member function 'static int BTCombat::advance(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/combat.C:1289:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C: In static member function 'static int BTCombat::cast(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/combat.C:1329:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < spellList.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:1368:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C: In static member function 'static int BTCombat::hide(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/combat.C:1405:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < skillList.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:1403:11: warning: unused variable 'party' [-Wunused-variable] BUILDSTDERR: BTParty &party = game->getParty(); BUILDSTDERR: ^~~~~ BUILDSTDERR: src/combat.C: In static member function 'static int BTCombat::runAway(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/combat.C:1427:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C: In static member function 'static int BTCombat::sing(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/combat.C:1440:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < skillList.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:1445:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (int k = 0; k < BT_ITEMS; ++k) BUILDSTDERR: src/combat.C:1437:32: warning: unused variable 'spellList' [-Wunused-variable] BUILDSTDERR: BTFactory &spellList = game->getSpellList(); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: src/combat.C:1438:12: warning: unused variable 'c' [-Wunused-variable] BUILDSTDERR: BTCombat &c = static_cast(b); BUILDSTDERR: ^ BUILDSTDERR: src/combat.C: In static member function 'static int BTCombat::target(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/combat.C:1468:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((key >= '1') && (key <= '9') && (key - '1' < party.size())) BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: else if ((key >= 'a') && (key <= 'd') && (key - 'a' < c.monsters.size())) BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C: In static member function 'static int BTCombat::useItem(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/combat.C:1502:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < BT_ITEMS; ++i) BUILDSTDERR: src/combat.C:1556:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int who = 0; who < party.size(); ++who) BUILDSTDERR: ~~~~^~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:14, BUILDSTDERR: from src/combat.C:10: BUILDSTDERR: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTMonster; item1 = BTMonster; IShort = short int]': BUILDSTDERR: src/combat.C:37:35: required from here BUILDSTDERR: src/factory.h:177:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (num >= items.size()) BUILDSTDERR: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTSpell; item1 = BTSpell1; IShort = short int]': BUILDSTDERR: src/combat.C:653:116: required from here BUILDSTDERR: src/factory.h:177:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTItem; item1 = BTItem; IShort = short int]': BUILDSTDERR: src/combat.C:1048:79: required from here BUILDSTDERR: src/factory.h:177:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: In file included from src/combat.C:9: BUILDSTDERR: src/combat.h: In member function 'void BTCombat::addEncounter(int, int)': BUILDSTDERR: src/combat.h:45:7: warning: '.BTMonsterGroup::active' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: class BTMonsterGroup : public BTCombatantCollection BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: src/combat.h:45:7: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: src/combat.C: In member function 'virtual void BTCombat::initScreen(BTDisplay&)': BUILDSTDERR: src/combat.C:484:21: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: snprintf(tmp, 10, "%d", i); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from /usr/include/c++/8/ext/string_conversions.h:43, BUILDSTDERR: from /usr/include/c++/8/bits/basic_string.h:6400, BUILDSTDERR: from /usr/include/c++/8/string:52, BUILDSTDERR: from /usr/include/c++/8/stdexcept:39, BUILDSTDERR: from src/file.h:15, BUILDSTDERR: from src/combat.h:10, BUILDSTDERR: from src/combat.C:9: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 10 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C: In member function 'void BTCombat::runPcAction(BTDisplay&, int&, int, BTPc&)': BUILDSTDERR: src/combat.C:915:23: warning: 'group' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: pc.combat.setTarget(group); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~^~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/icon.o src/icon.C g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/song.o src/song.C BUILDSTDERR: src/song.C: In member function 'int BTSong::play(BTDisplay&, BTPc*, BTCombat*)': BUILDSTDERR: src/song.C:26:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/song.C:40:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < manifest.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/screenset.o src/screenset.C BUILDSTDERR: src/screenset.C: In member function 'virtual std::__cxx11::string BTElement::eval(ObjectSerializer*) const': BUILDSTDERR: src/screenset.C:112:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < ary->size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In member function 'virtual int BTSelectRoster::buildList(ObjectSerializer*)': BUILDSTDERR: src/screenset.C:544:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (i = 0; i < group.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C:549:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (i = 0; i < roster.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In member function 'virtual int BTSelectRace::buildList(ObjectSerializer*)': BUILDSTDERR: src/screenset.C:590:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < race.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In member function 'virtual int BTSelectJob::buildList(ObjectSerializer*)': BUILDSTDERR: src/screenset.C:629:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < job.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In member function 'virtual int BTSelectGoods::buildList(ObjectSerializer*)': BUILDSTDERR: src/screenset.C:672:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < shopObj->goods.size(); ) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C:674:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (shopObj->goods[i]->id < itemList.size()) BUILDSTDERR: src/screenset.C: In member function 'virtual int BTSelectInventory::buildList(ObjectSerializer*)': BUILDSTDERR: src/screenset.C:736:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < BT_ITEMS; ++i) BUILDSTDERR: src/screenset.C: In member function 'virtual void BTSelectParty::draw(BTDisplay&, ObjectSerializer*)': BUILDSTDERR: src/screenset.C:845:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In member function 'virtual int BTSelectSkill::buildList(ObjectSerializer*)': BUILDSTDERR: src/screenset.C:908:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int sk = 0; sk < job[pc->job]->skill.size(); ++sk) BUILDSTDERR: ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In member function 'virtual void BTCan::draw(BTDisplay&, ObjectSerializer*)': BUILDSTDERR: src/screenset.C:1078:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; (i < ary->size()) && (!found); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C:1109:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < items.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In member function 'virtual void BTScreenSetScreen::draw(BTDisplay&, ObjectSerializer*)': BUILDSTDERR: src/screenset.C:1173:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < items.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In member function 'BTScreenItem* BTScreenSetScreen::findItem(int)': BUILDSTDERR: src/screenset.C:1185:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < items.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In member function 'void BTScreenSet::checkEffects(BTDisplay&)': BUILDSTDERR: src/screenset.C:1371:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < effects.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In member function 'int BTScreenSet::displayError(BTDisplay&, const BTSpecialError&)': BUILDSTDERR: src/screenset.C:1408:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < errors.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In member function 'BTAction* BTScreenSet::findAction(const string&)': BUILDSTDERR: src/screenset.C:1430:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < actions.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In member function 'virtual int BTScreenSet::findScreen(int)': BUILDSTDERR: src/screenset.C:1453:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < screen.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In member function 'void BTScreenSet::run(BTDisplay&, int, bool)': BUILDSTDERR: src/screenset.C:1555:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C:1637:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In member function 'void BTScreenSet::setEffect(int)': BUILDSTDERR: src/screenset.C:1652:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < effects.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::addToParty(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:1705:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (select->select < group.size()) BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C:1707:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < group[select->select]->member.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C:1710:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (found = 0; found < party.size(); ++found) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C:1715:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (found >= party.size()) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C:1717:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int k = 0; k < roster.size(); ++k) BUILDSTDERR: ~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C:1734:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (found = 0; found < party.size(); ++found) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C:1740:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (found >= party.size()) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::buySkill(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:1776:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int sk = 0; sk < job[b.pc[0]->job]->skill.size(); ++sk) BUILDSTDERR: ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C:1774:15: warning: unused variable 'skill' [-Wunused-variable] BUILDSTDERR: BTSkillList &skill = BTGame::getGame()->getSkillList(); BUILDSTDERR: ^~~~~ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::castNow(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:1810:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < spellList.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C:1821:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int k = 0; k < party.size(); ++k) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::changeJob(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:1872:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < job.size(); i++) BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::dropFromParty(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:1907:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((key >= '1') && (key <= '9') && (key - '1' < party.size())) BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::exitAndSave(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:1958:1: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::findTraps(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:1970:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < skillList.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C:1974:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int k = 0; k < party.size(); ++k) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::give(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:1991:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((key >= '1') && (key <= '9') && (key - '1' < party.size()) && (party[key - '1'] != b.pc[0])) BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::moveTo(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:2032:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((key >= '1') && (key <= '9') && (key - '1' < party.size()) && (party[key - '1'] != b.pc[0])) BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C:2034:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::poolGold(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:2060:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::requestSkill(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:2084:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int sk = 0; sk < job[b.pc[0]->job]->skill.size(); ++sk) BUILDSTDERR: ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::requestSpecificSkill(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:2120:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (select->select >= job[b.pc[0]->job]->skill.size()) BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C:2119:7: warning: unused variable 'bFound' [-Wunused-variable] BUILDSTDERR: bool bFound(false); BUILDSTDERR: ^~~~~~ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::requestJob(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:2139:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < job.size(); i++) BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::removeFromParty(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:2156:49: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((key >= '1') && (key <= '9') && (key - '1' < party.size())) BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::removeRoster(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:2200:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::save(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:2228:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (found = 0; found < roster.size(); ++found) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::saveParty(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:2255:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (found = 0; found < group.size(); ++found) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C:2264:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::selectBard(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:2293:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < skill.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::selectRoster(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:2348:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (select->select < group.size()) BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::setJob(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:2369:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < job.size(); i++) BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: src/screenset.C:2384:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int k = 0; k < job[i]->skill.size(); ++k) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::singNow(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:2423:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < skill.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C:2428:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (int k = 0; k < BT_ITEMS; ++k) BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::useNow(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:2498:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < BT_ITEMS; ++i) BUILDSTDERR: src/screenset.C:2524:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int k = 0; k < party.size(); ++k) BUILDSTDERR: ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In static member function 'static int BTScreenSet::useOn(BTScreenSet&, BTDisplay&, BTScreenItem*, int)': BUILDSTDERR: src/screenset.C:2589:51: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((key >= '1') && (key <= '9') && (key - '1' < party.size())) BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:14, BUILDSTDERR: from src/screenset.C:10: BUILDSTDERR: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTItem; item1 = BTItem; IShort = short int]': BUILDSTDERR: src/screenset.C:676:39: required from here BUILDSTDERR: src/factory.h:177:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (num >= items.size()) BUILDSTDERR: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTSpell; item1 = BTSpell1; IShort = short int]': BUILDSTDERR: src/screenset.C:1812:53: required from here BUILDSTDERR: src/factory.h:177:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: src/screenset.C: In member function 'virtual bool BTOperator::check(ObjectSerializer*) const': BUILDSTDERR: src/screenset.C:213:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/shop.o src/shop.C g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/chest.o src/chest.C BUILDSTDERR: In file included from src/game.h:11, BUILDSTDERR: from src/chest.C:8: BUILDSTDERR: src/chest.h: In constructor 'BTChest::BTChest()': BUILDSTDERR: src/chest.h:31:10: warning: 'BTChest::trapDamage' will be initialized after [-Wreorder] BUILDSTDERR: BTDice trapDamage; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: src/chest.h:30:7: warning: 'int BTChest::trapExtra' [-Wreorder] BUILDSTDERR: int trapExtra; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: src/chest.C:11:1: warning: when initialized here [-Wreorder] BUILDSTDERR: BTChest::BTChest() BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/chest.C: In member function 'void BTChest::open(BTDisplay&)': BUILDSTDERR: src/chest.C:53:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < party.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/psuedo3dmap.o src/psuedo3dmap.C g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/manifest.o src/manifest.C BUILDSTDERR: src/manifest.C: In member function 'virtual std::__cxx11::string BTBonusManifest::createString()': BUILDSTDERR: src/manifest.C:156:14: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: sprintf(s, "[max: %d]", level, maximum); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/manifest.C: In member function 'virtual std::__cxx11::string BTAttackManifest::createString()': BUILDSTDERR: src/manifest.C:248:15: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: sprintf(s, "[max: %d]", level, maximum); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/manifest.C: In member function 'virtual void BTAttackManifest::supportOldFormat(IShort&, BTDice&, IShort&)': BUILDSTDERR: src/manifest.C:306:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (level = 1) BUILDSTDERR: ~~~~~~^~~ BUILDSTDERR: src/manifest.C: In member function 'virtual std::__cxx11::string BTHealManifest::createString()': BUILDSTDERR: src/manifest.C:446:14: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: sprintf(s, "[max: %d]", level, maximum); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/manifest.C: In member function 'virtual std::__cxx11::list BTMultiManifest::manifest(bool, BTCombat*, unsigned int, int, int, int, int, const BTEffectSource&)': BUILDSTDERR: src/manifest.C:519:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < content.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.C: In member function 'virtual std::__cxx11::list BTMultiManifest::manifest(BTDisplay&, bool, BTCombat*, unsigned int, int, int, int, int, const BTEffectSource&)': BUILDSTDERR: src/manifest.C:547:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < content.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.C: In member function 'virtual std::__cxx11::string BTRangeBonusManifest::createString()': BUILDSTDERR: src/manifest.C:1037:14: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: sprintf(s, "[max: %d]", level, maximum); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/manifest.C: In copy constructor 'BTRandomManifestChance::BTRandomManifestChance(const BTRandomManifestChance&)': BUILDSTDERR: src/manifest.C:1145:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < other.content.size(); i++) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.C: In copy constructor 'BTRandomManifest::BTRandomManifest(const BTRandomManifest&)': BUILDSTDERR: src/manifest.C:1160:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < other.chance.size(); i++) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.C: In member function 'virtual std::__cxx11::list BTRandomManifest::manifest(bool, BTCombat*, unsigned int, int, int, int, int, const BTEffectSource&)': BUILDSTDERR: src/manifest.C:1197:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < chance.size(); i++) BUILDSTDERR: ~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.C:1201:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int k = 0; k < chance[i]->content.size(); ++k) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.C: In member function 'virtual std::__cxx11::list BTRandomManifest::manifest(BTDisplay&, bool, BTCombat*, unsigned int, int, int, int, int, const BTEffectSource&)': BUILDSTDERR: src/manifest.C:1221:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < chance.size(); i++) BUILDSTDERR: ~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.C:1225:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int k = 0; k < chance[i]->content.size(); ++k) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:14, BUILDSTDERR: from src/manifest.C:8: BUILDSTDERR: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTMonster; item1 = BTMonster; IShort = short int]': BUILDSTDERR: src/manifest.C:693:80: required from here BUILDSTDERR: src/factory.h:177:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (num >= items.size()) g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/effectgroup.o src/effectgroup.C BUILDSTDERR: src/effectgroup.C: In member function 'virtual void BTEffectGroup::clearEffectsByEffectID(BTDisplay&, unsigned int)': BUILDSTDERR: src/effectgroup.C:49:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: if ((*itr)->source.effectID == effectID) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: src/effectgroup.C: In member function 'virtual bool BTEffectGroup::hasEffectID(unsigned int)': BUILDSTDERR: src/effectgroup.C:98:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] BUILDSTDERR: if ((*itr)->source.effectID == effectID) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: src/effectgroup.C: In member function 'virtual void BTEffectGroup::checkExpiration(BTDisplay&, BTCombat*)': BUILDSTDERR: src/effectgroup.C:188:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (size != effect.size()) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/mainscreen.o src/mainscreen.C BUILDSTDERR: src/mainscreen.C: In destructor 'BTMainScreen::~BTMainScreen()': BUILDSTDERR: src/mainscreen.C:32:10: warning: deleting object of polymorphic class type 'BTDisplay' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: delete display; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/mainscreen.C: In member function 'void BTMainScreen::run()': BUILDSTDERR: src/mainscreen.C:51:30: warning: 'int PHYSFS_isDirectory(const char*)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: if ((!PHYSFS_isDirectory(*i)) && (len > 4) && (strcmp(".xml", (*i) + (len - 4)) == 0)) BUILDSTDERR: ^ BUILDSTDERR: In file included from src/xmlserializer.h:17, BUILDSTDERR: from src/psuedo3dconfig.h:10, BUILDSTDERR: from src/psuedo3d.h:10, BUILDSTDERR: from src/display.h:10, BUILDSTDERR: from src/mainscreen.h:10, BUILDSTDERR: from src/mainscreen.C:8: BUILDSTDERR: /usr/include/physfs.h:1159:17: note: declared here BUILDSTDERR: PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/mainscreen.C:51:30: warning: 'int PHYSFS_isDirectory(const char*)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: if ((!PHYSFS_isDirectory(*i)) && (len > 4) && (strcmp(".xml", (*i) + (len - 4)) == 0)) BUILDSTDERR: ^ BUILDSTDERR: In file included from src/xmlserializer.h:17, BUILDSTDERR: from src/psuedo3dconfig.h:10, BUILDSTDERR: from src/psuedo3d.h:10, BUILDSTDERR: from src/display.h:10, BUILDSTDERR: from src/mainscreen.h:10, BUILDSTDERR: from src/mainscreen.C:8: BUILDSTDERR: /usr/include/physfs.h:1159:17: note: declared here BUILDSTDERR: PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/mainscreen.C:69:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < module.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/mainscreen.C:100:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (moduleSize != module.size()) BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/mainscreen.C:105:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < module.size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/mainscreen.C:118:9: warning: deleting object of polymorphic class type 'BTDisplay' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: delete display; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/mainscreen.C: In member function 'void BTMainScreen::runModule(std::__cxx11::string)': BUILDSTDERR: src/mainscreen.C:146:10: warning: deleting object of polymorphic class type 'BTDisplay' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: delete display; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/mainscreen.C: In member function 'void BTMainScreen::editModule(std::__cxx11::string, std::__cxx11::string)': BUILDSTDERR: src/mainscreen.C:172:10: warning: deleting object of polymorphic class type 'BTDisplay' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: delete display; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/mainscreen.C: In member function 'void BTMainScreen::init(std::__cxx11::string, std::__cxx11::string)': BUILDSTDERR: src/mainscreen.C:198:42: warning: 'const char* PHYSFS_getUserDir()' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: std::string userdir = PHYSFS_getUserDir(); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/xmlserializer.h:17, BUILDSTDERR: from src/psuedo3dconfig.h:10, BUILDSTDERR: from src/psuedo3d.h:10, BUILDSTDERR: from src/display.h:10, BUILDSTDERR: from src/mainscreen.h:10, BUILDSTDERR: from src/mainscreen.C:8: BUILDSTDERR: /usr/include/physfs.h:792:25: note: declared here BUILDSTDERR: PHYSFS_DECL const char *PHYSFS_getUserDir(void) PHYSFS_DEPRECATED; BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/mainscreen.C:198:42: warning: 'const char* PHYSFS_getUserDir()' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: std::string userdir = PHYSFS_getUserDir(); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/xmlserializer.h:17, BUILDSTDERR: from src/psuedo3dconfig.h:10, BUILDSTDERR: from src/psuedo3d.h:10, BUILDSTDERR: from src/display.h:10, BUILDSTDERR: from src/mainscreen.h:10, BUILDSTDERR: from src/mainscreen.C:8: BUILDSTDERR: /usr/include/physfs.h:792:25: note: declared here BUILDSTDERR: PHYSFS_DECL const char *PHYSFS_getUserDir(void) PHYSFS_DEPRECATED; BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/mainscreen.C:230:44: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_addToSearchPath(writedir.c_str(), 0); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/xmlserializer.h:17, BUILDSTDERR: from src/psuedo3dconfig.h:10, BUILDSTDERR: from src/psuedo3d.h:10, BUILDSTDERR: from src/display.h:10, BUILDSTDERR: from src/mainscreen.h:10, BUILDSTDERR: from src/mainscreen.C:8: BUILDSTDERR: /usr/include/physfs.h:851:17: note: declared here BUILDSTDERR: PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/mainscreen.C:230:44: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_addToSearchPath(writedir.c_str(), 0); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/xmlserializer.h:17, BUILDSTDERR: from src/psuedo3dconfig.h:10, BUILDSTDERR: from src/psuedo3d.h:10, BUILDSTDERR: from src/display.h:10, BUILDSTDERR: from src/mainscreen.h:10, BUILDSTDERR: from src/mainscreen.C:8: BUILDSTDERR: /usr/include/physfs.h:851:17: note: declared here BUILDSTDERR: PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/mainscreen.C:241:48: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_addToSearchPath(contentPath.c_str(), 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/xmlserializer.h:17, BUILDSTDERR: from src/psuedo3dconfig.h:10, BUILDSTDERR: from src/psuedo3d.h:10, BUILDSTDERR: from src/display.h:10, BUILDSTDERR: from src/mainscreen.h:10, BUILDSTDERR: from src/mainscreen.C:8: BUILDSTDERR: /usr/include/physfs.h:851:17: note: declared here BUILDSTDERR: PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/mainscreen.C:241:48: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_addToSearchPath(contentPath.c_str(), 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/xmlserializer.h:17, BUILDSTDERR: from src/psuedo3dconfig.h:10, BUILDSTDERR: from src/psuedo3d.h:10, BUILDSTDERR: from src/display.h:10, BUILDSTDERR: from src/mainscreen.h:10, BUILDSTDERR: from src/mainscreen.C:8: BUILDSTDERR: /usr/include/physfs.h:851:17: note: declared here BUILDSTDERR: PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/mainscreen.C:244:36: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_addToSearchPath(basedir, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/xmlserializer.h:17, BUILDSTDERR: from src/psuedo3dconfig.h:10, BUILDSTDERR: from src/psuedo3d.h:10, BUILDSTDERR: from src/display.h:10, BUILDSTDERR: from src/mainscreen.h:10, BUILDSTDERR: from src/mainscreen.C:8: BUILDSTDERR: /usr/include/physfs.h:851:17: note: declared here BUILDSTDERR: PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/mainscreen.C:244:36: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_addToSearchPath(basedir, 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/xmlserializer.h:17, BUILDSTDERR: from src/psuedo3dconfig.h:10, BUILDSTDERR: from src/psuedo3d.h:10, BUILDSTDERR: from src/display.h:10, BUILDSTDERR: from src/mainscreen.h:10, BUILDSTDERR: from src/mainscreen.C:8: BUILDSTDERR: /usr/include/physfs.h:851:17: note: declared here BUILDSTDERR: PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/mainscreen.C:246:43: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_addToSearchPath(libDir.c_str(), 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/xmlserializer.h:17, BUILDSTDERR: from src/psuedo3dconfig.h:10, BUILDSTDERR: from src/psuedo3d.h:10, BUILDSTDERR: from src/display.h:10, BUILDSTDERR: from src/mainscreen.h:10, BUILDSTDERR: from src/mainscreen.C:8: BUILDSTDERR: /usr/include/physfs.h:851:17: note: declared here BUILDSTDERR: PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/mainscreen.C:246:43: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: PHYSFS_addToSearchPath(libDir.c_str(), 1); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/xmlserializer.h:17, BUILDSTDERR: from src/psuedo3dconfig.h:10, BUILDSTDERR: from src/psuedo3d.h:10, BUILDSTDERR: from src/display.h:10, BUILDSTDERR: from src/mainscreen.h:10, BUILDSTDERR: from src/mainscreen.C:8: BUILDSTDERR: /usr/include/physfs.h:851:17: note: declared here BUILDSTDERR: PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/specialcontext.o src/specialcontext.C g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/specialflag.o src/specialflag.C BUILDSTDERR: src/specialflag.C: In member function 'virtual std::__cxx11::string BTSpecialFlagList::getName(int)': BUILDSTDERR: src/specialflag.C:31:14: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if ((size() > index) && (index >= 0)) BUILDSTDERR: ~~~~~~~^~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/imagetag.o src/imagetag.C BUILDSTDERR: src/imagetag.C: In member function 'BTDisplay::selectItem* BTImageTagList::search(std::__cxx11::string, bool, int&, int&, int&)': BUILDSTDERR: src/imagetag.C:63:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (((*this)[i]->name != "") || (i == current)) BUILDSTDERR: ~~^~~~~~~~~~ BUILDSTDERR: src/imagetag.C:65:11: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (i == current) BUILDSTDERR: ~~^~~~~~~~~~ BUILDSTDERR: src/imagetag.C:95:11: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (i == current) BUILDSTDERR: ~~^~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/editor.o src/editor.C BUILDSTDERR: src/editor.C: In member function 'void BTEditor::editMap(BTDisplay&, const char*)': BUILDSTDERR: src/editor.C:190:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (currentWall < p3dConfig->mapType.size()) BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/editor.C:249:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (currentWall < p3dConfig->mapType.size()) BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/editor.C:260:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (currentWall < p3dConfig->mapType.size()) BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/editor.C:268:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (currentWall < p3dConfig->mapType.size()) BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/editor.C:338:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (currentWall < p3dConfig->mapType.size()) BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/editor.C:388:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (currentWall < p3dConfig->mapType.size()) BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/editor.C:409:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (currentWall < p3dConfig->mapType.size()) BUILDSTDERR: ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/editor.C: In member function 'BTSpecialOperation* BTEditor::editSpecialOperation(BTDisplay&, BTSpecialOperation*)': BUILDSTDERR: src/editor.C:725:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (dollarSign = strchr(cmd, '$')) BUILDSTDERR: ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/editor.C:10: BUILDSTDERR: src/serialeditor.h: In instantiation of 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const string&) [with item = BTMonster; item1 = BTMonster; std::__cxx11::string = std::__cxx11::basic_string]': BUILDSTDERR: src/editor.C:128:109: required from here BUILDSTDERR: src/serialeditor.h:35:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: else if (current < itemList.size()) BUILDSTDERR: src/serialeditor.h:40:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (sortedCurrent != itemList.size()) BUILDSTDERR: src/serialeditor.h:47:38: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: else if (('c' == key) && (current != itemList.size())) BUILDSTDERR: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:14, BUILDSTDERR: from src/editor.h:10, BUILDSTDERR: from src/editor.C:9: BUILDSTDERR: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTMonster; item1 = BTMonster; IShort = short int]': BUILDSTDERR: src/editor.C:131:24: required from here BUILDSTDERR: src/factory.h:177:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (num >= items.size()) BUILDSTDERR: src/factory.h: In instantiation of 'void BTFactory::save(const char*) [with item = BTMonster; item1 = BTMonster]': BUILDSTDERR: src/editor.C:134:36: required from here BUILDSTDERR: src/factory.h:139:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((len > extension.length()) && (strcmp(extension.c_str(), filename + (len - extension.length())) == 0)) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/editor.C:10: BUILDSTDERR: src/serialeditor.h: In instantiation of 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const string&) [with item = BTSpell; item1 = BTSpell1; std::__cxx11::string = std::__cxx11::basic_string]': BUILDSTDERR: src/editor.C:142:109: required from here BUILDSTDERR: src/serialeditor.h:35:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: else if (current < itemList.size()) BUILDSTDERR: src/serialeditor.h:40:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (sortedCurrent != itemList.size()) BUILDSTDERR: src/serialeditor.h:47:38: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: else if (('c' == key) && (current != itemList.size())) BUILDSTDERR: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:14, BUILDSTDERR: from src/editor.h:10, BUILDSTDERR: from src/editor.C:9: BUILDSTDERR: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTSpell; item1 = BTSpell1; IShort = short int]': BUILDSTDERR: src/editor.C:145:20: required from here BUILDSTDERR: src/factory.h:177:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (num >= items.size()) BUILDSTDERR: src/factory.h: In instantiation of 'void BTFactory::save(const char*) [with item = BTSpell; item1 = BTSpell1]': BUILDSTDERR: src/editor.C:148:32: required from here BUILDSTDERR: src/factory.h:139:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((len > extension.length()) && (strcmp(extension.c_str(), filename + (len - extension.length())) == 0)) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/editor.C:10: BUILDSTDERR: src/serialeditor.h: In instantiation of 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const string&) [with item = BTItem; item1 = BTItem; std::__cxx11::string = std::__cxx11::basic_string]': BUILDSTDERR: src/editor.C:156:94: required from here BUILDSTDERR: src/serialeditor.h:35:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: else if (current < itemList.size()) BUILDSTDERR: src/serialeditor.h:40:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (sortedCurrent != itemList.size()) BUILDSTDERR: src/serialeditor.h:47:38: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: else if (('c' == key) && (current != itemList.size())) BUILDSTDERR: ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:14, BUILDSTDERR: from src/editor.h:10, BUILDSTDERR: from src/editor.C:9: BUILDSTDERR: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTItem; item1 = BTItem; IShort = short int]': BUILDSTDERR: src/editor.C:159:18: required from here BUILDSTDERR: src/factory.h:177:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (num >= items.size()) BUILDSTDERR: src/factory.h: In instantiation of 'void BTFactory::save(const char*) [with item = BTItem; item1 = BTItem]': BUILDSTDERR: src/editor.C:162:30: required from here BUILDSTDERR: src/factory.h:139:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((len > extension.length()) && (strcmp(extension.c_str(), filename + (len - extension.length())) == 0)) BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h: In instantiation of 'item& BTSortedFactory::operator[](IShort) [with item = BTMonster; item1 = BTMonster; IShort = short int]': BUILDSTDERR: src/serialeditor.h:30:29: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const string&) [with item = BTMonster; item1 = BTMonster; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: src/editor.C:128:109: required from here BUILDSTDERR: src/factory.h:257:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (num >= sortedItems.size()) BUILDSTDERR: ~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h: In instantiation of 'int BTSortedFactory::getUnsortedIndex(int) [with item = BTMonster; item1 = BTMonster]': BUILDSTDERR: src/serialeditor.h:34:13: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const string&) [with item = BTMonster; item1 = BTMonster; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: src/editor.C:128:109: required from here BUILDSTDERR: src/factory.h:210:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (index < sortedItems.size()) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h: In instantiation of 'item& BTSortedFactory::operator[](IShort) [with item = BTSpell; item1 = BTSpell1; IShort = short int]': BUILDSTDERR: src/serialeditor.h:30:29: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const string&) [with item = BTSpell; item1 = BTSpell1; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: src/editor.C:142:109: required from here BUILDSTDERR: src/factory.h:257:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (num >= sortedItems.size()) BUILDSTDERR: ~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h: In instantiation of 'int BTSortedFactory::getUnsortedIndex(int) [with item = BTSpell; item1 = BTSpell1]': BUILDSTDERR: src/serialeditor.h:34:13: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const string&) [with item = BTSpell; item1 = BTSpell1; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: src/editor.C:142:109: required from here BUILDSTDERR: src/factory.h:210:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (index < sortedItems.size()) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h: In instantiation of 'item& BTSortedFactory::operator[](IShort) [with item = BTItem; item1 = BTItem; IShort = short int]': BUILDSTDERR: src/serialeditor.h:30:29: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const string&) [with item = BTItem; item1 = BTItem; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: src/editor.C:156:94: required from here BUILDSTDERR: src/factory.h:257:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (num >= sortedItems.size()) BUILDSTDERR: ~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h: In instantiation of 'int BTSortedFactory::getUnsortedIndex(int) [with item = BTItem; item1 = BTItem]': BUILDSTDERR: src/serialeditor.h:34:13: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const string&) [with item = BTItem; item1 = BTItem; std::__cxx11::string = std::__cxx11::basic_string]' BUILDSTDERR: src/editor.C:156:94: required from here BUILDSTDERR: src/factory.h:210:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (index < sortedItems.size()) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/serialeditor.o src/serialeditor.C BUILDSTDERR: src/serialeditor.C: In member function 'void BTSerializedEditor::edit(BTDisplay&, ObjectSerializer&)': BUILDSTDERR: src/serialeditor.C:67:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (where < obj->size()) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: if (where < obj->size()) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: src/serialeditor.C:58:9: warning: unused variable 'where' [-Wunused-variable] BUILDSTDERR: int where = 0; BUILDSTDERR: ^~~~~ BUILDSTDERR: src/serialeditor.C:115:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (where >= obj->size()) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: if (where >= obj->size()) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/serialeditor.C: In member function 'void BTSerializedEditor::editField(BTDisplay&, ObjectSerializer&, const char*, XMLAction*, int, int)': BUILDSTDERR: src/serialeditor.C:244:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < lookup->size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/serialeditor.C: In member function 'virtual int BTSerializedEditor::setup(ObjectSerializer&, BitField&, std::vector&)': BUILDSTDERR: src/serialeditor.C:458:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: if (current >= entries) BUILDSTDERR: ~~~~~~~~^~~~~~~~~~ BUILDSTDERR: src/serialeditor.C: In member function 'virtual void BTSpellEditor::delSpecialField(BTDisplay&, ObjectSerializer&, int)': BUILDSTDERR: src/serialeditor.C:652:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((val != extra.size()) && (extra[val].name == "type")) BUILDSTDERR: ~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/serialeditor.C: In member function 'virtual void BTSpellEditor::handleSpecialField(BTDisplay&, ObjectSerializer&, int)': BUILDSTDERR: src/serialeditor.C:671:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((val == extra.size()) || (extra[val].name == "type")) BUILDSTDERR: ~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/serialeditor.C:679:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((val != extra.size()) && (extra[val].item->type == spellTypes[i].type)) BUILDSTDERR: ~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/serialeditor.C:683:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if ((27 != d.process()) && ((val == extra.size()) || (lookupCurrent != extra[val].item->type))) BUILDSTDERR: ~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/serialeditor.C:688:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (val == extra.size()) BUILDSTDERR: ~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/serialeditor.C:695:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: for (int i = 0; i < manifest->size(); ++i) BUILDSTDERR: ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/serialeditor.C: In member function 'virtual int BTSpellEditor::setup(ObjectSerializer&, BitField&, std::vector&)': BUILDSTDERR: src/serialeditor.C:728:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (current == items.size()) BUILDSTDERR: ~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/serialeditor.C:742:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (current == items.size()) BUILDSTDERR: ~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/serialeditor.C:752:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (current == items.size()) BUILDSTDERR: ~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:14, BUILDSTDERR: from src/editor.h:10, BUILDSTDERR: from src/serialeditor.h:10, BUILDSTDERR: from src/serialeditor.C:9: BUILDSTDERR: src/factory.h: In instantiation of 'item& BTFactory::operator[](IShort) [with item = BTMonster; item1 = BTMonster; IShort = short int]': BUILDSTDERR: src/serialeditor.C:565:30: required from here BUILDSTDERR: src/factory.h:177:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (num >= items.size()) 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 -lSDL2_image -lSDL2_mixer -lSDL2_ttf -lSDL2 --std=c++11 -lexpat -lphysfs -lboost_filesystem -lboost_system -lpng -lSDL_mng + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QFCyx6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64 + cd btbuilder-0.5.16 + make prefix=/builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64 install if test ! -d /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64/usr/bin; then mkdir -p /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64/usr/bin; fi if test ! -d /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64/usr/share/btbuilder; then mkdir -p /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64/usr/share/btbuilder; fi if test ! -d /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64/usr/share/appdata; then mkdir -p /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64/usr/share/appdata; fi if test ! -d /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64/usr/share/icons/hicolor; then mkdir -p /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64/usr/share/icons/hicolor; fi cp -R data image module music /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64/usr/share/btbuilder/ cp -R btbuilder.appdata.xml /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64/usr/share/appdata/ cp -R icons/* /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64/usr/share/icons/hicolor/ cp btbuilder /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64/usr/bin desktop-file-install --dir=/builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64/usr/share/applications btbuilder.desktop + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.5.16-3.fc30 --unique-debug-suffix -0.5.16-3.fc30.riscv64 --unique-debug-src-base btbuilder-0.5.16-3.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/btbuilder-0.5.16 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64/usr/bin/btbuilder extracting debug info from /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64/usr/bin/btbuilder /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 1564 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Ilbwfe Processing files: btbuilder-0.5.16-3.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xpJyzk + umask 022 + cd /builddir/build/BUILD + cd btbuilder-0.5.16 + DOCDIR=/builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64/usr/share/doc/btbuilder + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64/usr/share/doc/btbuilder + cp -pr README /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64/usr/share/doc/btbuilder + exit 0 Provides: application() application(btbuilder.desktop) btbuilder = 0.5.16-3.fc30 btbuilder(riscv-64) = 0.5.16-3.fc30 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: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) 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.66.0()(64bit) libboost_system.so.1.66.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libexpat.so.1()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(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.9)(64bit) rtld(GNU_HASH) Processing files: btbuilder-data-0.5.16-3.fc30.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7l6BLn + umask 022 + cd /builddir/build/BUILD + cd btbuilder-0.5.16 + LICENSEDIR=/builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64/usr/share/licenses/btbuilder-data + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64/usr/share/licenses/btbuilder-data + cp -pr COPYING /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64/usr/share/licenses/btbuilder-data + exit 0 Provides: btbuilder-data = 0.5.16-3.fc30 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.16-3.fc30.riscv64 Provides: btbuilder-debugsource = 0.5.16-3.fc30 btbuilder-debugsource(riscv-64) = 0.5.16-3.fc30 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.16-3.fc30.riscv64 Provides: btbuilder-debuginfo = 0.5.16-3.fc30 btbuilder-debuginfo(riscv-64) = 0.5.16-3.fc30 debuginfo(build-id) = 6e57c6ff04dd2f078ed04c53ecfff1cf5dd0018c Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: btbuilder-debugsource(riscv-64) = 0.5.16-3.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64 Wrote: /builddir/build/RPMS/btbuilder-0.5.16-3.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/btbuilder-data-0.5.16-3.fc30.noarch.rpm Wrote: /builddir/build/RPMS/btbuilder-debugsource-0.5.16-3.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/btbuilder-debuginfo-0.5.16-3.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jM5aeJ + umask 022 + cd /builddir/build/BUILD + cd btbuilder-0.5.16 + /usr/bin/rm -rf /builddir/build/BUILDROOT/btbuilder-0.5.16-3.fc30.riscv64 + exit 0 Child return code was: 0