+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/nethack-vultures.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LWamc6 + 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):' Patch #0 (nethack-vultures-1.11.0-optflags.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 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 + echo 'Patch #1 (nethack-vultures-2.1.2-config.patch):' Patch #1 (nethack-vultures-2.1.2-config.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file nethack/include/config.h patching file nethack/include/unixconf.h patching file slashem/include/config.h patching file slashem/include/unixconf.h + echo 'Patch #2 (nethack-vultures-1.10.1-clawguide.patch):' Patch #2 (nethack-vultures-1.10.1-clawguide.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=1 patching file slashem/sys/unix/Makefile.doc + echo 'Patch #3 (nethack-vultures-2.1.2-tabfullscreen.patch):' Patch #3 (nethack-vultures-2.1.2-tabfullscreen.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file vultures/vultures_sdl.c + echo 'Patch #4 (nethack-vultures-2.1.2-logging.patch):' Patch #4 (nethack-vultures-2.1.2-logging.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file vultures/vultures_gen.c + echo 'Patch #5 (nethack-vultures-libpng.patch):' Patch #5 (nethack-vultures-libpng.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .libpng --fuzz=0 patching file vultures/vultures_gfl.c + echo 'Patch #6 (format-fix.patch):' Patch #6 (format-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .format-fix --fuzz=0 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 + echo 'Patch #7 (parser-fix.patch):' Patch #7 (parser-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .parser-fix --fuzz=0 patching file vultures/vultures_tileconfig.parser.y + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xXHIdF + umask 022 + cd /builddir/build/BUILD + cd vultures-2.1.2 + for i in nethack slashem + make nethack/Makefile make: git-rev-list: Command not found Setup NetHack build environment ... + make -C nethack 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 -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 -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 -I../include -I../win/vultures -DVULTURESEYE -c -o makedefs.o makedefs.c makedefs.c:52:19: warning: 'SCCS_Id' defined but not used [-Wunused-const-variable=] static const char SCCS_Id[] = "@(#)makedefs.c\t3.4\t2002/02/03"; ^~~~~~~ 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 -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 -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 -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 -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 -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 -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 -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 -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o cmd.o cmd.c cmd.c: In function 'dump_enlightenment': cmd.c:1137:14: warning: unused variable 'enc_stat' [-Wunused-variable] const char *enc_stat[] = { /* copied from botl.c */ ^~~~~~~~ cmd.c: In function 'rhack': cmd.c:2237:7: warning: case label value is less than minimum value for type case M('5'): *cmd = 'G'; break; ^~~~ cmd.c:2238:7: warning: case label value is less than minimum value for type case M('0'): *cmd = 'I'; break; ^~~~ 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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o eat.o eat.c eat.c: In function 'doeat': eat.c:2052:59: warning: ?: using integer constants in boolean context, the expression will always evaluate to 'true' [-Wint-in-bool-context] (((monstermoves - otmp->age) > (int) otmp->blessed ? 50:30) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o end.o end.c end.c:1190:1: warning: 'list_vanquished' defined but not used [-Wunused-function] list_vanquished(defquery, ask) ^~~~~~~~~~~~~~~ In file included from ../include/hack.h:121:0, from end.c:7: end.c: In function 'do_vanquished': ../include/winprocs.h:89:17: warning: 'klwin' may be used uninitialized in this function [-Wmaybe-uninitialized] #define putstr (*windowprocs.win_putstr) ^ end.c:1209:11: note: 'klwin' was declared here winid klwin; ^~~~~ 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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o engrave.o engrave.c engrave.c: In function 'doengrave': engrave.c:727:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (flags.verbose) ^~ engrave.c:729:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' doknown = TRUE; ^~~~~~~ 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 -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 -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 -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o files.o files.c files.c: In function 'save_savefile_name': files.c:831:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ files.c: In function 'docompress_file': files.c:1156:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~~~~~~~~ files.c:1157:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o hack.o hack.c hack.c: In function 'moverock': hack.c:262:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ hack.c:265:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' if (Blind) feel_location(sx, sy); ^~ 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 -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o invent.o invent.c invent.c: In function 'display_pickinv': invent.c:1871:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] return ret; ^~~ invent.c:1859:4: warning: 'win' may be used uninitialized in this function [-Wmaybe-uninitialized] n = select_menu(win, want_reply ? PICK_ONE : PICK_NONE, &selected); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -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 -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o makemon.o makemon.c In file included from makemon.c:6:0: makemon.c: In function 'clone_mon': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ makemon.c:756:5: note: in expansion of macro 'EPRI' *(EPRI(m3)) = *(EPRI(mon)); ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ makemon.c:756:19: note: in expansion of macro 'EPRI' *(EPRI(m3)) = *(EPRI(mon)); ^~~~ makemon.c: In function 'mongets': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ../include/mondata.h:25:7: note: in expansion of macro 'EPRI' EPRI(mon)->shralign > 0)) ^~~~ makemon.c:1498:16: note: in expansion of macro 'is_lminion' } else if(is_lminion(mtmp)) { ^~~~~~~~~~ makemon.c: In function 'set_malign': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ makemon.c:1616:10: note: in expansion of macro 'EPRI' mal = EPRI(mtmp)->shralign; ^~~~ In file included from makemon.c:7:0: ../include/emin.h:12:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) ^ makemon.c:1618:10: note: in expansion of macro 'EMIN' mal = EMIN(mtmp)->min_align; ^~~~ 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 -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 -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 -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 -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o minion.o minion.c In file included from minion.c:7:0: minion.c: In function 'msummon': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ minion.c:23:10: note: in expansion of macro 'EPRI' atyp = EPRI(mon)->shralign; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ../include/mondata.h:25:7: note: in expansion of macro 'EPRI' EPRI(mon)->shralign > 0)) ^~~~ minion.c:41:13: note: in expansion of macro 'is_lminion' } else if (is_lminion(mon)) { ^~~~~~~~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ minion.c:80:3: note: in expansion of macro 'EPRI' EPRI(mtmp)->shralign = atyp; ^~~~ In file included from minion.c:6:0: minion.c: In function 'summon_minion': ../include/emin.h:12:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) ^ minion.c:117:6: note: in expansion of macro 'EMIN' EMIN(mon)->min_align = alignment; ^~~~ In file included from minion.c:7:0: ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ minion.c:123:6: note: in expansion of macro 'EPRI' EPRI(mon)->shralign = alignment; /* always A_LAWFUL here */ ^~~~ 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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mklev.o mklev.c mklev.c: In function 'mktrap': mklev.c:1220:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 2) kind = NO_TRAP; break; ^~ mklev.c:1220:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (lvl < 2) kind = NO_TRAP; break; ^~~~~ mklev.c:1222:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 5 || level.flags.noteleport) ^~ mklev.c:1223:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' kind = NO_TRAP; break; ^~~~~ mklev.c:1225:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 5) kind = NO_TRAP; break; ^~ mklev.c:1225:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (lvl < 5) kind = NO_TRAP; break; ^~~~~ mklev.c:1227:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 6) kind = NO_TRAP; break; ^~ mklev.c:1227:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (lvl < 6) kind = NO_TRAP; break; ^~~~~ mklev.c:1229:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 7) kind = NO_TRAP; break; ^~ mklev.c:1229:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (lvl < 7) kind = NO_TRAP; break; ^~~~~ mklev.c:1232:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 8) kind = NO_TRAP; break; ^~ mklev.c:1232:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (lvl < 8) kind = NO_TRAP; break; ^~~~~ mklev.c:1234:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Inhell) kind = NO_TRAP; break; ^~ mklev.c:1234:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Inhell) kind = NO_TRAP; break; ^~~~~ mklev.c:1236:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (level.flags.noteleport) kind = NO_TRAP; break; ^~ mklev.c:1236:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (level.flags.noteleport) kind = NO_TRAP; break; ^~~~~ mklev.c:1239:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rn2(7)) kind = NO_TRAP; break; ^~ mklev.c:1239:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (rn2(7)) kind = NO_TRAP; break; ^~~~~ 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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkmap.o mkmap.c mkmap.c: In function 'pass_two': mkmap.c:115:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(count=0, dr=0; dr < 8; dr++) ^~~ mkmap.c:119:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if (count == 5) ^~ 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 -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 -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkroom.o mkroom.c mkroom.c: In function 'fill_zoo': mkroom.c:366:22: warning: 'ty' may be used uninitialized in this function [-Wmaybe-uninitialized] levl[tx][ty].typ = THRONE; mkroom.c:366:22: warning: 'tx' may be used uninitialized in this function [-Wmaybe-uninitialized] mkroom.c:321:6: warning: 'goldlim' may be used uninitialized in this function [-Wmaybe-uninitialized] if(i >= goldlim) i = 5*level_difficulty(); ^ 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 -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 -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o monmove.o monmove.c In file included from monmove.c:8:0: monmove.c: In function 'onscary': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ../include/mondata.h:25:7: note: in expansion of macro 'EPRI' EPRI(mon)->shralign > 0)) ^~~~ monmove.c:136:6: note: in expansion of macro 'is_lminion' is_lminion(mtmp) || mtmp->data == &mons[PM_ANGEL] || ^~~~~~~~~~ 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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pline.o pline.c In file included from pline.c:7:0: pline.c: In function 'mstatusline': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ pline.c:298:15: note: in expansion of macro 'EPRI' alignment = EPRI(mtmp)->shralign; ^~~~ 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 -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 -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 -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o priest.o priest.c In file included from priest.c:8:0: priest.c: In function 'histemple_at': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:136:20: note: in expansion of macro 'EPRI' return((boolean)((EPRI(priest)->shroom == *in_rooms(x, y, TEMPLE)) && ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:137:20: note: in expansion of macro 'EPRI' on_level(&(EPRI(priest)->shrlevel), &u.uz))); ^~~~ priest.c: In function 'pri_move': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:156:11: note: in expansion of macro 'EPRI' temple = EPRI(priest)->shroom; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:158:7: note: in expansion of macro 'EPRI' gx = EPRI(priest)->shrpos.x; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:159:7: note: in expansion of macro 'EPRI' gy = EPRI(priest)->shrpos.y; ^~~~ priest.c: In function 'priestini': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:203:3: note: in expansion of macro 'EPRI' EPRI(priest)->shroom = (sroom - rooms) + ROOMOFFSET; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:204:3: note: in expansion of macro 'EPRI' EPRI(priest)->shralign = Amask2align(levl[sx][sy].altarmask); ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:205:3: note: in expansion of macro 'EPRI' EPRI(priest)->shrpos.x = sx; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:206:3: note: in expansion of macro 'EPRI' EPRI(priest)->shrpos.y = sy; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:207:18: note: in expansion of macro 'EPRI' assign_level(&(EPRI(priest)->shrlevel), lvl); ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:215:17: note: in expansion of macro 'EPRI' if(sanctum && EPRI(priest)->shralign == A_NONE && ^~~~ priest.c: In function 'priestname': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:265:26: note: in expansion of macro 'EPRI' if (!mon->ispriest && EPRI(mon)->renegade) ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:277:33: note: in expansion of macro 'EPRI' Strcat(pname, halu_gname((int)EPRI(mon)->shralign)); ^~~~ In file included from priest.c:9:0: ../include/emin.h:12:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) ^ priest.c:283:27: note: in expansion of macro 'EMIN' Strcat(pname, halu_gname(EMIN(mon)->min_align)); ^~~~ In file included from priest.c:8:0: priest.c: In function 'p_coaligned': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:291:42: note: in expansion of macro 'EPRI' return((boolean)(u.ualign.type == ((int)EPRI(priest)->shralign))); ^~~~ priest.c: In function 'has_shrine': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:302:14: note: in expansion of macro 'EPRI' lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y]; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:302:35: note: in expansion of macro 'EPRI' lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y]; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:305:19: note: in expansion of macro 'EPRI' return((boolean)(EPRI(pri)->shralign == Amask2align(lev->altarmask & ~AM_SHRINE))); ^~~~ priest.c: In function 'findpriest': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:316:28: note: in expansion of macro 'EPRI' if(mtmp->ispriest && (EPRI(mtmp)->shroom == roomno) && ^~~~ priest.c: In function 'mk_roamer': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:551:2: note: in expansion of macro 'EPRI' EPRI(roamer)->shralign = alignment; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:553:3: note: in expansion of macro 'EPRI' EPRI(roamer)->renegade = TRUE; ^~~~ priest.c: In function 'reset_hostility': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:573:5: note: in expansion of macro 'EPRI' if(EPRI(roamer)->shralign != u.ualign.type) { ^~~~ priest.c: In function 'ghod_hitsu': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:614:11: note: in expansion of macro 'EPRI' ax = x = EPRI(priest)->shrpos.x; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:615:11: note: in expansion of macro 'EPRI' ay = y = EPRI(priest)->shrpos.y; ^~~~ priest.c: In function 'angry_priest': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:679:18: note: in expansion of macro 'EPRI' lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y]; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:679:42: note: in expansion of macro 'EPRI' lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y]; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:682:4: note: in expansion of macro 'EPRI' EPRI(priest)->shralign)) { ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:686:3: note: in expansion of macro 'EPRI' EPRI(priest)->renegade = 0; ^~~~ priest.c: In function 'clearpriests': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:702:58: note: in expansion of macro 'EPRI' if (!DEADMONSTER(mtmp) && mtmp->ispriest && !on_level(&(EPRI(mtmp)->shrlevel), &u.uz)) ^~~~ priest.c: In function 'restpriest': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:715:21: note: in expansion of macro 'EPRI' assign_level(&(EPRI(mtmp)->shrlevel), &u.uz); ^~~~ 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 -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 -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o read.o read.c read.c: In function 'seffects': read.c:1006:20: warning: suggest parentheses around operand of '!' or change '|' to '||' or '!' to '~' [-Wparentheses] else do_genocide(!sobj->cursed | (2 * !!Confusion)); ^~~~~~~~~~~~~ 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 -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 -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 -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rip.o rip.c In file included from ../include/config.h:258:0, from ../include/hack.h:9, from rip.c:5: rip.c:7:23: warning: 'center' declared 'static' but never defined [-Wunused-function] STATIC_DCL void FDECL(center, (int, char *)); ^ ../include/tradstdc.h:124:21: note: in definition of macro 'FDECL' # define FDECL(f,p) f p ^ 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 -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 -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 -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o save.o save.c save.c: In function 'savestateinlock': save.c:360:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] (void) read(fd, (genericptr_t) &hpid, sizeof(hpid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:378:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) &hackpid, sizeof(hackpid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:382:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) &currlev, sizeof(currlev)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o shk.o shk.c shk.c: In function 'repair_damage': shk.c:3154:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while (!(litter[i = rn2(9)] & INSHOP)); ^~~~~ shk.c:3155:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' remove_object(otmp); ^~~~~~~~~~~~~ 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 -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 -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sounds.o sounds.c sounds.c: In function 'domonnoise': sounds.c:531:28: warning: array subscript is outside array bounds [-Warray-bounds] verbl_msg = vampmsg[vampindex]; ~~~~~~~^~~~~~~~~~~ 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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o vault.o vault.c In file included from vault.c:6:0: vault.c: In function 'clear_fcorr': ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:29:18: note: in expansion of macro 'EGD' if (!on_level(&(EGD(grd)->gdlevel), &u.uz)) return TRUE; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:31:17: note: in expansion of macro 'EGD' while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) { ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:31:36: note: in expansion of macro 'EGD' while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) { ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:32:9: note: in expansion of macro 'EGD' fcx = EGD(grd)->fakecorr[fcbeg].fx; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:33:9: note: in expansion of macro 'EGD' fcy = EGD(grd)->fakecorr[fcbeg].fy; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:35:8: note: in expansion of macro 'EGD' EGD(grd)->gddone) ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:50:24: note: in expansion of macro 'EGD' levl[fcx][fcy].typ = EGD(grd)->fakecorr[fcbeg].ftyp; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:53:3: note: in expansion of macro 'EGD' EGD(grd)->fcbeg++; ^~~ vault.c: In function 'grddead': ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:81:3: note: in expansion of macro 'EGD' EGD(grd)->ogx = grd->mx; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:82:3: note: in expansion of macro 'EGD' EGD(grd)->ogy = grd->my; ^~~ vault.c: In function 'in_fcorridor': ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:95:12: note: in expansion of macro 'EGD' for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++) ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:95:35: note: in expansion of macro 'EGD' for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++) ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:96:11: note: in expansion of macro 'EGD' if(x == EGD(grd)->fakecorr[fci].fx && ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:97:10: note: in expansion of macro 'EGD' y == EGD(grd)->fakecorr[fci].fy) ^~~ vault.c: In function 'findgd': ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:109:56: note: in expansion of macro 'EGD' if(mtmp->isgd && !DEADMONSTER(mtmp) && on_level(&(EGD(mtmp)->gdlevel), &u.uz)) ^~~ vault.c: In function 'invault': ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:230:2: note: in expansion of macro 'EGD' EGD(guard)->gddone = 0; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:231:2: note: in expansion of macro 'EGD' EGD(guard)->ogx = x; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:232:2: note: in expansion of macro 'EGD' EGD(guard)->ogy = y; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:233:17: note: in expansion of macro 'EGD' assign_level(&(EGD(guard)->gdlevel), &u.uz); ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:234:2: note: in expansion of macro 'EGD' EGD(guard)->vroom = vaultroom; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:235:2: note: in expansion of macro 'EGD' EGD(guard)->warncnt = 0; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:316:2: note: in expansion of macro 'EGD' EGD(guard)->gdx = gx; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:317:2: note: in expansion of macro 'EGD' EGD(guard)->gdy = gy; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:318:2: note: in expansion of macro 'EGD' EGD(guard)->fcbeg = 0; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:319:2: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].fx = x; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:320:2: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].fy = y; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:322:6: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = levl[x][y].typ; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:324:16: note: in expansion of macro 'EGD' int vlt = EGD(guard)->vroom; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:329:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = TLCORNER; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:331:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = TRCORNER; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:333:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = BLCORNER; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:335:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = BRCORNER; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:337:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = HWALL; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:339:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = VWALL; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:344:2: note: in expansion of macro 'EGD' EGD(guard)->fcend = 1; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:345:2: note: in expansion of macro 'EGD' EGD(guard)->warncnt = 1; ^~~ vault.c: In function 'wallify_vault': ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:373:12: note: in expansion of macro 'EGD' int vlt = EGD(grd)->vroom; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:394:20: note: in expansion of macro 'EGD' move_gold(gold, EGD(grd)->vroom); ^~~ vault.c: In function 'paygd': ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:778:17: note: in expansion of macro 'EGD' gx = rooms[EGD(grd)->vroom].lx + rn2(2); ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:779:17: note: in expansion of macro 'EGD' gy = rooms[EGD(grd)->vroom].ly + rn2(2); ^~~ make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/nethack/util' ./makedefs -z close: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 _far_: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o vision.o vision.c vision.c: In function 'vision_recalc': vision.c:597:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (row < 0) continue; if (row >= ROWNO) break; ^~ vision.c:597:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (row < 0) continue; if (row >= ROWNO) break; ^~ vision.c:618:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (row < 0) continue; if (row >= ROWNO) break; ^~ vision.c:618:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (row < 0) continue; if (row >= ROWNO) break; ^~ vision.c:656:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (row < 0) continue; if (row >= ROWNO) break; ^~ vision.c:656:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (row < 0) continue; if (row >= ROWNO) break; ^~ vision.c: In function 'close_shadow': vision.c:1593:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((sdy = (start_row-block_row)) < 0) sdy = -sdy; --sdy; /* src dy */ ^~ vision.c:1593:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((sdy = (start_row-block_row)) < 0) sdy = -sdy; --sdy; /* src dy */ ^~ vision.c: In function 'far_shadow': vision.c:1629:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((sdx = (start_col-block_col)) < 0) sdx = -sdx; --sdx; /* src dx */ ^~ vision.c:1629:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((sdx = (start_col-block_col)) < 0) sdx = -sdx; --sdx; /* src dx */ ^~ vision.c:1630:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((pdy = (block_row-this_row)) < 0) pdy = -pdy; --pdy; /* point dy */ ^~ vision.c:1630:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((pdy = (block_row-this_row)) < 0) pdy = -pdy; --pdy; /* point dy */ ^~ vision.c: In function 'right_side': vision.c:1096:24: warning: 'row_max' may be used uninitialized in this function [-Wmaybe-uninitialized] #define set_max(z) if (*row_max < (z)) *row_max = (z) ^ vision.c:1666:11: note: 'row_max' was declared here char *row_max; /* right most */ ^~~~~~~ vision.c:1095:49: warning: 'row_min' may be used uninitialized in this function [-Wmaybe-uninitialized] #define set_min(z) if (*row_min > (z)) *row_min = (z) ^ vision.c:1665:11: note: 'row_min' was declared here char *row_min; /* left most */ ^~~~~~~ vision.c:1093:31: warning: 'rowp' may be used uninitialized in this function [-Wmaybe-uninitialized] #define set_cs(rowp,col) (rowp[col] = COULD_SEE) ^ vision.c:1660:20: note: 'rowp' was declared here register char *rowp; ^~~~ vision.c: In function 'left_side': vision.c:1096:49: warning: 'row_max' may be used uninitialized in this function [-Wmaybe-uninitialized] #define set_max(z) if (*row_max < (z)) *row_max = (z) ^ vision.c:1921:11: note: 'row_max' was declared here char *row_max; /* right most */ ^~~~~~~ vision.c:1095:24: warning: 'row_min' may be used uninitialized in this function [-Wmaybe-uninitialized] #define set_min(z) if (*row_min > (z)) *row_min = (z) ^ vision.c:1920:11: note: 'row_min' was declared here char *row_min; /* left most */ ^~~~~~~ vision.c:1093:31: warning: 'rowp' may be used uninitialized in this function [-Wmaybe-uninitialized] #define set_cs(rowp,col) (rowp[col] = COULD_SEE) ^ vision.c:1915:20: note: 'rowp' was declared here register char *rowp; ^~~~ 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 -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o weapon.o weapon.c weapon.c: In function 'enhance_skill': weapon.c:962:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (i == skill_ranges[pass].first) ^ weapon.c:978:47: warning: 'logged' may be used uninitialized in this function [-Wmaybe-uninitialized] } else if (i == skill_ranges[pass].last && !logged) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ weapon.c:1046:8: warning: 'win' may be used uninitialized in this function [-Wmaybe-uninitialized] n = select_menu(win, to_advance ? PICK_ONE : PICK_NONE, &selected); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -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 -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o wizard.o wizard.c In file included from wizard.c:12:0: wizard.c: In function 'cuss': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ../include/mondata.h:25:7: note: in expansion of macro 'EPRI' EPRI(mon)->shralign > 0)) ^~~~ wizard.c:625:12: note: in expansion of macro 'is_lminion' } else if(is_lminion(mtmp)) { ^~~~~~~~~~ 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 -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 -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 -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 -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 -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/unix/unixmain.c ../sys/unix/unixmain.c: In function 'whoami': ../sys/unix/unixmain.c:483:17: warning: unused variable 's' [-Wunused-variable] register char *s; ^ ../sys/unix/unixmain.c: In function 'chdirx': ../sys/unix/unixmain.c:424:6: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~~~~~~~~ ../sys/unix/unixmain.c:425:6: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); /* Ron Wessels */ ^~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/unix/unixunix.c ../sys/unix/unixunix.c: In function 'child': ../sys/unix/unixunix.c:268:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~~~~~~~~ ../sys/unix/unixunix.c:269:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^~~~~~~~~~~~~~~~~~~~~~~ ../sys/unix/unixunix.c:271:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir(getenv("HOME")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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_mou.c compiling vultures_gen.c compiling vultures_main.c compiling vultures_pcmusic.c compiling vultures_win_event.c compiling vultures_gfl.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 vultures_tileconfig.c: In function 'init_objnames': vultures_tileconfig.c:644:21: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ vultures_tileconfig.c:645:92: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' snprintf(tilenames[TT_OBJECT][i], 40, "%s", obj_descr[i].oc_name); break; ^~~~~ vultures_tileconfig.c:663:21: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ vultures_tileconfig.c:664:79: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' snprintf(tilenames[TT_OBJECT][i], 40, "%s", nameptr); break; ^~~~~ compiling vultures_init.c compiling vultures_win.c generating parser compiling build_n/vultures_tileconfig.parser.c generating lexer compiling build_n/vultures_tileconfig.lexer.c build_n/vultures_tileconfig.lexer.c:1217:16: warning: 'input' defined but not used [-Wunused-function] static int input (void) ^~~~~ build_n/vultures_tileconfig.lexer.c:1174:17: warning: 'yyunput' defined but not used [-Wunused-function] static void yyunput (int c, char * yy_bp ) ^~~~~~~ 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 -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 -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 -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 -C nethack/util recover dlb dgn_comp lev_comp 'YACC=bison -y' 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 -I../include -I../win/vultures -DVULTURESEYE -c -o recover.o recover.c recover.c: In function 'main': recover.c:114:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~~~~~~~~ recover.c:115:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^~~~~~~~~~~~~~~~~~~~~~~ recover.c: In function 'restore_savefile': recover.c:308:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sfd, (genericptr_t) &levc, sizeof(levc)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -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 -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 -I../include -I../win/vultures -DVULTURESEYE dgn_lex.c lex.yy.c:1487:16: warning: 'input' defined but not used [-Wunused-function] lex.yy.c:1444:17: warning: 'yyunput' defined but not used [-Wunused-function] 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 -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 -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 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 -I../include -I../win/vultures -DVULTURESEYE lev_lex.c lex.yy.c:2172:16: warning: 'input' defined but not used [-Wunused-function] lex.yy.c:2129:17: warning: 'yyunput' defined but not used [-Wunused-function] 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 -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 -C nethack/dat spec_levs quest_levs 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' + for i in nethack slashem + make slashem/Makefile make: git-rev-list: Command not found Setup Slash'EM build environment ... + make -C slashem 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 -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 -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 -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 -I../include -I../win/vultures -DVULTURESCLAW -c -o makedefs.o makedefs.c makedefs.c: In function 'do_filenames': makedefs.c:2392:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(in_line, sizeof in_line, ifp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: makedefs.c:53:19: warning: 'SCCS_Id' defined but not used [-Wunused-const-variable=] static const char SCCS_Id[] = "@(#)makedefs.c\t3.4\t2002/02/03"; ^~~~~~~ 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 -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 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 -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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o apply.o apply.c apply.c: In function 'use_pole': apply.c:2761:15: warning: unused variable 'typ' [-Wunused-variable] int res = 0, typ, max_range; ^~~ At top level: apply.c:11:19: warning: 'all_count' defined but not used [-Wunused-const-variable=] static const char all_count[] = { ALLOW_COUNT, ALL_CLASSES, 0 }; ^~~~~~~~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o artifact.o artifact.c artifact.c: In function 'artifact_hit': artifact.c:1181:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!spec_dbon_applies && !spec_ability(otmp, SPFX_BEHEAD) || ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ artifact.c:1312:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] } else if (dieroll < 3 || otmp->oartifact == ART_VORPAL_BLADE && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ mdef->data == &mons[PM_JABBERWOCK]) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ artifact.c:1321:21: warning: array subscript has type 'char' [-Wchar-subscripts] wepdesc = artilist[otmp->oartifact].name; ^ 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 -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 -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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o botl.o botl.c botl.c: In function 'bot_raw': botl.c:581:52: warning: format '%lX' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] *rv++ = reconfig ? "flags" : (Sprintf(flgs, "%lX", ~~^ %X (Levitation ? RAW_STAT_LEVITATION : 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (Confusion ? RAW_STAT_CONFUSION : 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (Sick && (u.usick_type & SICK_VOMITABLE) ? RAW_STAT_FOODPOIS : 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (Sick && (u.usick_type & SICK_NONVOMITABLE) ? RAW_STAT_ILL : 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (Blind ? RAW_STAT_BLIND : 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (Stunned ? RAW_STAT_STUNNED : 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (Hallucination ? RAW_STAT_HALLUCINATION : 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (Slimed ? RAW_STAT_SLIMED : 0)), flgs); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c: In function 'botl_strength': botl.c:241:28: warning: '%02d' directive writing between 2 and 4 bytes into a region of size 3 [-Wformat-overflow=] Sprintf(strength, "18/%02d", ACURR(A_STR)-18); ^~~~ botl.c:241:24: note: directive argument in the range [-146, 109] Sprintf(strength, "18/%02d", ACURR(A_STR)-18); ^~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from botl.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 8 bytes into a destination of size 6 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c: In function 'bot_raw': botl.c:531:53: warning: '%d' directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] *rv++ = reconfig ? "dexterity" : (Sprintf(dex, "%d", ACURR(A_DEX)), dex); ^~ botl.c:531:52: note: directive argument in the range [-128, 127] *rv++ = reconfig ? "dexterity" : (Sprintf(dex, "%d", ACURR(A_DEX)), dex); ^~~~ In file included from /usr/include/stdio.h:861:0, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from botl.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c:532:56: warning: '%d' directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] *rv++ = reconfig ? "constitution" : (Sprintf(con, "%d", ACURR(A_CON)), con); ^~ botl.c:532:55: note: directive argument in the range [-128, 127] *rv++ = reconfig ? "constitution" : (Sprintf(con, "%d", ACURR(A_CON)), con); ^~~~ In file included from /usr/include/stdio.h:861:0, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from botl.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c:533:56: warning: '%d' directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] *rv++ = reconfig ? "intelligence" : (Sprintf(itl, "%d", ACURR(A_INT)), itl); ^~ botl.c:533:55: note: directive argument in the range [-128, 127] *rv++ = reconfig ? "intelligence" : (Sprintf(itl, "%d", ACURR(A_INT)), itl); ^~~~ In file included from /usr/include/stdio.h:861:0, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from botl.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c:534:50: warning: '%d' directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] *rv++ = reconfig ? "wisdom" : (Sprintf(wis, "%d", ACURR(A_WIS)), wis); ^~ botl.c:534:49: note: directive argument in the range [-128, 127] *rv++ = reconfig ? "wisdom" : (Sprintf(wis, "%d", ACURR(A_WIS)), wis); ^~~~ In file included from /usr/include/stdio.h:861:0, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from botl.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c:535:52: warning: '%d' directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] *rv++ = reconfig ? "charisma" : (Sprintf(cha, "%d", ACURR(A_CHA)), cha); ^~ botl.c:535:51: note: directive argument in the range [-128, 127] *rv++ = reconfig ? "charisma" : (Sprintf(cha, "%d", ACURR(A_CHA)), cha); ^~~~ In file included from /usr/include/stdio.h:861:0, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from botl.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o cmd.o cmd.c cmd.c: In function 'enlightenment': cmd.c:1332:68: warning: missing braces around initializer [-Wmissing-braces] struct { unsigned long mask; const char *str; } warntypes[] = { ^ cmd.c:1514:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] if (wizard) Sprintf(eos(buf), " (%d)", u.uhealbonus); ~^ ~~~~~~~~~~~~ %ld cmd.c: In function 'rhack': cmd.c:3100:7: warning: case label value is less than minimum value for type case M('5'): *cmd = 'G'; break; ^~~~ cmd.c:3101:7: warning: case label value is less than minimum value for type case M('0'): *cmd = 'I'; break; ^~~~ In file included from ../include/decl.h:265:0, from ../include/hack.h:92, from cmd.c:5: cmd.c: In function 'click_to_cmd': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) cmd.c:3518:15: note: in expansion of macro 'Is_container' cmd[0] = Is_container(level.objects[u.ux][u.uy]) ? M('l') : ','; ^~~~~~~~~~~~ cmd.c: In function 'makemenu.constprop': cmd.c:2194:36: warning: 'current_menu' may be used uninitialized in this function [-Wmaybe-uninitialized] func = current_menu[i].m_funct; ^ 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 -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 -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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dig.o dig.c dig.c: In function 'dig': dig.c:256:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (IS_ROCK(lev->typ) && !may_dig(dpx,dpy) && dig.c: In function 'dighole': dig.c:711:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] IS_DOOR(levl[u.ux][u.uy].typ) && artifact_door(u.ux, u.uy) || 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o display.o display.c display.c: In function 'map_object': display.c:272:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (level.flags.hero_memory) ^ display.c: In function 'glyph_is_floating': display.c:1088:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] glyph_is_warning(glyph) || tglyph && glyph == tglyph->glyph; ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o do.o do.c In file included from ../include/decl.h:265:0, from ../include/hack.h:92, from do.c:7: do.c: In function 'obj_no_longer_held': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) do.c:634:14: note: in expansion of macro 'Is_container' } else if ((Is_container(obj) || obj->otyp == STATUE) && obj->cobj) { ^~~~~~~~~~~~ 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 -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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dog.o dog.c In file included from dog.c:7:0: dog.c: In function 'make_pet_minion': ../include/emin.h:12:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) ^ dog.c:963:2: note: in expansion of macro 'EMIN' EMIN(mtmp2)->min_align = alignment; ^~~~ In file included from dog.c:8:0: ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ dog.c:966:3: note: in expansion of macro 'EPRI' EPRI(mtmp2)->shralign = alignment; ^~~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dogmove.o dogmove.c In file included from dogmove.c:9:0: dogmove.c: In function 'dog_move': ../include/emin.h:12:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) ^ dogmove.c:848:36: note: in expansion of macro 'EMIN' if (mtmp->isminion) align1 = EMIN(mtmp)->min_align; ^~~~ In file included from dogmove.c:10:0: ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ dogmove.c:851:41: note: in expansion of macro 'EPRI' else if (mtmp->ispriest) align1 = EPRI(mtmp)->shralign; ^~~~ In file included from dogmove.c:9:0: ../include/emin.h:12:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) ^ dogmove.c:853:37: note: in expansion of macro 'EMIN' if (mtmp2->isminion) align2 = EMIN(mtmp2)->min_align; ^~~~ In file included from dogmove.c:10:0: ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ dogmove.c:856:42: note: in expansion of macro 'EPRI' else if (mtmp2->ispriest) align2 = EPRI(mtmp2)->shralign; ^~~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dokick.o dokick.c In file included from ../include/decl.h:265:0, from ../include/hack.h:92, from dokick.c:5: dokick.c: In function 'container_impact_dmg': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) dokick.c:382:7: note: in expansion of macro 'Is_container' if (!Is_container(obj) || Is_mbag(obj)) return; ^~~~~~~~~~~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dothrow.o dothrow.c In file included from ../include/youprop.h:10:0, from ../include/hack.h:90, from dothrow.c:7: dothrow.c: In function 'thitmonst': ../include/mondata.h:241:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (obj)->otyp == CHEESE && ((ptr) == &mons[PM_GIANT_RAT] || \ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (ptr) == &mons[PM_SEWER_RAT] || \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (ptr) == &mons[PM_BLACK_RAT] || \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (ptr) == &mons[PM_PACK_RAT]) || \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dothrow.c:1639:13: note: in expansion of macro 'befriend_with_obj' } else if (befriend_with_obj(mon->data, obj) || ^~~~~~~~~~~~~~~~~ ../include/mondata.h:245:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (obj)->otyp == CARROT && ((ptr) == &mons[PM_RABBIT] || \ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (ptr) == &mons[PM_RABID_RABBIT]) || \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dothrow.c:1639:13: note: in expansion of macro 'befriend_with_obj' } else if (befriend_with_obj(mon->data, obj) || ^~~~~~~~~~~~~~~~~ ../include/mondata.h:247:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (obj)->otyp == BANANA && (ptr)->mlet == S_YETI)) dothrow.c:1639:13: note: in expansion of macro 'befriend_with_obj' } else if (befriend_with_obj(mon->data, obj) || ^~~~~~~~~~~~~~~~~ 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 -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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o eat.o eat.c eat.c: In function 'done_eating': eat.c:481:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!victual.piece->odrained || Race_if(PM_VAMPIRE) && !rn2(5)) eat.c: In function 'opentin': eat.c:1275:15: warning: array subscript has type 'char' [-Wchar-subscripts] monexplain[mons[tin.tin->corpsenm].mlet]); ^ eat.c: In function 'fprefx': eat.c:1689:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (carnivorous(youmonst.data) && (!humanoid(youmonst.data)) || eat.c: In function 'doeat': eat.c:2548:59: warning: ?: using integer constants in boolean context, the expression will always evaluate to 'true' [-Wint-in-bool-context] (((monstermoves - otmp->age) > (int) otmp->blessed ? 50:30) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ At top level: eat.c:73:32: warning: 'comestibles' defined but not used [-Wunused-const-variable=] STATIC_OVL NEARDATA const char comestibles[] = { FOOD_CLASS, 0 }; ^~~~~~~~~~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o end.o end.c In file included from ../include/decl.h:265:0, from ../include/hack.h:92, from end.c:7: end.c: In function 'container_contents': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) end.c:1132:10: note: in expansion of macro 'Is_container' if (Is_container(box) || box->otyp == STATUE) { ^~~~~~~~~~~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o engrave.o engrave.c engrave.c: In function 'doengrave': engrave.c:800:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (flags.verbose) ^~ engrave.c:802:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' doknown = TRUE; ^~~~~~~ engrave.c:812:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (flags.verbose) ^~ engrave.c:814:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' doknown = TRUE; ^~~~~~~ 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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o explode.o explode.c explode.c: In function 'set_blast_symbols': explode.c:72:15: warning: variable 'bitmask' set but not used [-Wunused-but-set-variable] int i, j, bitmask; ^~~~~~~ explode.c: In function 'do_explode': explode.c:472:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (is_animal(u.ustuck->data)) ^ explode.c: In function 'grenade_effects': explode.c:944:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (mon && !DEADMONSTER(mon)) ^ explode.c:954:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (x == u.ux && y == u.uy) ^ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o extralev.o extralev.c ../util/makedefs -f 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o files.o files.c files.c: In function 'save_savefile_name': files.c:947:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ files.c: In function 'docompress_file': files.c:1322:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~~~~~~~~ files.c:1323:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o hack.o hack.c hack.c: In function 'grow_herbs': hack.c:120:15: warning: variable 'lev' set but not used [-Wunused-but-set-variable] struct rm *lev; ^~~ 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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o invent.o invent.c invent.c: In function 'delobj': invent.c:657:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses] update_map = (obj->where == OBJ_FLOOR || Has_contents(obj) && invent.c: In function 'mergable': invent.c:2659:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] flags.pickup_thrown && obj->was_thrown != otmp->was_thrown || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/youprop.h:10:0, from ../include/hack.h:90, from invent.c:5: ../include/mondata.h:168:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ (ptr) != &mons[PM_LICHEN] || \ ~~~~~~~~~~~~~~~~~~~~~~~~~ invent.c:2692:4: note: in expansion of macro 'is_reviver' is_reviver(&mons[otmp->corpsenm])))) ^~~~~~~~~~ invent.c: In function 'getobj': invent.c:1218:11: warning: 'floorfollow' may be used uninitialized in this function [-Wmaybe-uninitialized] n = query_objlist(qbuf, floorchain, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ floorfollow|INVORDER_SORT|SIGNAL_CANCEL, &pick_list, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PICK_ONE, allowall ? allow_all : allow_ugly); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ invent.c:1218:9: warning: 'floorchain' may be used uninitialized in this function [-Wmaybe-uninitialized] n = query_objlist(qbuf, floorchain, ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ floorfollow|INVORDER_SORT|SIGNAL_CANCEL, &pick_list, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PICK_ONE, allowall ? allow_all : allow_ugly); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o light.o light.c light.c: In function 'del_light_source': light.c:107:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] case LS_OBJECT: tmp_id = (genericptr_t)(((struct obj *)id)->o_id); ^ light.c:109:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] case LS_MONSTER: tmp_id = (genericptr_t)(((struct monst *)id)->m_id); ^ light.c: In function 'relink_light_sources': light.c:347:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (!lookup_id_mapping((unsigned)ls->id, &nid)) ^ light.c:350:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nid = (unsigned) ls->id; ^ light.c: In function 'write_ls': light.c:430:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ls->id = (genericptr_t)otmp->o_id; ^ light.c:437:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ls->id = (genericptr_t)mtmp->m_id; ^ 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 -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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o makemon.o makemon.c In file included from makemon.c:6:0: makemon.c: In function 'clone_mon': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ makemon.c:1300:5: note: in expansion of macro 'EPRI' *(EPRI(m3)) = *(EPRI(mon)); ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ makemon.c:1300:19: note: in expansion of macro 'EPRI' *(EPRI(m3)) = *(EPRI(mon)); ^~~~ makemon.c: In function 'mongets': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ../include/mondata.h:37:7: note: in expansion of macro 'EPRI' EPRI(mon)->shralign > 0)) ^~~~ makemon.c:2181:16: note: in expansion of macro 'is_lminion' } else if(is_lminion(mtmp)) { ^~~~~~~~~~ makemon.c: In function 'peace_minded': makemon.c:2293:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (ual > A_NEUTRAL && mal < A_NEUTRAL || In file included from makemon.c:6:0: makemon.c: In function 'set_malign': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ makemon.c:2339:10: note: in expansion of macro 'EPRI' mal = EPRI(mtmp)->shralign; ^~~~ In file included from makemon.c:7:0: ../include/emin.h:12:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) ^ makemon.c:2341:10: note: in expansion of macro 'EMIN' mal = EMIN(mtmp)->min_align; ^~~~ 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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mcastu.o mcastu.c mcastu.c: In function 'spell_would_be_useless': mcastu.c:845:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((levl[u.ux][u.uy].typ != ROOM && levl[u.ux][u.uy].typ != CORR 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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mhitu.o mhitu.c mhitu.c: In function 'missmu': mhitu.c:161:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!flags.verbose || !nearmiss && !blocker) ~~~~~~~~~~^~~~~~~~~~~ mhitu.c: In function 'gazemu': mhitu.c:2398:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!mtmp->mcan && canseemon(mtmp) && mtmp->mcansee && ^~ mhitu.c:2403:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' stop_occupation(); ^~~~~~~~~~~~~~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o minion.o minion.c In file included from minion.c:7:0: minion.c: In function 'msummon': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ minion.c:23:10: note: in expansion of macro 'EPRI' atyp = EPRI(mon)->shralign; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ../include/mondata.h:37:7: note: in expansion of macro 'EPRI' EPRI(mon)->shralign > 0)) ^~~~ minion.c:41:13: note: in expansion of macro 'is_lminion' } else if (is_lminion(mon)) { ^~~~~~~~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ minion.c:80:3: note: in expansion of macro 'EPRI' EPRI(mtmp)->shralign = atyp; ^~~~ In file included from minion.c:6:0: minion.c: In function 'summon_minion': ../include/emin.h:12:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) ^ minion.c:117:6: note: in expansion of macro 'EMIN' EMIN(mon)->min_align = alignment; ^~~~ In file included from minion.c:7:0: ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ minion.c:123:6: note: in expansion of macro 'EPRI' EPRI(mon)->shralign = alignment; /* always A_LAWFUL here */ ^~~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mklev.o mklev.c mklev.c: In function 'mktrap': mklev.c:1284:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 2) kind = NO_TRAP; break; ^~ mklev.c:1284:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (lvl < 2) kind = NO_TRAP; break; ^~~~~ mklev.c:1286:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 5 || level.flags.noteleport) ^~ mklev.c:1287:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' kind = NO_TRAP; break; ^~~~~ mklev.c:1289:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 5) kind = NO_TRAP; break; ^~ mklev.c:1289:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (lvl < 5) kind = NO_TRAP; break; ^~~~~ mklev.c:1291:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 6) kind = NO_TRAP; break; ^~ mklev.c:1291:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (lvl < 6) kind = NO_TRAP; break; ^~~~~ mklev.c:1293:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 7) kind = NO_TRAP; break; ^~ mklev.c:1293:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (lvl < 7) kind = NO_TRAP; break; ^~~~~ mklev.c:1296:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 8) kind = NO_TRAP; break; ^~ mklev.c:1296:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (lvl < 8) kind = NO_TRAP; break; ^~~~~ mklev.c:1298:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Inhell) kind = NO_TRAP; break; ^~ mklev.c:1298:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Inhell) kind = NO_TRAP; break; ^~~~~ mklev.c:1300:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (level.flags.noteleport) kind = NO_TRAP; break; ^~ mklev.c:1300:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (level.flags.noteleport) kind = NO_TRAP; break; ^~~~~ mklev.c:1303:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rn2(7)) kind = NO_TRAP; break; ^~ mklev.c:1303:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (rn2(7)) kind = NO_TRAP; break; ^~~~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkmap.o mkmap.c mkmap.c: In function 'pass_two': mkmap.c:115:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(count=0, dr=0; dr < 8; dr++) ^~~ mkmap.c:119:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if (count == 5) ^~ 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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkobj.o mkobj.c In file included from ../include/decl.h:265:0, from ../include/hack.h:92, from mkobj.c:5: mkobj.c: In function 'weight': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) mkobj.c:957:6: note: in expansion of macro 'Is_container' if (Is_container(obj) || obj->otyp == STATUE) { ^~~~~~~~~~~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkroom.o mkroom.c mkroom.c: In function 'fill_zoo': mkroom.c:366:6: warning: 'goldlim' may be used uninitialized in this function [-Wmaybe-uninitialized] if(i >= goldlim) i = 5*level_difficulty(); ^ mkroom.c:328:14: warning: 'ty' may be used uninitialized in this function [-Wmaybe-uninitialized] (sx == tx && sy == ty ? &mons[PM_QUEEN_BEE] : ~~~~~~~~~^~~~~~~~~~~ mkroom.c:328:48: warning: 'tx' may be used uninitialized in this function [-Wmaybe-uninitialized] (sx == tx && sy == ty ? &mons[PM_QUEEN_BEE] : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ &mons[PM_KILLER_BEE]) : ~~~~~~~~~~~~~~~~~~~~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mon.o mon.c In file included from ../include/youprop.h:10:0, from ../include/hack.h:90, from mon.c:10: mon.c: In function 'make_corpse': ../include/mondata.h:168:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ (ptr) != &mons[PM_LICHEN] || \ ~~~~~~~~~~~~~~~~~~~~~~~~~ mon.c:160:5: note: in expansion of macro 'is_reviver' is_reviver((mon)->data) || \ ^~~~~~~~~~ mon.c:407:32: note: in expansion of macro 'KEEPTRAITS' obj = mkcorpstat(CORPSE, KEEPTRAITS(mtmp) ? mtmp : 0, ^~~~~~~~~~ mon.c: In function 'mfndpos': mon.c:1208:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] levl[nx][ny].doormask & D_CLOSED && !(flag & OPENDOOR) mon.c: In function 'replmon': mon.c:1468:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (unpolytime = stop_timer(UNPOLY_MON, (genericptr_t) mtmp)) { ^~~~~~~~~~ mon.c: In function 'lifesaved_monster': mon.c:1555:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] visible = u.uswallow && u.ustuck == mtmp || ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ mon.c: In function 'unpoly_monster': mon.c:1603:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] visible = u.uswallow && u.ustuck == mtmp || cansee(mtmp->mx,mtmp->my); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from ../include/youprop.h:10:0, from ../include/hack.h:90, from mon.c:10: mon.c: In function 'monstone': ../include/mondata.h:168:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ (ptr) != &mons[PM_LICHEN] || \ ~~~~~~~~~~~~~~~~~~~~~~~~~ mon.c:160:5: note: in expansion of macro 'is_reviver' is_reviver((mon)->data) || \ ^~~~~~~~~~ mon.c:1880:29: note: in expansion of macro 'KEEPTRAITS' otmp = mkcorpstat(STATUE, KEEPTRAITS(mdef) ? mdef : 0, ^~~~~~~~~~ mon.c: In function 'newcham': mon.c:2865:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (msg && (u.uswallow && mtmp == u.ustuck || canspotmon(mtmp))) { ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o monmove.o monmove.c In file included from monmove.c:8:0: monmove.c: In function 'onscary': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ../include/mondata.h:37:7: note: in expansion of macro 'EPRI' EPRI(mon)->shralign > 0)) ^~~~ monmove.c:173:6: note: in expansion of macro 'is_lminion' is_lminion(mtmp) || mtmp->data == &mons[PM_ANGEL] || ^~~~~~~~~~ In file included from ../include/decl.h:265:0, from ../include/hack.h:92, from monmove.c:5: monmove.c: In function 'can_ooze': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) monmove.c:1437:7: note: in expansion of macro 'Is_container' if (Is_container(obj) && obj->cobj) return FALSE; ^~~~~~~~~~~~ monmove.c: In function 'm_move': monmove.c:1174:20: warning: 'niy' may be used uninitialized in this function [-Wmaybe-uninitialized] (void) breamspot(mtmp, ^~~~~~~~~~~~~~~ &ptr->mattk[bust_door_breath(mtmp)], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (nix-omx), (niy-omy)); ~~~~~~~~~~~~~~~~~~~~~ monmove.c:1174:20: warning: 'nix' may be used uninitialized in this function [-Wmaybe-uninitialized] 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 -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 -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 -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 -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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o o_init.o o_init.c o_init.c: In function 'init_objects': o_init.c:191:10: warning: self-comparison always evaluates to false [-Wtautological-compare] if(sum != sum) ^~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o objnam.o objnam.c objnam.c: In function 'add_erosion_words': objnam.c:571:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!is_damageable(obj) && !iscrys || Hallucination) return; ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from ../include/youprop.h:10:0, from ../include/hack.h:90, from objnam.c:5: objnam.c: In function 'readobjnam': ../include/mondata.h:168:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ (ptr) != &mons[PM_LICHEN] || \ ~~~~~~~~~~~~~~~~~~~~~~~~~ objnam.c:2760:22: note: in expansion of macro 'is_reviver' (typ != CORPSE || !is_reviver(&mons[mntmp])) && ^~~~~~~~~~ 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 -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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pickup.o pickup.c pickup.c: In function 'autopick': pickup.c:649:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] flags.pickup_thrown && curr->was_thrown) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ pickup.c:663:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] flags.pickup_thrown && curr->was_thrown) { ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from ../include/decl.h:265:0, from ../include/hack.h:92, from pickup.c:9: pickup.c: In function 'container_at': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) pickup.c:1469:6: note: in expansion of macro 'Is_container' if(Is_container(cobj)) { ^~~~~~~~~~~~ pickup.c: In function 'doloot': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) pickup.c:1553:10: note: in expansion of macro 'Is_container' if (Is_container(cobj)) { ^~~~~~~~~~~~ pickup.c: In function 'use_container': pickup.c:2215:25: warning: unused variable 'lcnt' [-Wunused-variable] int cnt = 0, used = 0, lcnt = 0, ^~~~ pickup.c:2209:16: warning: unused variable 'shkp' [-Wunused-variable] struct monst *shkp; ^~~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pline.o pline.c In file included from pline.c:7:0: pline.c: In function 'mstatusline': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ pline.c:287:15: note: in expansion of macro 'EPRI' alignment = EPRI(mtmp)->shralign; ^~~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o polyself.o polyself.c In file included from ../include/youprop.h:10:0, from ../include/hack.h:90, from polyself.c:13: polyself.c: In function 'polyman': ../include/mondata.h:126:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] P_MAX_SKILL(P_TWO_WEAPON_COMBAT) >= P_BASIC && \ polyself.c:118:20: note: in expansion of macro 'could_twoweap' if (u.twoweap && !could_twoweap(youmonst.data)) ^~~~~~~~~~~~~ polyself.c: In function 'drop_weapon': ../include/mondata.h:126:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] P_MAX_SKILL(P_TWO_WEAPON_COMBAT) >= P_BASIC && \ polyself.c:850:14: note: in expansion of macro 'could_twoweap' } else if (!could_twoweap(youmonst.data)) { ^~~~~~~~~~~~~ polyself.c: In function 'polyatwill': polyself.c:1711:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (u.ulevel > 13 && u.uen > EN_ADULT_DRAGON || ^ polyself.c: In function 'polyself': polyself.c:362:17: warning: array subscript is below array bounds [-Warray-bounds] if (!(mvitals[mntmp].mvflags & G_GENOD)) { ~~~~~~~^~~~~~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o potion.o potion.c potion.c: In function 'upgrade_obj': potion.c:2517:32: warning: passing argument 2 of 'artifact_name' from incompatible pointer type [-Wincompatible-pointer-types] if (artifact_name(ONAME(obj), &otyp2) && otyp2 == obj->otyp) { ^ In file included from ../include/config.h:323:0, from ../include/hack.h:9, from potion.c:5: ../include/extern.h:62:21: note: expected 'short int *' but argument is of type 'int *' E const char *FDECL(artifact_name, (const char *,short *)); ^ ../include/tradstdc.h:124:21: note: in definition of macro 'FDECL' # define FDECL(f,p) f p ^ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pray.o pray.c pray.c: In function 'lawful_god_gives_angel': pray.c:1211:9: warning: variable 'mon' set but not used [-Wunused-but-set-variable] int mon; ^~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o priest.o priest.c In file included from priest.c:8:0: priest.c: In function 'histemple_at': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:136:20: note: in expansion of macro 'EPRI' return((boolean)((EPRI(priest)->shroom == *in_rooms(x, y, TEMPLE)) && ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:137:20: note: in expansion of macro 'EPRI' on_level(&(EPRI(priest)->shrlevel), &u.uz))); ^~~~ priest.c: In function 'pri_move': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:156:11: note: in expansion of macro 'EPRI' temple = EPRI(priest)->shroom; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:158:7: note: in expansion of macro 'EPRI' gx = EPRI(priest)->shrpos.x; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:159:7: note: in expansion of macro 'EPRI' gy = EPRI(priest)->shrpos.y; ^~~~ priest.c: In function 'priestini': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:203:3: note: in expansion of macro 'EPRI' EPRI(priest)->shroom = (sroom - rooms) + ROOMOFFSET; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:204:3: note: in expansion of macro 'EPRI' EPRI(priest)->shralign = Amask2align(levl[sx][sy].altarmask); ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:205:3: note: in expansion of macro 'EPRI' EPRI(priest)->shrpos.x = sx; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:206:3: note: in expansion of macro 'EPRI' EPRI(priest)->shrpos.y = sy; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:207:18: note: in expansion of macro 'EPRI' assign_level(&(EPRI(priest)->shrlevel), lvl); ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:215:17: note: in expansion of macro 'EPRI' if(sanctum && EPRI(priest)->shralign == A_NONE && ^~~~ priest.c: In function 'priestname': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:277:26: note: in expansion of macro 'EPRI' if (!mon->ispriest && EPRI(mon)->renegade) ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:289:33: note: in expansion of macro 'EPRI' Strcat(pname, halu_gname((int)EPRI(mon)->shralign)); ^~~~ In file included from priest.c:9:0: ../include/emin.h:12:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) ^ priest.c:295:27: note: in expansion of macro 'EMIN' Strcat(pname, halu_gname(EMIN(mon)->min_align)); ^~~~ In file included from priest.c:8:0: priest.c: In function 'p_coaligned': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:303:42: note: in expansion of macro 'EPRI' return((boolean)(u.ualign.type == ((int)EPRI(priest)->shralign))); ^~~~ priest.c: In function 'has_shrine': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:314:14: note: in expansion of macro 'EPRI' lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y]; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:314:35: note: in expansion of macro 'EPRI' lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y]; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:317:19: note: in expansion of macro 'EPRI' return((boolean)(EPRI(pri)->shralign == Amask2align(lev->altarmask & ~AM_SHRINE))); ^~~~ priest.c: In function 'findpriest': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:328:28: note: in expansion of macro 'EPRI' if(mtmp->ispriest && (EPRI(mtmp)->shroom == roomno) && ^~~~ priest.c: In function 'mk_roamer': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:564:2: note: in expansion of macro 'EPRI' EPRI(roamer)->shralign = alignment; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:566:3: note: in expansion of macro 'EPRI' EPRI(roamer)->renegade = TRUE; ^~~~ priest.c: In function 'reset_hostility': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:586:5: note: in expansion of macro 'EPRI' if(EPRI(roamer)->shralign != u.ualign.type) { ^~~~ priest.c: In function 'ghod_hitsu': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:631:11: note: in expansion of macro 'EPRI' ax = x = EPRI(priest)->shrpos.x; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:632:11: note: in expansion of macro 'EPRI' ay = y = EPRI(priest)->shrpos.y; ^~~~ priest.c:648:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] stpx == sgn(tbx) && stpy == sgn(tby)) { ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ priest.c:663:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if (x2 > troom->hx || x1 <= troom->hx && !rn2(2)) { ~~~~~~~~~~~~~~~~^~~~~~~~~~ priest.c:683:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if (x2 < troom->lx || x1 >= troom->lx && !rn2(2)) { ~~~~~~~~~~~~~~~~^~~~~~~~~~ priest.c:703:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if (y2 > troom->hy || y1 <= troom->hy && !rn2(2)) { ~~~~~~~~~~~~~~~~^~~~~~~~~~ priest.c:723:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if (y2 < troom->ly || y1 >= troom->ly && !rn2(2)) { ~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from priest.c:8:0: priest.c: In function 'angry_priest': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:798:18: note: in expansion of macro 'EPRI' lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y]; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:798:42: note: in expansion of macro 'EPRI' lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y]; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:801:4: note: in expansion of macro 'EPRI' EPRI(priest)->shralign)) { ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:805:3: note: in expansion of macro 'EPRI' EPRI(priest)->renegade = 0; ^~~~ priest.c: In function 'clearpriests': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:821:58: note: in expansion of macro 'EPRI' if (!DEADMONSTER(mtmp) && mtmp->ispriest && !on_level(&(EPRI(mtmp)->shrlevel), &u.uz)) ^~~~ priest.c: In function 'restpriest': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ priest.c:834:21: note: in expansion of macro 'EPRI' assign_level(&(EPRI(mtmp)->shrlevel), &u.uz); ^~~~ 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 -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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o read.o read.c read.c: In function 'seffects': read.c:1215:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (mtmp) ^ read.c:1313:20: warning: suggest parentheses around operand of '!' or change '|' to '||' or '!' to '~' [-Wparentheses] else do_genocide(!sobj->cursed | (2 * !!Confusion)); ^~~~~~~~~~~~~ read.c:1233:5: warning: 'mtmp' may be used uninitialized in this function [-Wmaybe-uninitialized] You("try to command %s", mon_nam(mtmp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o region.o region.c region.c: In function 'expire_gas_cloud': region.c:887:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] damage = (int) reg->arg; ^ region.c:892:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] reg->arg = (genericptr_t) damage; ^ region.c: In function 'inside_gas_cloud': region.c:941:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] dam = (int) reg->arg; ^ region.c: In function 'create_gas_cloud': region.c:1028:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cloud->arg = (genericptr_t) damage; ^ 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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rip.o rip.c In file included from ../include/config.h:323:0, from ../include/hack.h:9, from rip.c:5: rip.c:7:23: warning: 'center' declared 'static' but never defined [-Wunused-function] STATIC_DCL void FDECL(center, (int, char *)); ^ ../include/tradstdc.h:124:21: note: in definition of macro 'FDECL' # define FDECL(f,p) f p ^ 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 -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 -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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o save.o save.c save.c: In function 'savestateinlock': save.c:425:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] (void) read(fd, (genericptr_t) &hpid, sizeof(hpid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:443:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) &hackpid, sizeof(hackpid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:447:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) &currlev, sizeof(currlev)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o shk.o shk.c shk.c: In function 'repair_damage': shk.c:3636:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while (!(litter[i = rn2(9)] & INSHOP)); ^~~~~ shk.c:3637:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' remove_object(otmp); ^~~~~~~~~~~~~ shk.c: In function 'shk_identify': shk.c:4671:27: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if (ESHK(shkp)->services & (SHK_ID_BASIC|SHK_ID_PREMIUM) == ^ shk.c:4671:27: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] if (ESHK(shkp)->services & (SHK_ID_BASIC|SHK_ID_PREMIUM) == shk.c: In function 'shk_other_services': shk.c:5296:5: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] if (type == 'b') ^ shk.c:5255:7: note: 'type' was declared here char type; /* Basic/premier service */ ^~~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o shknam.o shknam.c shknam.c: In function 'stock_blkmar': shknam.c:643:9: warning: variable 'blkmar_gen' set but not used [-Wunused-but-set-variable] int blkmar_gen[NUM_OBJECTS+2]; ^~~~~~~~~~ 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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sounds.o sounds.c sounds.c: In function 'domonnoise': sounds.c:898:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (uwep && (uwep->oclass == WEAPON_CLASS || is_weptool(uwep)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sounds.c:605:28: warning: array subscript is outside array bounds [-Warray-bounds] verbl_msg = vampmsg[vampindex]; ~~~~~~~^~~~~~~~~~~ sounds.c: In function 'pet_distress': sounds.c:357:8: warning: 'verb' may be used uninitialized in this function [-Wmaybe-uninitialized] if (verb) { ^ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sp_lev.o sp_lev.c sp_lev.c: In function 'create_monster': sp_lev.c:892:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!pm || !is_swimmer(pm) && !likes_lava(pm)) 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 -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 -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 -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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o timeout.o timeout.c timeout.c: In function 'attach_bomb_blow_timeout': timeout.c:651:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (yours && (!carried(bomb) && costly_spot(bomb->ox, bomb->oy) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !bomb->no_charge || bomb->unpaid)) { ~~~~~~~~~~~~~~~~ timeout.c: In function 'write_timer': timeout.c:2215:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] timer->arg = (genericptr_t)((struct obj *)timer->arg)->o_id; ^ timeout.c:2229:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] timer->arg = (genericptr_t)((struct monst *)timer->arg)->m_id; ^ timeout.c: In function 'relink_timers': timeout.c:2459:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (!lookup_id_mapping((unsigned)curr->arg, &nid)) ^ timeout.c:2462:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nid = (unsigned) curr->arg; ^ timeout.c:2472:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (!lookup_id_mapping((unsigned)curr->arg, &nid)) ^ timeout.c:2475:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nid = (unsigned) curr->arg; ^ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o topten.o topten.c topten.c: In function 'readentry': topten.c:223:20: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=] sscanf(dp2, "%d", &tt->conduct); ~^ ~~~~~~~~~~~~ %ld topten.c: In function 'writeentry': topten.c:263:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] Sprintf(cp, " Conduct=%d", tt->conduct); ~^ ~~~~~~~~~~~ %ld 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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o trap.o trap.c trap.c: In function 'uunstone': trap.c:2341:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ trap.c:2345:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return (1); ^~~~~~ In file included from ../include/decl.h:265:0, from ../include/hack.h:92, from trap.c:5: trap.c: In function 'fire_damage': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) trap.c:2730:6: note: in expansion of macro 'Is_container' if (Is_container(obj)) { ^~~~~~~~~~~~ trap.c: In function 'water_damage': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) trap.c:2825:13: note: in expansion of macro 'Is_container' } else if(Is_container(obj) && !Is_box(obj) && ^~~~~~~~~~~~ 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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o uhitm.o uhitm.c uhitm.c: In function 'known_hitum': uhitm.c:500:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (flags.verbose) ^ uhitm.c: In function 'hmon_hitmon': uhitm.c:740:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] objenchant = !thrown && no_obj || obj->spe < 0 ? 0 : obj->spe; ~~~~~~~~^~~~~~~~~ uhitm.c:933:39: warning: comparison of constant '3' with boolean expression is always false [-Wbool-compare] obj->otyp == BOOMERANG && !rnl(4) == 4-1) { ^~ uhitm.c:933:39: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] uhitm.c:933:31: note: add parentheses around left hand side expression to silence this warning obj->otyp == BOOMERANG && !rnl(4) == 4-1) { ^~~~~~~ ( ) uhitm.c: In function 'damageum': uhitm.c:1895:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Blind) ^~ uhitm.c:1897:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' xkilled(mdef,3); ^~~~~~~ uhitm.c: In function 'hmonas': uhitm.c:2734:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((uwep || u.twoweap && uswapwep) && ~~~~~~~~~~^~~~~~~~~~~ uhitm.c:2735:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (mhit == HIT_UWEP && !uwep || ~~~~~~~~~~~~~~~~~^~~~~~~~ uhitm.c:2779:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] barehanded_hit = (dhit & HIT_UWEP) && !uwep || ~~~~~~~~~~~~~~~~~~^~~~~~~~ uhitm.c:2815:4: warning: "/*" within comment [-Wcomment] /* succubi/incubi are humanoid, but their _second_ uhitm.c:2825:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((uwep || u.twoweap && uswapwep) && ~~~~~~~~~~^~~~~~~~~~~ uhitm.c:2835:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((uwep || u.twoweap && uswapwep) && ~~~~~~~~~~^~~~~~~~~~~ uhitm.c: In function 'passive': uhitm.c:3071:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] mhit & HIT_UWEP && !uwep || ~~~~~~~~~~~~~~~~^~~~~~~~ uhitm.c:3072:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] mhit & HIT_USWAPWEP && !uswapwep; ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o vault.o vault.c In file included from vault.c:6:0: vault.c: In function 'clear_fcorr': ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:29:18: note: in expansion of macro 'EGD' if (!on_level(&(EGD(grd)->gdlevel), &u.uz)) return TRUE; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:31:17: note: in expansion of macro 'EGD' while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) { ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:31:36: note: in expansion of macro 'EGD' while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) { ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:32:9: note: in expansion of macro 'EGD' fcx = EGD(grd)->fakecorr[fcbeg].fx; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:33:9: note: in expansion of macro 'EGD' fcy = EGD(grd)->fakecorr[fcbeg].fy; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:35:8: note: in expansion of macro 'EGD' EGD(grd)->gddone) ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:50:24: note: in expansion of macro 'EGD' levl[fcx][fcy].typ = EGD(grd)->fakecorr[fcbeg].ftyp; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:53:3: note: in expansion of macro 'EGD' EGD(grd)->fcbeg++; ^~~ vault.c: In function 'grddead': ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:81:3: note: in expansion of macro 'EGD' EGD(grd)->ogx = grd->mx; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:82:3: note: in expansion of macro 'EGD' EGD(grd)->ogy = grd->my; ^~~ vault.c: In function 'in_fcorridor': ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:95:12: note: in expansion of macro 'EGD' for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++) ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:95:35: note: in expansion of macro 'EGD' for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++) ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:96:11: note: in expansion of macro 'EGD' if(x == EGD(grd)->fakecorr[fci].fx && ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:97:10: note: in expansion of macro 'EGD' y == EGD(grd)->fakecorr[fci].fy) ^~~ vault.c: In function 'findgd': ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:109:56: note: in expansion of macro 'EGD' if(mtmp->isgd && !DEADMONSTER(mtmp) && on_level(&(EGD(mtmp)->gdlevel), &u.uz)) ^~~ vault.c: In function 'invault': ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:230:2: note: in expansion of macro 'EGD' EGD(guard)->gddone = 0; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:231:2: note: in expansion of macro 'EGD' EGD(guard)->ogx = x; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:232:2: note: in expansion of macro 'EGD' EGD(guard)->ogy = y; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:233:17: note: in expansion of macro 'EGD' assign_level(&(EGD(guard)->gdlevel), &u.uz); ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:234:2: note: in expansion of macro 'EGD' EGD(guard)->vroom = vaultroom; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:235:2: note: in expansion of macro 'EGD' EGD(guard)->warncnt = 0; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:316:2: note: in expansion of macro 'EGD' EGD(guard)->gdx = gx; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:317:2: note: in expansion of macro 'EGD' EGD(guard)->gdy = gy; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:318:2: note: in expansion of macro 'EGD' EGD(guard)->fcbeg = 0; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:319:2: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].fx = x; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:320:2: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].fy = y; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:322:6: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = levl[x][y].typ; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:324:16: note: in expansion of macro 'EGD' int vlt = EGD(guard)->vroom; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:329:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = TLCORNER; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:331:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = TRCORNER; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:333:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = BLCORNER; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:335:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = BRCORNER; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:337:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = HWALL; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:339:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = VWALL; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:344:2: note: in expansion of macro 'EGD' EGD(guard)->fcend = 1; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:345:2: note: in expansion of macro 'EGD' EGD(guard)->warncnt = 1; ^~~ vault.c: In function 'wallify_vault': ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:373:12: note: in expansion of macro 'EGD' int vlt = EGD(grd)->vroom; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:394:20: note: in expansion of macro 'EGD' move_gold(gold, EGD(grd)->vroom); ^~~ vault.c: In function 'paygd': ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:778:17: note: in expansion of macro 'EGD' gx = rooms[EGD(grd)->vroom].lx + rn2(2); ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ vault.c:779:17: note: in expansion of macro 'EGD' gy = rooms[EGD(grd)->vroom].ly + rn2(2); ^~~ make[2]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/slashem/util' ./makedefs -z close: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 _far_: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o vision.o vision.c vision.c: In function 'vision_recalc': vision.c:600:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (row < 0) continue; if (row >= ROWNO) break; ^~ vision.c:600:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (row < 0) continue; if (row >= ROWNO) break; ^~ vision.c:621:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (row < 0) continue; if (row >= ROWNO) break; ^~ vision.c:621:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (row < 0) continue; if (row >= ROWNO) break; ^~ vision.c:659:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (row < 0) continue; if (row >= ROWNO) break; ^~ vision.c:659:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (row < 0) continue; if (row >= ROWNO) break; ^~ vision.c: In function 'close_shadow': vision.c:1596:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((sdy = (start_row-block_row)) < 0) sdy = -sdy; --sdy; /* src dy */ ^~ vision.c:1596:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((sdy = (start_row-block_row)) < 0) sdy = -sdy; --sdy; /* src dy */ ^~ vision.c: In function 'far_shadow': vision.c:1632:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((sdx = (start_col-block_col)) < 0) sdx = -sdx; --sdx; /* src dx */ ^~ vision.c:1632:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((sdx = (start_col-block_col)) < 0) sdx = -sdx; --sdx; /* src dx */ ^~ vision.c:1633:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((pdy = (block_row-this_row)) < 0) pdy = -pdy; --pdy; /* point dy */ ^~ vision.c:1633:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((pdy = (block_row-this_row)) < 0) pdy = -pdy; --pdy; /* point dy */ ^~ vision.c: In function 'right_side': vision.c:1099:24: warning: 'row_max' may be used uninitialized in this function [-Wmaybe-uninitialized] #define set_max(z) if (*row_max < (z)) *row_max = (z) ^ vision.c:1669:11: note: 'row_max' was declared here char *row_max; /* right most */ ^~~~~~~ vision.c:1098:49: warning: 'row_min' may be used uninitialized in this function [-Wmaybe-uninitialized] #define set_min(z) if (*row_min > (z)) *row_min = (z) ^ vision.c:1668:11: note: 'row_min' was declared here char *row_min; /* left most */ ^~~~~~~ vision.c:1096:31: warning: 'rowp' may be used uninitialized in this function [-Wmaybe-uninitialized] #define set_cs(rowp,col) (rowp[col] = COULD_SEE) ^ vision.c:1663:20: note: 'rowp' was declared here register char *rowp; ^~~~ vision.c: In function 'left_side': vision.c:1099:49: warning: 'row_max' may be used uninitialized in this function [-Wmaybe-uninitialized] #define set_max(z) if (*row_max < (z)) *row_max = (z) ^ vision.c:1928:11: note: 'row_max' was declared here char *row_max; /* right most */ ^~~~~~~ vision.c:1098:24: warning: 'row_min' may be used uninitialized in this function [-Wmaybe-uninitialized] #define set_min(z) if (*row_min > (z)) *row_min = (z) ^ vision.c:1927:11: note: 'row_min' was declared here char *row_min; /* left most */ ^~~~~~~ vision.c:1096:31: warning: 'rowp' may be used uninitialized in this function [-Wmaybe-uninitialized] #define set_cs(rowp,col) (rowp[col] = COULD_SEE) ^ vision.c:1922:20: note: 'rowp' was declared here register char *rowp; ^~~~ 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 -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 -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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o wield.o wield.c In file included from ../include/youprop.h:10:0, from ../include/hack.h:90, from wield.c:5: wield.c: In function 'can_twoweapon': ../include/mondata.h:126:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] P_MAX_SKILL(P_TWO_WEAPON_COMBAT) >= P_BASIC && \ wield.c:507:7: note: in expansion of macro 'could_twoweap' if (!could_twoweap(youmonst.data) && (uwep || uswapwep)) { ^~~~~~~~~~~~~ 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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o wizard.o wizard.c In file included from wizard.c:12:0: wizard.c: In function 'cuss': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ../include/mondata.h:37:7: note: in expansion of macro 'EPRI' EPRI(mon)->shralign > 0)) ^~~~ wizard.c:627:12: note: in expansion of macro 'is_lminion' } else if(is_lminion(mtmp)) { ^~~~~~~~~~ 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 -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 -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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o zap.o zap.c zap.c: In function 'poly_obj': zap.c:1395:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!otmp) ^ In file included from ../include/decl.h:265:0, from ../include/hack.h:92, from zap.c:5: zap.c: In function 'bhito': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) zap.c:1815:7: note: in expansion of macro 'Is_container' if (Is_container(obj) || obj->otyp == STATUE) { ^~~~~~~~~~~~ zap.c: In function 'bhit': zap.c:3254:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (genericptr_t) lits); ^ zap.c:3349:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] LS_TEMP, (genericptr_t) lits); ^ zap.c:3400:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] del_light_source(LS_TEMP, (genericptr_t) lits); ^ zap.c: In function 'buzz': zap.c:3956:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] new_light_source(sx, sy, 1, LS_TEMP, (genericptr_t) lits); ^ zap.c:3990:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] del_light_source(LS_TEMP, (genericptr_t) lits); ^ zap.c:4233:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] del_light_source(LS_TEMP, (genericptr_t) lits); ^ zap.c: In function 'weffects': zap.c:2273:6: warning: 'expl_type' may be used uninitialized in this function [-Wmaybe-uninitialized] explode(u.dx, u.dy, type, u.ulevel/4 + 1 + skilldmg, 0, expl_type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:2216:6: note: 'expl_type' was declared here int expl_type; ^~~~~~~~~ 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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o tech.o tech.c tech.c: In function 'aborttech': tech.c:240:1: warning: type of 'tech' defaults to 'int' [-Wimplicit-int] aborttech(tech) ^~~~~~~~~ tech.c: In function 'techeffects': tech.c:852:18: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Blind) ^~ tech.c:856:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' uncurse(obj); ^~~~~~~ tech.c:1251:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || obj->oinvis && !See_invisible tech.c: In function 'doblitzlist': tech.c:1975:9: warning: variable 'n' set but not used [-Wunused-but-set-variable] int i, n; ^ tech.c: In function 'techeffects': tech.c:1362:6: warning: 'mtmp' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!mtmp || !canseemon(mtmp)) { ^ 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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/unix/unixmain.c ../sys/unix/unixmain.c: In function 'whoami': ../sys/unix/unixmain.c:501:17: warning: unused variable 's' [-Wunused-variable] register char *s; ^ ../sys/unix/unixmain.c: In function 'chdirx': ../sys/unix/unixmain.c:442:6: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~~~~~~~~ ../sys/unix/unixmain.c:443:6: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); /* Ron Wessels */ ^~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/unix/unixunix.c ../sys/unix/unixunix.c: In function 'child': ../sys/unix/unixunix.c:332:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~~~~~~~~ ../sys/unix/unixunix.c:333:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^~~~~~~~~~~~~~~~~~~~~~~ ../sys/unix/unixunix.c:335:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir(getenv("HOME")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/unix/unixres.c ../sys/unix/unixres.c:17:0: warning: "_GNU_SOURCE" redefined #define _GNU_SOURCE :0:0: note: this is the location of the previous definition ../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_mou.c compiling vultures_gen.c compiling vultures_main.c compiling vultures_pcmusic.c compiling vultures_win_event.c compiling vultures_gfl.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 vultures_tileconfig.c: In function 'init_objnames': vultures_tileconfig.c:644:21: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ vultures_tileconfig.c:645:92: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' snprintf(tilenames[TT_OBJECT][i], 40, "%s", obj_descr[i].oc_name); break; ^~~~~ vultures_tileconfig.c:663:21: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ vultures_tileconfig.c:664:79: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' snprintf(tilenames[TT_OBJECT][i], 40, "%s", nameptr); break; ^~~~~ compiling vultures_init.c compiling vultures_win.c In file included from vultures_win.c:18:0: vultures_win.c: In function 'vultures_draw_objitem': vultures_tile.h:22:42: warning: 'tile_y' may be used uninitialized in this function [-Wmaybe-uninitialized] #define vultures_put_tile(x, y, tile_id) vultures_put_tile_shaded(x, y, tile_id, 0) ^~~~~~~~~~~~~~~~~~~~~~~~ vultures_win.c:1481:17: note: 'tile_y' was declared here int tile_x, tile_y; ^~~~~~ In file included from vultures_win.c:18:0: vultures_tile.h:22:42: warning: 'tile_x' may be used uninitialized in this function [-Wmaybe-uninitialized] #define vultures_put_tile(x, y, tile_id) vultures_put_tile_shaded(x, y, tile_id, 0) ^~~~~~~~~~~~~~~~~~~~~~~~ vultures_win.c:1481:9: note: 'tile_x' was declared here int tile_x, tile_y; ^~~~~~ generating parser compiling build_s/vultures_tileconfig.parser.c generating lexer compiling build_s/vultures_tileconfig.lexer.c build_s/vultures_tileconfig.lexer.c:1217:16: warning: 'input' defined but not used [-Wunused-function] static int input (void) ^~~~~ build_s/vultures_tileconfig.lexer.c:1174:17: warning: 'yyunput' defined but not used [-Wunused-function] static void yyunput (int c, char * yy_bp ) ^~~~~~~ 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 -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 -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 -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 -C slashem/util recover dlb dgn_comp lev_comp 'YACC=bison -y' 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 -I../include -I../win/vultures -DVULTURESCLAW -c -o recover.o recover.c recover.c: In function 'main': recover.c:114:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~~~~~~~~ recover.c:115:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^~~~~~~~~~~~~~~~~~~~~~~ recover.c: In function 'restore_savefile': recover.c:308:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sfd, (genericptr_t) &levc, sizeof(levc)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -I../include -I../win/vultures -DVULTURESCLAW -c -o dgn_yacc.o dgn_yacc.c dgn_comp.y: In function 'check_branch': dgn_comp.y:622:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ 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 -I../include -I../win/vultures -DVULTURESCLAW dgn_lex.c lex.yy.c:1514:16: warning: 'input' defined but not used [-Wunused-function] lex.yy.c:1471:17: warning: 'yyunput' defined but not used [-Wunused-function] 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 -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 -I../include -I../win/vultures -DVULTURESCLAW -c -o lev_yacc.o lev_yacc.c lev_comp.y: In function 'yyparse': lev_comp.y:600:24: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] tmprdoor[ndoor] = (struct room_door *)0; ^ 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 -I../include -I../win/vultures -DVULTURESCLAW lev_lex.c lex.yy.c:2262:16: warning: 'input' defined but not used [-Wunused-function] lex.yy.c:2219:17: warning: 'yyunput' defined but not used [-Wunused-function] 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 -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 -C slashem/dat spec_levs quest_levs 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 ../util/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' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Au3Okt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64 + cd vultures-2.1.2 + rm -rf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64 + make -C nethack install CHGRP=: CHOWN=: GAMEDIR=/builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye VARDIR=/builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vultureseye SHELLDIR=/builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/bin 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' finished building the files for the vultures interface make[2]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/vultures' 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-19.fc28.riscv64/usr/bin rm -rf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vultureseye mkdir -p /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vultureseye/save rmdir ./-p 2>/dev/null || true : games /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vultureseye/save : bin /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vultureseye/save chmod 0755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.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' make[4]: Entering directory '/builddir/build/BUILD/vultures-2.1.2/vultures' finished building the files for the vultures interface make[4]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/vultures' 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-19.fc28.riscv64/usr/games/vultureseye ) ( cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.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-19.fc28.riscv64/usr/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/config /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/graphics /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/sound /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/music /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/fonts /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/manual /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/manual/img /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/tiles rmdir ./-p 2>/dev/null || true : games /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/config /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/graphics /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/sound /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/music /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/fonts /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/manual : bin /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/config /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/graphics /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/sound /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/music /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/fonts /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/manual /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/manual/img /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/tiles chmod 0755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/config /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/graphics /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/sound /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/music /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/fonts /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/manual /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/manual/img /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.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-19.fc28.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-19.fc28.riscv64/usr/games/vultureseye/config ; \ cd ../tiles; cp *.png /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/tiles ; \ cd ../graphics; cp *.png /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/graphics ; \ cd ../manual; cp *.html *.css /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/manual ; \ cd img; cp *.jpg *.png /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/manual/img ; cd .. ; \ cd ../fonts; cp *.ttf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/fonts ) (rm -f /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/se_*) (rm -f /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/graphics/se_*) ( cd win/vultures/gamedata/sound; cp *.ogg /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/sound ) ( cd win/vultures/gamedata/music; cp *.ogg *.xm /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/music ) ( cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.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-19.fc28.riscv64/usr/games/vultureseye/config ; : games vultures_intro.txt vultures.conf vultures_sounds.conf vultures_tiles.conf ; \ : bin vultures_intro.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-19.fc28.riscv64/usr/games/vultureseye/tiles ; : games *.png ; \ : bin *.png ; \ chmod 0644 *.png ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/graphics ; : games *.png ; \ : bin *.png ; \ chmod 0644 *.png ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/sound ; : games *.ogg ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/music ; : games *.ogg *.xm ; \ : bin *.ogg ; \ chmod 0644 *.ogg ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/fonts ; : games *.ttf; \ : bin *.ttf ; \ chmod 0644 *.ttf ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/manual ; : games *.html *.css ; \ : bin *.html *.css ; \ chmod 0644 *.html *.css ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.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-19.fc28.riscv64/usr/games/vultureseye/nh_icon.ico /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/vultureseye.ico mv /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/nh_icon.png /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.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-19.fc28.riscv64/usr/games/vultureseye cp util/recover /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye rm -f /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/bin/vultureseye sed -e 's;/usr/games/lib/nethackdir;/builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye;' \ -e 's;HACKDIR/nethack;HACKDIR/vultureseye;' \ < sys/unix/nethack.sh \ > /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/bin/vultureseye ( cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye ; : games vultureseye recover ; \ : bin vultureseye recover ) chmod 04755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/vultureseye chmod 0755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/recover : games /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/bin/vultureseye : bin /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/bin/vultureseye chmod 0755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.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-19.fc28.riscv64/var/games/vultureseye/perm /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vultureseye/record /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vultureseye/logfile ( cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.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 -C slashem install CHGRP=: CHOWN=: GAMEDIR=/builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw VARDIR=/builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw SHELLDIR=/builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/bin 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' 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 warning: file `Guidebook.mn', around line 247: table wider than line width Guidebook.mn:1917: warning [p 38, 6.0i]: cannot adjust line Guidebook.mn:1917: warning [p 38, 6.2i]: can't break line Guidebook.mn:2069: warning [p 42, 1.3i]: cannot adjust line warning: file `Guidebook.mn', around line 2943: table wider than line width make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/doc' mkdir -p /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/bin rm -rf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw/save rm -rf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw rm -rf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw mkdir -p /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw/save mkdir -p /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw mkdir -p /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw rmdir ./-p 2>/dev/null || true : games /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw/save /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw : bin /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw/save /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw chmod 0755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw/save /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw : games /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw : bin /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw chmod 0755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.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-19.fc28.riscv64/usr/games/vulturesclaw ) ( cd dat ; cp nhushare /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw ) ( cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw ; \ : games nhshare ; \ : bin nhshare ; \ chmod 0644 nhshare ) ( cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.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-19.fc28.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/config /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/graphics /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/sound /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/music /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/fonts /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/manual /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/manual/img /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/tiles mkdir -p /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/config /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/graphics /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/sound /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/music /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/fonts /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/manual /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/manual/img /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/tiles mkdir -p /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/config /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/graphics /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/sound /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/music /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/fonts /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/manual /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/manual/img /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/tiles rmdir ./-p 2>/dev/null || true : games /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/config /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/graphics /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/sound /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/music /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/fonts /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/manual /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/manual/img /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/tiles : bin /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/config /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/graphics /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/sound /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/music /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/fonts /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/manual /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/manual/img /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/tiles chmod 0755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/config /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/graphics /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/sound /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/music /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/fonts /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/manual /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/manual/img /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.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-19.fc28.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-19.fc28.riscv64/usr/games/vulturesclaw/config ; \ cd ../tiles; cp *.png /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/tiles ; \ cd ../graphics; cp *.png /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/graphics ; \ cd ../manual; cp *.html *.css /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/manual ; \ cd img; cp *.jpg *.png /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/manual/img ; cd .. ; \ cd ../fonts; cp *.ttf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/fonts ) (rm -f /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/nh_*) (rm -f /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/graphics/nh_*) ( cd win/vultures/gamedata/sound; cp *.ogg /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/sound ) ( cd win/vultures/gamedata/music; cp *.ogg *.xm /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/music ) ( cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.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-19.fc28.riscv64/usr/games/vulturesclaw/config ; : games vultures_intro.txt vultures.conf vultures_sounds.conf vultures_tiles.conf ; \ : bin vultures_intro.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-19.fc28.riscv64/usr/games/vulturesclaw/tiles ; : games *.png ; \ : bin *.png ; \ chmod 0644 *.png ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/graphics ; : games *.png ; \ : bin *.png ; \ chmod 0644 *.png ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/sound ; : games *.ogg ; \ : bin *.ogg ; \ chmod 0644 *.ogg ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/music ; : games *.ogg *.xm ; \ : bin *.ogg *.xm ; \ chmod 0644 *.ogg *.xm ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/fonts ; : games *.ttf ; \ : bin *.ttf ; \ chmod 0644 *.ttf ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/manual ; : games *.html *.css ; \ : bin *.html *.css ; \ chmod 0644 *.html *.css ; \ cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.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-19.fc28.riscv64/usr/games/vulturesclaw/se_icon.ico /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/vulturesclaw.ico mv /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/se_icon.png /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.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-19.fc28.riscv64/usr/games/vulturesclaw cp util/recover /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw cp dat/license doc/Guidebook.txt /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw rm -f /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/bin/vulturesclaw sed -e 's;/usr/games/lib/nethackdir;/builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw;' \ -e 's;HACKDIR/nethack;HACKDIR/vulturesclaw;' \ < sys/unix/nethack.sh \ > /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/bin/vulturesclaw ( cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw ; : games vulturesclaw recover ; \ : bin vulturesclaw recover ) chmod 04755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/vulturesclaw chmod 0755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/recover ( cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.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-19.fc28.riscv64/usr/bin/vulturesclaw : bin /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/bin/vulturesclaw chmod 0755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.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-19.fc28.riscv64/var/games/vulturesclaw/perm /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw/record /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/games/vulturesclaw/logfile ( cd /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.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' + install -dm 755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/share/man/man6 + install -pm 644 nethack/doc/nethack.6 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/share/man/man6/vultureseye.6 + install -pm 644 nethack/doc/recover.6 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/share/man/man6/vultureseye-recover.6 + install -pm 644 slashem/doc/nethack.6 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/share/man/man6/vulturesclaw.6 + install -pm 644 slashem/doc/recover.6 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/share/man/man6/vulturesclaw-recover.6 + install -dm 755 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/share/icons/hicolor/48x48/apps + for i in vultureseye vulturesclaw + desktop-file-install --dir=/builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/share/applications --mode=644 --add-category=RolePlaying --remove-category=Application --remove-category=3DGame --remove-category=PuzzleGame dist/unix/desktop/vultureseye.desktop /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/share/applications/vultureseye.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 + mv /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/vultureseye.png /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/share/icons/hicolor/48x48/apps/vultureseye.png + mv /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/recover /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/bin/vultureseye-recover + for i in vultureseye vulturesclaw + desktop-file-install --dir=/builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/share/applications --mode=644 --add-category=RolePlaying --remove-category=Application --remove-category=3DGame --remove-category=PuzzleGame dist/unix/desktop/vulturesclaw.desktop /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.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 + mv /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/vulturesclaw.png /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/share/icons/hicolor/48x48/apps/vulturesclaw.png + mv /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/recover /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/bin/vulturesclaw-recover + ln -sf /usr/share/fonts/bitstream-vera/VeraSe.ttf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/fonts + ln -sf /usr/share/fonts/bitstream-vera/VeraSe.ttf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/fonts + rm -r /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/manual /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/manual + /usr/sbin/hardlink -cv /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye Directories 14 Objects 3792 IFREG 3776 Comparisons 1991 Linked 1990 saved 29257728 + chmod -s /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/vulturesclaw /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/vulturesclaw.ico /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/vultureseye.ico + sed -i -e 's|/builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64||' /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/bin/vultureseye /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/bin/vulturesclaw + rm /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vulturesclaw/vulturesclaw.ico /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/games/vultureseye/vultureseye.ico + install -Dpm 644 /builddir/build/SOURCES/nethack-vultures.logrotate /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/etc/logrotate.d/nethack-vultures + install -dm 775 /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/var/log/vultures/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: nethack-vultures-2.1.2-19.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qSBtsc + umask 022 + cd /builddir/build/BUILD + cd vultures-2.1.2 + DOCDIR=/builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.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-19.fc28.riscv64/usr/share/doc/nethack-vultures + cp -pr nethack/README /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/share/doc/nethack-vultures + cp -pr nethack/dat/license /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/share/doc/nethack-vultures + cp -pr nethack/dat/history /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.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-19.fc28.riscv64/usr/share/doc/nethack-vultures + cp -pr slashem/readme.txt /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/share/doc/nethack-vultures + cp -pr slashem/history.txt /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/share/doc/nethack-vultures + cp -pr slashem/slamfaq.txt /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/share/doc/nethack-vultures + cp -pr vultures/gamedata/manual/ /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64/usr/share/doc/nethack-vultures + exit 0 Provides: application() application(vulturesclaw.desktop) application(vultureseye.desktop) config(nethack-vultures) = 2.1.2-19.fc28 nethack-vultures = 2.1.2-19.fc28 nethack-vultures(riscv-64) = 2.1.2-19.fc28 Requires(interp): /bin/sh /bin/sh /bin/sh /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(post): /bin/sh Requires(postun): /bin/sh Requires(posttrans): /bin/sh Requires: /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 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64 Wrote: /builddir/build/SRPMS/nethack-vultures-2.1.2-19.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/nethack-vultures-2.1.2-19.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.EHOemN + umask 022 + cd /builddir/build/BUILD + cd vultures-2.1.2 + rm -rf /builddir/build/BUILDROOT/nethack-vultures-2.1.2-19.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff