Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/btbuilder.spec'], chrootPath='/var/lib/mock/f31-build-62527-29075/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=986gid=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 BUILDSTDERR: warning: bogus date in %changelog: Fri Apr 30 2019 Dennis Payne - 0.5.17-1 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1563926400 Wrote: /builddir/build/SRPMS/btbuilder-0.5.17-2.fc31.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/f31-build-62527-29075/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=986gid=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 BUILDSTDERR: warning: bogus date in %changelog: Fri Apr 30 2019 Dennis Payne - 0.5.17-1 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1563926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ajMPax + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf btbuilder-0.5.17 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/btbuilder-0.5.17.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd btbuilder-0.5.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lbxwdz + umask 022 + cd /builddir/build/BUILD + cd btbuilder-0.5.17 + /usr/bin/make -O -j4 V=1 VERBOSE=1 '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' 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: 65 | 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: 1333 | 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: 65 | 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: 1333 | 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: 74 | 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: 1333 | 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: 74 | 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: 1333 | 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: 75 | 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: 83 | 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: 1333 | 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: 83 | 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: 1333 | 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: 96 | 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: 1333 | 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: 96 | 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: 1333 | 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: 97 | 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: 112 | 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: 1333 | 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: 112 | 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: 1333 | 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: 125 | 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: 1333 | 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: 125 | 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: 1333 | 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: 126 | 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: 141 | 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: 1333 | 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: 141 | 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: 1333 | 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: 150 | 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: 1333 | 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: 150 | 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: 1333 | 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: 151 | 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: 159 | 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: 1333 | 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: 159 | 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: 1333 | 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: 172 | 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: 1333 | 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: 172 | 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: 1333 | 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: 173 | 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: 188 | 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: 1333 | 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: 188 | 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: 1333 | 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: 201 | 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: 1333 | 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: 201 | 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: 1333 | 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: 202 | 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: 258 | 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: 1362 | 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: 258 | 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: 1362 | 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: 263 | 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: 1362 | 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: 263 | 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: 1362 | 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: 268 | 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: 1362 | 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: 268 | 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: 1362 | 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: 273 | 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: 1362 | 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: 273 | 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: 1362 | 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: 278 | 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: 1362 | 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: 278 | 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: 1362 | 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: 283 | 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: 1362 | 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: 283 | 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: 1362 | 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: 288 | 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: 1362 | 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: 288 | 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: 1362 | 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: 293 | 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: 1362 | 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: 293 | 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: 1362 | 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: 298 | 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: 1362 | 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: 298 | 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: 1362 | 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: 303 | 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: 1362 | 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: 303 | 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: 1362 | 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: 308 | 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: 1362 | 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: 308 | 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: 1362 | 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: 313 | 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: 1362 | 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: 313 | 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: 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/monster.C:9: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/monster.C:9: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/monster.C:9: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ 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: 125 | IShort range; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/monster.h:114:16: warning: 'unsigned int BTMonster::xp' [-Wreorder] BUILDSTDERR: 114 | unsigned int xp; BUILDSTDERR: | ^~ BUILDSTDERR: src/monster.C:82:1: warning: when initialized here [-Wreorder] BUILDSTDERR: 82 | 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: 303 | 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: 400 | for (int i = 0; i < monster.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from src/istdlib.h:53, BUILDSTDERR: from src/monster.h:10, BUILDSTDERR: from src/monster.C:8: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void BTMonster::write(BinaryWriteFile&)' at src/monster.C:320:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 14 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void BTMonster::write(BinaryWriteFile&)' at src/monster.C:340:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 14 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void BTMonster::write(BinaryWriteFile&)' at src/monster.C:348:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 14 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/spell.h:14, BUILDSTDERR: from src/spell.C:8: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/spell.h:14, BUILDSTDERR: from src/spell.C:8: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/spell.h:16, BUILDSTDERR: from src/spell.C:8: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: src/spell.C: In copy constructor 'BTSpell::BTSpell(const BTSpell&)': BUILDSTDERR: src/spell.C:30:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 30 | for (int i = 0; i < copy.manifest.size(); i++) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/spell.C: In member function 'bool BTSpell::hasCombatEffect() const': BUILDSTDERR: src/spell.C:107:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 107 | 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:197:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 197 | 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:259:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 259 | 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:311:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 311 | for (int i = 0; i < spell.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/spell.C: In member function 'virtual void BTSpell1::upgrade()': BUILDSTDERR: src/spell.C:508:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 508 | 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:171:38: required from here BUILDSTDERR: src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 187 | if (num >= items.size()) BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from src/istdlib.h:53, BUILDSTDERR: from src/spell.h:10, BUILDSTDERR: from src/spell.C:8: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void BTSpell::write(BinaryWriteFile&)' at src/spell.C:125:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 29 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/item.C:10: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/item.C:10: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/item.C:10: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ 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: 80 | IShort price; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/item.h:78:7: warning: 'int BTItem::spellCast' [-Wreorder] BUILDSTDERR: 78 | int spellCast; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: src/item.C:58:1: warning: when initialized here [-Wreorder] BUILDSTDERR: 58 | 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: 78 | int spellCast; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: src/item.h:77:7: warning: 'int BTItem::type' [-Wreorder] BUILDSTDERR: 77 | int type; BUILDSTDERR: | ^~~~ BUILDSTDERR: src/item.C:58:1: warning: when initialized here [-Wreorder] BUILDSTDERR: 58 | BTItem::BTItem() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: src/item.C: In member function 'virtual std::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: 256 | if (size() > index) BUILDSTDERR: | ~~~~~~~^~~~~~~ BUILDSTDERR: src/item.C: In member function 'virtual int BTItemSlotList::getIndex(std::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: 264 | for (int i = 0; i < size(); ++i) BUILDSTDERR: | ~~^~~~~~~~ BUILDSTDERR: src/item.C: In member function 'virtual std::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: 277 | if (size() > index) BUILDSTDERR: | ~~~~~~~^~~~~~~ BUILDSTDERR: src/item.C: In member function 'virtual int BTItemTypeList::getIndex(std::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: 285 | for (int i = 0; i < size(); ++i) BUILDSTDERR: | ~~^~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from src/istdlib.h:53, BUILDSTDERR: from src/item.h:10, BUILDSTDERR: from src/item.C:8: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void BTItem::write(BinaryWriteFile&)' at src/item.C:163:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 25 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: 51 | 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: 69 | 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: 94 | int i; BUILDSTDERR: | ^ BUILDSTDERR: src/psuedo3d.C:95:6: warning: unused variable 'type' [-Wunused-variable] BUILDSTDERR: 95 | 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: 162 | 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: 176 | for (int i = 0; i < config->mapType.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~~~~~~~~~ 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: 51 | 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: 61 | 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: 74 | 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: 116 | 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: 125 | 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: 129 | 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: 154 | for (int i = 0; i < cfg.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~ BUILDSTDERR: src/psuedo3dconfig.C: In member function 'virtual std::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: 167 | if (size() > index) BUILDSTDERR: | ~~~~~~~^~~~~~~ BUILDSTDERR: src/psuedo3dconfig.C: In member function 'virtual int Psuedo3DConfigList::getIndex(std::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: 175 | for (int i = 0; i < size(); ++i) BUILDSTDERR: | ~~^~~~~~~~ BUILDSTDERR: In file included from src/spell.h:14, BUILDSTDERR: from src/main.C:5: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/spell.h:14, BUILDSTDERR: from src/main.C:5: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/spell.h:16, BUILDSTDERR: from src/main.C:5: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ 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: 218 | 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: 279 | 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: 289 | 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: 294 | printf("Class: %s\n", ((j < jobList.size()) ? BTGame::getGame()->getJobList()[j]->name : "Unknown")); BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/main.C:305:24: warning: format '%s' expects argument of type 'char*', but argument 2 has type '__gnu_cxx::__alloc_traits, BTDuration*>::value_type' {aka 'BTDuration*'} [-Wformat=] BUILDSTDERR: 305 | printf("Duration: %s\n", BTGame::getGame()->getDurationList()[mon.getDuration()]); BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | char* 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: 341 | for (i = 0; i < itmList.size(); i++) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/main.C:345:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type '__gnu_cxx::__alloc_traits, BTItemType*>::value_type' {aka 'BTItemType*'} [-Wformat=] BUILDSTDERR: 345 | printf("Type: %s\n", game.getItemTypeList()[mon.getType()]); BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | char* 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:149:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 149 | 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:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 187 | 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:187: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:149:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 149 | 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; IShort = short int]': BUILDSTDERR: src/main.C:281:33: required from here BUILDSTDERR: src/factory.h:273:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 273 | 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:149:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 149 | 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:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 187 | 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/file.o src/file.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/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 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 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 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 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 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: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches 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: 39 | 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: 1333 | 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: 39 | 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: 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/map.C:11: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/map.C:11: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/map.C:11: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ 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: 94 | 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: 102 | 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: 114 | 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: 125 | 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: 132 | 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: 144 | 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: 163 | 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: 186 | 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: 220 | 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: 234 | 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: 251 | for (int i = 0; i < ops.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'virtual std::string BTSpecialCommand::print() const': BUILDSTDERR: src/map.C:324:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 324 | 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: 452 | 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: 478 | 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: 547 | 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: 612 | 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: 628 | 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: 644 | 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: 660 | 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: 688 | 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: 690 | 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: 862 | 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: 872 | 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: 885 | 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: 902 | 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: 932 | 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: 995 | if ((27 != key) && (party.size() > (key - '1'))) BUILDSTDERR: | ~~~~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'virtual std::string BTSpecialConditional::print() const': BUILDSTDERR: src/map.C:1119:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1119 | 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: 1207 | 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: 1219 | 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: 1252 | 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: 1260 | 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: 1292 | 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: 1301 | 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: 1318 | 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: 1332 | 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: 1367 | 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: 1545 | 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: 1583 | int i, last; BUILDSTDERR: | ^ BUILDSTDERR: src/map.C:1583:9: warning: unused variable 'last' [-Wunused-variable] BUILDSTDERR: 1583 | 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: 1658 | 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: 1666 | 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: 1694 | for (i = 0; i < body.ops.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:1649:9: warning: unused variable 'unknown' [-Wunused-variable] BUILDSTDERR: 1649 | 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: 1747 | 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: 1827 | 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: 1879 | 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: 1913 | 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: 1945 | 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: 1965 | return ((specials.size() > num) ? specials[num] : NULL); BUILDSTDERR: | ~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: src/map.C: In member function 'std::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: 1981 | 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: 2135 | for (i = 0; i < specials.size(); i++) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/map.C:2089:9: warning: unused variable 'unknown' [-Wunused-variable] BUILDSTDERR: 2089 | 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: 2145 | 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: 2155 | for (int i = 0; i < filename.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/map.C: In member function 'std::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: 2166 | 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: 2171 | 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: 2179 | for (int i = 0; i < filename.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/duration.h:12, BUILDSTDERR: 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:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 187 | 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:187: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:187: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: 210 | } BUILDSTDERR: | ^ BUILDSTDERR: src/race.C: In member function 'virtual std::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: 33 | if ((size() > index) && (index >= 0)) BUILDSTDERR: | ~~~~~~~^~~~~~~ BUILDSTDERR: src/race.C: In member function 'virtual int BTRaceList::getIndex(std::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: 41 | for (int i = 0; i < size(); ++i) BUILDSTDERR: | ~~^~~~~~~~ BUILDSTDERR: src/xmlserializer.C: In member function 'void XMLSerializer::write(const char*, bool)': BUILDSTDERR: src/xmlserializer.C:672:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 672 | for (; i < ary->size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~ BUILDSTDERR: src/xmlserializer.C:679:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 679 | if (i + 1 == ary->size()) BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/xmlserializer.C:781:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 781 | for (int i = 0; i < v->size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~ BUILDSTDERR: src/xmlserializer.C:791:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 791 | for (int i = 0; i < v->size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~ BUILDSTDERR: src/xmlserializer.C:801:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 801 | 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:875:41: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 875 | 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: 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: src/xmlserializer.C:875:41: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 875 | 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: 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/job.C:9: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/job.C:9: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/job.C:9: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ 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: 16 | 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: 73 | 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: 105 | 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: 125 | for (int i = 0; i < changeRule.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/job.C: In member function 'virtual std::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: 171 | if (size() > index) BUILDSTDERR: | ~~~~~~~^~~~~~~ BUILDSTDERR: src/job.C: In member function 'virtual int BTJobList::getIndex(std::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: 179 | for (int i = 0; i < size(); ++i) BUILDSTDERR: | ~~^~~~~~~~ BUILDSTDERR: src/job.C: In member function 'virtual std::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: 197 | if (jbList->size() > index) BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: src/job.C: In member function 'virtual int BTJobAbbrevList::getIndex(std::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: 205 | for (int i = 0; i < jbList->size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: cc1: warning: command line option '-std=gnu++11' is valid for C++/ObjC++ but not for 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: 56 | 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: 654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/physfsrwops.c:78:13: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 78 | 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: 654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/physfsrwops.c:106:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 106 | 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: 654 | 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: 117 | 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: 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: src/physfsrwops.c:121:13: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 121 | 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: 654 | 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: 133 | 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: 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: src/physfsrwops.c:135:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 135 | 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: 654 | 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: 148 | 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: 654 | 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: 163 | 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: 654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ 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: 145 | 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: 149 | IULong amount = ((i > length) ? length : i); BUILDSTDERR: | ~~^~~~~~~~ -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 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 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 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 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 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 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 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: 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-psrc/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: 22 | 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: 45 | 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: 50 | 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: 107 | 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: 112 | 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: 126 | 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: 126 | 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: 162 | 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: 162 | 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: 164 | 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: 166 | else if (pos2 >= size) BUILDSTDERR: | ~~~~~^~~~~~~ BUILDSTDERR: src/bitfield.C: In member function 'std::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: 232 | 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: 258 | 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: 263 | 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: 273 | 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: 286 | 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: 294 | 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: 321 | 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: 345 | 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: 373 | 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: 382 | 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: 412 | for (int i = 0; i < size; ++i) BUILDSTDERR: | ~~^~~~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/game.C:9: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/game.C:9: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/game.C:9: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: src/game.C: In member function 'BTShop* BTCore::getShop(int)': BUILDSTDERR: src/game.C:125:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 125 | for (int i = 0; i < shops.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/game.C: In member function 'void BTGame::loadStart()': BUILDSTDERR: src/game.C:334:38: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 334 | 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: 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: src/game.C:334:38: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 334 | 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: 1333 | 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:366:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 366 | for (int i = 0; i < skillList.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/game.C:370:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 370 | for (int k = 0; k < party.size(); ++k) BUILDSTDERR: | ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/game.C: In member function 'void BTGame::run(BTDisplay&)': BUILDSTDERR: src/game.C:635:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 635 | for (int i = 0; i < party.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/game.C:723:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 723 | if (n < party.size()) BUILDSTDERR: | ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/game.C: In member function 'void BTGame::nextTurn(BTDisplay&, BTCombat*)': BUILDSTDERR: src/game.C:1094:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 1094 | 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:1186:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 1186 | for (int i = 0; i < getRoster().size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/game.C:1190:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 1190 | for (int i = 0; i < curParty.member.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/game.C:1193:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 1193 | for (int k = 0; k < roster.size(); ++k) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/game.C:1202:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 1202 | if ((!found) && (extraPos < extra.size())) BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/game.C: In member function 'void BTGame::writeSaveXML(const char*)': BUILDSTDERR: src/game.C:1216:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 1216 | for (int i = 0; i < party.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/game.C:1220:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 1220 | for (int k = 0; k < roster.size(); ++k) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/duration.h:12, BUILDSTDERR: 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:31:25: required from here BUILDSTDERR: src/factory.h:124:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 124 | if ((len > extension.length()) && (strcmp(extension.c_str(), filename + (len - extension.length())) == 0)) BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h:135:3: warning: catching polymorphic type 'class FileException' by value [-Wcatch-value=] BUILDSTDERR: 135 | 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:32:23: required from here BUILDSTDERR: src/factory.h:124:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 124 | if ((len > extension.length()) && (strcmp(extension.c_str(), filename + (len - extension.length())) == 0)) BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h:135:3: warning: catching polymorphic type 'class FileException' by value [-Wcatch-value=] BUILDSTDERR: 135 | 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:33:29: required from here BUILDSTDERR: src/factory.h:124:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 124 | if ((len > extension.length()) && (strcmp(extension.c_str(), filename + (len - extension.length())) == 0)) BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h:135:3: warning: catching polymorphic type 'class FileException' by value [-Wcatch-value=] BUILDSTDERR: 135 | catch (FileException e) BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/game.C: In member function 'BTMap* BTGame::loadMap(const char*, bool)': BUILDSTDERR: src/game.C:324:17: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 324 | BTCore::loadMap(filename); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/status.C:9: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/status.C:9: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/status.C:9: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/pc.C:9: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/pc.C:9: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/pc.C:9: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ 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: 118 | unsigned int gold; BUILDSTDERR: | ^~~~ BUILDSTDERR: src/pc.h:117:16: warning: 'unsigned int BTPc::xp' [-Wreorder] BUILDSTDERR: 117 | unsigned int xp; BUILDSTDERR: | ^~ BUILDSTDERR: src/pc.C:30:1: warning: when initialized here [-Wreorder] BUILDSTDERR: 30 | 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: 118 | unsigned int gold; BUILDSTDERR: | ^~~~ BUILDSTDERR: src/pc.h:117:16: warning: 'unsigned int BTPc::xp' [-Wreorder] BUILDSTDERR: 117 | unsigned int xp; BUILDSTDERR: | ^~ BUILDSTDERR: src/pc.C:41:1: warning: when initialized here [-Wreorder] BUILDSTDERR: 41 | 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: 94 | 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: 142 | 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: 146 | 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: 170 | 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: 172 | if (skill[k]->history.size() >= level - 1) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: src/pc.C: In member function 'std::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: 225 | 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: 249 | 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: 309 | 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: 314 | 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: 317 | 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: 365 | for (numItems = 0; numItems < BT_ITEMS; ++numItems) BUILDSTDERR: src/pc.C:361:6: warning: unused variable 'pc' [-Wunused-variable] BUILDSTDERR: 361 | int pc = party.find(this); BUILDSTDERR: | ^~ BUILDSTDERR: src/pc.C:362:21: warning: unused variable 'itemList' [-Wunused-variable] BUILDSTDERR: 362 | BTFactory &itemList = game->getItemList(); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/pc.C:363:32: warning: unused variable 'spellList' [-Wunused-variable] BUILDSTDERR: 363 | 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: 387 | 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: 416 | 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: 418 | 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: 442 | 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: 559 | 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: 576 | 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: 600 | 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: 648 | 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: 673 | 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: 710 | 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: 727 | 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: 814 | 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: 834 | 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: 844 | 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: 862 | 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: 889 | 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: 905 | 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: 930 | 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: 979 | 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: 998 | 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: 1030 | 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: 1040 | 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: 1089 | 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: 1182 | 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: 1199 | 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: 1212 | 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: 1218 | 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: 1235 | if (where == size()) BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: In file included from src/duration.h:12, BUILDSTDERR: 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:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 187 | 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:187: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:187: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:24: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: 818 | snprintf(tmp, 10, "%d", i + 1); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from /usr/include/c++/9/ext/string_conversions.h:43, BUILDSTDERR: from /usr/include/c++/9/bits/basic_string.h:6493, BUILDSTDERR: from /usr/include/c++/9/string:55, 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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: 154 | for (int i = 0; i < expanded.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/display.C:10: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/display.C:10: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/display.C:10: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ 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: 718 | 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: 767 | if (partial = strchr(words, '\n')) BUILDSTDERR: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/display.C:776:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 776 | 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: 945 | 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: 1074 | 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: 1088 | 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: 1101 | 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: 1240 | 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: 1303 | 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: 1316 | 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: 1321 | 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: 1495 | 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: 1586 | 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: 1602 | 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: 1617 | 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: 1631 | 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: 2129 | 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: 2142 | 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: 2445 | unsigned char response = display->readChar(); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/display.C:2287:11: warning: variable 'src' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2287 | SDL_Rect src, dst; BUILDSTDERR: | ^~~ BUILDSTDERR: src/display.C: In member function 'std::string BTDisplay::getCurrentLabel()': BUILDSTDERR: src/display.C:1126:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 1126 | } 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: 1250 | SDL_RemoveTimer(timer); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~ 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: 163 | 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: 196 | for (int i = 0; i < condition.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/valuelookup.C: In member function 'virtual std::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: 28 | if ((index >= 0) && (index < sz)) BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: src/valuelookup.C: In member function 'virtual int ArrayLookup::getIndex(std::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: 36 | for (int i = 0; i < sz; ++i) BUILDSTDERR: | ~~^~~~ BUILDSTDERR: src/valuelookup.C: In member function 'virtual std::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: 52 | if ((arrayIndex >= 0) && (arrayIndex < sz)) BUILDSTDERR: | ~~~~~~~~~~~^~~~ BUILDSTDERR: src/valuelookup.C: In member function 'virtual int PairLookup::getIndex(std::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: 60 | 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: 86 | 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: 94 | for (int i = 0; i < sz; ++i) BUILDSTDERR: | ~~^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/statusbar.C:9: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/statusbar.C:9: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/statusbar.C:9: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ 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: 21 | 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: 30 | 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: 34 | for (int k = 0; k < statusInfo.size(); ++k) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~~~~ rotection -DSDL2LIB -I/usr/include/SDL2 -D_REENTRANT -Isrc/ --std=gnu++11 -DBTBUILDERDIR=/usr/share/btbuilder -c -o src/bitfield.o src/bitfield.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/game.o src/game.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/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/pc.o src/pc.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 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 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 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: 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/statusbaIn file included from src/game.h:12, BUILDSTDERR: from src/skill.C:9: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/skill.C:9: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/skill.C:9: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ 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: 38 | else if (roll.size() > value) BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: src/skill.C: In member function 'virtual std::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: 68 | if ((size() > index) && (index >= 0)) BUILDSTDERR: | ~~~~~~~^~~~~~~ BUILDSTDERR: src/skill.C: In member function 'virtual int BTSkillList::getIndex(std::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: 76 | for (int i = 0; i < size(); ++i) BUILDSTDERR: | ~~^~~~~~~~ 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: 12 | if (level <= xp.size()) BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~ BUILDSTDERR: src/xpchart.C: In member function 'virtual std::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: 34 | if (size() > index) BUILDSTDERR: | ~~~~~~~^~~~~~~ BUILDSTDERR: src/xpchart.C: In member function 'virtual int BTXpChartList::getIndex(std::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: 42 | for (int i = 0; i < size(); ++i) BUILDSTDERR: | ~~^~~~~~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/combatant.C:10: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/combatant.C:10: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/combatant.C:10: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: src/combatant.C: In member function 'std::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: 52 | for (int i = 0; i < dmgBonus.size(); i++) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/spelleffect.C:10: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/spelleffect.C:10: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/spelleffect.C:11: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ 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: 209 | 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: 230 | 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: 269 | 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:328:24: warning: unused variable 'monList' [-Wunused-variable] BUILDSTDERR: 328 | BTFactory &monList = game->getMonsterList(); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: src/spelleffect.C: In member function 'int BTAttackEffect::applyToGroup(BTDisplay&, BTCombatantCollection*, int)': BUILDSTDERR: src/spelleffect.C:392:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 392 | 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:418:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 418 | for (int i = 0; i < party.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C:441:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 441 | for (int k = 0; k < grp->individual.size(); ++k) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C:455:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 455 | 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:668:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 668 | 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:744:24: warning: unused variable 'monList' [-Wunused-variable] BUILDSTDERR: 744 | BTFactory &monList = game->getMonsterList(); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: src/spelleffect.C: In member function 'int BTDispellIllusionEffect::applyToGroup(BTDisplay&, BTCombatantCollection*)': BUILDSTDERR: src/spelleffect.C:795:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 795 | 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:921:1: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: 921 | } BUILDSTDERR: | ^ BUILDSTDERR: src/spelleffect.C: In member function 'virtual void BTArmorBonusEffect::finishBonus(BTDisplay&, BTCombat*, int, int)': BUILDSTDERR: src/spelleffect.C:1050:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 1050 | 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:1246:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 1246 | for (int i = 0; i < party.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C:1264:1: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: 1264 | } BUILDSTDERR: | ^ BUILDSTDERR: src/spelleffect.C: In member function 'virtual int BTScrySightEffect::maintain(BTDisplay&, BTCombat*)': BUILDSTDERR: src/spelleffect.C:1755:1: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: 1755 | } BUILDSTDERR: | ^ BUILDSTDERR: src/spelleffect.C: In member function 'virtual void BTDamageBonusEffect::finishBonus(BTDisplay&, BTCombat*, int, int)': BUILDSTDERR: src/spelleffect.C:1949:33: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 1949 | for (int dmgNum = 0; dmgNum < party[i]->dmgBonus.size(); dmgNum++) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C:1961:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 1961 | for (int dmgNum = 0; dmgNum < party[trgt]->dmgBonus.size(); dmgNum++) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C:1981:33: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 1981 | for (int dmgNum = 0; dmgNum < grp->individual[k].dmgBonus.size(); dmgNum++) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C:1999:33: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 1999 | for (int dmgNum = 0; dmgNum < grp->individual[i].dmgBonus.size(); dmgNum++) BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/spelleffect.C:2011:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 2011 | 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:2060:1: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: 2060 | } BUILDSTDERR: | ^ BUILDSTDERR: src/spelleffect.C: In member function 'virtual int BTLocationEffect::maintain(BTDisplay&, BTCombat*)': BUILDSTDERR: src/spelleffect.C:2107:1: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: 2107 | } BUILDSTDERR: | ^ BUILDSTDERR: In file included from src/duration.h:12, BUILDSTDERR: 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:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 187 | if (num >= items.size()) BUILDSTDERR: In file included from src/combat.C:9: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/combat.C:9: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/combat.C:10: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ 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: 220 | 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: 252 | 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: 283 | 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: 305 | 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: 332 | 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: 409 | 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: 419 | 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: 495 | add("inRange", new bool(range >= itr->distance), attrib, true); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:505:50: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector::size_type' {aka 'long unsigned int'} [-Wformat=] BUILDSTDERR: 505 | sprintf(monsterNames + strlen(monsterNames), "%d %s (%d0')", itr->individual.size(), itr->getName().c_str(), itr->distance); BUILDSTDERR: | ~^ ~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int std::vector::size_type {aka long unsigned int} BUILDSTDERR: | %ld 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: 553 | 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: 587 | 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: 591 | 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: 839 | 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: 841 | 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: 874 | 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: 895 | 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: 928 | 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: 972 | 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: 1041 | 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: 1046 | 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: 1207 | 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: 1238 | if (size != effect.size()) BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:1177:8: warning: unused variable 'hasIndvidualSpell' [-Wunused-variable] BUILDSTDERR: 1177 | 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: 1265 | 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: 1272 | for (i = 0; i < party.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:1165:32: warning: unused variable 'spellList' [-Wunused-variable] BUILDSTDERR: 1165 | 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: 1289 | 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: 1329 | 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: 1368 | 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: 1405 | for (int i = 0; i < skillList.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/combat.C:1403:11: warning: unused variable 'party' [-Wunused-variable] BUILDSTDERR: 1403 | 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: 1427 | 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: 1440 | 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: 1445 | for (int k = 0; k < BT_ITEMS; ++k) BUILDSTDERR: src/combat.C:1437:32: warning: unused variable 'spellList' [-Wunused-variable] BUILDSTDERR: 1437 | BTFactory &spellList = game->getSpellList(); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: src/combat.C:1438:12: warning: unused variable 'c' [-Wunused-variable] BUILDSTDERR: 1438 | 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: 1468 | 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: 1476 | 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: 1502 | 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: 1556 | for (int who = 0; who < party.size(); ++who) BUILDSTDERR: | ~~~~^~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/duration.h:12, BUILDSTDERR: 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:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 187 | 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:187: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:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: src/combat.C: In member function 'virtual void BTCombat::initScreen(BTDisplay&)': BUILDSTDERR: src/combat.C:484:24: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: 484 | snprintf(tmp, 10, "%d", i); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from /usr/include/c++/9/ext/string_conversions.h:43, BUILDSTDERR: from /usr/include/c++/9/bits/basic_string.h:6493, BUILDSTDERR: from /usr/include/c++/9/string:55, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:47:7: warning: '.BTMonsterGroup::active' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 47 | class BTMonsterGroup : public BTCombatantCollection BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/combat.h:47:7: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] 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: 915 | pc.combat.setTarget(group); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/icon.C:10: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/icon.C:10: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/icon.C:10: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/song.C:8: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/song.C:8: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/song.C:8: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ 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: 26 | 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: 40 | for (int i = 0; i < manifest.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/screenset.C:10: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/screenset.C:10: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/screenset.C:10: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C: In member function 'virtual std::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: 112 | 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: 544 | 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: 549 | 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: 590 | 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: 629 | 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: 672 | 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: 674 | 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: 736 | 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: 845 | 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: 908 | 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: 1078 | 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: 1109 | 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: 1173 | 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: 1185 | 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: 1371 | 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: 1408 | 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: 1430 | 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: 1453 | 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: 1555 | 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: 1637 | 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: 1652 | 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: 1705 | 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: 1707 | 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: 1710 | 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: 1715 | 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: 1717 | 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: 1734 | 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: 1740 | 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: 1776 | 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: 1774 | 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: 1810 | 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: 1821 | 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: 1872 | 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: 1907 | 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: 1958 | } 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: 1970 | 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: 1974 | 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: 1991 | 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: 2032 | 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: 2034 | 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: 2060 | 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: 2084 | 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: 2120 | if (select->select >= job[b.pc[0]->job]->skill.size()) BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/screenset.C:2119:7: warning: unused variable 'bFound' [-Wunused-variable] BUILDSTDERR: 2119 | 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: 2139 | 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: 2156 | 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: 2200 | 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: 2228 | 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: 2255 | 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: 2264 | 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: 2293 | 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: 2348 | 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: 2369 | 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: 2384 | 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: 2423 | 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: 2428 | 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: 2498 | 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: 2524 | 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: 2589 | if ((key >= '1') && (key <= '9') && (key - '1' < party.size())) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/duration.h:12, BUILDSTDERR: 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:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 187 | 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:187: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: 213 | } BUILDSTDERR: | ^ r.o src/statusbar.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/skill.o src/skill.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/xpchart.o src/xpchart.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/combatant.o src/combatant.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/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 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 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 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: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strIn file included from src/game.h:12, BUILDSTDERR: from src/chest.C:8: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/chest.C:8: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/chest.C:8: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ 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: 31 | BTDice trapDamage; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: src/chest.h:30:7: warning: 'int BTChest::trapExtra' [-Wreorder] BUILDSTDERR: 30 | int trapExtra; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: src/chest.C:11:1: warning: when initialized here [-Wreorder] BUILDSTDERR: 11 | 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: 53 | for (int i = 0; i < party.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/manifest.C:8: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/manifest.C:8: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/manifest.C:8: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.C: In member function 'virtual std::string BTBonusManifest::createString()': BUILDSTDERR: src/manifest.C:156:14: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: 156 | sprintf(s, "[max: %d]", level, maximum); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: src/manifest.C: In member function 'virtual std::string BTAttackManifest::createString()': BUILDSTDERR: src/manifest.C:254:15: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: 254 | 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:313:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 313 | else if (level = 1) BUILDSTDERR: | ~~~~~~^~~ BUILDSTDERR: src/manifest.C: In member function 'virtual std::string BTHealManifest::createString()': BUILDSTDERR: src/manifest.C:453:14: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: 453 | 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:526:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 526 | 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:554:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 554 | for (int i = 0; i < content.size(); ++i) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.C: In member function 'virtual std::string BTRangeBonusManifest::createString()': BUILDSTDERR: src/manifest.C:1044:14: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: 1044 | sprintf(s, "[max: %d]", level, maximum); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: src/manifest.C: In copy constructor 'BTRandomManifestChance::BTRandomManifestChance(const BTRandomManifestChance&)': BUILDSTDERR: src/manifest.C:1152:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 1152 | 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:1167:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 1167 | 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:1204:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 1204 | for (int i = 0; i < chance.size(); i++) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.C:1208:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 1208 | 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:1228:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 1228 | for (int i = 0; i < chance.size(); i++) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.C:1232:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 1232 | for (int k = 0; k < chance[i]->content.size(); ++k) BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/duration.h:12, BUILDSTDERR: 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:700:80: required from here BUILDSTDERR: src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 187 | if (num >= items.size()) BUILDSTDERR: In file included from src/spell.h:14, BUILDSTDERR: from src/mainscreen.C:11: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/spell.h:14, BUILDSTDERR: from src/mainscreen.C:11: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/spell.h:16, BUILDSTDERR: from src/mainscreen.C:11: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ 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: 32 | 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: 51 | 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: 1159 | 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: 51 | 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: 1159 | 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: 69 | 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: 100 | 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: 105 | 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: 118 | delete display; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: src/mainscreen.C: In member function 'void BTMainScreen::runModule(std::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: 146 | delete display; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: src/mainscreen.C: In member function 'void BTMainScreen::editModule(std::string, std::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: 172 | delete display; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: src/mainscreen.C: In member function 'void BTMainScreen::init(std::string, std::string)': BUILDSTDERR: src/mainscreen.C:198:42: warning: 'const char* PHYSFS_getUserDir()' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 198 | 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: 792 | 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: 198 | 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: 792 | 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: 230 | 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: 851 | 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: 230 | 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: 851 | 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: 241 | 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: 851 | 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: 241 | 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: 851 | 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: 244 | 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: 851 | 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: 244 | 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: 851 | 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: 246 | 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: 851 | 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: 246 | 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: 851 | PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/effectgroup.C:9: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/effectgroup.C:9: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/effectgroup.C:9: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ 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: 49 | 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: 98 | 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: 188 | if (size != effect.size()) BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/specialflag.C:8: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/specialflag.C:8: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/specialflag.C:8: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: src/specialflag.C: In member function 'virtual std::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: 31 | if ((size() > index) && (index >= 0)) BUILDSTDERR: | ~~~~~~~^~~~~~~ BUILDSTDERR: src/imagetag.C: In member function 'BTDisplay::selectItem* BTImageTagList::search(std::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: 63 | 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: 65 | 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: 95 | if (i == current) BUILDSTDERR: | ~~^~~~~~~~~~ ong -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 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/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 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 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 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 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: 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-In file included from src/game.h:12, BUILDSTDERR: from src/editor.h:10, BUILDSTDERR: from src/editor.C:9: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/editor.h:10, BUILDSTDERR: from src/editor.C:9: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/editor.h:10, BUILDSTDERR: from src/editor.C:9: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: src/editor.C: In member function 'void BTEditor::editMap(BTDisplay&, const char*)': BUILDSTDERR: src/editor.C:205:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 205 | if (currentWall < p3dConfig->mapType.size()) BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/editor.C:264:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 264 | if (currentWall < p3dConfig->mapType.size()) BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/editor.C:275:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 275 | if (currentWall < p3dConfig->mapType.size()) BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/editor.C:283:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 283 | if (currentWall < p3dConfig->mapType.size()) BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/editor.C:353:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 353 | if (currentWall < p3dConfig->mapType.size()) BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/editor.C:403:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 403 | if (currentWall < p3dConfig->mapType.size()) BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/editor.C:424:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 424 | if (currentWall < p3dConfig->mapType.size()) BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/editor.C: In member function 'BTSpecialOperation* BTEditor::editSpecialOperation(BTDisplay&, BTSpecialOperation*)': BUILDSTDERR: src/editor.C:740:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 740 | while (dollarSign = strchr(cmd, '$')) BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/duration.h:12, BUILDSTDERR: 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:132:24: required from here BUILDSTDERR: src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 187 | 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:135:36: required from here BUILDSTDERR: src/factory.h:149:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 149 | 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 = BTSpell; item1 = BTSpell1; IShort = short int]': BUILDSTDERR: src/editor.C:146:20: required from here BUILDSTDERR: src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 187 | 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:149:32: required from here BUILDSTDERR: src/factory.h:149:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 149 | 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/editor.C:160:18: required from here BUILDSTDERR: src/factory.h:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 187 | 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:163:30: required from here BUILDSTDERR: src/factory.h:149:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 149 | 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&, XMLVector&, const BTSortCompare&, const string&) [with item = BTDuration; std::string = std::__cxx11::basic_string]': BUILDSTDERR: src/editor.C:171:105: 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: 35 | 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: 40 | 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: 47 | else if (('c' == key) && (current != itemList.size())) BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/serialeditor.h:55:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 55 | if (current == itemList.size()) BUILDSTDERR: src/serialeditor.h: In instantiation of 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const string&) [with item = BTMonster; std::string = std::__cxx11::basic_string]': BUILDSTDERR: src/serialeditor.h:66:77: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const string&) [with item = BTMonster; item1 = BTMonster; std::string = std::__cxx11::basic_string]' BUILDSTDERR: src/editor.C:129: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: 35 | 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: 40 | 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: 47 | else if (('c' == key) && (current != itemList.size())) BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/serialeditor.h:55:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 55 | if (current == itemList.size()) BUILDSTDERR: src/serialeditor.h: In instantiation of 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const string&) [with item = BTSpell; std::string = std::__cxx11::basic_string]': BUILDSTDERR: src/serialeditor.h:66:77: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const string&) [with item = BTSpell; item1 = BTSpell1; std::string = std::__cxx11::basic_string]' BUILDSTDERR: src/editor.C:143: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: 35 | 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: 40 | 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: 47 | else if (('c' == key) && (current != itemList.size())) BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/serialeditor.h:55:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 55 | if (current == itemList.size()) BUILDSTDERR: src/serialeditor.h: In instantiation of 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const string&) [with item = BTItem; std::string = std::__cxx11::basic_string]': BUILDSTDERR: src/serialeditor.h:66:77: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const string&) [with item = BTItem; item1 = BTItem; std::string = std::__cxx11::basic_string]' BUILDSTDERR: src/editor.C:157: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: 35 | 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: 40 | 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: 47 | else if (('c' == key) && (current != itemList.size())) BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/serialeditor.h:55:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 55 | if (current == itemList.size()) BUILDSTDERR: In file included from src/duration.h:12, BUILDSTDERR: 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& BTSortedFactory::operator[](IShort) [with item = BTDuration; IShort = short int]': BUILDSTDERR: src/serialeditor.h:30:29: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const string&) [with item = BTDuration; std::string = std::__cxx11::basic_string]' BUILDSTDERR: src/editor.C:171:105: required from here BUILDSTDERR: src/factory.h:273:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 273 | if (num >= sortedItems.size()) BUILDSTDERR: | ~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h: In instantiation of 'int BTSortedFactory::getUnsortedIndex(int) [with item = BTDuration]': BUILDSTDERR: src/serialeditor.h:34:13: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const string&) [with item = BTDuration; std::string = std::__cxx11::basic_string]' BUILDSTDERR: src/editor.C:171:105: required from here BUILDSTDERR: src/factory.h:226:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 226 | if (index < sortedItems.size()) BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h: In instantiation of 'item& BTSortedFactory::operator[](IShort) [with item = BTMonster; IShort = short int]': BUILDSTDERR: src/serialeditor.h:30:29: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const string&) [with item = BTMonster; std::string = std::__cxx11::basic_string]' BUILDSTDERR: src/serialeditor.h:66:77: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const string&) [with item = BTMonster; item1 = BTMonster; std::string = std::__cxx11::basic_string]' BUILDSTDERR: src/editor.C:129:109: required from here BUILDSTDERR: src/factory.h:273:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 273 | if (num >= sortedItems.size()) BUILDSTDERR: | ~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h: In instantiation of 'int BTSortedFactory::getUnsortedIndex(int) [with item = BTMonster]': BUILDSTDERR: src/serialeditor.h:34:13: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const string&) [with item = BTMonster; std::string = std::__cxx11::basic_string]' BUILDSTDERR: src/serialeditor.h:66:77: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const string&) [with item = BTMonster; item1 = BTMonster; std::string = std::__cxx11::basic_string]' BUILDSTDERR: src/editor.C:129:109: required from here BUILDSTDERR: src/factory.h:226:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 226 | if (index < sortedItems.size()) BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h: In instantiation of 'item& BTSortedFactory::operator[](IShort) [with item = BTSpell; IShort = short int]': BUILDSTDERR: src/serialeditor.h:30:29: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const string&) [with item = BTSpell; std::string = std::__cxx11::basic_string]' BUILDSTDERR: src/serialeditor.h:66:77: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const string&) [with item = BTSpell; item1 = BTSpell1; std::string = std::__cxx11::basic_string]' BUILDSTDERR: src/editor.C:143:109: required from here BUILDSTDERR: src/factory.h:273:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 273 | if (num >= sortedItems.size()) BUILDSTDERR: | ~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h: In instantiation of 'int BTSortedFactory::getUnsortedIndex(int) [with item = BTSpell]': BUILDSTDERR: src/serialeditor.h:34:13: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const string&) [with item = BTSpell; std::string = std::__cxx11::basic_string]' BUILDSTDERR: src/serialeditor.h:66:77: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const string&) [with item = BTSpell; item1 = BTSpell1; std::string = std::__cxx11::basic_string]' BUILDSTDERR: src/editor.C:143:109: required from here BUILDSTDERR: src/factory.h:226:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 226 | if (index < sortedItems.size()) BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h: In instantiation of 'item& BTSortedFactory::operator[](IShort) [with item = BTItem; IShort = short int]': BUILDSTDERR: src/serialeditor.h:30:29: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const string&) [with item = BTItem; std::string = std::__cxx11::basic_string]' BUILDSTDERR: src/serialeditor.h:66:77: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const string&) [with item = BTItem; item1 = BTItem; std::string = std::__cxx11::basic_string]' BUILDSTDERR: src/editor.C:157:94: required from here BUILDSTDERR: src/factory.h:273:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 273 | if (num >= sortedItems.size()) BUILDSTDERR: | ~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/factory.h: In instantiation of 'int BTSortedFactory::getUnsortedIndex(int) [with item = BTItem]': BUILDSTDERR: src/serialeditor.h:34:13: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, XMLVector&, const BTSortCompare&, const string&) [with item = BTItem; std::string = std::__cxx11::basic_string]' BUILDSTDERR: src/serialeditor.h:66:77: required from 'int BTFactoryEditor::editFactoryList(BTDisplay&, BTFactory&, const BTSortCompare&, const string&) [with item = BTItem; item1 = BTItem; std::string = std::__cxx11::basic_string]' BUILDSTDERR: src/editor.C:157:94: required from here BUILDSTDERR: src/factory.h:226:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 226 | if (index < sortedItems.size()) BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/editor.h:10, BUILDSTDERR: from src/serialeditor.h:10, BUILDSTDERR: from src/serialeditor.C:9: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/editor.h:10, BUILDSTDERR: from src/serialeditor.h:10, BUILDSTDERR: from src/serialeditor.C:9: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/editor.h:10, BUILDSTDERR: from src/serialeditor.h:10, BUILDSTDERR: from src/serialeditor.C:9: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ 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: 67 | 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: 86 | if (where < obj->size()) BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: src/serialeditor.C:58:9: warning: unused variable 'where' [-Wunused-variable] BUILDSTDERR: 58 | 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: 115 | 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: 134 | 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: 244 | 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: 458 | 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: 652 | 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: 671 | 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: 679 | 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: 683 | 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: 688 | 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: 695 | 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: 728 | 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: 742 | 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: 752 | if (current == items.size()) BUILDSTDERR: | ~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/duration.h:12, BUILDSTDERR: 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:187:10: warning: comparison of integer expressions of different signedness: 'IShort' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 187 | if (num >= items.size()) BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/duration.C:8: BUILDSTDERR: src/combat.h: In constructor 'BTMonsterCombatant::BTMonsterCombatant(BTMonsterGroup*, int, int, int, int, int)': BUILDSTDERR: src/combat.h:44:19: warning: 'BTMonsterCombatant::group' will be initialized after [-Wreorder] BUILDSTDERR: 44 | BTMonsterGroup *group; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/combat.h:41:7: warning: 'int BTMonsterCombatant::save' [-Wreorder] BUILDSTDERR: 41 | int save; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from src/game.h:12, BUILDSTDERR: from src/duration.C:8: BUILDSTDERR: src/combat.h:32:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 32 | BTMonsterCombatant(BTMonsterGroup *grp, int startLevel, int startJob, int startAc, int startToHit, int startHp) : BTCombatant(startLevel, startJob, startAc, startToHit, startHp), group(grp), save(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/song.h:12, BUILDSTDERR: from src/game.h:24, BUILDSTDERR: from src/duration.C:8: BUILDSTDERR: src/manifest.h: In constructor 'BTAttackManifest::BTAttackManifest()': BUILDSTDERR: src/manifest.h:113:7: warning: 'BTAttackManifest::xSpecial' will be initialized after [-Wreorder] BUILDSTDERR: 113 | int xSpecial; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/manifest.h:111:7: warning: 'int BTAttackManifest::saveDifficulty' [-Wreorder] BUILDSTDERR: 111 | int saveDifficulty; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: src/manifest.h:97:3: warning: when initialized here [-Wreorder] BUILDSTDERR: 97 | BTAttackManifest() : xSpecial(BTEXTRADAMAGE_NONE), saveDifficulty(BTSAVE_DIFFICULTY), level(0), maximum(0) {} BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: src/duration.C: In member function 'virtual std::string BTDurationList::getName(int)': BUILDSTDERR: src/duration.C:70:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 70 | if (size() > index) BUILDSTDERR: | ~~~~~~~^~~~~~~ BUILDSTDERR: src/duration.C: In member function 'virtual int BTDurationList::getIndex(std::string)': BUILDSTDERR: src/duration.C:78:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 78 | for (int i = 0; i < size(); ++i) BUILDSTDERR: | ~~^~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 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 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 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/duration.o src/duration.C g++ -o btbuilder src/file.o src/dice.o src/monster.o src/spell.o src/item.o src/map.o src/main.o src/btconst.o src/game.o src/psuedo3d.o src/psuedo3dconfig.o src/job.o src/expatcpp.o src/xmlserializer.o src/race.o src/display.o src/sdlextend.o src/pc.o src/module.o src/physfsrwops.o src/compressor.o src/bitfield.o src/status.o src/serialrect.o src/displayconfig.o src/skill.o src/statusbar.o src/statusinfo.o src/valuelookup.o src/screenset.o src/combat.o src/xpchart.o src/spelleffect.o src/combatant.o src/group.o src/icon.o src/song.o src/manifest.o src/chest.o src/mainscreen.o src/shop.o src/effectgroup.o src/psuedo3dmap.o src/editor.o src/serialeditor.o src/specialcontext.o src/specialflag.o src/imagetag.o src/duration.o -lSDL2_image -lSDL2_mixer -lSDL2_ttf -lSDL2 --std=c++11 -lexpat -lphysfs -lboost_filesystem -lboost_system -lpng -lSDL_mng Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XiAFEw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64 + cd btbuilder-0.5.17 + make prefix=/builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64 install + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.5.17-2.fc31 --unique-debug-suffix -0.5.17-2.fc31.riscv64 --unique-debug-src-base btbuilder-0.5.17-2.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/btbuilder-0.5.17 BUILDSTDERR: 1579 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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 if test ! -d /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64/usr/bin; then mkdir -p /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64/usr/bin; fi if test ! -d /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64/usr/share/btbuilder; then mkdir -p /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64/usr/share/btbuilder; fi if test ! -d /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64/usr/share/appdata; then mkdir -p /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64/usr/share/appdata; fi if test ! -d /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64/usr/share/icons/hicolor; then mkdir -p /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64/usr/share/icons/hicolor; fi cp -R data image module music /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64/usr/share/btbuilder/ cp -R btbuilder.appdata.xml /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64/usr/share/appdata/ cp -R icons/* /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64/usr/share/icons/hicolor/ cp btbuilder /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64/usr/bin desktop-file-install --dir=/builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64/usr/share/applications btbuilder.desktop explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64/usr/bin/btbuilder extracting debug info from /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64/usr/bin/btbuilder original debug info size: 16852kB, size after compression: 13768kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.D1KbIx Processing files: btbuilder-0.5.17-2.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Nuc9vw + umask 022 + cd /builddir/build/BUILD + cd btbuilder-0.5.17 + DOCDIR=/builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64/usr/share/doc/btbuilder + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64/usr/share/doc/btbuilder + cp -pr README /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64/usr/share/doc/btbuilder + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: application() application(btbuilder.desktop) btbuilder = 0.5.17-2.fc31 btbuilder(riscv-64) = 0.5.17-2.fc31 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.69.0()(64bit) libboost_system.so.1.69.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.17-2.fc31.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Rh0XBy + umask 022 + cd /builddir/build/BUILD + cd btbuilder-0.5.17 + LICENSEDIR=/builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.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.17-2.fc31.riscv64/usr/share/licenses/btbuilder-data + cp -pr COPYING /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64/usr/share/licenses/btbuilder-data + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: btbuilder-data = 0.5.17-2.fc31 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.17-2.fc31.riscv64 Provides: btbuilder-debugsource = 0.5.17-2.fc31 btbuilder-debugsource(riscv-64) = 0.5.17-2.fc31 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.17-2.fc31.riscv64 Provides: btbuilder-debuginfo = 0.5.17-2.fc31 btbuilder-debuginfo(riscv-64) = 0.5.17-2.fc31 debuginfo(build-id) = eaaa6b325211df999401cb6ee150907f68893622 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.17-2.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64 Wrote: /builddir/build/RPMS/btbuilder-debugsource-0.5.17-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/btbuilder-0.5.17-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/btbuilder-debuginfo-0.5.17-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/btbuilder-data-0.5.17-2.fc31.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qzTrsx + umask 022 + cd /builddir/build/BUILD + cd btbuilder-0.5.17 + /usr/bin/rm -rf /builddir/build/BUILDROOT/btbuilder-0.5.17-2.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0