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/nethack-vultures.spec'], chrootPath='/var/lib/mock/f31-build-61847-28956/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/nethack-vultures.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548979200 Wrote: /builddir/build/SRPMS/nethack-vultures-2.1.2-24.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nethack-vultures.spec'], chrootPath='/var/lib/mock/f31-build-61847-28956/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/nethack-vultures.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548979200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tBv4qk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf vultures-2.1.2 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/vultures-2.1.2-full.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd vultures-2.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (nethack-vultures-1.11.0-optflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #1 (nethack-vultures-2.1.2-config.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #2 (nethack-vultures-1.10.1-clawguide.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=1 + echo 'Patch #3 (nethack-vultures-2.1.2-tabfullscreen.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #4 (nethack-vultures-2.1.2-logging.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #5 (nethack-vultures-libpng.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .libpng --fuzz=0 + echo 'Patch #6 (format-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .format-fix --fuzz=0 + echo 'Patch #7 (parser-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .parser-fix --fuzz=0 + sed -i -e 's|/usr/games/lib/nethackdir|/usr/games/vultureseye|g' nethack/doc/nethack.6 nethack/doc/recover.6 nethack/include/config.h + sed -i -e 's|/var/lib/games/nethack|/var/games/vultureseye|g' nethack/include/unixconf.h + sed -i -e 's|/usr/games/lib/nethackdir|/usr/games/vulturesclaw|g' slashem/doc/nethack.6 slashem/doc/recover.6 slashem/include/config.h + sed -i -e 's|/var/lib/games/nethack|/var/games/vulturesclaw|' slashem/include/unixconf.h + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (nethack-vultures-1.11.0-optflags.patch): patching file nethack/sys/unix/Makefile.src patching file nethack/sys/unix/Makefile.utl patching file slashem/sys/unix/Makefile.src patching file slashem/sys/unix/Makefile.utl Patch #1 (nethack-vultures-2.1.2-config.patch): patching file nethack/include/config.h patching file nethack/include/unixconf.h patching file slashem/include/config.h patching file slashem/include/unixconf.h Patch #2 (nethack-vultures-1.10.1-clawguide.patch): patching file slashem/sys/unix/Makefile.doc Patch #3 (nethack-vultures-2.1.2-tabfullscreen.patch): patching file vultures/vultures_sdl.c Patch #4 (nethack-vultures-2.1.2-logging.patch): patching file vultures/vultures_gen.c Patch #5 (nethack-vultures-libpng.patch): patching file vultures/vultures_gfl.c Patch #6 (format-fix.patch): patching file nethack/util/makedefs.c patching file slashem/util/makedefs.c patching file nethack/src/apply.c patching file nethack/src/artifact.c patching file nethack/src/botl.c patching file nethack/src/cmd.c patching file nethack/src/detect.c patching file nethack/src/dig.c patching file nethack/src/do.c patching file nethack/src/dothrow.c patching file nethack/src/dungeon.c patching file nethack/src/eat.c patching file nethack/src/engrave.c patching file nethack/src/hack.c patching file nethack/src/invent.c patching file nethack/src/lock.c patching file nethack/src/mail.c patching file nethack/src/makemon.c patching file nethack/src/mcastu.c patching file nethack/src/mhitu.c patching file nethack/src/mon.c patching file nethack/src/mthrowu.c patching file nethack/src/muse.c patching file nethack/src/polyself.c patching file nethack/src/potion.c patching file nethack/src/pray.c patching file nethack/src/priest.c patching file nethack/src/questpgr.c patching file nethack/src/read.c patching file nethack/src/region.c patching file nethack/src/restore.c patching file nethack/src/shk.c patching file nethack/src/sounds.c patching file nethack/src/spell.c patching file nethack/src/steed.c patching file nethack/src/teleport.c patching file nethack/src/timeout.c patching file nethack/src/trap.c patching file nethack/src/zap.c patching file slashem/src/apply.c patching file slashem/src/artifact.c patching file slashem/src/botl.c patching file slashem/src/cmd.c patching file slashem/src/detect.c patching file slashem/src/dig.c patching file slashem/src/do.c patching file slashem/src/dothrow.c patching file slashem/src/dungeon.c patching file slashem/src/eat.c patching file slashem/src/engrave.c patching file slashem/src/hack.c patching file slashem/src/invent.c patching file slashem/src/lock.c patching file slashem/src/mail.c patching file slashem/src/makemon.c patching file slashem/src/mcastu.c patching file slashem/src/mhitu.c patching file slashem/src/mon.c patching file slashem/src/mthrowu.c patching file slashem/src/muse.c patching file slashem/src/polyself.c patching file slashem/src/potion.c patching file slashem/src/pray.c patching file slashem/src/priest.c patching file slashem/src/questpgr.c patching file slashem/src/read.c patching file slashem/src/region.c patching file slashem/src/restore.c patching file slashem/src/shk.c patching file slashem/src/sounds.c patching file slashem/src/spell.c patching file slashem/src/steed.c patching file slashem/src/teleport.c patching file slashem/src/timeout.c patching file slashem/src/trap.c patching file slashem/src/zap.c patching file slashem/src/tech.c Patch #7 (parser-fix.patch): patching file vultures/vultures_tileconfig.parser.y Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CLUqXl + umask 022 + cd /builddir/build/BUILD + cd vultures-2.1.2 + for i in nethack slashem + make nethack/Makefile BUILDSTDERR: make: git-rev-list: Command not found + make -C nethack BUILDSTDERR: makedefs.c:52:19: warning: 'SCCS_Id' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 52 | static const char SCCS_Id[] = "@(#)makedefs.c\t3.4\t2002/02/03"; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:297, BUILDSTDERR: from ../include/unixconf.h:275, BUILDSTDERR: from ../include/global.h:150, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from makedefs.c:10: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'new_id' at makedefs.c:1471:2, BUILDSTDERR: inlined from 'do_qt_control.constprop' at makedefs.c:1528:21: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 3 bytes from a string of length 255 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Setup NetHack build environment ... make: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack' ( cd src ; make ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/src' touch ../src/config.h-t cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c monst.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c objects.c make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' cc -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 -I../include -I../win/vultures -DVULTURESEYE -c -o makedefs.o makedefs.c cc -o makedefs makedefs.o ../src/monst.o ../src/objects.o make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' ./makedefs -p make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' ./makedefs -o make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' touch ../src/hack.h-t cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o allmain.o allmain.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o alloc.o alloc.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o apply.o apply.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o artifact.o artifact.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o attrib.o attrib.c BUILDSTDERR: cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFcmd.c: In function 'dump_enlightenment': BUILDSTDERR: cmd.c:1137:14: warning: unused variable 'enc_stat' [-Wunused-variable] BUILDSTDERR: 1137 | const char *enc_stat[] = { /* copied from botl.c */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: cmd.c: In function 'rhack': BUILDSTDERR: cmd.c:2237:7: warning: case label value is less than minimum value for type BUILDSTDERR: 2237 | case M('5'): *cmd = 'G'; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: cmd.c:2238:7: warning: case label value is less than minimum value for type BUILDSTDERR: 2238 | case M('0'): *cmd = 'I'; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: cmd.c: In function 'dump_enlightenment': BUILDSTDERR: cmd.c:1389:28: warning: '%s' directive writing up to 255 bytes into a region of size 251 [-Wformat-overflow=] BUILDSTDERR: 1389 | Sprintf(buf2, "%s was %s", u_gname(), buf); BUILDSTDERR: | ^~ ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from cmd.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cmd.c:1418:26: warning: '%s' directive writing up to 255 bytes into a region of size between 223 and 243 [-Wformat-overflow=] BUILDSTDERR: 1418 | Sprintf(buf2, "You %s %s", p, buf); BUILDSTDERR: | ^~ ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from cmd.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 14 and 289 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Y_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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ball.o ball.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o bones.o bones.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o botl.o botl.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o cmd.o cmd.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dbridge.o dbridge.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o decl.o decl.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o detect.o detect.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dig.o dig.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o display.o display.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dlb.o dlb.c BUILDSTDERR: cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXdo_name.c: In function 'do_mname': BUILDSTDERR: do_name.c:283:42: warning: '%s' directive writing up to 255 bytes into a region of size 103 [-Wformat-overflow=] BUILDSTDERR: 283 | Sprintf(qbuf, "What do you want to call %s?", buf); BUILDSTDERR: | ^~ ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from do_name.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 27 and 282 bytes into a destination of size 128 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: eat.c: In function 'doeat': BUILDSTDERR: eat.c:2052:59: warning: ?: using integer constants in boolean context, the expression will always evaluate to 'true' [-Wint-in-bool-context] BUILDSTDERR: 2052 | (((monstermoves - otmp->age) > (int) otmp->blessed ? 50:30) && BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: eat.c: In function 'edibility_prompts': BUILDSTDERR: eat.c:1788:19: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 1788 | Sprintf(buf, "%s like %s could be tainted! %s", BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 535 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: eat.c:1808:19: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 1808 | Sprintf(buf, "%s like %s might be poisonous! %s", BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 28 and 537 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: eat.c:1815:19: warning: ' unhealthy. ' directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 1815 | Sprintf(buf, "%s unhealthy. %s", BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 395 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: eat.c:1821:19: warning: ' rather acidic. ' directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 1821 | Sprintf(buf, "%s rather acidic. %s", BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 17 and 399 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: eat.c:1794:19: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 1794 | Sprintf(buf, "%s like %s could be something very dangerous! %s", BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 43 and 552 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: eat.c:1828:19: warning: ' disgusting to you right now..' directive writing 30 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 1828 | Sprintf(buf, "%s disgusting to you right now. %s", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 31 and 413 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: eat.c:1842:19: warning: ' foul and unfamiliar to you. ' directive writing 29 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 1842 | Sprintf(buf, "%s foul and unfamiliar to you. %s", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 30 and 412 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: eat.c:1859:19: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 1859 | Sprintf(buf, "%s like %s could be tainted! %s", BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 535 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: eat.c:1851:19: warning: ' unfamiliar to you. ' directive writing 20 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 1851 | Sprintf(buf, "%s unfamiliar to you. %s", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 403 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: eat.c:1801:19: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 1801 | Sprintf(buf, "%s like %s could be rotten! %s", BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 25 and 534 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ X_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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o do.o do.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o do_name.o do_name.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o do_wear.o do_wear.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dog.o dog.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dogmove.o dogmove.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dokick.o dokick.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dothrow.o dothrow.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o drawing.o drawing.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dungeon.o dungeon.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o eat.o eat.c BUILDSTDERR: cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASend.c:1190:1: warning: 'list_vanquished' defined but not used [-Wunused-function] BUILDSTDERR: 1190 | list_vanquished(defquery, ask) BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:297, BUILDSTDERR: from ../include/unixconf.h:275, BUILDSTDERR: from ../include/global.h:150, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from end.c:7: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dump_init.part.0' at end.c:112:7: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: end.c: In function 'dump_init.part.0': BUILDSTDERR: end.c:112:26: note: length computed here BUILDSTDERR: 112 | strncpy(q, plname, strlen(plname) + 1); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:297, BUILDSTDERR: from ../include/unixconf.h:275, BUILDSTDERR: from ../include/global.h:150, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from end.c:7: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dump_init.part.0' at end.c:117:7: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: end.c: In function 'dump_init.part.0': BUILDSTDERR: end.c:117:7: note: length computed here BUILDSTDERR: 117 | strncpy(q, p, strlen(p)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/hack.h:121, BUILDSTDERR: from end.c:7: BUILDSTDERR: end.c: In function 'do_vanquished': BUILDSTDERR: ../include/winprocs.h:89:17: warning: 'klwin' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 89 | #define putstr (*windowprocs.win_putstr) BUILDSTDERR: | ^ BUILDSTDERR: end.c:1209:11: note: 'klwin' was declared here BUILDSTDERR: 1209 | winid klwin; BUILDSTDERR: | ^~~~~ BUILDSTDERR: engrave.c: In function 'doengrave': BUILDSTDERR: engrave.c:727:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 727 | if (flags.verbose) BUILDSTDERR: | ^~ BUILDSTDERR: engrave.c:729:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 729 | doknown = TRUE; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:297, BUILDSTDERR: from ../include/unixconf.h:275, BUILDSTDERR: from ../include/global.h:150, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from engrave.c:5: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'doengrave' at engrave.c:1099:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: files.c: In function 'save_savefile_name': BUILDSTDERR: files.c:831:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 831 | (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: files.c: In function 'docompress_file': BUILDSTDERR: files.c:1156:10: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1156 | (void) setgid(getgid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: files.c:1157:10: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1157 | (void) setuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: hack.c: In function 'moverock': BUILDSTDERR: hack.c:262:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 262 | else BUILDSTDERR: | ^~~~ BUILDSTDERR: hack.c:265:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 265 | if (Blind) feel_location(sx, sy); BUILDSTDERR: | ^~ BUILDSTDERR: invent.c: In function 'display_pickinv': BUILDSTDERR: invent.c:1871:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1871 | return ret; BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from ../include/hack.h:121, BUILDSTDERR: from invent.c:5: BUILDSTDERR: ../include/winprocs.h:94:22: warning: 'win' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 94 | #define select_menu (*windowprocs.win_select_menu) BUILDSTDERR: | ^ BUILDSTDERR: invent.c:1721:8: note: 'win' was declared here BUILDSTDERR: 1721 | winid win; /* windows being used */ BUILDSTDERR: | ^~~ BUILDSTDERR: invent.c: In function 'getobj': BUILDSTDERR: invent.c:955:44: warning: '%s' directive writing up to 255 bytes into a region of size 105 [-Wformat-overflow=] BUILDSTDERR: 955 | Sprintf(qbuf, "What do you want to %s? [%s or ?*]", BUILDSTDERR: | ^~ BUILDSTDERR: 956 | word, buf); BUILDSTDERR: | ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from invent.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 31 or more bytes (assuming 286) into a destination of size 128 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SERTIONS -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o end.o end.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o engrave.o engrave.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o exper.o exper.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o explode.o explode.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o extralev.o extralev.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o files.o files.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o fountain.o fountain.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o hack.o hack.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o hacklib.o hacklib.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o invent.o invent.c BUILDSTDERR: cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXIn file included from makemon.c:6: BUILDSTDERR: makemon.c: In function 'clone_mon': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: makemon.c:756:5: note: in expansion of macro 'EPRI' BUILDSTDERR: 756 | *(EPRI(m3)) = *(EPRI(mon)); BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: makemon.c:756:19: note: in expansion of macro 'EPRI' BUILDSTDERR: 756 | *(EPRI(m3)) = *(EPRI(mon)); BUILDSTDERR: | ^~~~ BUILDSTDERR: makemon.c: In function 'mongets': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/mondata.h:25:7: note: in expansion of macro 'EPRI' BUILDSTDERR: 25 | EPRI(mon)->shralign > 0)) BUILDSTDERR: | ^~~~ BUILDSTDERR: makemon.c:1498:16: note: in expansion of macro 'is_lminion' BUILDSTDERR: 1498 | } else if(is_lminion(mtmp)) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: makemon.c: In function 'set_malign': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: makemon.c:1616:10: note: in expansion of macro 'EPRI' BUILDSTDERR: 1616 | mal = EPRI(mtmp)->shralign; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from makemon.c:7: BUILDSTDERR: ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: makemon.c:1618:10: note: in expansion of macro 'EMIN' BUILDSTDERR: 1618 | mal = EMIN(mtmp)->min_align; BUILDSTDERR: | ^~~~ BUILDSTDERR: mhitm.c: In function 'hitmm': BUILDSTDERR: mhitm.c:425:24: warning: ' squeezes' directive writing 9 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 425 | Sprintf(buf,"%s squeezes", magr_name); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from mhitm.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mhitm.c:411:20: warning: ' stings' directive writing 7 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 411 | Sprintf(buf,"%s stings", magr_name); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from mhitm.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 8 and 263 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mhitm.c:417:20: warning: ' touches' directive writing 8 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 417 | Sprintf(buf,"%s touches", magr_name); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from mhitm.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 264 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mhitm.c:414:20: warning: ' butts' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 414 | Sprintf(buf,"%s butts", magr_name); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from mhitm.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 262 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mhitm.c:408:20: warning: ' bites' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 408 | Sprintf(buf,"%s bites", magr_name); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from mhitm.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 262 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mhitm.c:429:20: warning: ' hits' directive writing 5 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 429 | Sprintf(buf,"%s hits", magr_name); BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from mhitm.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 261 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from minion.c:7: BUILDSTDERR: minion.c: In function 'msummon': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: minion.c:23:10: note: in expansion of macro 'EPRI' BUILDSTDERR: 23 | atyp = EPRI(mon)->shralign; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/mondata.h:25:7: note: in expansion of macro 'EPRI' BUILDSTDERR: 25 | EPRI(mon)->shralign > 0)) BUILDSTDERR: | ^~~~ BUILDSTDERR: minion.c:41:13: note: in expansion of macro 'is_lminion' BUILDSTDERR: 41 | } else if (is_lminion(mon)) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: minion.c:80:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 80 | EPRI(mtmp)->shralign = atyp; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from minion.c:6: BUILDSTDERR: minion.c: In function 'summon_minion': BUILDSTDERR: ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: minion.c:117:6: note: in expansion of macro 'EMIN' BUILDSTDERR: 117 | EMIN(mon)->min_align = alignment; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from minion.c:7: BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: minion.c:123:6: note: in expansion of macro 'EPRI' BUILDSTDERR: 123 | EPRI(mon)->shralign = alignment; /* always A_LAWFUL here */ BUILDSTDERR: | ^~~~ BUILDSTDERR: mklev.c: In function 'mktrap': BUILDSTDERR: mklev.c:1220:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1220 | if (lvl < 2) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: mklev.c:1220:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1220 | if (lvl < 2) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mklev.c:1222:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1222 | if (lvl < 5 || level.flags.noteleport) BUILDSTDERR: | ^~ BUILDSTDERR: mklev.c:1223:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1223 | kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mklev.c:1225:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1225 | if (lvl < 5) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: mklev.c:1225:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1225 | if (lvl < 5) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mklev.c:1227:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1227 | if (lvl < 6) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: mklev.c:1227:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1227 | if (lvl < 6) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mklev.c:1229:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1229 | if (lvl < 7) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: mklev.c:1229:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1229 | if (lvl < 7) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mklev.c:1232:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1232 | if (lvl < 8) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: mklev.c:1232:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1232 | if (lvl < 8) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mklev.c:1234:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1234 | if (!Inhell) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: mklev.c:1234:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1234 | if (!Inhell) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mklev.c:1236:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1236 | if (level.flags.noteleport) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: mklev.c:1236:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1236 | if (level.flags.noteleport) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mklev.c:1239:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1239 | if (rn2(7)) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: mklev.c:1239:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1239 | if (rn2(7)) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ X_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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o light.o light.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o lock.o lock.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mail.o mail.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o makemon.o makemon.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mapglyph.o mapglyph.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mcastu.o mcastu.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mhitm.o mhitm.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mhitu.o mhitu.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o minion.o minion.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mklev.o mklev.c BUILDSTDERR: cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSEmkmap.c: In function 'pass_two': BUILDSTDERR: mkmap.c:115:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 115 | for(count=0, dr=0; dr < 8; dr++) BUILDSTDERR: | ^~~ BUILDSTDERR: mkmap.c:119:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' BUILDSTDERR: 119 | if (count == 5) BUILDSTDERR: | ^~ BUILDSTDERR: mkroom.c: In function 'fill_zoo': BUILDSTDERR: mkroom.c:366:22: warning: 'ty' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 366 | levl[tx][ty].typ = THRONE; BUILDSTDERR: mkroom.c:366:22: warning: 'tx' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: mkroom.c:321:6: warning: 'goldlim' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 321 | if(i >= goldlim) i = 5*level_difficulty(); BUILDSTDERR: | ^ BUILDSTDERR: In file included from monmove.c:8: BUILDSTDERR: monmove.c: In function 'onscary': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/mondata.h:25:7: note: in expansion of macro 'EPRI' BUILDSTDERR: 25 | EPRI(mon)->shralign > 0)) BUILDSTDERR: | ^~~~ BUILDSTDERR: monmove.c:136:6: note: in expansion of macro 'is_lminion' BUILDSTDERR: 136 | is_lminion(mtmp) || mtmp->data == &mons[PM_ANGEL] || BUILDSTDERR: | ^~~~~~~~~~ RTIONS -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkmap.o mkmap.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkmaze.o mkmaze.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkobj.o mkobj.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkroom.o mkroom.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mon.o mon.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mondata.o mondata.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o monmove.o monmove.c make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' ./makedefs -m make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o monstr.o monstr.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mplayer.o mplayer.c BUILDSTDERR: cc -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 -I../include -I../win/vIn file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:297, BUILDSTDERR: from ../include/unixconf.h:275, BUILDSTDERR: from ../include/global.h:150, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from objnam.c:5: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'strprepend' at objnam.c:72:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: objnam.c: In function 'strprepend': BUILDSTDERR: objnam.c:65:24: note: length computed here BUILDSTDERR: 65 | register int i = (int)strlen(pref); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: options.c: In function 'option_help': BUILDSTDERR: options.c:3346:21: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] BUILDSTDERR: 3346 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from options.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: options.c: In function 'doset': BUILDSTDERR: options.c:2457:43: warning: 's [' directive writing 3 bytes into a region of size between 1 and 11 [-Wformat-overflow=] BUILDSTDERR: 2457 | Sprintf(fmtstr_doset_add_menu, "%%s%%-%ds [%%s]", biggest_name); BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from options.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 22 bytes into a destination of size 16 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: options.c:2533:23: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: 2533 | Sprintf(buf, "%s:%s", compopt[opt_indx].name, buf2); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from options.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:297, BUILDSTDERR: from ../include/unixconf.h:275, BUILDSTDERR: from ../include/global.h:150, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from pager.c:8: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dowhatdoes_core' at pager.c:827:11: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dowhatdoes_core' at pager.c:831:11: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dowhatdoes_core' at pager.c:836:11: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pager.c: In function 'do_look': BUILDSTDERR: pager.c:726:28: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] BUILDSTDERR: 724 | firstmatch = look_buf; BUILDSTDERR: | ~~~~~~~~ BUILDSTDERR: 725 | if (*firstmatch) { BUILDSTDERR: 726 | Sprintf(temp_buf, " (%s)", firstmatch); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from pager.c:8: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 259 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pager.c:731:34: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] BUILDSTDERR: 731 | Sprintf(temp_buf, " [seen: %s]", monbuf); BUILDSTDERR: | ^~ ~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from pager.c:8: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:297, BUILDSTDERR: from ../include/unixconf.h:275, BUILDSTDERR: from ../include/global.h:150, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from pager.c:8: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'do_look' at pager.c:727:13: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'do_look' at pager.c:732:13: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pickup.c: In function 'use_container': BUILDSTDERR: pickup.c:2157:41: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: 2157 | if (!cnt) Sprintf(menuprompt, "%s ", emptymsg); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from pickup.c:9: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from pline.c:7: BUILDSTDERR: pline.c: In function 'mstatusline': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pline.c:298:15: note: in expansion of macro 'EPRI' BUILDSTDERR: 298 | alignment = EPRI(mtmp)->shralign; BUILDSTDERR: | ^~~~ ultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mthrowu.o mthrowu.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o muse.o muse.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o music.o music.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o o_init.o o_init.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o objnam.o objnam.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o options.o options.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pager.o pager.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pickup.o pickup.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pline.o pline.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o polyself.o polyself.c BUILDSTDERR: cc -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 -I../include -I../winIn file included from priest.c:8: BUILDSTDERR: priest.c: In function 'histemple_at': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:136:20: note: in expansion of macro 'EPRI' BUILDSTDERR: 136 | return((boolean)((EPRI(priest)->shroom == *in_rooms(x, y, TEMPLE)) && BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:137:20: note: in expansion of macro 'EPRI' BUILDSTDERR: 137 | on_level(&(EPRI(priest)->shrlevel), &u.uz))); BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c: In function 'pri_move': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:156:11: note: in expansion of macro 'EPRI' BUILDSTDERR: 156 | temple = EPRI(priest)->shroom; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:158:7: note: in expansion of macro 'EPRI' BUILDSTDERR: 158 | gx = EPRI(priest)->shrpos.x; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:159:7: note: in expansion of macro 'EPRI' BUILDSTDERR: 159 | gy = EPRI(priest)->shrpos.y; BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c: In function 'priestini': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:203:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 203 | EPRI(priest)->shroom = (sroom - rooms) + ROOMOFFSET; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:204:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 204 | EPRI(priest)->shralign = Amask2align(levl[sx][sy].altarmask); BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:205:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 205 | EPRI(priest)->shrpos.x = sx; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:206:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 206 | EPRI(priest)->shrpos.y = sy; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:207:18: note: in expansion of macro 'EPRI' BUILDSTDERR: 207 | assign_level(&(EPRI(priest)->shrlevel), lvl); BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:215:17: note: in expansion of macro 'EPRI' BUILDSTDERR: 215 | if(sanctum && EPRI(priest)->shralign == A_NONE && BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c: In function 'priestname': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:265:26: note: in expansion of macro 'EPRI' BUILDSTDERR: 265 | if (!mon->ispriest && EPRI(mon)->renegade) BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:277:33: note: in expansion of macro 'EPRI' BUILDSTDERR: 277 | Strcat(pname, halu_gname((int)EPRI(mon)->shralign)); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from priest.c:9: BUILDSTDERR: ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:283:27: note: in expansion of macro 'EMIN' BUILDSTDERR: 283 | Strcat(pname, halu_gname(EMIN(mon)->min_align)); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from priest.c:8: BUILDSTDERR: priest.c: In function 'p_coaligned': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:291:42: note: in expansion of macro 'EPRI' BUILDSTDERR: 291 | return((boolean)(u.ualign.type == ((int)EPRI(priest)->shralign))); BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c: In function 'has_shrine': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:302:14: note: in expansion of macro 'EPRI' BUILDSTDERR: 302 | lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y]; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:302:35: note: in expansion of macro 'EPRI' BUILDSTDERR: 302 | lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y]; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:305:19: note: in expansion of macro 'EPRI' BUILDSTDERR: 305 | return((boolean)(EPRI(pri)->shralign == Amask2align(lev->altarmask & ~AM_SHRINE))); BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c: In function 'findpriest': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:316:28: note: in expansion of macro 'EPRI' BUILDSTDERR: 316 | if(mtmp->ispriest && (EPRI(mtmp)->shroom == roomno) && BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c: In function 'mk_roamer': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:551:2: note: in expansion of macro 'EPRI' BUILDSTDERR: 551 | EPRI(roamer)->shralign = alignment; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:553:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 553 | EPRI(roamer)->renegade = TRUE; BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c: In function 'reset_hostility': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:573:5: note: in expansion of macro 'EPRI' BUILDSTDERR: 573 | if(EPRI(roamer)->shralign != u.ualign.type) { BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c: In function 'ghod_hitsu': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:614:11: note: in expansion of macro 'EPRI' BUILDSTDERR: 614 | ax = x = EPRI(priest)->shrpos.x; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:615:11: note: in expansion of macro 'EPRI' BUILDSTDERR: 615 | ay = y = EPRI(priest)->shrpos.y; BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c: In function 'angry_priest': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:679:18: note: in expansion of macro 'EPRI' BUILDSTDERR: 679 | lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y]; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:679:42: note: in expansion of macro 'EPRI' BUILDSTDERR: 679 | lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y]; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:682:4: note: in expansion of macro 'EPRI' BUILDSTDERR: 682 | EPRI(priest)->shralign)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:686:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 686 | EPRI(priest)->renegade = 0; BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c: In function 'clearpriests': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:702:58: note: in expansion of macro 'EPRI' BUILDSTDERR: 702 | if (!DEADMONSTER(mtmp) && mtmp->ispriest && !on_level(&(EPRI(mtmp)->shrlevel), &u.uz)) BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c: In function 'restpriest': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:715:21: note: in expansion of macro 'EPRI' BUILDSTDERR: 715 | assign_level(&(EPRI(mtmp)->shrlevel), &u.uz); BUILDSTDERR: | ^~~~ BUILDSTDERR: read.c: In function 'seffects': BUILDSTDERR: read.c:1006:20: warning: suggest parentheses around operand of '!' or change '|' to '||' or '!' to '~' [-Wparentheses] BUILDSTDERR: 1006 | else do_genocide(!sobj->cursed | (2 * !!Confusion)); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/config.h:258, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from rip.c:5: BUILDSTDERR: rip.c:7:23: warning: 'center' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 7 | STATIC_DCL void FDECL(center, (int, char *)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ../include/tradstdc.h:124:21: note: in definition of macro 'FDECL' BUILDSTDERR: 124 | # define FDECL(f,p) f p BUILDSTDERR: | ^ /vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o potion.o potion.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pray.o pray.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o priest.o priest.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o quest.o quest.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o questpgr.o questpgr.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o read.o read.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rect.o rect.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o region.o region.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o restore.o restore.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rip.o rip.c BUILDSTDERR: cc -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 -I../include -I../win/vultures/save.c: In function 'savestateinlock': BUILDSTDERR: save.c:360:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 360 | (void) read(fd, (genericptr_t) &hpid, sizeof(hpid)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: save.c:378:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 378 | (void) write(fd, (genericptr_t) &hackpid, sizeof(hackpid)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: save.c:382:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 382 | (void) write(fd, (genericptr_t) &currlev, sizeof(currlev)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: shk.c: In function 'repair_damage': BUILDSTDERR: shk.c:3154:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 3154 | while (!(litter[i = rn2(9)] & INSHOP)); BUILDSTDERR: | ^~~~~ BUILDSTDERR: shk.c:3155:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' BUILDSTDERR: 3155 | remove_object(otmp); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: sounds.c: In function 'domonnoise': BUILDSTDERR: sounds.c:531:28: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds] BUILDSTDERR: 531 | verbl_msg = vampmsg[vampindex]; BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~ BUILDSTDERR: sounds.c:506:34: note: while referencing 'vampmsg' BUILDSTDERR: 506 | static const char * const vampmsg[] = { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: spell.c: In function 'getspell': BUILDSTDERR: spell.c:560:37: warning: '%s' directive writing up to 255 bytes into a region of size 109 [-Wformat-overflow=] BUILDSTDERR: 560 | Sprintf(qbuf, "Cast which spell? [%s ?]", lets); BUILDSTDERR: | ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from spell.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 23 and 278 bytes into a destination of size 128 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rnd.o rnd.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o role.o role.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rumors.o rumors.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o save.o save.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o shk.o shk.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o shknam.o shknam.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sit.o sit.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sounds.o sounds.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sp_lev.o sp_lev.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o spell.o spell.c BUILDSTDERR: cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_topten.c: In function 'outentry': BUILDSTDERR: topten.c:707:29: warning: '%s' directive writing up to 255 bytes into a region of size 240 [-Wformat-overflow=] BUILDSTDERR: 707 | Sprintf(linebuf, "%15s %s", "", linebuf3); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from topten.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 17 and 272 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: trap.c: In function 'untrap': BUILDSTDERR: trap.c:3435:48: warning: '%s' directive writing up to 255 bytes into a region of size 89 [-Wformat-overflow=] BUILDSTDERR: 3435 | Sprintf(qbuf, "There %s and %s here. %s %s?", BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 3438 | ttmp->ttyp == WEB ? "Remove" : "Disarm", the_trap); BUILDSTDERR: | ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from trap.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 41 or more bytes (assuming 296) into a destination of size 128 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: uhitm.c: In function 'hmon_hitmon': BUILDSTDERR: uhitm.c:1029:38: warning: '%s' directive writing up to 255 bytes into a region of size between 244 and 251 [-Wformat-overflow=] BUILDSTDERR: 1029 | Sprintf(silverobjbuf, "Your %s%s %s %%s!", BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 1032 | saved_oname, vtense(saved_oname, "sear")); BUILDSTDERR: | ~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from uhitm.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 11 or more bytes (assuming 273) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from vault.c:6: BUILDSTDERR: vault.c: In function 'clear_fcorr': BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:29:18: note: in expansion of macro 'EGD' BUILDSTDERR: 29 | if (!on_level(&(EGD(grd)->gdlevel), &u.uz)) return TRUE; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:31:17: note: in expansion of macro 'EGD' BUILDSTDERR: 31 | while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) { BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:31:36: note: in expansion of macro 'EGD' BUILDSTDERR: 31 | while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) { BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:32:9: note: in expansion of macro 'EGD' BUILDSTDERR: 32 | fcx = EGD(grd)->fakecorr[fcbeg].fx; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:33:9: note: in expansion of macro 'EGD' BUILDSTDERR: 33 | fcy = EGD(grd)->fakecorr[fcbeg].fy; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:35:8: note: in expansion of macro 'EGD' BUILDSTDERR: 35 | EGD(grd)->gddone) BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:50:24: note: in expansion of macro 'EGD' BUILDSTDERR: 50 | levl[fcx][fcy].typ = EGD(grd)->fakecorr[fcbeg].ftyp; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:53:3: note: in expansion of macro 'EGD' BUILDSTDERR: 53 | EGD(grd)->fcbeg++; BUILDSTDERR: | ^~~ BUILDSTDERR: vault.c: In function 'grddead': BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:81:3: note: in expansion of macro 'EGD' BUILDSTDERR: 81 | EGD(grd)->ogx = grd->mx; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:82:3: note: in expansion of macro 'EGD' BUILDSTDERR: 82 | EGD(grd)->ogy = grd->my; BUILDSTDERR: | ^~~ BUILDSTDERR: vault.c: In function 'in_fcorridor': BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:95:12: note: in expansion of macro 'EGD' BUILDSTDERR: 95 | for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++) BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:95:35: note: in expansion of macro 'EGD' BUILDSTDERR: 95 | for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++) BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:96:11: note: in expansion of macro 'EGD' BUILDSTDERR: 96 | if(x == EGD(grd)->fakecorr[fci].fx && BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:97:10: note: in expansion of macro 'EGD' BUILDSTDERR: 97 | y == EGD(grd)->fakecorr[fci].fy) BUILDSTDERR: | ^~~ BUILDSTDERR: vault.c: In function 'findgd': BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:109:56: note: in expansion of macro 'EGD' BUILDSTDERR: 109 | if(mtmp->isgd && !DEADMONSTER(mtmp) && on_level(&(EGD(mtmp)->gdlevel), &u.uz)) BUILDSTDERR: | ^~~ BUILDSTDERR: vault.c: In function 'invault': BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:230:2: note: in expansion of macro 'EGD' BUILDSTDERR: 230 | EGD(guard)->gddone = 0; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:231:2: note: in expansion of macro 'EGD' BUILDSTDERR: 231 | EGD(guard)->ogx = x; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:232:2: note: in expansion of macro 'EGD' BUILDSTDERR: 232 | EGD(guard)->ogy = y; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:233:17: note: in expansion of macro 'EGD' BUILDSTDERR: 233 | assign_level(&(EGD(guard)->gdlevel), &u.uz); BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:234:2: note: in expansion of macro 'EGD' BUILDSTDERR: 234 | EGD(guard)->vroom = vaultroom; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:235:2: note: in expansion of macro 'EGD' BUILDSTDERR: 235 | EGD(guard)->warncnt = 0; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:316:2: note: in expansion of macro 'EGD' BUILDSTDERR: 316 | EGD(guard)->gdx = gx; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:317:2: note: in expansion of macro 'EGD' BUILDSTDERR: 317 | EGD(guard)->gdy = gy; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:318:2: note: in expansion of macro 'EGD' BUILDSTDERR: 318 | EGD(guard)->fcbeg = 0; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:319:2: note: in expansion of macro 'EGD' BUILDSTDERR: 319 | EGD(guard)->fakecorr[0].fx = x; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:320:2: note: in expansion of macro 'EGD' BUILDSTDERR: 320 | EGD(guard)->fakecorr[0].fy = y; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:322:6: note: in expansion of macro 'EGD' BUILDSTDERR: 322 | EGD(guard)->fakecorr[0].ftyp = levl[x][y].typ; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:324:16: note: in expansion of macro 'EGD' BUILDSTDERR: 324 | int vlt = EGD(guard)->vroom; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:329:3: note: in expansion of macro 'EGD' BUILDSTDERR: 329 | EGD(guard)->fakecorr[0].ftyp = TLCORNER; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:331:3: note: in expansion of macro 'EGD' BUILDSTDERR: 331 | EGD(guard)->fakecorr[0].ftyp = TRCORNER; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:333:3: note: in expansion of macro 'EGD' BUILDSTDERR: 333 | EGD(guard)->fakecorr[0].ftyp = BLCORNER; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:335:3: note: in expansion of macro 'EGD' BUILDSTDERR: 335 | EGD(guard)->fakecorr[0].ftyp = BRCORNER; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:337:3: note: in expansion of macro 'EGD' BUILDSTDERR: 337 | EGD(guard)->fakecorr[0].ftyp = HWALL; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:339:3: note: in expansion of macro 'EGD' BUILDSTDERR: 339 | EGD(guard)->fakecorr[0].ftyp = VWALL; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:344:2: note: in expansion of macro 'EGD' BUILDSTDERR: 344 | EGD(guard)->fcend = 1; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:345:2: note: in expansion of macro 'EGD' BUILDSTDERR: 345 | EGD(guard)->warncnt = 1; BUILDSTDERR: | ^~~ BUILDSTDERR: vault.c: In function 'wallify_vault': BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:373:12: note: in expansion of macro 'EGD' BUILDSTDERR: 373 | int vlt = EGD(grd)->vroom; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:394:20: note: in expansion of macro 'EGD' BUILDSTDERR: 394 | move_gold(gold, EGD(grd)->vroom); BUILDSTDERR: | ^~~ BUILDSTDERR: vault.c: In function 'paygd': BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:778:17: note: in expansion of macro 'EGD' BUILDSTDERR: 778 | gx = rooms[EGD(grd)->vroom].lx + rn2(2); BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:779:17: note: in expansion of macro 'EGD' BUILDSTDERR: 779 | gy = rooms[EGD(grd)->vroom].ly + rn2(2); BUILDSTDERR: | ^~~ BUILDSTDERR: close: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 BUILDSTDERR: _far_: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 GNU_SOURCE=1 -D_REENTRANT -c -o steal.o steal.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o steed.o steed.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o teleport.o teleport.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o timeout.o timeout.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o topten.o topten.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o track.o track.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o trap.o trap.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o u_init.o u_init.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o uhitm.o uhitm.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o vault.o vault.c make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' ./makedefs -z make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' BUILDSTDERR: cc -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/redhatvision.c: In function 'vision_recalc': BUILDSTDERR: vision.c:597:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 597 | if (row < 0) continue; if (row >= ROWNO) break; BUILDSTDERR: | ^~ BUILDSTDERR: vision.c:597:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 597 | if (row < 0) continue; if (row >= ROWNO) break; BUILDSTDERR: | ^~ BUILDSTDERR: vision.c:618:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 618 | if (row < 0) continue; if (row >= ROWNO) break; BUILDSTDERR: | ^~ BUILDSTDERR: vision.c:618:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 618 | if (row < 0) continue; if (row >= ROWNO) break; BUILDSTDERR: | ^~ BUILDSTDERR: vision.c:656:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 656 | if (row < 0) continue; if (row >= ROWNO) break; BUILDSTDERR: | ^~ BUILDSTDERR: vision.c:656:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 656 | if (row < 0) continue; if (row >= ROWNO) break; BUILDSTDERR: | ^~ BUILDSTDERR: vision.c: In function 'close_shadow': BUILDSTDERR: vision.c:1593:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1593 | if ((sdy = (start_row-block_row)) < 0) sdy = -sdy; --sdy; /* src dy */ BUILDSTDERR: | ^~ BUILDSTDERR: vision.c:1593:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1593 | if ((sdy = (start_row-block_row)) < 0) sdy = -sdy; --sdy; /* src dy */ BUILDSTDERR: | ^~ BUILDSTDERR: vision.c: In function 'far_shadow': BUILDSTDERR: vision.c:1629:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1629 | if ((sdx = (start_col-block_col)) < 0) sdx = -sdx; --sdx; /* src dx */ BUILDSTDERR: | ^~ BUILDSTDERR: vision.c:1629:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1629 | if ((sdx = (start_col-block_col)) < 0) sdx = -sdx; --sdx; /* src dx */ BUILDSTDERR: | ^~ BUILDSTDERR: vision.c:1630:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1630 | if ((pdy = (block_row-this_row)) < 0) pdy = -pdy; --pdy; /* point dy */ BUILDSTDERR: | ^~ BUILDSTDERR: vision.c:1630:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1630 | if ((pdy = (block_row-this_row)) < 0) pdy = -pdy; --pdy; /* point dy */ BUILDSTDERR: | ^~ BUILDSTDERR: vision.c: In function 'right_side': BUILDSTDERR: vision.c:1096:49: warning: 'row_max' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1096 | #define set_max(z) if (*row_max < (z)) *row_max = (z) BUILDSTDERR: | ^ BUILDSTDERR: vision.c:1666:11: note: 'row_max' was declared here BUILDSTDERR: 1666 | char *row_max; /* right most */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: vision.c:1095:49: warning: 'row_min' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1095 | #define set_min(z) if (*row_min > (z)) *row_min = (z) BUILDSTDERR: | ^ BUILDSTDERR: vision.c:1665:11: note: 'row_min' was declared here BUILDSTDERR: 1665 | char *row_min; /* left most */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: vision.c:1093:31: warning: 'rowp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1093 | #define set_cs(rowp,col) (rowp[col] = COULD_SEE) BUILDSTDERR: | ^ BUILDSTDERR: vision.c:1660:20: note: 'rowp' was declared here BUILDSTDERR: 1660 | register char *rowp; BUILDSTDERR: | ^~~~ BUILDSTDERR: vision.c: In function 'left_side': BUILDSTDERR: vision.c:1096:49: warning: 'row_max' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1096 | #define set_max(z) if (*row_max < (z)) *row_max = (z) BUILDSTDERR: | ^ BUILDSTDERR: vision.c:1921:11: note: 'row_max' was declared here BUILDSTDERR: 1921 | char *row_max; /* right most */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: vision.c:1095:49: warning: 'row_min' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1095 | #define set_min(z) if (*row_min > (z)) *row_min = (z) BUILDSTDERR: | ^ BUILDSTDERR: vision.c:1920:11: note: 'row_min' was declared here BUILDSTDERR: 1920 | char *row_min; /* left most */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: vision.c:1093:31: warning: 'rowp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1093 | #define set_cs(rowp,col) (rowp[col] = COULD_SEE) BUILDSTDERR: | ^ BUILDSTDERR: vision.c:1915:20: note: 'rowp' was declared here BUILDSTDERR: 1915 | register char *rowp; BUILDSTDERR: | ^~~~ BUILDSTDERR: weapon.c: In function 'enhance_skill': BUILDSTDERR: weapon.c:962:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 962 | if (i == skill_ranges[pass].first) BUILDSTDERR: | ^ BUILDSTDERR: weapon.c:1021:26: warning: '%s' directive writing up to 255 bytes into a region of size between 237 and 253 [-Wformat-overflow=] BUILDSTDERR: 1021 | Sprintf(buf, " %s%s\t[%s]", BUILDSTDERR: | ^~ BUILDSTDERR: 1022 | prefix, P_NAME(i), sklnambuf); BUILDSTDERR: | ~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from weapon.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 276) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: weapon.c:1018:28: warning: '%s' directive writing up to 255 bytes into a region of size between 236 and 252 [-Wformat-overflow=] BUILDSTDERR: 1018 | Sprintf(buf, " %s %-*s [%s]", BUILDSTDERR: | ^~ BUILDSTDERR: 1019 | prefix, longest, P_NAME(i), sklnambuf); BUILDSTDERR: | ~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from weapon.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 277) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: weapon.c:1010:25: warning: '%s' directive writing up to 255 bytes into a region of size between 238 and 254 [-Wformat-overflow=] BUILDSTDERR: 1010 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", BUILDSTDERR: | ^~ BUILDSTDERR: 1011 | prefix, P_NAME(i), sklnambuf, BUILDSTDERR: | ~~~~~~~~~ BUILDSTDERR: weapon.c:1010:17: note: directive argument in the range [0, 65535] BUILDSTDERR: 1010 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: weapon.c:1010:17: note: directive argument in the range [-325120, 327680] BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from weapon.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 289) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: weapon.c:1005:26: warning: '%-12s' directive writing between 12 and 255 bytes into a region of size between 238 and 254 [-Wformat-overflow=] BUILDSTDERR: 1005 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", BUILDSTDERR: | ^~~~~ BUILDSTDERR: 1006 | prefix, longest, P_NAME(i), sklnambuf, BUILDSTDERR: | ~~~~~~~~~ BUILDSTDERR: weapon.c:1005:17: note: directive argument in the range [0, 65535] BUILDSTDERR: 1005 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: weapon.c:1005:17: note: directive argument in the range [-325120, 327680] BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from weapon.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 27 or more bytes (assuming 289) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: weapon.c:978:47: warning: 'logged' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 978 | } else if (i == skill_ranges[pass].last && !logged) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: In file included from ../include/hack.h:121, BUILDSTDERR: from weapon.c:10: BUILDSTDERR: ../include/winprocs.h:94:22: warning: 'win' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 94 | #define select_menu (*windowprocs.win_select_menu) BUILDSTDERR: | ^ BUILDSTDERR: weapon.c:890:11: note: 'win' was declared here BUILDSTDERR: 890 | winid win; BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from wizard.c:12: BUILDSTDERR: wizard.c: In function 'cuss': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/mondata.h:25:7: note: in expansion of macro 'EPRI' BUILDSTDERR: 25 | EPRI(mon)->shralign > 0)) BUILDSTDERR: | ^~~~ BUILDSTDERR: wizard.c:625:12: note: in expansion of macro 'is_lminion' BUILDSTDERR: 625 | } else if(is_lminion(mtmp)) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:297, BUILDSTDERR: from ../include/unixconf.h:275, BUILDSTDERR: from ../include/global.h:150, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from write.c:4: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dowrite' at write.c:121:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o vision.o vision.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o vis_tab.o vis_tab.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o weapon.o weapon.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o were.o were.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o wield.o wield.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o windows.o windows.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o wizard.o wizard.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o worm.o worm.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o worn.o worn.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o write.o write.c BUILDSTDERR: cc -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-hardene../sys/unix/unixmain.c: In function 'whoami': BUILDSTDERR: ../sys/unix/unixmain.c:483:17: warning: unused variable 's' [-Wunused-variable] BUILDSTDERR: 483 | register char *s; BUILDSTDERR: | ^ BUILDSTDERR: ../sys/unix/unixmain.c: In function 'chdirx': BUILDSTDERR: ../sys/unix/unixmain.c:424:13: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 424 | (void) setgid(getgid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../sys/unix/unixmain.c:425:13: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 425 | (void) setuid(getuid()); /* Ron Wessels */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:297, BUILDSTDERR: from ../include/unixconf.h:275, BUILDSTDERR: from ../include/global.h:150, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ../sys/unix/unixmain.c:7: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'main' at ../sys/unix/unixmain.c:197:10: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../sys/unix/unixunix.c: In function 'child': BUILDSTDERR: ../sys/unix/unixunix.c:268:10: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 268 | (void) setgid(getgid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../sys/unix/unixunix.c:269:10: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 269 | (void) setuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../sys/unix/unixunix.c:271:10: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 271 | (void) chdir(getenv("HOME")); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vultures_map.c: In function 'vultures_map_square_description': BUILDSTDERR: vultures_map.c:1740:41: warning: ' (+' directive output may be truncated writing 3 bytes into a region of size between 1 and 256 [-Wformat-truncation=] BUILDSTDERR: 1740 | snprintf(out_str, BUFSZ, "%s (+%d other object%s)", look_buf, n_objs - 1, (n_objs > 2) ? "s" : ""); BUILDSTDERR: | ^~~ BUILDSTDERR: vultures_map.c:1740:13: note: 'snprintf' output 19 or more bytes (assuming 274) into a destination of size 256 BUILDSTDERR: 1740 | snprintf(out_str, BUFSZ, "%s (+%d other object%s)", look_buf, n_objs - 1, (n_objs > 2) ? "s" : ""); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vultures_map.c:1718:44: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] BUILDSTDERR: 1718 | sprintf(temp_buf, " [seen: %s]", monbuf); BUILDSTDERR: | ^~ ~~~~~~ BUILDSTDERR: vultures_map.c:1718:17: note: 'sprintf' output between 10 and 265 bytes into a destination of size 256 BUILDSTDERR: 1718 | sprintf(temp_buf, " [seen: %s]", monbuf); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vultures_tileconfig.c: In function 'init_objnames': BUILDSTDERR: vultures_tileconfig.c:644:21: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 644 | else BUILDSTDERR: | ^~~~ BUILDSTDERR: vultures_tileconfig.c:645:92: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 645 | snprintf(tilenames[TT_OBJECT][i], 40, "%s", obj_descr[i].oc_name); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: vultures_tileconfig.c:663:21: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 663 | else BUILDSTDERR: | ^~~~ BUILDSTDERR: vultures_tileconfig.c:664:79: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 664 | snprintf(tilenames[TT_OBJECT][i], 40, "%s", nameptr); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: build_n/vultures_tileconfig.lexer.c:1211:16: warning: 'input' defined but not used [-Wunused-function] BUILDSTDERR: 1211 | #else BUILDSTDERR: | ^ BUILDSTDERR: build_n/vultures_tileconfig.lexer.c:1168:17: warning: 'yyunput' defined but not used [-Wunused-function] BUILDSTDERR: 1168 | BUILDSTDERR: | ^ d-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o zap.o zap.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/share/ioctl.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/unix/unixmain.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/share/unixtty.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/unix/unixunix.c cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/unix/unixres.c ../util/makedefs -v make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/vultures' compiling vultures_tile.c compiling vultures_opt.c compiling vultures_gen.c compiling vultures_main.c compiling vultures_init.c compiling vultures_win_event.c compiling vultures_pcmusic.c compiling vultures_gfl.c compiling vultures_mou.c compiling vultures_gra.c compiling vultures_nhplayerselection.c compiling vultures_map.c compiling vultures_sound.c compiling vultures_txt.c compiling vultures_sdl.c compiling vultures_tileconfig.c compiling vultures_win.c generating parser compiling build_n/vultures_tileconfig.parser.c generating lexer generating parser compiling build_n/vultures_tileconfig.lexer.c combining objects to build_n/vultures.o finished building the files for the vultures interface make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/vultures' make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' cc -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 -I../include -I../win/vultures -DVULTURESEYE -o tilemap ../win/share/tilemap.c ./tilemap make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' cc -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o tile.o tile.c BUILDSTDERR: cc -O2 -g + make -C nethack/util recover dlb dgn_comp lev_comp 'YACC=bison -y' BUILDSTDERR: recover.c: In function 'main': BUILDSTDERR: recover.c:114:10: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 114 | (void) setgid(getgid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: recover.c:115:10: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 115 | (void) setuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: recover.c: In function 'restore_savefile': BUILDSTDERR: recover.c:308:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 308 | write(sfd, (genericptr_t) &levc, sizeof(levc)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: lex.yy.c:1481:16: warning: 'input' defined but not used [-Wunused-function] BUILDSTDERR: lex.yy.c:1438:17: warning: 'yyunput' defined but not used [-Wunused-function] BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:297, BUILDSTDERR: from ../include/unixconf.h:275, BUILDSTDERR: from ../include/global.h:150, BUILDSTDERR: from ../include/config.h:370, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from lev_comp.y:24: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'yyparse' at lev_comp.y:325:15: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: y.tab.c: In function 'yyparse': BUILDSTDERR: lev_comp.y:319:14: note: length computed here BUILDSTDERR: 319 | i = (int) strlen($3) + 1; BUILDSTDERR: | ^~~~~~~~~~~~~~~ -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o version.o version.c Loading ... vultureseye is up to date. make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/src' make: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack' make: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/src' make[1]: '../include/date.h' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/src' cc -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 -I../include -I../win/vultures -DVULTURESEYE -c -o recover.o recover.c cc -o recover recover.o cc -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 -I../include -I../win/vultures -DVULTURESEYE -c dlb_main.c cc -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 -I../include -I../win/vultures -DVULTURESEYE -c -o panic.o panic.c cc -o dlb dlb_main.o ../src/dlb.o ../src/alloc.o panic.o bison -y -d dgn_comp.y mv y.tab.c dgn_yacc.c mv y.tab.h ../include/dgn_comp.h cc -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 -I../include -I../win/vultures -DVULTURESEYE -c -o dgn_yacc.o dgn_yacc.c lex dgn_comp.l mv lex.yy.c dgn_lex.c cc -c -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 -I../include -I../win/vultures -DVULTURESEYE dgn_lex.c cc -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 -I../include -I../win/vultures -DVULTURESEYE -c -o dgn_main.o dgn_main.c cc -o dgn_comp dgn_yacc.o dgn_lex.o dgn_main.o ../src/alloc.o panic.o bison -y -d lev_comp.y mv y.tab.c lev_yacc.c mv y.tab.h ../include/lev_comp.h cc -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 -I../include -I../win/vultures -DVULTURESEYE -c -o lev_yacc.o lev_yacc.c lex lev_comp.l mv lex.yy.c lev_lex.c BUILDSTDERR: cc -c -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/redhatlex.yy.c:2166:16: warning: 'input' defined but not used [-Wunused-function] BUILDSTDERR: lex.yy.c:2123:17: warning: 'yyunput' defined but not used [-Wunused-function] + make -C nethack/dat spec_levs quest_levs + for i in nethack slashem + make slashem/Makefile BUILDSTDERR: make: git-rev-list: Command not found + make -C slashem BUILDSTDERR: makedefs.c: In function 'do_filenames': BUILDSTDERR: makedefs.c:2392:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2392 | fgets(in_line, sizeof in_line, ifp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: makedefs.c:53:19: warning: 'SCCS_Id' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 53 | static const char SCCS_Id[] = "@(#)makedefs.c\t3.4\t2002/02/03"; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:299, BUILDSTDERR: from ../include/unixconf.h:351, BUILDSTDERR: from ../include/global.h:171, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from makedefs.c:10: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'new_id' at makedefs.c:1625:2, BUILDSTDERR: inlined from 'do_qt_control.constprop' at makedefs.c:1682:21: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 3 bytes from a string of length 255 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: makedefs.c: In function 'do_data': BUILDSTDERR: makedefs.c:1126:32: warning: '%s' directive writing up to 599 bytes into a region of size 245 [-Wformat-overflow=] BUILDSTDERR: 1126 | Sprintf(in_line, "rewind of \"%s\"", filename); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from makedefs.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 612 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: makedefs.c:1129:43: warning: '%s' directive writing up to 599 bytes into a region of size 237 [-Wformat-overflow=] BUILDSTDERR: 1129 | Sprintf(in_line, "header rewrite of \"%s\"", filename); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from makedefs.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 620 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: makedefs.c: In function 'do_oracles': BUILDSTDERR: makedefs.c:1285:32: warning: '%s' directive writing up to 599 bytes into a region of size 245 [-Wformat-overflow=] BUILDSTDERR: 1285 | Sprintf(in_line, "rewind of \"%s\"", filename); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from makedefs.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 612 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: makedefs.c:1288:44: warning: '%s' directive writing up to 599 bytes into a region of size 237 [-Wformat-overflow=] BUILDSTDERR: 1288 | Sprintf(in_line, "header rewrite of \"%s\"", filename); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from makedefs.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 620 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: makedefs.c:1292:42: warning: '%s' directive writing up to 599 bytes into a region of size 239 [-Wformat-overflow=] BUILDSTDERR: 1292 | Sprintf(in_line, "data rewrite of \"%s\"", filename); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from makedefs.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 618 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../include -I../win/vultures -DVULTURESEYE lev_lex.c cc -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 -I../include -I../win/vultures -DVULTURESEYE -c -o lev_main.o lev_main.c cc -o lev_comp lev_yacc.o lev_lex.o lev_main.o ../src/alloc.o panic.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o make: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' make: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/dat' ../util/lev_comp bigroom.des ../util/lev_comp castle.des ../util/lev_comp endgame.des ../util/lev_comp gehennom.des ../util/lev_comp knox.des ../util/lev_comp medusa.des ../util/lev_comp mines.des ../util/lev_comp oracle.des ../util/lev_comp sokoban.des ../util/lev_comp tower.des ../util/lev_comp yendor.des touch spec_levs ../util/lev_comp Arch.des ../util/lev_comp Barb.des ../util/lev_comp Caveman.des ../util/lev_comp Healer.des ../util/lev_comp Knight.des ../util/lev_comp Monk.des ../util/lev_comp Priest.des ../util/lev_comp Ranger.des ../util/lev_comp Rogue.des ../util/lev_comp Samurai.des ../util/lev_comp Tourist.des ../util/lev_comp Valkyrie.des ../util/lev_comp Wizard.des touch quest_levs make: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/dat' Setup Slash'EM build environment ... make: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem' ( cd src ; make ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/src' touch ../src/config.h-t cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c monst.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c objects.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o alloc.o alloc.c make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' cc -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 -I../include -I../win/vultures -DVULTURESCLAW -c -o makedefs.o makedefs.c cc -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 -I../include -I../win/vultures -DVULTURESCLAW -c -o panic.o panic.c cc -o makedefs makedefs.o ../src/monst.o ../src/objects.o ../src/alloc.o panic.o make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' ./makedefs -p BUILDSTDERR: make[2]: apply.c: In function 'use_pole': BUILDSTDERR: apply.c:2761:15: warning: unused variable 'typ' [-Wunused-variable] BUILDSTDERR: 2761 | int res = 0, typ, max_range; BUILDSTDERR: | ^~~ BUILDSTDERR: At top level: BUILDSTDERR: apply.c:11:19: warning: 'all_count' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 11 | static const char all_count[] = { ALLOW_COUNT, ALL_CLASSES, 0 }; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: artifact.c: In function 'artifact_hit': BUILDSTDERR: artifact.c:1181:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1181 | if (!spec_dbon_applies && !spec_ability(otmp, SPFX_BEHEAD) || BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: artifact.c:1312:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1312 | } else if (dieroll < 3 || otmp->oartifact == ART_VORPAL_BLADE && BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: 1313 | mdef->data == &mons[PM_JABBERWOCK]) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: artifact.c:1321:26: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1321 | wepdesc = artilist[otmp->oartifact].name; BUILDSTDERR: | ~~~~^~~~~~~~~~~ BUILDSTDERR: botl.c: In function 'bot_raw': BUILDSTDERR: botl.c:581:52: warning: format '%lX' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] BUILDSTDERR: 581 | *rv++ = reconfig ? "flags" : (Sprintf(flgs, "%lX", BUILDSTDERR: | ~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %X BUILDSTDERR: 582 | (Levitation ? RAW_STAT_LEVITATION : 0) | BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 583 | (Confusion ? RAW_STAT_CONFUSION : 0) | BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 584 | (Sick && (u.usick_type & SICK_VOMITABLE) ? RAW_STAT_FOODPOIS : 0) | BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 585 | (Sick && (u.usick_type & SICK_NONVOMITABLE) ? RAW_STAT_ILL : 0) | BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 586 | (Blind ? RAW_STAT_BLIND : 0) | BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 587 | (Stunned ? RAW_STAT_STUNNED : 0) | BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 588 | (Hallucination ? RAW_STAT_HALLUCINATION : 0) | BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int BUILDSTDERR: 589 | (Slimed ? RAW_STAT_SLIMED : 0)), flgs); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: botl.c: In function 'botl_strength': BUILDSTDERR: botl.c:241:28: warning: '%02d' directive writing between 2 and 4 bytes into a region of size 3 [-Wformat-overflow=] BUILDSTDERR: 241 | Sprintf(strength, "18/%02d", ACURR(A_STR)-18); BUILDSTDERR: | ^~~~ BUILDSTDERR: botl.c:241:24: note: directive argument in the range [-146, 109] BUILDSTDERR: 241 | Sprintf(strength, "18/%02d", ACURR(A_STR)-18); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from botl.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 8 bytes into a destination of size 6 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: botl.c: In function 'bot_raw': BUILDSTDERR: botl.c:531:53: warning: '%d' directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] BUILDSTDERR: 531 | *rv++ = reconfig ? "dexterity" : (Sprintf(dex, "%d", ACURR(A_DEX)), dex); BUILDSTDERR: | ^~ BUILDSTDERR: botl.c:531:52: note: directive argument in the range [-128, 127] BUILDSTDERR: 531 | *rv++ = reconfig ? "dexterity" : (Sprintf(dex, "%d", ACURR(A_DEX)), dex); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from botl.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: botl.c:532:56: warning: '%d' directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] BUILDSTDERR: 532 | *rv++ = reconfig ? "constitution" : (Sprintf(con, "%d", ACURR(A_CON)), con); BUILDSTDERR: | ^~ BUILDSTDERR: botl.c:532:55: note: directive argument in the range [-128, 127] BUILDSTDERR: 532 | *rv++ = reconfig ? "constitution" : (Sprintf(con, "%d", ACURR(A_CON)), con); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from botl.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: botl.c:533:56: warning: '%d' directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] BUILDSTDERR: 533 | *rv++ = reconfig ? "intelligence" : (Sprintf(itl, "%d", ACURR(A_INT)), itl); BUILDSTDERR: | ^~ BUILDSTDERR: botl.c:533:55: note: directive argument in the range [-128, 127] BUILDSTDERR: 533 | *rv++ = reconfig ? "intelligence" : (Sprintf(itl, "%d", ACURR(A_INT)), itl); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from botl.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: botl.c:534:50: warning: '%d' directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] BUILDSTDERR: 534 | *rv++ = reconfig ? "wisdom" : (Sprintf(wis, "%d", ACURR(A_WIS)), wis); BUILDSTDERR: | ^~ BUILDSTDERR: botl.c:534:49: note: directive argument in the range [-128, 127] BUILDSTDERR: 534 | *rv++ = reconfig ? "wisdom" : (Sprintf(wis, "%d", ACURR(A_WIS)), wis); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from botl.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: botl.c:535:52: warning: '%d' directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] BUILDSTDERR: 535 | *rv++ = reconfig ? "charisma" : (Sprintf(cha, "%d", ACURR(A_CHA)), cha); BUILDSTDERR: | ^~ BUILDSTDERR: botl.c:535:51: note: directive argument in the range [-128, 127] BUILDSTDERR: 535 | *rv++ = reconfig ? "charisma" : (Sprintf(cha, "%d", ACURR(A_CHA)), cha); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from botl.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cmd.c: In function 'enlightenment': BUILDSTDERR: cmd.c:1332:68: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 1332 | struct { unsigned long mask; const char *str; } warntypes[] = { BUILDSTDERR: | ^ BUILDSTDERR: cmd.c:1514:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] BUILDSTDERR: 1514 | if (wizard) Sprintf(eos(buf), " (%d)", u.uhealbonus); BUILDSTDERR: | ~^ ~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int long int BUILDSTDERR: | %ld BUILDSTDERR: cmd.c: In function 'rhack': BUILDSTDERR: cmd.c:3100:7: warning: case label value is less than minimum value for type BUILDSTDERR: 3100 | case M('5'): *cmd = 'G'; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: cmd.c:3101:7: warning: case label value is less than minimum value for type BUILDSTDERR: 3101 | case M('0'): *cmd = 'I'; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from ../include/decl.h:265, BUILDSTDERR: from ../include/hack.h:92, BUILDSTDERR: from cmd.c:5: BUILDSTDERR: cmd.c: In function 'click_to_cmd': BUILDSTDERR: ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: cmd.c:3518:15: note: in expansion of macro 'Is_container' BUILDSTDERR: 3518 | cmd[0] = Is_container(level.objects[u.ux][u.uy]) ? M('l') : ','; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: cmd.c: In function 'makemenu.constprop': BUILDSTDERR: cmd.c:2194:36: warning: 'current_menu' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 2194 | func = current_menu[i].m_funct; BUILDSTDERR: | ^ Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' ./makedefs -o make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' touch ../src/hack.h-t cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o allmain.o allmain.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o apply.o apply.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o artifact.o artifact.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o attrib.o attrib.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ball.o ball.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o bones.o bones.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o botl.o botl.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o cmd.o cmd.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dbridge.o dbridge.c BUILDSTDERR: cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -spedig.c: In function 'dig': BUILDSTDERR: dig.c:256:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 256 | if (IS_ROCK(lev->typ) && !may_dig(dpx,dpy) && BUILDSTDERR: dig.c: In function 'dighole': BUILDSTDERR: dig.c:711:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 711 | IS_DOOR(levl[u.ux][u.uy].typ) && artifact_door(u.ux, u.uy) || BUILDSTDERR: display.c: In function 'map_object': BUILDSTDERR: display.c:272:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 272 | if (level.flags.hero_memory) BUILDSTDERR: | ^ BUILDSTDERR: display.c: In function 'glyph_is_floating': BUILDSTDERR: display.c:1088:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1088 | glyph_is_warning(glyph) || tglyph && glyph == tglyph->glyph; BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/decl.h:265, BUILDSTDERR: from ../include/hack.h:92, BUILDSTDERR: from do.c:7: BUILDSTDERR: do.c: In function 'obj_no_longer_held': BUILDSTDERR: ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: do.c:634:14: note: in expansion of macro 'Is_container' BUILDSTDERR: 634 | } else if ((Is_container(obj) || obj->otyp == STATUE) && obj->cobj) { BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: do_name.c: In function 'do_mname': BUILDSTDERR: do_name.c:283:42: warning: '%s' directive writing up to 255 bytes into a region of size 103 [-Wformat-overflow=] BUILDSTDERR: 283 | Sprintf(qbuf, "What do you want to call %s?", buf); BUILDSTDERR: | ^~ ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from do_name.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 27 and 282 bytes into a destination of size 128 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from dog.c:7: BUILDSTDERR: dog.c: In function 'make_pet_minion': BUILDSTDERR: ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dog.c:963:2: note: in expansion of macro 'EMIN' BUILDSTDERR: 963 | EMIN(mtmp2)->min_align = alignment; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from dog.c:8: BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dog.c:966:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 966 | EPRI(mtmp2)->shralign = alignment; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from dogmove.c:9: BUILDSTDERR: dogmove.c: In function 'dog_move': BUILDSTDERR: ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dogmove.c:848:36: note: in expansion of macro 'EMIN' BUILDSTDERR: 848 | if (mtmp->isminion) align1 = EMIN(mtmp)->min_align; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from dogmove.c:10: BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dogmove.c:851:41: note: in expansion of macro 'EPRI' BUILDSTDERR: 851 | else if (mtmp->ispriest) align1 = EPRI(mtmp)->shralign; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from dogmove.c:9: BUILDSTDERR: ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dogmove.c:853:37: note: in expansion of macro 'EMIN' BUILDSTDERR: 853 | if (mtmp2->isminion) align2 = EMIN(mtmp2)->min_align; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from dogmove.c:10: BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dogmove.c:856:42: note: in expansion of macro 'EPRI' BUILDSTDERR: 856 | else if (mtmp2->ispriest) align2 = EPRI(mtmp2)->shralign; BUILDSTDERR: | ^~~~ cs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o decl.o decl.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o detect.o detect.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dig.o dig.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o display.o display.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dlb.o dlb.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o do.o do.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o do_name.o do_name.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o do_wear.o do_wear.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dog.o dog.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dogmove.o dogmove.c BUILDSTDERR: cc -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/redhaIn file included from ../include/decl.h:265, BUILDSTDERR: from ../include/hack.h:92, BUILDSTDERR: from dokick.c:5: BUILDSTDERR: dokick.c: In function 'container_impact_dmg': BUILDSTDERR: ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: dokick.c:382:7: note: in expansion of macro 'Is_container' BUILDSTDERR: 382 | if (!Is_container(obj) || Is_mbag(obj)) return; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/youprop.h:10, BUILDSTDERR: from ../include/hack.h:90, BUILDSTDERR: from dothrow.c:7: BUILDSTDERR: dothrow.c: In function 'thitmonst': BUILDSTDERR: ../include/mondata.h:241:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 241 | (obj)->otyp == CHEESE && ((ptr) == &mons[PM_GIANT_RAT] || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 242 | (ptr) == &mons[PM_SEWER_RAT] || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 243 | (ptr) == &mons[PM_BLACK_RAT] || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 244 | (ptr) == &mons[PM_PACK_RAT]) || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dothrow.c:1639:13: note: in expansion of macro 'befriend_with_obj' BUILDSTDERR: 1639 | } else if (befriend_with_obj(mon->data, obj) || BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/mondata.h:245:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 245 | (obj)->otyp == CARROT && ((ptr) == &mons[PM_RABBIT] || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 246 | (ptr) == &mons[PM_RABID_RABBIT]) || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dothrow.c:1639:13: note: in expansion of macro 'befriend_with_obj' BUILDSTDERR: 1639 | } else if (befriend_with_obj(mon->data, obj) || BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/mondata.h:247:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 247 | (obj)->otyp == BANANA && (ptr)->mlet == S_YETI)) BUILDSTDERR: dothrow.c:1639:13: note: in expansion of macro 'befriend_with_obj' BUILDSTDERR: 1639 | } else if (befriend_with_obj(mon->data, obj) || BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: eat.c: In function 'done_eating': BUILDSTDERR: eat.c:481:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 481 | if (!victual.piece->odrained || Race_if(PM_VAMPIRE) && !rn2(5)) BUILDSTDERR: eat.c: In function 'opentin': BUILDSTDERR: eat.c:1275:39: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1275 | monexplain[mons[tin.tin->corpsenm].mlet]); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: eat.c: In function 'fprefx': BUILDSTDERR: eat.c:1689:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1689 | if (carnivorous(youmonst.data) && (!humanoid(youmonst.data)) || BUILDSTDERR: eat.c: In function 'doeat': BUILDSTDERR: eat.c:2548:59: warning: ?: using integer constants in boolean context, the expression will always evaluate to 'true' [-Wint-in-bool-context] BUILDSTDERR: 2548 | (((monstermoves - otmp->age) > (int) otmp->blessed ? 50:30) && BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: At top level: BUILDSTDERR: eat.c:73:32: warning: 'comestibles' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 73 | STATIC_OVL NEARDATA const char comestibles[] = { FOOD_CLASS, 0 }; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: eat.c: In function 'doeat': BUILDSTDERR: eat.c:2243:19: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 2243 | Sprintf(buf, "%s like %s could be tainted! %s", BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 535 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: eat.c:2263:19: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 2263 | Sprintf(buf, "%s like %s might be poisonous! %s", BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 28 and 537 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: eat.c:2270:19: warning: ' unhealthy. ' directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 2270 | Sprintf(buf, "%s unhealthy. %s", BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 395 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: eat.c:2276:19: warning: ' rather acidic. ' directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 2276 | Sprintf(buf, "%s rather acidic. %s", BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 17 and 399 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: eat.c:2249:19: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 2249 | Sprintf(buf, "%s like %s could be something very dangerous! %s", BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 43 and 552 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: eat.c:2283:19: warning: ' disgusting to you right now..' directive writing 30 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 2283 | Sprintf(buf, "%s disgusting to you right now. %s", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 31 and 413 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: eat.c:2298:19: warning: ' foul and unfamiliar to you. ' directive writing 29 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 2298 | Sprintf(buf, "%s foul and unfamiliar to you. %s", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 30 and 412 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: eat.c:2316:19: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 2316 | Sprintf(buf, "%s like %s could be tainted! %s", BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 535 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: eat.c:2308:19: warning: ' unfamiliar to you. ' directive writing 20 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 2308 | Sprintf(buf, "%s unfamiliar to you. %s", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 403 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: eat.c:2256:19: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 2256 | Sprintf(buf, "%s like %s could be rotten! %s", BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 25 and 534 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/decl.h:265, BUILDSTDERR: from ../include/hack.h:92, BUILDSTDERR: from end.c:7: BUILDSTDERR: end.c: In function 'container_contents': BUILDSTDERR: ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: end.c:1132:10: note: in expansion of macro 'Is_container' BUILDSTDERR: 1132 | if (Is_container(box) || box->otyp == STATUE) { BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: engrave.c: In function 'doengrave': BUILDSTDERR: engrave.c:800:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 800 | if (flags.verbose) BUILDSTDERR: | ^~ BUILDSTDERR: engrave.c:802:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 802 | doknown = TRUE; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: engrave.c:812:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 812 | if (flags.verbose) BUILDSTDERR: | ^~ BUILDSTDERR: engrave.c:814:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 814 | doknown = TRUE; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:299, BUILDSTDERR: from ../include/unixconf.h:351, BUILDSTDERR: from ../include/global.h:171, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from engrave.c:5: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'doengrave' at engrave.c:1191:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: explode.c: In function 'set_blast_symbols': BUILDSTDERR: explode.c:72:15: warning: variable 'bitmask' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 72 | int i, j, bitmask; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: explode.c: In function 'do_explode': BUILDSTDERR: explode.c:472:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 472 | if (is_animal(u.ustuck->data)) BUILDSTDERR: | ^ BUILDSTDERR: explode.c: In function 'grenade_effects': BUILDSTDERR: explode.c:944:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 944 | if (mon && !DEADMONSTER(mon)) BUILDSTDERR: | ^ BUILDSTDERR: explode.c:954:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 954 | if (x == u.ux && y == u.uy) BUILDSTDERR: | ^ t-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dokick.o dokick.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dothrow.o dothrow.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o drawing.o drawing.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dungeon.o dungeon.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o eat.o eat.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o end.o end.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o engrave.o engrave.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o exper.o exper.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o explode.o explode.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o extralev.o extralev.c ../util/makedefs -f BUILDSTDERR: cc -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/rpfiles.c: In function 'save_savefile_name': BUILDSTDERR: files.c:947:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 947 | (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: files.c: In function 'docompress_file': BUILDSTDERR: files.c:1322:10: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1322 | (void) setgid(getgid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: files.c:1323:10: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1323 | (void) setuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: hack.c: In function 'grow_herbs': BUILDSTDERR: hack.c:120:15: warning: variable 'lev' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 120 | struct rm *lev; BUILDSTDERR: | ^~~ BUILDSTDERR: invent.c: In function 'delobj': BUILDSTDERR: invent.c:657:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 657 | update_map = (obj->where == OBJ_FLOOR || Has_contents(obj) && BUILDSTDERR: invent.c: In function 'mergable': BUILDSTDERR: invent.c:2659:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 2659 | flags.pickup_thrown && obj->was_thrown != otmp->was_thrown || BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/youprop.h:10, BUILDSTDERR: from ../include/hack.h:90, BUILDSTDERR: from invent.c:5: BUILDSTDERR: ../include/mondata.h:168:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 168 | #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: 169 | (ptr) != &mons[PM_LICHEN] || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: invent.c:2692:4: note: in expansion of macro 'is_reviver' BUILDSTDERR: 2692 | is_reviver(&mons[otmp->corpsenm])))) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: invent.c: In function 'getobj': BUILDSTDERR: invent.c:1218:11: warning: 'floorfollow' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1218 | n = query_objlist(qbuf, floorchain, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1219 | floorfollow|INVORDER_SORT|SIGNAL_CANCEL, &pick_list, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1220 | PICK_ONE, allowall ? allow_all : allow_ugly); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: invent.c:1218:11: warning: 'floorchain' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: light.c: In function 'del_light_source': BUILDSTDERR: light.c:107:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 107 | case LS_OBJECT: tmp_id = (genericptr_t)(((struct obj *)id)->o_id); BUILDSTDERR: | ^ BUILDSTDERR: light.c:109:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 109 | case LS_MONSTER: tmp_id = (genericptr_t)(((struct monst *)id)->m_id); BUILDSTDERR: | ^ BUILDSTDERR: light.c: In function 'relink_light_sources': BUILDSTDERR: light.c:347:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 347 | if (!lookup_id_mapping((unsigned)ls->id, &nid)) BUILDSTDERR: | ^ BUILDSTDERR: light.c:350:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 350 | nid = (unsigned) ls->id; BUILDSTDERR: | ^ BUILDSTDERR: light.c: In function 'write_ls': BUILDSTDERR: light.c:430:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 430 | ls->id = (genericptr_t)otmp->o_id; BUILDSTDERR: | ^ BUILDSTDERR: light.c:437:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 437 | ls->id = (genericptr_t)mtmp->m_id; BUILDSTDERR: | ^ BUILDSTDERR: In file included from makemon.c:6: BUILDSTDERR: makemon.c: In function 'clone_mon': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: makemon.c:1300:5: note: in expansion of macro 'EPRI' BUILDSTDERR: 1300 | *(EPRI(m3)) = *(EPRI(mon)); BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: makemon.c:1300:19: note: in expansion of macro 'EPRI' BUILDSTDERR: 1300 | *(EPRI(m3)) = *(EPRI(mon)); BUILDSTDERR: | ^~~~ BUILDSTDERR: makemon.c: In function 'mongets': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/mondata.h:37:7: note: in expansion of macro 'EPRI' BUILDSTDERR: 37 | EPRI(mon)->shralign > 0)) BUILDSTDERR: | ^~~~ BUILDSTDERR: makemon.c:2181:16: note: in expansion of macro 'is_lminion' BUILDSTDERR: 2181 | } else if(is_lminion(mtmp)) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: makemon.c: In function 'peace_minded': BUILDSTDERR: makemon.c:2293:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 2293 | if (ual > A_NEUTRAL && mal < A_NEUTRAL || BUILDSTDERR: In file included from makemon.c:6: BUILDSTDERR: makemon.c: In function 'set_malign': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: makemon.c:2339:10: note: in expansion of macro 'EPRI' BUILDSTDERR: 2339 | mal = EPRI(mtmp)->shralign; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from makemon.c:7: BUILDSTDERR: ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: makemon.c:2341:10: note: in expansion of macro 'EMIN' BUILDSTDERR: 2341 | mal = EMIN(mtmp)->min_align; BUILDSTDERR: | ^~~~ m/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o files.o files.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o fountain.o fountain.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o hack.o hack.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o hacklib.o hacklib.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o invent.o invent.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o light.o light.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o lock.o lock.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mail.o mail.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o makemon.o makemon.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mapglyph.o mapglyph.c BUILDSTDERR: cc -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/rmcastu.c: In function 'spell_would_be_useless': BUILDSTDERR: mcastu.c:845:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 845 | if ((levl[u.ux][u.uy].typ != ROOM && levl[u.ux][u.uy].typ != CORR BUILDSTDERR: mhitm.c: In function 'hitmm': BUILDSTDERR: mhitm.c:779:24: warning: ' squeezes' directive writing 9 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 779 | Sprintf(buf,"%s squeezes", magr_name); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from mhitm.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mhitm.c:765:20: warning: ' stings' directive writing 7 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 765 | Sprintf(buf,"%s stings", magr_name); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from mhitm.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 8 and 263 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mhitm.c:771:20: warning: ' touches' directive writing 8 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 771 | Sprintf(buf,"%s touches", magr_name); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from mhitm.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 264 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mhitm.c:768:20: warning: ' butts' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 768 | Sprintf(buf,"%s butts", magr_name); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from mhitm.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 262 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mhitm.c:762:20: warning: ' bites' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 762 | Sprintf(buf,"%s bites", magr_name); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from mhitm.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 262 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mhitm.c:786:20: warning: ' hits' directive writing 5 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 786 | Sprintf(buf,"%s hits", magr_name); BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from mhitm.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 261 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mhitu.c: In function 'missmu': BUILDSTDERR: mhitu.c:161:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 161 | if (!flags.verbose || !nearmiss && !blocker) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: mhitu.c: In function 'gazemu': BUILDSTDERR: mhitu.c:2398:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 2398 | if(!mtmp->mcan && canseemon(mtmp) && mtmp->mcansee && BUILDSTDERR: | ^~ BUILDSTDERR: mhitu.c:2403:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 2403 | stop_occupation(); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from minion.c:7: BUILDSTDERR: minion.c: In function 'msummon': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: minion.c:23:10: note: in expansion of macro 'EPRI' BUILDSTDERR: 23 | atyp = EPRI(mon)->shralign; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/mondata.h:37:7: note: in expansion of macro 'EPRI' BUILDSTDERR: 37 | EPRI(mon)->shralign > 0)) BUILDSTDERR: | ^~~~ BUILDSTDERR: minion.c:41:13: note: in expansion of macro 'is_lminion' BUILDSTDERR: 41 | } else if (is_lminion(mon)) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: minion.c:80:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 80 | EPRI(mtmp)->shralign = atyp; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from minion.c:6: BUILDSTDERR: minion.c: In function 'summon_minion': BUILDSTDERR: ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: minion.c:117:6: note: in expansion of macro 'EMIN' BUILDSTDERR: 117 | EMIN(mon)->min_align = alignment; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from minion.c:7: BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: minion.c:123:6: note: in expansion of macro 'EPRI' BUILDSTDERR: 123 | EPRI(mon)->shralign = alignment; /* always A_LAWFUL here */ BUILDSTDERR: | ^~~~ BUILDSTDERR: mklev.c: In function 'mktrap': BUILDSTDERR: mklev.c:1284:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1284 | if (lvl < 2) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: mklev.c:1284:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1284 | if (lvl < 2) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mklev.c:1286:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1286 | if (lvl < 5 || level.flags.noteleport) BUILDSTDERR: | ^~ BUILDSTDERR: mklev.c:1287:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1287 | kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mklev.c:1289:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1289 | if (lvl < 5) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: mklev.c:1289:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1289 | if (lvl < 5) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mklev.c:1291:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1291 | if (lvl < 6) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: mklev.c:1291:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1291 | if (lvl < 6) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mklev.c:1293:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1293 | if (lvl < 7) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: mklev.c:1293:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1293 | if (lvl < 7) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mklev.c:1296:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1296 | if (lvl < 8) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: mklev.c:1296:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1296 | if (lvl < 8) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mklev.c:1298:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1298 | if (!Inhell) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: mklev.c:1298:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1298 | if (!Inhell) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mklev.c:1300:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1300 | if (level.flags.noteleport) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: mklev.c:1300:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1300 | if (level.flags.noteleport) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mklev.c:1303:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1303 | if (rn2(7)) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: mklev.c:1303:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1303 | if (rn2(7)) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: mkmap.c: In function 'pass_two': BUILDSTDERR: mkmap.c:115:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 115 | for(count=0, dr=0; dr < 8; dr++) BUILDSTDERR: | ^~~ BUILDSTDERR: mkmap.c:119:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' BUILDSTDERR: 119 | if (count == 5) BUILDSTDERR: | ^~ BUILDSTDERR: In file included from ../include/decl.h:265, BUILDSTDERR: from ../include/hack.h:92, BUILDSTDERR: from mkobj.c:5: BUILDSTDERR: mkobj.c: In function 'weight': BUILDSTDERR: ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: mkobj.c:957:6: note: in expansion of macro 'Is_container' BUILDSTDERR: 957 | if (Is_container(obj) || obj->otyp == STATUE) { BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: mkroom.c: In function 'fill_zoo': BUILDSTDERR: mkroom.c:366:6: warning: 'goldlim' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 366 | if(i >= goldlim) i = 5*level_difficulty(); BUILDSTDERR: | ^ BUILDSTDERR: mkroom.c:328:14: warning: 'ty' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 328 | (sx == tx && sy == ty ? &mons[PM_QUEEN_BEE] : BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: mkroom.c:328:48: warning: 'tx' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 328 | (sx == tx && sy == ty ? &mons[PM_QUEEN_BEE] : BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ BUILDSTDERR: 329 | &mons[PM_KILLER_BEE]) : BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/youprop.h:10, BUILDSTDERR: from ../include/hack.h:90, BUILDSTDERR: from mon.c:10: BUILDSTDERR: mon.c: In function 'make_corpse': BUILDSTDERR: ../include/mondata.h:168:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 168 | #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: 169 | (ptr) != &mons[PM_LICHEN] || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mon.c:160:5: note: in expansion of macro 'is_reviver' BUILDSTDERR: 160 | is_reviver((mon)->data) || \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: mon.c:407:32: note: in expansion of macro 'KEEPTRAITS' BUILDSTDERR: 407 | obj = mkcorpstat(CORPSE, KEEPTRAITS(mtmp) ? mtmp : 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: mon.c: In function 'mfndpos': BUILDSTDERR: mon.c:1208:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1208 | levl[nx][ny].doormask & D_CLOSED && !(flag & OPENDOOR) BUILDSTDERR: mon.c: In function 'replmon': BUILDSTDERR: mon.c:1468:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1468 | if (unpolytime = stop_timer(UNPOLY_MON, (genericptr_t) mtmp)) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: mon.c: In function 'lifesaved_monster': BUILDSTDERR: mon.c:1555:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1555 | visible = u.uswallow && u.ustuck == mtmp || BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mon.c: In function 'unpoly_monster': BUILDSTDERR: mon.c:1603:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1603 | visible = u.uswallow && u.ustuck == mtmp || cansee(mtmp->mx,mtmp->my); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/youprop.h:10, BUILDSTDERR: from ../include/hack.h:90, BUILDSTDERR: from mon.c:10: BUILDSTDERR: mon.c: In function 'monstone': BUILDSTDERR: ../include/mondata.h:168:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 168 | #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: 169 | (ptr) != &mons[PM_LICHEN] || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mon.c:160:5: note: in expansion of macro 'is_reviver' BUILDSTDERR: 160 | is_reviver((mon)->data) || \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: mon.c:1880:29: note: in expansion of macro 'KEEPTRAITS' BUILDSTDERR: 1880 | otmp = mkcorpstat(STATUE, KEEPTRAITS(mdef) ? mdef : 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: mon.c: In function 'newcham': BUILDSTDERR: mon.c:2865:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 2865 | if (msg && (u.uswallow && mtmp == u.ustuck || canspotmon(mtmp))) { BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ edhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mcastu.o mcastu.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mhitm.o mhitm.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mhitu.o mhitu.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o minion.o minion.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mklev.o mklev.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkmap.o mkmap.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkmaze.o mkmaze.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkobj.o mkobj.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkroom.o mkroom.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mon.o mon.c BUILDSTDERR: cc -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 -spIn file included from monmove.c:8: BUILDSTDERR: monmove.c: In function 'onscary': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/mondata.h:37:7: note: in expansion of macro 'EPRI' BUILDSTDERR: 37 | EPRI(mon)->shralign > 0)) BUILDSTDERR: | ^~~~ BUILDSTDERR: monmove.c:173:6: note: in expansion of macro 'is_lminion' BUILDSTDERR: 173 | is_lminion(mtmp) || mtmp->data == &mons[PM_ANGEL] || BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from ../include/decl.h:265, BUILDSTDERR: from ../include/hack.h:92, BUILDSTDERR: from monmove.c:5: BUILDSTDERR: monmove.c: In function 'can_ooze': BUILDSTDERR: ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: monmove.c:1437:7: note: in expansion of macro 'Is_container' BUILDSTDERR: 1437 | if (Is_container(obj) && obj->cobj) return FALSE; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: monmove.c: In function 'm_move': BUILDSTDERR: monmove.c:1174:20: warning: 'niy' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1174 | (void) breamspot(mtmp, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 1175 | &ptr->mattk[bust_door_breath(mtmp)], BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1176 | (nix-omx), (niy-omy)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: monmove.c:1174:20: warning: 'nix' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: o_init.c: In function 'init_objects': BUILDSTDERR: o_init.c:191:10: warning: self-comparison always evaluates to false [-Wtautological-compare] BUILDSTDERR: 191 | if(sum != sum) BUILDSTDERR: | ^~ BUILDSTDERR: objnam.c: In function 'add_erosion_words': BUILDSTDERR: objnam.c:571:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 571 | if (!is_damageable(obj) && !iscrys || Hallucination) return; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: In file included from ../include/youprop.h:10, BUILDSTDERR: from ../include/hack.h:90, BUILDSTDERR: from objnam.c:5: BUILDSTDERR: objnam.c: In function 'readobjnam': BUILDSTDERR: ../include/mondata.h:168:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 168 | #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: 169 | (ptr) != &mons[PM_LICHEN] || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: objnam.c:2760:22: note: in expansion of macro 'is_reviver' BUILDSTDERR: 2760 | (typ != CORPSE || !is_reviver(&mons[mntmp])) && BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:299, BUILDSTDERR: from ../include/unixconf.h:351, BUILDSTDERR: from ../include/global.h:171, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from objnam.c:5: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'strprepend' at objnam.c:75:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: objnam.c: In function 'strprepend': BUILDSTDERR: objnam.c:68:24: note: length computed here BUILDSTDERR: 68 | register int i = (int)strlen(pref); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: options.c: In function 'option_help': BUILDSTDERR: options.c:3886:21: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] BUILDSTDERR: 3886 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from options.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: options.c: In function 'doset': BUILDSTDERR: options.c:2968:43: warning: 's [' directive writing 3 bytes into a region of size between 1 and 11 [-Wformat-overflow=] BUILDSTDERR: 2968 | Sprintf(fmtstr_doset_add_menu, "%%s%%-%ds [%%s]", biggest_name); BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from options.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 22 bytes into a destination of size 16 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: options.c:3044:23: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: 3044 | Sprintf(buf, "%s:%s", compopt[opt_indx].name, buf2); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from options.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ecs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mondata.o mondata.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o monmove.o monmove.c make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' ./makedefs -m make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o monstr.o monstr.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mplayer.o mplayer.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mthrowu.o mthrowu.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o muse.o muse.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o music.o music.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o o_init.o o_init.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o objnam.o objnam.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o options.o options.c BUILDSTDERR: cc -O2 -g -pipe -Wall -Werror=formaIn file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:299, BUILDSTDERR: from ../include/unixconf.h:351, BUILDSTDERR: from ../include/global.h:171, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from pager.c:8: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dowhatdoes_core' at pager.c:870:11: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dowhatdoes_core' at pager.c:874:11: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dowhatdoes_core' at pager.c:879:11: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pager.c: In function 'do_look': BUILDSTDERR: pager.c:755:28: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] BUILDSTDERR: 753 | firstmatch = look_buf; BUILDSTDERR: | ~~~~~~~~ BUILDSTDERR: 754 | if (*firstmatch) { BUILDSTDERR: 755 | Sprintf(temp_buf, " (%s)", firstmatch); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from pager.c:8: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 259 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pager.c:760:34: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] BUILDSTDERR: 760 | Sprintf(temp_buf, " [seen: %s]", monbuf); BUILDSTDERR: | ^~ ~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from pager.c:8: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:299, BUILDSTDERR: from ../include/unixconf.h:351, BUILDSTDERR: from ../include/global.h:171, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from pager.c:8: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'do_look' at pager.c:756:13: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'do_look' at pager.c:761:13: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'do_look' at pager.c:769:10: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pickup.c: In function 'autopick': BUILDSTDERR: pickup.c:649:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 649 | flags.pickup_thrown && curr->was_thrown) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pickup.c:663:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 663 | flags.pickup_thrown && curr->was_thrown) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/decl.h:265, BUILDSTDERR: from ../include/hack.h:92, BUILDSTDERR: from pickup.c:9: BUILDSTDERR: pickup.c: In function 'container_at': BUILDSTDERR: ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: pickup.c:1469:6: note: in expansion of macro 'Is_container' BUILDSTDERR: 1469 | if(Is_container(cobj)) { BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: pickup.c: In function 'doloot': BUILDSTDERR: ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: pickup.c:1553:10: note: in expansion of macro 'Is_container' BUILDSTDERR: 1553 | if (Is_container(cobj)) { BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: pickup.c: In function 'use_container': BUILDSTDERR: pickup.c:2215:25: warning: unused variable 'lcnt' [-Wunused-variable] BUILDSTDERR: 2215 | int cnt = 0, used = 0, lcnt = 0, BUILDSTDERR: | ^~~~ BUILDSTDERR: pickup.c:2209:16: warning: unused variable 'shkp' [-Wunused-variable] BUILDSTDERR: 2209 | struct monst *shkp; BUILDSTDERR: | ^~~~ BUILDSTDERR: pickup.c:2302:41: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: 2302 | if (!cnt) Sprintf(menuprompt, "%s ", emptymsg); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from pickup.c:9: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from pline.c:7: BUILDSTDERR: pline.c: In function 'mstatusline': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pline.c:287:15: note: in expansion of macro 'EPRI' BUILDSTDERR: 287 | alignment = EPRI(mtmp)->shralign; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from ../include/youprop.h:10, BUILDSTDERR: from ../include/hack.h:90, BUILDSTDERR: from polyself.c:13: BUILDSTDERR: polyself.c: In function 'polyman': BUILDSTDERR: ../include/mondata.h:126:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 126 | P_MAX_SKILL(P_TWO_WEAPON_COMBAT) >= P_BASIC && \ BUILDSTDERR: polyself.c:118:20: note: in expansion of macro 'could_twoweap' BUILDSTDERR: 118 | if (u.twoweap && !could_twoweap(youmonst.data)) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: polyself.c: In function 'drop_weapon': BUILDSTDERR: ../include/mondata.h:126:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 126 | P_MAX_SKILL(P_TWO_WEAPON_COMBAT) >= P_BASIC && \ BUILDSTDERR: polyself.c:850:14: note: in expansion of macro 'could_twoweap' BUILDSTDERR: 850 | } else if (!could_twoweap(youmonst.data)) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: polyself.c: In function 'polyatwill': BUILDSTDERR: polyself.c:1711:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1711 | if (u.ulevel > 13 && u.uen > EN_ADULT_DRAGON || BUILDSTDERR: | ^ BUILDSTDERR: polyself.c: In function 'polyself': BUILDSTDERR: polyself.c:362:17: warning: array subscript -1 is below array bounds of 'struct mvitals[612]' [-Warray-bounds] BUILDSTDERR: 362 | if (!(mvitals[mntmp].mvflags & G_GENOD)) { BUILDSTDERR: | ~~~~~~~^~~~~~~ BUILDSTDERR: In file included from ../include/hack.h:92, BUILDSTDERR: from polyself.c:13: BUILDSTDERR: ../include/decl.h:329:3: note: while referencing 'mvitals' BUILDSTDERR: 329 | } mvitals[NUMMONS]; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: potion.c: In function 'upgrade_obj': BUILDSTDERR: potion.c:2517:32: warning: passing argument 2 of 'artifact_name' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 2517 | if (artifact_name(ONAME(obj), &otyp2) && otyp2 == obj->otyp) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from ../include/config.h:323, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from potion.c:5: BUILDSTDERR: ../include/extern.h:62:21: note: expected 'short int *' but argument is of type 'int *' BUILDSTDERR: 62 | E const char *FDECL(artifact_name, (const char *,short *)); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../include/tradstdc.h:124:21: note: in definition of macro 'FDECL' BUILDSTDERR: 124 | # define FDECL(f,p) f p BUILDSTDERR: | ^ BUILDSTDERR: pray.c: In function 'lawful_god_gives_angel': BUILDSTDERR: pray.c:1211:9: warning: variable 'mon' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1211 | int mon; BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from priest.c:8: BUILDSTDERR: priest.c: In function 'histemple_at': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:136:20: note: in expansion of macro 'EPRI' BUILDSTDERR: 136 | return((boolean)((EPRI(priest)->shroom == *in_rooms(x, y, TEMPLE)) && BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:137:20: note: in expansion of macro 'EPRI' BUILDSTDERR: 137 | on_level(&(EPRI(priest)->shrlevel), &u.uz))); BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c: In function 'pri_move': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:156:11: note: in expansion of macro 'EPRI' BUILDSTDERR: 156 | temple = EPRI(priest)->shroom; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:158:7: note: in expansion of macro 'EPRI' BUILDSTDERR: 158 | gx = EPRI(priest)->shrpos.x; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:159:7: note: in expansion of macro 'EPRI' BUILDSTDERR: 159 | gy = EPRI(priest)->shrpos.y; BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c: In function 'priestini': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:203:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 203 | EPRI(priest)->shroom = (sroom - rooms) + ROOMOFFSET; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:204:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 204 | EPRI(priest)->shralign = Amask2align(levl[sx][sy].altarmask); BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:205:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 205 | EPRI(priest)->shrpos.x = sx; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:206:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 206 | EPRI(priest)->shrpos.y = sy; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:207:18: note: in expansion of macro 'EPRI' BUILDSTDERR: 207 | assign_level(&(EPRI(priest)->shrlevel), lvl); BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:215:17: note: in expansion of macro 'EPRI' BUILDSTDERR: 215 | if(sanctum && EPRI(priest)->shralign == A_NONE && BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c: In function 'priestname': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:277:26: note: in expansion of macro 'EPRI' BUILDSTDERR: 277 | if (!mon->ispriest && EPRI(mon)->renegade) BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:289:33: note: in expansion of macro 'EPRI' BUILDSTDERR: 289 | Strcat(pname, halu_gname((int)EPRI(mon)->shralign)); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from priest.c:9: BUILDSTDERR: ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:295:27: note: in expansion of macro 'EMIN' BUILDSTDERR: 295 | Strcat(pname, halu_gname(EMIN(mon)->min_align)); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from priest.c:8: BUILDSTDERR: priest.c: In function 'p_coaligned': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:303:42: note: in expansion of macro 'EPRI' BUILDSTDERR: 303 | return((boolean)(u.ualign.type == ((int)EPRI(priest)->shralign))); BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c: In function 'has_shrine': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:314:14: note: in expansion of macro 'EPRI' BUILDSTDERR: 314 | lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y]; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:314:35: note: in expansion of macro 'EPRI' BUILDSTDERR: 314 | lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y]; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:317:19: note: in expansion of macro 'EPRI' BUILDSTDERR: 317 | return((boolean)(EPRI(pri)->shralign == Amask2align(lev->altarmask & ~AM_SHRINE))); BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c: In function 'findpriest': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:328:28: note: in expansion of macro 'EPRI' BUILDSTDERR: 328 | if(mtmp->ispriest && (EPRI(mtmp)->shroom == roomno) && BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c: In function 'mk_roamer': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:564:2: note: in expansion of macro 'EPRI' BUILDSTDERR: 564 | EPRI(roamer)->shralign = alignment; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:566:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 566 | EPRI(roamer)->renegade = TRUE; BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c: In function 'reset_hostility': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:586:5: note: in expansion of macro 'EPRI' BUILDSTDERR: 586 | if(EPRI(roamer)->shralign != u.ualign.type) { BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c: In function 'ghod_hitsu': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:631:11: note: in expansion of macro 'EPRI' BUILDSTDERR: 631 | ax = x = EPRI(priest)->shrpos.x; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:632:11: note: in expansion of macro 'EPRI' BUILDSTDERR: 632 | ay = y = EPRI(priest)->shrpos.y; BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c:648:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 648 | stpx == sgn(tbx) && stpy == sgn(tby)) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:663:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 663 | else if (x2 > troom->hx || x1 <= troom->hx && !rn2(2)) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: priest.c:683:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 683 | else if (x2 < troom->lx || x1 >= troom->lx && !rn2(2)) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: priest.c:703:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 703 | else if (y2 > troom->hy || y1 <= troom->hy && !rn2(2)) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: priest.c:723:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 723 | else if (y2 < troom->ly || y1 >= troom->ly && !rn2(2)) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: In file included from priest.c:8: BUILDSTDERR: priest.c: In function 'angry_priest': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:798:18: note: in expansion of macro 'EPRI' BUILDSTDERR: 798 | lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y]; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:798:42: note: in expansion of macro 'EPRI' BUILDSTDERR: 798 | lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y]; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:801:4: note: in expansion of macro 'EPRI' BUILDSTDERR: 801 | EPRI(priest)->shralign)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:805:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 805 | EPRI(priest)->renegade = 0; BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c: In function 'clearpriests': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:821:58: note: in expansion of macro 'EPRI' BUILDSTDERR: 821 | if (!DEADMONSTER(mtmp) && mtmp->ispriest && !on_level(&(EPRI(mtmp)->shrlevel), &u.uz)) BUILDSTDERR: | ^~~~ BUILDSTDERR: priest.c: In function 'restpriest': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: priest.c:834:21: note: in expansion of macro 'EPRI' BUILDSTDERR: 834 | assign_level(&(EPRI(mtmp)->shrlevel), &u.uz); BUILDSTDERR: | ^~~~ BUILDSTDERR: read.c: In function 'seffects': BUILDSTDERR: read.c:1215:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1215 | if (mtmp) BUILDSTDERR: | ^ BUILDSTDERR: read.c:1313:20: warning: suggest parentheses around operand of '!' or change '|' to '||' or '!' to '~' [-Wparentheses] BUILDSTDERR: 1313 | else do_genocide(!sobj->cursed | (2 * !!Confusion)); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: read.c:1233:5: warning: 'mtmp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1233 | You("try to command %s", mon_nam(mtmp)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ t-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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pager.o pager.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pickup.o pickup.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pline.o pline.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o polyself.o polyself.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o potion.o potion.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pray.o pray.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o priest.o priest.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o quest.o quest.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o questpgr.o questpgr.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o read.o read.c BUILDSTDERR: cc -O2 -g -pipe -Wall -Werror=format-security -region.c: In function 'expire_gas_cloud': BUILDSTDERR: region.c:887:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 887 | damage = (int) reg->arg; BUILDSTDERR: | ^ BUILDSTDERR: region.c:892:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 892 | reg->arg = (genericptr_t) damage; BUILDSTDERR: | ^ BUILDSTDERR: region.c: In function 'inside_gas_cloud': BUILDSTDERR: region.c:941:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 941 | dam = (int) reg->arg; BUILDSTDERR: | ^ BUILDSTDERR: region.c: In function 'create_gas_cloud': BUILDSTDERR: region.c:1028:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 1028 | cloud->arg = (genericptr_t) damage; BUILDSTDERR: | ^ BUILDSTDERR: In file included from ../include/config.h:323, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from rip.c:5: BUILDSTDERR: rip.c:7:23: warning: 'center' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 7 | STATIC_DCL void FDECL(center, (int, char *)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ../include/tradstdc.h:124:21: note: in definition of macro 'FDECL' BUILDSTDERR: 124 | # define FDECL(f,p) f p BUILDSTDERR: | ^ BUILDSTDERR: save.c: In function 'savestateinlock': BUILDSTDERR: save.c:425:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 425 | (void) read(fd, (genericptr_t) &hpid, sizeof(hpid)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: save.c:443:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 443 | (void) write(fd, (genericptr_t) &hackpid, sizeof(hackpid)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: save.c:447:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 447 | (void) write(fd, (genericptr_t) &currlev, sizeof(currlev)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: shk.c: In function 'repair_damage': BUILDSTDERR: shk.c:3636:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 3636 | while (!(litter[i = rn2(9)] & INSHOP)); BUILDSTDERR: | ^~~~~ BUILDSTDERR: shk.c:3637:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' BUILDSTDERR: 3637 | remove_object(otmp); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: shk.c: In function 'shk_identify': BUILDSTDERR: shk.c:4671:27: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] BUILDSTDERR: 4671 | if (ESHK(shkp)->services & (SHK_ID_BASIC|SHK_ID_PREMIUM) == BUILDSTDERR: | ^ BUILDSTDERR: shk.c:4671:27: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 4671 | if (ESHK(shkp)->services & (SHK_ID_BASIC|SHK_ID_PREMIUM) == BUILDSTDERR: shk.c: In function 'shk_other_services': BUILDSTDERR: shk.c:5296:5: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 5296 | if (type == 'b') BUILDSTDERR: | ^ BUILDSTDERR: shk.c:5255:7: note: 'type' was declared here BUILDSTDERR: 5255 | char type; /* Basic/premier service */ BUILDSTDERR: | ^~~~ BUILDSTDERR: shknam.c: In function 'stock_blkmar': BUILDSTDERR: shknam.c:643:9: warning: variable 'blkmar_gen' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 643 | int blkmar_gen[NUM_OBJECTS+2]; BUILDSTDERR: | ^~~~~~~~~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rect.o rect.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o region.o region.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o restore.o restore.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rip.o rip.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rnd.o rnd.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o role.o role.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rumors.o rumors.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o save.o save.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o shk.o shk.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o shknam.o shknam.c BUILDSTDERR: cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBsounds.c: In function 'domonnoise': BUILDSTDERR: sounds.c:898:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 898 | if (uwep && (uwep->oclass == WEAPON_CLASS || is_weptool(uwep)) BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sounds.c:605:28: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds] BUILDSTDERR: 605 | verbl_msg = vampmsg[vampindex]; BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~ BUILDSTDERR: sounds.c:580:34: note: while referencing 'vampmsg' BUILDSTDERR: 580 | static const char * const vampmsg[] = { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: sounds.c: In function 'pet_distress': BUILDSTDERR: sounds.c:357:8: warning: 'verb' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 357 | if (verb) { BUILDSTDERR: | ^ BUILDSTDERR: sp_lev.c: In function 'create_monster': BUILDSTDERR: sp_lev.c:892:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 892 | if (!pm || !is_swimmer(pm) && !likes_lava(pm)) BUILDSTDERR: spell.c: In function 'getspell': BUILDSTDERR: spell.c:652:37: warning: '%s' directive writing up to 255 bytes into a region of size 109 [-Wformat-overflow=] BUILDSTDERR: 652 | Sprintf(qbuf, "Cast which spell? [%s ?]", lets); BUILDSTDERR: | ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from spell.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 23 and 278 bytes into a destination of size 128 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: timeout.c: In function 'attach_bomb_blow_timeout': BUILDSTDERR: timeout.c:651:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 651 | if (yours && (!carried(bomb) && costly_spot(bomb->ox, bomb->oy) && BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: 652 | !bomb->no_charge || bomb->unpaid)) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~ BUILDSTDERR: timeout.c: In function 'write_timer': BUILDSTDERR: timeout.c:2215:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 2215 | timer->arg = (genericptr_t)((struct obj *)timer->arg)->o_id; BUILDSTDERR: | ^ BUILDSTDERR: timeout.c:2229:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 2229 | timer->arg = (genericptr_t)((struct monst *)timer->arg)->m_id; BUILDSTDERR: | ^ BUILDSTDERR: timeout.c: In function 'relink_timers': BUILDSTDERR: timeout.c:2459:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 2459 | if (!lookup_id_mapping((unsigned)curr->arg, &nid)) BUILDSTDERR: | ^ BUILDSTDERR: timeout.c:2462:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 2462 | nid = (unsigned) curr->arg; BUILDSTDERR: | ^ BUILDSTDERR: timeout.c:2472:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 2472 | if (!lookup_id_mapping((unsigned)curr->arg, &nid)) BUILDSTDERR: | ^ BUILDSTDERR: timeout.c:2475:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 2475 | nid = (unsigned) curr->arg; BUILDSTDERR: | ^ BUILDSTDERR: topten.c: In function 'readentry': BUILDSTDERR: topten.c:223:20: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=] BUILDSTDERR: 223 | sscanf(dp2, "%d", &tt->conduct); BUILDSTDERR: | ~^ ~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | | long int * BUILDSTDERR: | int * BUILDSTDERR: | %ld BUILDSTDERR: topten.c: In function 'writeentry': BUILDSTDERR: topten.c:263:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] BUILDSTDERR: 263 | Sprintf(cp, " Conduct=%d", tt->conduct); BUILDSTDERR: | ~^ ~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int long int BUILDSTDERR: | %ld BUILDSTDERR: topten.c: In function 'outentry': BUILDSTDERR: topten.c:831:29: warning: '%s' directive writing up to 255 bytes into a region of size 240 [-Wformat-overflow=] BUILDSTDERR: 831 | Sprintf(linebuf, "%15s %s", "", linebuf3); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from topten.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 17 and 272 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX_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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sit.o sit.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sounds.o sounds.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sp_lev.o sp_lev.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o spell.o spell.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o steal.o steal.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o steed.o steed.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o teleport.o teleport.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o timeout.o timeout.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o topten.o topten.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o track.o track.c BUILDSTDERR: cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONStrap.c: In function 'uunstone': BUILDSTDERR: trap.c:2341:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 2341 | else BUILDSTDERR: | ^~~~ BUILDSTDERR: trap.c:2345:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 2345 | return (1); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from ../include/decl.h:265, BUILDSTDERR: from ../include/hack.h:92, BUILDSTDERR: from trap.c:5: BUILDSTDERR: trap.c: In function 'fire_damage': BUILDSTDERR: ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: trap.c:2730:6: note: in expansion of macro 'Is_container' BUILDSTDERR: 2730 | if (Is_container(obj)) { BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: trap.c: In function 'water_damage': BUILDSTDERR: ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: trap.c:2825:13: note: in expansion of macro 'Is_container' BUILDSTDERR: 2825 | } else if(Is_container(obj) && !Is_box(obj) && BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: trap.c: In function 'untrap': BUILDSTDERR: trap.c:3743:48: warning: '%s' directive writing up to 255 bytes into a region of size 89 [-Wformat-overflow=] BUILDSTDERR: 3743 | Sprintf(qbuf, "There %s and %s here. %s %s?", BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 3746 | ttmp->ttyp == WEB ? "Remove" : "Disarm", the_trap); BUILDSTDERR: | ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from trap.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 41 or more bytes (assuming 296) into a destination of size 128 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: uhitm.c: In function 'known_hitum': BUILDSTDERR: uhitm.c:500:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 500 | if (flags.verbose) BUILDSTDERR: | ^ BUILDSTDERR: uhitm.c: In function 'hmon_hitmon': BUILDSTDERR: uhitm.c:740:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 740 | objenchant = !thrown && no_obj || obj->spe < 0 ? 0 : obj->spe; BUILDSTDERR: | ~~~~~~~~^~~~~~~~~ BUILDSTDERR: uhitm.c:933:39: warning: comparison of constant '3' with boolean expression is always false [-Wbool-compare] BUILDSTDERR: 933 | obj->otyp == BOOMERANG && !rnl(4) == 4-1) { BUILDSTDERR: | ^~ BUILDSTDERR: uhitm.c:933:39: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] BUILDSTDERR: uhitm.c:933:31: note: add parentheses around left hand side expression to silence this warning BUILDSTDERR: 933 | obj->otyp == BOOMERANG && !rnl(4) == 4-1) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | ( ) BUILDSTDERR: uhitm.c: In function 'damageum': BUILDSTDERR: uhitm.c:1895:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1895 | if (!Blind) BUILDSTDERR: | ^~ BUILDSTDERR: uhitm.c:1897:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1897 | xkilled(mdef,3); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: uhitm.c: In function 'hmonas': BUILDSTDERR: uhitm.c:2734:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 2734 | if ((uwep || u.twoweap && uswapwep) && BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: uhitm.c:2735:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 2735 | (mhit == HIT_UWEP && !uwep || BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: uhitm.c:2779:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 2779 | barehanded_hit = (dhit & HIT_UWEP) && !uwep || BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: uhitm.c:2815:4: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2815 | /* succubi/incubi are humanoid, but their _second_ BUILDSTDERR: | BUILDSTDERR: uhitm.c:2825:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 2825 | if ((uwep || u.twoweap && uswapwep) && BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: uhitm.c:2835:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 2835 | if ((uwep || u.twoweap && uswapwep) && BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: uhitm.c: In function 'passive': BUILDSTDERR: uhitm.c:3071:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 3071 | mhit & HIT_UWEP && !uwep || BUILDSTDERR: | ~~~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: uhitm.c:3072:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 3072 | mhit & HIT_USWAPWEP && !uswapwep; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: uhitm.c: In function 'hmon_hitmon': BUILDSTDERR: uhitm.c:1555:38: warning: '%s' directive writing up to 255 bytes into a region of size between 244 and 251 [-Wformat-overflow=] BUILDSTDERR: 1555 | Sprintf(silverobjbuf, "Your %s%s %s %%s!", BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 1558 | saved_oname, vtense(saved_oname, "sear")); BUILDSTDERR: | ~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from uhitm.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 11 or more bytes (assuming 273) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from vault.c:6: BUILDSTDERR: vault.c: In function 'clear_fcorr': BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:29:18: note: in expansion of macro 'EGD' BUILDSTDERR: 29 | if (!on_level(&(EGD(grd)->gdlevel), &u.uz)) return TRUE; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:31:17: note: in expansion of macro 'EGD' BUILDSTDERR: 31 | while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) { BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:31:36: note: in expansion of macro 'EGD' BUILDSTDERR: 31 | while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) { BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:32:9: note: in expansion of macro 'EGD' BUILDSTDERR: 32 | fcx = EGD(grd)->fakecorr[fcbeg].fx; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:33:9: note: in expansion of macro 'EGD' BUILDSTDERR: 33 | fcy = EGD(grd)->fakecorr[fcbeg].fy; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:35:8: note: in expansion of macro 'EGD' BUILDSTDERR: 35 | EGD(grd)->gddone) BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:50:24: note: in expansion of macro 'EGD' BUILDSTDERR: 50 | levl[fcx][fcy].typ = EGD(grd)->fakecorr[fcbeg].ftyp; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:53:3: note: in expansion of macro 'EGD' BUILDSTDERR: 53 | EGD(grd)->fcbeg++; BUILDSTDERR: | ^~~ BUILDSTDERR: vault.c: In function 'grddead': BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:81:3: note: in expansion of macro 'EGD' BUILDSTDERR: 81 | EGD(grd)->ogx = grd->mx; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:82:3: note: in expansion of macro 'EGD' BUILDSTDERR: 82 | EGD(grd)->ogy = grd->my; BUILDSTDERR: | ^~~ BUILDSTDERR: vault.c: In function 'in_fcorridor': BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:95:12: note: in expansion of macro 'EGD' BUILDSTDERR: 95 | for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++) BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:95:35: note: in expansion of macro 'EGD' BUILDSTDERR: 95 | for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++) BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:96:11: note: in expansion of macro 'EGD' BUILDSTDERR: 96 | if(x == EGD(grd)->fakecorr[fci].fx && BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:97:10: note: in expansion of macro 'EGD' BUILDSTDERR: 97 | y == EGD(grd)->fakecorr[fci].fy) BUILDSTDERR: | ^~~ BUILDSTDERR: vault.c: In function 'findgd': BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:109:56: note: in expansion of macro 'EGD' BUILDSTDERR: 109 | if(mtmp->isgd && !DEADMONSTER(mtmp) && on_level(&(EGD(mtmp)->gdlevel), &u.uz)) BUILDSTDERR: | ^~~ BUILDSTDERR: vault.c: In function 'invault': BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:230:2: note: in expansion of macro 'EGD' BUILDSTDERR: 230 | EGD(guard)->gddone = 0; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:231:2: note: in expansion of macro 'EGD' BUILDSTDERR: 231 | EGD(guard)->ogx = x; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:232:2: note: in expansion of macro 'EGD' BUILDSTDERR: 232 | EGD(guard)->ogy = y; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:233:17: note: in expansion of macro 'EGD' BUILDSTDERR: 233 | assign_level(&(EGD(guard)->gdlevel), &u.uz); BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:234:2: note: in expansion of macro 'EGD' BUILDSTDERR: 234 | EGD(guard)->vroom = vaultroom; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:235:2: note: in expansion of macro 'EGD' BUILDSTDERR: 235 | EGD(guard)->warncnt = 0; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:316:2: note: in expansion of macro 'EGD' BUILDSTDERR: 316 | EGD(guard)->gdx = gx; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:317:2: note: in expansion of macro 'EGD' BUILDSTDERR: 317 | EGD(guard)->gdy = gy; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:318:2: note: in expansion of macro 'EGD' BUILDSTDERR: 318 | EGD(guard)->fcbeg = 0; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:319:2: note: in expansion of macro 'EGD' BUILDSTDERR: 319 | EGD(guard)->fakecorr[0].fx = x; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:320:2: note: in expansion of macro 'EGD' BUILDSTDERR: 320 | EGD(guard)->fakecorr[0].fy = y; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:322:6: note: in expansion of macro 'EGD' BUILDSTDERR: 322 | EGD(guard)->fakecorr[0].ftyp = levl[x][y].typ; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:324:16: note: in expansion of macro 'EGD' BUILDSTDERR: 324 | int vlt = EGD(guard)->vroom; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:329:3: note: in expansion of macro 'EGD' BUILDSTDERR: 329 | EGD(guard)->fakecorr[0].ftyp = TLCORNER; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:331:3: note: in expansion of macro 'EGD' BUILDSTDERR: 331 | EGD(guard)->fakecorr[0].ftyp = TRCORNER; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:333:3: note: in expansion of macro 'EGD' BUILDSTDERR: 333 | EGD(guard)->fakecorr[0].ftyp = BLCORNER; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:335:3: note: in expansion of macro 'EGD' BUILDSTDERR: 335 | EGD(guard)->fakecorr[0].ftyp = BRCORNER; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:337:3: note: in expansion of macro 'EGD' BUILDSTDERR: 337 | EGD(guard)->fakecorr[0].ftyp = HWALL; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:339:3: note: in expansion of macro 'EGD' BUILDSTDERR: 339 | EGD(guard)->fakecorr[0].ftyp = VWALL; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:344:2: note: in expansion of macro 'EGD' BUILDSTDERR: 344 | EGD(guard)->fcend = 1; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:345:2: note: in expansion of macro 'EGD' BUILDSTDERR: 345 | EGD(guard)->warncnt = 1; BUILDSTDERR: | ^~~ BUILDSTDERR: vault.c: In function 'wallify_vault': BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:373:12: note: in expansion of macro 'EGD' BUILDSTDERR: 373 | int vlt = EGD(grd)->vroom; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:394:20: note: in expansion of macro 'EGD' BUILDSTDERR: 394 | move_gold(gold, EGD(grd)->vroom); BUILDSTDERR: | ^~~ BUILDSTDERR: vault.c: In function 'paygd': BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:778:17: note: in expansion of macro 'EGD' BUILDSTDERR: 778 | gx = rooms[EGD(grd)->vroom].lx + rn2(2); BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vault.c:779:17: note: in expansion of macro 'EGD' BUILDSTDERR: 779 | gy = rooms[EGD(grd)->vroom].ly + rn2(2); BUILDSTDERR: | ^~~ BUILDSTDERR: close: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 BUILDSTDERR: _far_: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 BUILDSTDERR: vision.c: In function 'vision_recalc': BUILDSTDERR: vision.c:600:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 600 | if (row < 0) continue; if (row >= ROWNO) break; BUILDSTDERR: | ^~ BUILDSTDERR: vision.c:600:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 600 | if (row < 0) continue; if (row >= ROWNO) break; BUILDSTDERR: | ^~ BUILDSTDERR: vision.c:621:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 621 | if (row < 0) continue; if (row >= ROWNO) break; BUILDSTDERR: | ^~ BUILDSTDERR: vision.c:621:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 621 | if (row < 0) continue; if (row >= ROWNO) break; BUILDSTDERR: | ^~ BUILDSTDERR: vision.c:659:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 659 | if (row < 0) continue; if (row >= ROWNO) break; BUILDSTDERR: | ^~ BUILDSTDERR: vision.c:659:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 659 | if (row < 0) continue; if (row >= ROWNO) break; BUILDSTDERR: | ^~ BUILDSTDERR: vision.c: In function 'close_shadow': BUILDSTDERR: vision.c:1596:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1596 | if ((sdy = (start_row-block_row)) < 0) sdy = -sdy; --sdy; /* src dy */ BUILDSTDERR: | ^~ BUILDSTDERR: vision.c:1596:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1596 | if ((sdy = (start_row-block_row)) < 0) sdy = -sdy; --sdy; /* src dy */ BUILDSTDERR: | ^~ BUILDSTDERR: vision.c: In function 'far_shadow': BUILDSTDERR: vision.c:1632:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1632 | if ((sdx = (start_col-block_col)) < 0) sdx = -sdx; --sdx; /* src dx */ BUILDSTDERR: | ^~ BUILDSTDERR: vision.c:1632:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1632 | if ((sdx = (start_col-block_col)) < 0) sdx = -sdx; --sdx; /* src dx */ BUILDSTDERR: | ^~ BUILDSTDERR: vision.c:1633:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1633 | if ((pdy = (block_row-this_row)) < 0) pdy = -pdy; --pdy; /* point dy */ BUILDSTDERR: | ^~ BUILDSTDERR: vision.c:1633:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1633 | if ((pdy = (block_row-this_row)) < 0) pdy = -pdy; --pdy; /* point dy */ BUILDSTDERR: | ^~ BUILDSTDERR: vision.c: In function 'right_side': BUILDSTDERR: vision.c:1099:49: warning: 'row_max' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1099 | #define set_max(z) if (*row_max < (z)) *row_max = (z) BUILDSTDERR: | ^ BUILDSTDERR: vision.c:1669:11: note: 'row_max' was declared here BUILDSTDERR: 1669 | char *row_max; /* right most */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: vision.c:1098:49: warning: 'row_min' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1098 | #define set_min(z) if (*row_min > (z)) *row_min = (z) BUILDSTDERR: | ^ BUILDSTDERR: vision.c:1668:11: note: 'row_min' was declared here BUILDSTDERR: 1668 | char *row_min; /* left most */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: vision.c:1096:31: warning: 'rowp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1096 | #define set_cs(rowp,col) (rowp[col] = COULD_SEE) BUILDSTDERR: | ^ BUILDSTDERR: vision.c:1663:20: note: 'rowp' was declared here BUILDSTDERR: 1663 | register char *rowp; BUILDSTDERR: | ^~~~ BUILDSTDERR: vision.c: In function 'left_side': BUILDSTDERR: vision.c:1099:49: warning: 'row_max' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1099 | #define set_max(z) if (*row_max < (z)) *row_max = (z) BUILDSTDERR: | ^ BUILDSTDERR: vision.c:1928:11: note: 'row_max' was declared here BUILDSTDERR: 1928 | char *row_max; /* right most */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: vision.c:1098:49: warning: 'row_min' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1098 | #define set_min(z) if (*row_min > (z)) *row_min = (z) BUILDSTDERR: | ^ BUILDSTDERR: vision.c:1927:11: note: 'row_min' was declared here BUILDSTDERR: 1927 | char *row_min; /* left most */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: vision.c:1096:31: warning: 'rowp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1096 | #define set_cs(rowp,col) (rowp[col] = COULD_SEE) BUILDSTDERR: | ^ BUILDSTDERR: vision.c:1922:20: note: 'rowp' was declared here BUILDSTDERR: 1922 | register char *rowp; BUILDSTDERR: | ^~~~ BUILDSTDERR: weapon.c: In function 'enhance_weapon_skill': BUILDSTDERR: weapon.c:1281:26: warning: '%s' directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=] BUILDSTDERR: 1281 | Sprintf(buf, " %s%s\t[%s]", BUILDSTDERR: | ^~ BUILDSTDERR: 1282 | prefix, P_NAME(i), sklnambuf); BUILDSTDERR: | ~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from weapon.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 264) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: weapon.c:1278:28: warning: '%s' directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=] BUILDSTDERR: 1278 | Sprintf(buf, " %s %-*s [%s]", BUILDSTDERR: | ^~ BUILDSTDERR: 1279 | prefix, longest, P_NAME(i), sklnambuf); BUILDSTDERR: | ~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from weapon.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 265) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: weapon.c:1270:25: warning: '%s' directive writing up to 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] BUILDSTDERR: 1270 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", BUILDSTDERR: | ^~ BUILDSTDERR: 1271 | prefix, P_NAME(i), sklnambuf, BUILDSTDERR: | ~~~~~~~~~ BUILDSTDERR: weapon.c:1270:17: note: directive argument in the range [0, 65535] BUILDSTDERR: 1270 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: weapon.c:1270:17: note: directive argument in the range [-3251200, 3276800] BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from weapon.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 278) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: weapon.c:1265:26: warning: '%-12s' directive writing between 12 and 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] BUILDSTDERR: 1265 | Sprintf(buf, " %s%-*s %-12s %4d(%4d)", BUILDSTDERR: | ^~~~~ BUILDSTDERR: 1266 | prefix, longest, P_NAME(i), sklnambuf, BUILDSTDERR: | ~~~~~~~~~ BUILDSTDERR: weapon.c:1265:17: note: directive argument in the range [0, 65535] BUILDSTDERR: 1265 | Sprintf(buf, " %s%-*s %-12s %4d(%4d)", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: weapon.c:1265:17: note: directive argument in the range [-3251200, 3276800] BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from weapon.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 26 or more bytes (assuming 278) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/youprop.h:10, BUILDSTDERR: from ../include/hack.h:90, BUILDSTDERR: from wield.c:5: BUILDSTDERR: wield.c: In function 'can_twoweapon': BUILDSTDERR: ../include/mondata.h:126:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 126 | P_MAX_SKILL(P_TWO_WEAPON_COMBAT) >= P_BASIC && \ BUILDSTDERR: wield.c:507:7: note: in expansion of macro 'could_twoweap' BUILDSTDERR: 507 | if (!could_twoweap(youmonst.data) && (uwep || uswapwep)) { BUILDSTDERR: | ^~~~~~~~~~~~~ -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o trap.o trap.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o u_init.o u_init.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o uhitm.o uhitm.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o vault.o vault.c make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' ./makedefs -z make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o vision.o vision.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o vis_tab.o vis_tab.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o weapon.o weapon.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o were.o were.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o wield.o wield.c BUILDSTDERR: cc -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 -I../include -I ../win/vultures -I/usr/includeIn file included from wizard.c:12: BUILDSTDERR: wizard.c: In function 'cuss': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/mondata.h:37:7: note: in expansion of macro 'EPRI' BUILDSTDERR: 37 | EPRI(mon)->shralign > 0)) BUILDSTDERR: | ^~~~ BUILDSTDERR: wizard.c:627:12: note: in expansion of macro 'is_lminion' BUILDSTDERR: 627 | } else if(is_lminion(mtmp)) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:299, BUILDSTDERR: from ../include/unixconf.h:351, BUILDSTDERR: from ../include/global.h:171, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from write.c:4: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dowrite' at write.c:123:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: zap.c: In function 'poly_obj': BUILDSTDERR: zap.c:1395:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1395 | if (!otmp) BUILDSTDERR: | ^ BUILDSTDERR: In file included from ../include/decl.h:265, BUILDSTDERR: from ../include/hack.h:92, BUILDSTDERR: from zap.c:5: BUILDSTDERR: zap.c: In function 'bhito': BUILDSTDERR: ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: zap.c:1815:7: note: in expansion of macro 'Is_container' BUILDSTDERR: 1815 | if (Is_container(obj) || obj->otyp == STATUE) { BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: zap.c: In function 'bhit': BUILDSTDERR: zap.c:3254:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 3254 | (genericptr_t) lits); BUILDSTDERR: | ^ BUILDSTDERR: zap.c:3349:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 3349 | LS_TEMP, (genericptr_t) lits); BUILDSTDERR: | ^ BUILDSTDERR: zap.c:3400:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 3400 | del_light_source(LS_TEMP, (genericptr_t) lits); BUILDSTDERR: | ^ BUILDSTDERR: zap.c: In function 'buzz': BUILDSTDERR: zap.c:3956:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 3956 | new_light_source(sx, sy, 1, LS_TEMP, (genericptr_t) lits); BUILDSTDERR: | ^ BUILDSTDERR: zap.c:3990:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 3990 | del_light_source(LS_TEMP, (genericptr_t) lits); BUILDSTDERR: | ^ BUILDSTDERR: zap.c:4233:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 4233 | del_light_source(LS_TEMP, (genericptr_t) lits); BUILDSTDERR: | ^ BUILDSTDERR: zap.c: In function 'weffects': BUILDSTDERR: zap.c:2273:6: warning: 'expl_type' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 2273 | explode(u.dx, u.dy, type, u.ulevel/4 + 1 + skilldmg, 0, expl_type); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: zap.c:2216:6: note: 'expl_type' was declared here BUILDSTDERR: 2216 | int expl_type; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: tech.c: In function 'aborttech': BUILDSTDERR: tech.c:240:1: warning: type of 'tech' defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 240 | aborttech(tech) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: tech.c: In function 'techeffects': BUILDSTDERR: tech.c:852:18: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 852 | if (!Blind) BUILDSTDERR: | ^~ BUILDSTDERR: tech.c:856:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 856 | uncurse(obj); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: tech.c:1251:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1251 | || obj->oinvis && !See_invisible BUILDSTDERR: tech.c: In function 'doblitzlist': BUILDSTDERR: tech.c:1975:9: warning: variable 'n' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1975 | int i, n; BUILDSTDERR: | ^ BUILDSTDERR: tech.c: In function 'techeffects': BUILDSTDERR: tech.c:1362:6: warning: 'mtmp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1362 | if (!mtmp || !canseemon(mtmp)) { BUILDSTDERR: | ^ BUILDSTDERR: tech.c: In function 'gettech': BUILDSTDERR: tech.c:370:58: warning: '%s' directive writing up to 255 bytes into a region of size 102 [-Wformat-overflow=] BUILDSTDERR: 370 | Sprintf(qbuf, "Perform which technique? [%s ?]", lets); BUILDSTDERR: | ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from tech.c:8: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 30 and 285 bytes into a destination of size 128 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../sys/unix/unixmain.c: In function 'whoami': BUILDSTDERR: ../sys/unix/unixmain.c:501:17: warning: unused variable 's' [-Wunused-variable] BUILDSTDERR: 501 | register char *s; BUILDSTDERR: | ^ BUILDSTDERR: ../sys/unix/unixmain.c: In function 'chdirx': BUILDSTDERR: ../sys/unix/unixmain.c:442:13: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 442 | (void) setgid(getgid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../sys/unix/unixmain.c:443:13: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 443 | (void) setuid(getuid()); /* Ron Wessels */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:299, BUILDSTDERR: from ../include/unixconf.h:351, BUILDSTDERR: from ../include/global.h:171, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ../sys/unix/unixmain.c:7: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'main' at ../sys/unix/unixmain.c:185:10: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o windows.o windows.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o wizard.o wizard.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o worm.o worm.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o worn.o worn.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o write.o write.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o zap.o zap.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o gypsy.o gypsy.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o tech.o tech.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/share/ioctl.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/unix/unixmain.c BUILDSTDERR: cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REEN../sys/unix/unixunix.c: In function 'child': BUILDSTDERR: ../sys/unix/unixunix.c:332:10: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 332 | (void) setgid(getgid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../sys/unix/unixunix.c:333:10: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 333 | (void) setuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../sys/unix/unixunix.c:335:10: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 335 | (void) chdir(getenv("HOME")); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../sys/unix/unixres.c:17: warning: "_GNU_SOURCE" redefined BUILDSTDERR: 17 | #define _GNU_SOURCE BUILDSTDERR: | BUILDSTDERR: : note: this is the location of the previous definition BUILDSTDERR: vultures_nhplayerselection.c: In function 'vultures_player_selection_race': BUILDSTDERR: vultures_nhplayerselection.c:182:46: warning: '%s' directive writing up to 255 bytes into a region of size 234 [-Wformat-overflow=] BUILDSTDERR: 182 | sprintf(selection,"Pick the race of your %s", strlen(rolename) ? rolename : "character"); BUILDSTDERR: | ^~ BUILDSTDERR: vultures_nhplayerselection.c:182:5: note: 'sprintf' output between 23 and 278 bytes into a destination of size 256 BUILDSTDERR: 182 | sprintf(selection,"Pick the race of your %s", strlen(rolename) ? rolename : "character"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vultures_nhplayerselection.c: In function 'vultures_player_selection_gender': BUILDSTDERR: vultures_nhplayerselection.c:257:48: warning: '%s' directive writing up to 255 bytes into a region of size 232 [-Wformat-overflow=] BUILDSTDERR: 257 | sprintf(selection,"Pick the gender of your %s", strlen(rolename) ? rolename : "character"); BUILDSTDERR: | ^~ BUILDSTDERR: vultures_nhplayerselection.c:257:5: note: 'sprintf' output between 25 and 280 bytes into a destination of size 256 BUILDSTDERR: 257 | sprintf(selection,"Pick the gender of your %s", strlen(rolename) ? rolename : "character"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vultures_nhplayerselection.c: In function 'vultures_player_selection_alignment': BUILDSTDERR: vultures_nhplayerselection.c:332:51: warning: '%s' directive writing up to 255 bytes into a region of size 229 [-Wformat-overflow=] BUILDSTDERR: 332 | sprintf(selection,"Pick the alignment of your %s", strlen(rolename) ? rolename : "character"); BUILDSTDERR: | ^~ BUILDSTDERR: vultures_nhplayerselection.c:332:5: note: 'sprintf' output between 28 and 283 bytes into a destination of size 256 BUILDSTDERR: 332 | sprintf(selection,"Pick the alignment of your %s", strlen(rolename) ? rolename : "character"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vultures_map.c: In function 'vultures_map_square_description': BUILDSTDERR: vultures_map.c:1740:41: warning: ' (+' directive output may be truncated writing 3 bytes into a region of size between 1 and 256 [-Wformat-truncation=] BUILDSTDERR: 1740 | snprintf(out_str, BUFSZ, "%s (+%d other object%s)", look_buf, n_objs - 1, (n_objs > 2) ? "s" : ""); BUILDSTDERR: | ^~~ BUILDSTDERR: vultures_map.c:1740:38: note: directive argument in the range [0, 2147483646] BUILDSTDERR: 1740 | snprintf(out_str, BUFSZ, "%s (+%d other object%s)", look_buf, n_objs - 1, (n_objs > 2) ? "s" : ""); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vultures_map.c:1740:13: note: 'snprintf' output between 19 and 284 bytes into a destination of size 256 BUILDSTDERR: 1740 | snprintf(out_str, BUFSZ, "%s (+%d other object%s)", look_buf, n_objs - 1, (n_objs > 2) ? "s" : ""); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vultures_map.c:1718:44: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] BUILDSTDERR: 1718 | sprintf(temp_buf, " [seen: %s]", monbuf); BUILDSTDERR: | ^~ ~~~~~~ BUILDSTDERR: vultures_map.c:1718:17: note: 'sprintf' output between 10 and 265 bytes into a destination of size 256 BUILDSTDERR: 1718 | sprintf(temp_buf, " [seen: %s]", monbuf); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vultures_tileconfig.c: In function 'init_objnames': BUILDSTDERR: vultures_tileconfig.c:644:21: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 644 | else BUILDSTDERR: | ^~~~ BUILDSTDERR: vultures_tileconfig.c:645:92: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 645 | snprintf(tilenames[TT_OBJECT][i], 40, "%s", obj_descr[i].oc_name); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: vultures_tileconfig.c:663:21: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 663 | else BUILDSTDERR: | ^~~~ BUILDSTDERR: vultures_tileconfig.c:664:79: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 664 | snprintf(tilenames[TT_OBJECT][i], 40, "%s", nameptr); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: vultures_win.c: In function 'vultures_draw_objitem': BUILDSTDERR: vultures_win.c:1602:31: warning: '%ld' directive output may be truncated writing between 1 and 19 bytes into a region of size 11 [-Wformat-truncation=] BUILDSTDERR: 1602 | snprintf(tmpstr, 11, "%ld", win->pd.obj->quan); BUILDSTDERR: | ^~~ BUILDSTDERR: vultures_win.c:1602:30: note: directive argument in the range [2, 9223372036854775807] BUILDSTDERR: 1602 | snprintf(tmpstr, 11, "%ld", win->pd.obj->quan); BUILDSTDERR: | ^~~~~ BUILDSTDERR: vultures_win.c:1602:9: note: 'snprintf' output between 2 and 20 bytes into a destination of size 11 BUILDSTDERR: 1602 | snprintf(tmpstr, 11, "%ld", win->pd.obj->quan); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from vultures_win.c:18: BUILDSTDERR: vultures_tile.h:22:42: warning: 'tile_y' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 22 | #define vultures_put_tile(x, y, tile_id) vultures_put_tile_shaded(x, y, tile_id, 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vultures_win.c:1481:17: note: 'tile_y' was declared here BUILDSTDERR: 1481 | int tile_x, tile_y; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from vultures_win.c:18: BUILDSTDERR: vultures_tile.h:22:42: warning: 'tile_x' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 22 | #define vultures_put_tile(x, y, tile_id) vultures_put_tile_shaded(x, y, tile_id, 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vultures_win.c:1481:9: note: 'tile_x' was declared here BUILDSTDERR: 1481 | int tile_x, tile_y; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: build_s/vultures_tileconfig.lexer.c:1211:16: warning: 'input' defined but not used [-Wunused-function] BUILDSTDERR: 1211 | #else BUILDSTDERR: | ^ BUILDSTDERR: build_s/vultures_tileconfig.lexer.c:1168:17: warning: 'yyunput' defined but not used [-Wunused-function] BUILDSTDERR: 1168 | BUILDSTDERR: | ^ + make -C slashem/util recover dlb dgn_comp lev_comp 'YACC=bison -y' BUILDSTDERR: recover.c: In function 'main': BUILDSTDERR: recover.c:114:10: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 114 | (void) setgid(getgid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: recover.c:115:10: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 115 | (void) setuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: recover.c: In function 'restore_savefile': BUILDSTDERR: recover.c:308:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 308 | write(sfd, (genericptr_t) &levc, sizeof(levc)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRANT -c ../sys/share/unixtty.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/unix/unixunix.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/unix/unixres.c ../util/makedefs -v make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/vultures' compiling vultures_tile.c compiling vultures_opt.c compiling vultures_gen.c compiling vultures_main.c compiling vultures_init.c compiling vultures_win_event.c compiling vultures_pcmusic.c compiling vultures_gfl.c compiling vultures_mou.c compiling vultures_gra.c compiling vultures_nhplayerselection.c compiling vultures_map.c compiling vultures_sound.c compiling vultures_txt.c compiling vultures_sdl.c compiling vultures_tileconfig.c compiling vultures_win.c generating parser compiling build_s/vultures_tileconfig.parser.c generating lexer generating parser compiling build_s/vultures_tileconfig.lexer.c combining objects to build_s/vultures.o finished building the files for the vultures interface make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/vultures' make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' cc -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 -I../include -I../win/vultures -DVULTURESCLAW -o tilemap ../win/share/tilemap.c ./tilemap make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o tile.o tile.c cc -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o version.o version.c Loading ... vulturesclaw is up to date. make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/src' make: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem' make: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/src' make[1]: '../include/date.h' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/src' cc -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 -I../include -I../win/vultures -DVULTURESCLAW -c -o recover.o recover.c cc -o recover recover.o BUILDSTDERR: cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong dgn_comp.y: In function 'check_branch': BUILDSTDERR: dgn_comp.y:622:6: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 622 | int i; BUILDSTDERR: | ^ BUILDSTDERR: lex.yy.c:1508:16: warning: 'input' defined but not used [-Wunused-function] BUILDSTDERR: lex.yy.c:1465:17: warning: 'yyunput' defined but not used [-Wunused-function] BUILDSTDERR: lev_comp.y: In function 'yyparse': BUILDSTDERR: lev_comp.y:600:24: warning: assignment to 'room_door *' {aka 'struct *'} from incompatible pointer type 'struct room_door *' [-Wincompatible-pointer-types] BUILDSTDERR: 600 | tmprdoor[ndoor] = (struct room_door *)0; BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:299, BUILDSTDERR: from ../include/unixconf.h:351, BUILDSTDERR: from ../include/global.h:171, BUILDSTDERR: from ../include/config.h:501, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from lev_comp.y:26: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'yyparse' at lev_comp.y:330:15: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: y.tab.c: In function 'yyparse': BUILDSTDERR: lev_comp.y:324:14: note: length computed here BUILDSTDERR: 324 | i = (int) strlen($3) + 1; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: lex.yy.c:2256:16: warning: 'input' defined but not used [-Wunused-function] BUILDSTDERR: lex.yy.c:2213:17: warning: 'yyunput' defined but not used [-Wunused-function] + make -C slashem/dat spec_levs quest_levs -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 -I../include -I../win/vultures -DVULTURESCLAW -c dlb_main.c cc -o dlb dlb_main.o ../src/dlb.o ../src/alloc.o panic.o bison -y -d dgn_comp.y mv y.tab.c dgn_yacc.c mv y.tab.h ../include/dgn_comp.h cc -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 -I../include -I../win/vultures -DVULTURESCLAW -c -o dgn_yacc.o dgn_yacc.c lex dgn_comp.l mv lex.yy.c dgn_lex.c cc -c -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 -I../include -I../win/vultures -DVULTURESCLAW dgn_lex.c cc -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 -I../include -I../win/vultures -DVULTURESCLAW -c -o dgn_main.o dgn_main.c cc -o dgn_comp dgn_yacc.o dgn_lex.o dgn_main.o ../src/alloc.o panic.o bison -y -d lev_comp.y mv y.tab.c lev_yacc.c mv y.tab.h ../include/lev_comp.h cc -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 -I../include -I../win/vultures -DVULTURESCLAW -c -o lev_yacc.o lev_yacc.c lex lev_comp.l mv lex.yy.c lev_lex.c cc -c -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 -I../include -I../win/vultures -DVULTURESCLAW lev_lex.c cc -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 -I../include -I../win/vultures -DVULTURESCLAW -c -o lev_main.o lev_main.c cc -o lev_comp lev_yacc.o lev_lex.o lev_main.o ../src/alloc.o panic.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o make: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' make: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/dat' ../util/lev_comp beholder.des ../util/lev_comp bigroom.des ../util/lev_comp blkmar.des ../util/lev_comp castle.des ../util/lev_comp grund.des ../util/lev_comp dragons.des ../util/lev_comp endgame.des ../util/lev_comp frnknstn.des ../util/lev_comp gehennom.des ../util/lev_comp giants.des ../util/lev_comp guild.des ../util/lev_comp knox.des ../util/lev_comp kobold-1.des ../util/lev_comp kobold-2.des ../util/lev_comp lich.des ../util/lev_comp mall-1.des ../util/lev_comp mall-2.des ../util/lev_comp medusa.des ../util/lev_comp mines.des ../util/lev_comp mtemple.des ../util/lev_comp newmall.des ../util/lev_comp nightmar.des ../util/lev_comp nymph.des ../util/lev_comp oracle.des ../util/lev_comp rats.des ../util/lev_comp sea.des ../util/lev_comp sokoban.des ../util/lev_comp spiders.des ../util/lev_comp stor-1.des ../util/lev_comp stor-2.des ../util/lev_comp stor-3.des ../util/lev_comp tomb.des ../util/lev_comp tower.des ../util/lev_comp yendor.des touch spec_levs BUILDSTDERR: ../u+ RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 til/lev_comp Arch.des ../util/lev_comp Barb.des ../util/lev_comp Caveman.des ../util/lev_comp Flame.des ../util/lev_comp Healer.des ../util/lev_comp Ice.des ../util/lev_comp Knight.des ../util/lev_comp Monk.des ../util/lev_comp Necro.des ../util/lev_comp Priest.des ../util/lev_comp Ranger.des ../util/lev_comp Rogue.des ../util/lev_comp Samurai.des ../util/lev_comp Tourist.des ../util/lev_comp Slayer.des ../util/lev_comp Valkyrie.des ../util/lev_comp Wizard.des ../util/lev_comp Yeoman.des touch quest_levs make: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/dat' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tQYBxl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64 + cd vultures-2.1.2 + rm -rf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64 + make -C nethack install CHGRP=: CHOWN=: GAMEDIR=/builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye VARDIR=/builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vultureseye SHELLDIR=/builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin BUILDSTDERR: build_n/vultures_tileconfig.lexer.c:1211:16: warning: 'input' defined but not used [-Wunused-function] BUILDSTDERR: 1211 | #else BUILDSTDERR: | ^ BUILDSTDERR: build_n/vultures_tileconfig.lexer.c:1168:17: warning: 'yyunput' defined but not used [-Wunused-function] BUILDSTDERR: 1168 | BUILDSTDERR: | ^ make: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack' ( cd src ; make ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/src' make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/vultures' compiling build_n/vultures_tileconfig.parser.c generating parser compiling build_n/vultures_tileconfig.lexer.c combining objects to build_n/vultures.o finished building the files for the vultures interface make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/vultures' Loading ... vultureseye is up to date. make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/src' ( cd util ; make recover ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/src' make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' ( cd dat ; make data ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/dat' ../util/makedefs -d make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/dat' ( cd dat ; make oracles ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/dat' ../util/makedefs -h make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/dat' ( cd dat ; make options ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/dat' make[1]: 'options' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/dat' ( cd dat ; make quest.dat ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/dat' ../util/makedefs -q make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/dat' ( cd dat ; make rumors ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/dat' ../util/makedefs -r make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/dat' ( cd util ; make dgn_comp ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/src' make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' ( cd dat ; make dungeon ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/dat' ../util/makedefs -e ../util/dgn_comp dungeon.pdf make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/dat' ( cd util ; make lev_comp ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/src' make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' ( cd dat ; make spec_levs ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/dat' make[1]: 'spec_levs' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/dat' ( cd dat ; make quest_levs ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/dat' make[1]: 'quest_levs' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/dat' mkdir -p /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin rm -rf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vultureseye mkdir -p /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vultureseye/save rmdir ./-p 2>/dev/null || true : games /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vultureseye/save : bin /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vultureseye/save chmod 0755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vultureseye/save ( make dofiles ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack' target=`sed -n \ -e '/librarian/{' \ -e 's/.*/dlb/p' \ -e 'q' \ -e '}' \ -e '$s/.*/nodlb/p' < dat/options` ; \ make dofiles-${target-nodlb} make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack' ( cd src ; make ) make[3]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/src' vultureseye is up to date. make[3]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/src' ( cd dat ; make options ) make[3]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/dat' make[3]: 'options' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/dat' color, data file compression, data librarian, debug mode, Elbereth, make[3]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack' ( cd util ; make dlb ) make[4]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' make[5]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/src' make[5]: '../include/date.h' is up to date. make[5]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/src' make[4]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' ( cd dat ; ../util/dlb cf nhdat help hh cmdhelp history opthelp wizhelp dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev data oracles options quest.dat rumors ) make[3]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack' ( cd dat ; cp nhdat license /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye ) ( cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye ; : games nhdat license ; \ : bin nhdat license ; \ chmod 0644 nhdat license ) make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack' make dofiles-jtp make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack' mkdir -p /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/config /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/graphics /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/sound /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/music /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/fonts /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/manual /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/manual/img /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/tiles rmdir ./-p 2>/dev/null || true : games /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/config /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/graphics /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/sound /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/music /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/fonts /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/manual : bin /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/config /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/graphics /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/sound /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/music /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/fonts /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/manual /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/manual/img /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/tiles chmod 0755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/config /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/graphics /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/sound /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/music /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/fonts /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/manual /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/manual/img /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/tiles ( cd win/vultures/gamedata; cp nh_icon.ico nh_icon.png defaults.nh /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye ; \ cd config; cp vultures_intro.txt vultures.conf vultures_sounds.conf vultures_tiles.conf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/config ; \ cd ../tiles; cp *.png /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/tiles ; \ cd ../graphics; cp *.png /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/graphics ; \ cd ../manual; cp *.html *.css /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/manual ; \ cd img; cp *.jpg *.png /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/manual/img ; cd .. ; \ cd ../fonts; cp *.ttf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/fonts ) (rm -f /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/se_*) (rm -f /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/graphics/se_*) ( cd win/vultures/gamedata/sound; cp *.ogg /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/sound ) ( cd win/vultures/gamedata/music; cp *.ogg *.xm /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/music ) ( cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye ; : games nh_icon.ico nh_icon.png defaults.nh ; \ : bin nh_icon.ico nh_icon.png defaults.nh ; \ chmod 0644 nh_icon.ico nh_icon.png defaults.nh ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/config ; : games vultures_intro.txt vultures.conf vultures_sounds.conf vultures_tiles.conf ; \ BUILDSTDERR: : bin vultures_in+ make -C slashem install CHGRP=: CHOWN=: GAMEDIR=/builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw VARDIR=/builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw SHELLDIR=/builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin BUILDSTDERR: build_s/vultures_tileconfig.lexer.c:1211:16: warning: 'input' defined but not used [-Wunused-function] BUILDSTDERR: 1211 | #else BUILDSTDERR: | ^ BUILDSTDERR: build_s/vultures_tileconfig.lexer.c:1168:17: warning: 'yyunput' defined but not used [-Wunused-function] BUILDSTDERR: 1168 | BUILDSTDERR: | ^ tro.txt vultures.conf vultures_sounds.conf vultures_tiles.conf ; \ chmod 0644 vultures_intro.txt vultures.conf vultures_sounds.conf vultures_tiles.conf ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/tiles ; : games *.png ; \ : bin *.png ; \ chmod 0644 *.png ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/graphics ; : games *.png ; \ : bin *.png ; \ chmod 0644 *.png ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/sound ; : games *.ogg ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/music ; : games *.ogg *.xm ; \ : bin *.ogg ; \ chmod 0644 *.ogg ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/fonts ; : games *.ttf; \ : bin *.ttf ; \ chmod 0644 *.ttf ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/manual ; : games *.html *.css ; \ : bin *.html *.css ; \ chmod 0644 *.html *.css ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/manual/img ; : games *.jpg *.png ; \ : bin *.jpg *.png ; \ chmod 0644 *.jpg *.png ) mv /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/nh_icon.ico /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/vultureseye.ico mv /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/nh_icon.png /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/vultureseye.png make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack' cp src/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye cp util/recover /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye rm -f /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin/vultureseye sed -e 's;/usr/games/lib/nethackdir;/builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye;' \ -e 's;HACKDIR/nethack;HACKDIR/vultureseye;' \ < sys/unix/nethack.sh \ > /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin/vultureseye ( cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye ; : games vultureseye recover ; \ : bin vultureseye recover ) chmod 04755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/vultureseye chmod 0755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/recover : games /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin/vultureseye : bin /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin/vultureseye chmod 0755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin/vultureseye make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack' touch /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vultureseye/perm /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vultureseye/record /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vultureseye/logfile ( cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vultureseye ; : games perm record logfile ; \ : bin perm record logfile ; \ chmod 0644 perm record logfile ) You may also want to reinstall the man pages via the doc Makefile. make: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/nethack' make: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem' ( cd src ; make ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/src' make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/vultures' compiling build_s/vultures_tileconfig.parser.c generating parser compiling build_s/vultures_tileconfig.lexer.c combining objects to build_s/vultures.o BUILDSTDERR: finished building the files for the vultureswarning: file `Guidebook.mn', around line 247: BUILDSTDERR: table wider than line width BUILDSTDERR: Guidebook.mn:1917: warning [p 38, 6.0i]: cannot adjust line BUILDSTDERR: Guidebook.mn:1917: warning [p 38, 6.2i]: can't break line BUILDSTDERR: Guidebook.mn:2069: warning [p 42, 1.3i]: cannot adjust line BUILDSTDERR: warning: file `Guidebook.mn', around line 2943: BUILDSTDERR: table wider than line width interface make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/vultures' Loading ... vulturesclaw is up to date. make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/src' ( cd util ; make recover ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/src' make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' ( cd dat ; make data ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/dat' ../util/makedefs -d make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/dat' ( cd dat ; make oracles ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/dat' ../util/makedefs -h make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/dat' ( cd dat ; make options ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/dat' make[1]: 'options' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/dat' ( cd dat ; make quest.dat ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/dat' ../util/makedefs -q make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/dat' ( cd dat ; make rumors ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/dat' ../util/makedefs -r make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/dat' ( cd util ; make dgn_comp ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/src' make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' ( cd dat ; make dungeon ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/dat' ../util/makedefs -e ../util/dgn_comp dungeon.pdf make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/dat' ( cd util ; make lev_comp ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/src' make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' ( cd dat ; make spec_levs ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/dat' make[1]: 'spec_levs' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/dat' ( cd dat ; make quest_levs ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/dat' make[1]: 'quest_levs' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/dat' ( cd doc; make Guidebook.txt ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/doc' tbl tmac.n Guidebook.mn | nroff -c -Tascii | col -bx | cat > Guidebook.txt make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/doc' mkdir -p /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin rm -rf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw/save rm -rf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw rm -rf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw mkdir -p /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw/save mkdir -p /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw mkdir -p /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw rmdir ./-p 2>/dev/null || true : games /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw/save /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw : bin /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw/save /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw chmod 0755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw/save /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw : games /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw : bin /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw chmod 0755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw ( make dofiles ) make[1]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem' target=`sed -n \ -e '/librarian/{' \ -e 's/.*/dlb/p' \ -e 'q' \ -e '}' \ -e '$s/.*/nodlb/p' < dat/options` ; \ make dofiles-${target-nodlb} make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem' ( cd src ; make ) make[3]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/src' vulturesclaw is up to date. make[3]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/src' ( cd dat ; make options ) make[3]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/dat' make[3]: 'options' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/dat' blackmarket level, color, data file compression, data librarian, make[3]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem' ( cd util ; make dlb ) make[4]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' make[5]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/src' make[5]: '../include/date.h' is up to date. make[5]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/src' make[4]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' ( cd dat ; ../util/dlb cf nhshare help hh cmdhelp history opthelp wizhelp gypsy.txt data oracles options quest.dat rumors ) ( cd dat ; ../util/dlb cf nhushare dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev beholder.lev blkmar.lev cav2fill.lev grund-?.lev demogorg.lev dispater.lev dragons.lev geryon.lev guild.lev kobold-?.lev lich.lev mall-?.lev mall.lev mineking.lev mtemple.lev nymph.lev rats.lev sea.lev spiders.lev stor-?.lev tomb.lev yeenoghu.lev frnknstn.lev nightmar.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev ) make[3]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem' ( cd dat ; cp nhshare /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw ) ( cd dat ; cp nhushare /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw ) ( cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw ; \ : games nhshare ; \ : bin nhshare ; \ chmod 0644 nhshare ) ( cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw ; \ : games nhushare ; \ : bin nhushare ; \ chmod 0644 nhushare ) make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem' make dofiles-jtp make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem' echo mkdir -p /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/config /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/graphics /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/sound /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/music /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/fonts /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/manual /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/manual/img /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/tiles mkdir -p /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/config /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/graphics /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/sound /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/music /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/fonts /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/manual /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/manual/img /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/tiles mkdir -p /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/config /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/graphics /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/sound /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/music /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/fonts /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/manual /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/manual/img /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/tiles rmdir ./-p 2>/dev/null || true : games /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/config /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/graphics /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/sound /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/music /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/fonts /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/manual /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/manual/img /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/tiles : bin /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/config /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/graphics /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/sound /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/music /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/fonts /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/manual /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/manual/img /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/tiles chmod 0755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/config /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/graphics /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/sound /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/music /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/fonts /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/manual /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/manual/img /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/tiles ( cd win/vultures/gamedata; cp se_icon.ico se_icon.png defaults.nh /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw ; \ cd config; cp vultures_intro.txt vultures.conf vultures_sounds.conf vultures_tiles.conf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/config ; \ cd ../tiles; cp *.png /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/tiles ; \ cd ../graphics; cp *.png /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/graphics ; \ cd ../manual; cp *.html *.css /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/manual ; \ cd img; cp *.jpg *.png /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/manual/img ; cd .. ; \ cd ../fonts; cp *.ttf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/fonts ) (rm -f /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/nh_*) (rm -f /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/graphics/nh_*) ( cd win/vultures/gamedata/sound; cp *.ogg /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/sound ) ( cd win/vultures/gamedata/music; cp *.ogg *.xm /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/music ) ( cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw ; : games se_icon.ico se_icon.png defaults.nh ; \ : bin se_icon.ico se_icon.png defaults.nh ; \ chmod 0644 se_icon.ico se_icon.png defaults.nh ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/config ; : games vultures_intro.txt vultures.conf vultures_sounds.conf vultures_tiles.conf ; \ BUILDSTDERR: : bin vultures_intro.txt vultures.conf vultures_sounds.conf vultures_tiles.conf ;+ install -dm 755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/man/man6 + install -pm 644 nethack/doc/nethack.6 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/man/man6/vultureseye.6 + install -pm 644 nethack/doc/recover.6 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/man/man6/vultureseye-recover.6 + install -pm 644 slashem/doc/nethack.6 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/man/man6/vulturesclaw.6 + install -pm 644 slashem/doc/recover.6 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/man/man6/vulturesclaw-recover.6 + install -dm 755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/icons/hicolor/48x48/apps + for i in vultureseye vulturesclaw + desktop-file-install --dir=/builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/applications --mode=644 --add-category=RolePlaying --remove-category=Application --remove-category=3DGame --remove-category=PuzzleGame dist/unix/desktop/vultureseye.desktop \ chmod 0644 vultures_intro.txt vultures.conf vultures_sounds.conf vultures_tiles.conf ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/tiles ; : games *.png ; \ : bin *.png ; \ chmod 0644 *.png ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/graphics ; : games *.png ; \ : bin *.png ; \ chmod 0644 *.png ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/sound ; : games *.ogg ; \ : bin *.ogg ; \ chmod 0644 *.ogg ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/music ; : games *.ogg *.xm ; \ : bin *.ogg *.xm ; \ chmod 0644 *.ogg *.xm ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/fonts ; : games *.ttf ; \ : bin *.ttf ; \ chmod 0644 *.ttf ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/manual ; : games *.html *.css ; \ : bin *.html *.css ; \ chmod 0644 *.html *.css ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/manual/img ; : games *.jpg *.png ; \ : bin *.jpg *.png ; \ chmod 0644 *.jpg *.png ) mv /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/se_icon.ico /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/vulturesclaw.ico mv /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/se_icon.png /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/vulturesclaw.png make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem' cp src/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw cp util/recover /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw cp dat/license doc/Guidebook.txt /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw rm -f /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin/vulturesclaw sed -e 's;/usr/games/lib/nethackdir;/builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw;' \ -e 's;HACKDIR/nethack;HACKDIR/vulturesclaw;' \ < sys/unix/nethack.sh \ > /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin/vulturesclaw ( cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw ; : games vulturesclaw recover ; \ : bin vulturesclaw recover ) chmod 04755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/vulturesclaw chmod 0755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/recover ( cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw ; \ : games license Guidebook.txt ; \ : bin license Guidebook.txt ; \ chmod 0644 license Guidebook.txt ) : games /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin/vulturesclaw : bin /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin/vulturesclaw chmod 0755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin/vulturesclaw make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem' touch /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw/perm /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw/record /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw/logfile ( cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/games/vulturesclaw ; : games perm record logfile ; \ : bin perm record logfile ; \ chmod 0644 perm record logfile ) You may also want to reinstall the man pages via the doc Makefile. make: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem' BUILDSTDERR: /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/applications/vulturesey+ mv /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/vultureseye.png /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/icons/hicolor/48x48/apps/vultureseye.png + mv /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/recover /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin/vultureseye-recover + for i in vultureseye vulturesclaw + desktop-file-install --dir=/builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/applications --mode=644 --add-category=RolePlaying --remove-category=Application --remove-category=3DGame --remove-category=PuzzleGame dist/unix/desktop/vulturesclaw.desktop + mv /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/vulturesclaw.png /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/icons/hicolor/48x48/apps/vulturesclaw.png + mv /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/recover /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin/vulturesclaw-recover + ln -sf /usr/share/fonts/bitstream-vera/VeraSe.ttf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/fonts + ln -sf /usr/share/fonts/bitstream-vera/VeraSe.ttf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/fonts + rm -r /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/manual /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/manual + /usr/bin/hardlink -cv /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye + chmod -s /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/vulturesclaw.ico /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/vultureseye.ico + sed -i -e 's|/builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64||' /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin/vulturesclaw + rm /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/vulturesclaw.ico /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/vultureseye.ico + install -Dpm 644 /builddir/build/SOURCES/nethack-vultures.logrotate /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/etc/logrotate.d/nethack-vultures + install -dm 775 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/var/log/vultures/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.1.2-24.fc31 --unique-debug-suffix -2.1.2-24.fc31.riscv64 --unique-debug-src-base nethack-vultures-2.1.2-24.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/vultures-2.1.2 BUILDSTDERR: 20651 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 e.desktop: error: (will be fatal in the future): value "vultureseye.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/applications/vulturesclaw.desktop: error: (will be fatal in the future): value "vulturesclaw.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path Directories: 14 Objects: 3792 Regular files: 3776 Comparisons: 1991 Linked: 1990 Saved: 29257728 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin/vulturesclaw-recover explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/vulturesclaw explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/vultureseye explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin/vultureseye-recover extracting debug info from /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin/vulturesclaw-recover extracting debug info from /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vulturesclaw/vulturesclaw extracting debug info from /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/games/vultureseye/vultureseye extracting debug info from /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/bin/vultureseye-recover original debug info size: 16604kB, size after compression: 11824kB /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. mangling shebang in /usr/bin/vulturesclaw from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/vultureseye from /bin/sh to #!/usr/bin/sh Processing files: nethack-vultures-2.1.2-24.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yHsU5m + umask 022 + cd /builddir/build/BUILD + cd vultures-2.1.2 + DOCDIR=/builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/doc/nethack-vultures + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/doc/nethack-vultures + cp -pr nethack/README /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/doc/nethack-vultures + cp -pr nethack/dat/license /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/doc/nethack-vultures + cp -pr nethack/dat/history /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/doc/nethack-vultures + cp -pr nethack/dat/cmdhelp nethack/dat/help nethack/dat/opthelp nethack/dat/wizhelp /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/doc/nethack-vultures + cp -pr slashem/readme.txt /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/doc/nethack-vultures + cp -pr slashem/history.txt /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/doc/nethack-vultures + cp -pr slashem/slamfaq.txt /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/doc/nethack-vultures + cp -pr vultures/gamedata/manual/ /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64/usr/share/doc/nethack-vultures + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 BUILDSTDERR: warning: absolute symlink: /usr/games/vulturesclaw/fonts/VeraSe.ttf -> /usr/share/fonts/bitstream-vera/VeraSe.ttf BUILDSTDERR: warning: absolute symlink: /usr/games/vultureseye/fonts/VeraSe.ttf -> /usr/share/fonts/bitstream-vera/VeraSe.ttf Provides: application() application(vulturesclaw.desktop) application(vultureseye.desktop) config(nethack-vultures) = 2.1.2-24.fc31 nethack-vultures = 2.1.2-24.fc31 nethack-vultures(riscv-64) = 2.1.2-24.fc31 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh coreutils shadow-utils Requires: /usr/bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libSDL-1.2.so.0()(64bit) libSDL_mixer-1.2.so.0()(64bit) libSDL_ttf-2.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Obsoletes: nethack-falconseye <= 1.9.4-6.a Processing files: nethack-vultures-debugsource-2.1.2-24.fc31.riscv64 Provides: nethack-vultures-debugsource = 2.1.2-24.fc31 nethack-vultures-debugsource(riscv-64) = 2.1.2-24.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: nethack-vultures-debuginfo-2.1.2-24.fc31.riscv64 Provides: debuginfo(build-id) = 246db4b384745072204cf5b4cc5dde1a3c5ba8b2 debuginfo(build-id) = 4f63e995c55e28cdcaadbb60fa9238ec49a5e92e debuginfo(build-id) = 9b12e946ba337626f952ee723d46865774bbddec debuginfo(build-id) = fc7a54c0948017f6baf6797c18a24ce6f7ce2023 nethack-vultures-debuginfo = 2.1.2-24.fc31 nethack-vultures-debuginfo(riscv-64) = 2.1.2-24.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: nethack-vultures-debugsource(riscv-64) = 2.1.2-24.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64 Wrote: /builddir/build/RPMS/nethack-vultures-debugsource-2.1.2-24.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/nethack-vultures-debuginfo-2.1.2-24.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/nethack-vultures-2.1.2-24.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bwp7dm + umask 022 + cd /builddir/build/BUILD + cd vultures-2.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-24.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0