Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/nethack-vultures.spec'], chrootPath='/var/lib/mock/f40-build-50733648-6067539/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.erckf1ig:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.erckf1ig:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f9996ee709544aabadb71a3357fbde2b', '-D', '/var/lib/mock/f40-build-50733648-6067539/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.erckf1ig:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/nethack-vultures.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (10 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1689811200 Wrote: /builddir/build/SRPMS/nethack-vultures-2.1.2-36.fc40.src.rpm RPM build warnings: %patchN is deprecated (10 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/nethack-vultures.spec'], chrootPath='/var/lib/mock/f40-build-50733648-6067539/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.erckf1ig:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.erckf1ig:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0e00820d6d5f47bd84aea3aa05527f80', '-D', '/var/lib/mock/f40-build-50733648-6067539/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.erckf1ig:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/nethack-vultures.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (10 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Sj5yQc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf vultures-2.1.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/vultures-2.1.2-full.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd vultures-2.1.2 + rm -rf /builddir/build/BUILD/vultures-2.1.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/vultures-2.1.2-SPECPARTS + /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 -f -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 Patch #1 (nethack-vultures-2.1.2-config.patch): + echo 'Patch #1 (nethack-vultures-2.1.2-config.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 Patch #2 (nethack-vultures-1.10.1-clawguide.patch): + echo 'Patch #2 (nethack-vultures-1.10.1-clawguide.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=1 patching file slashem/sys/unix/Makefile.doc Patch #3 (nethack-vultures-2.1.2-tabfullscreen.patch): + echo 'Patch #3 (nethack-vultures-2.1.2-tabfullscreen.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file vultures/vultures_sdl.c Patch #4 (nethack-vultures-2.1.2-logging.patch): + echo 'Patch #4 (nethack-vultures-2.1.2-logging.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file vultures/vultures_gen.c Patch #5 (nethack-vultures-libpng.patch): + echo 'Patch #5 (nethack-vultures-libpng.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .libpng --fuzz=0 patching file vultures/vultures_gfl.c Patch #6 (format-fix.patch): + echo 'Patch #6 (format-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 Patch #7 (parser-fix.patch): + echo 'Patch #7 (parser-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .parser-fix --fuzz=0 patching file vultures/vultures_tileconfig.parser.y Patch #8 (make-bison.patch): + echo 'Patch #8 (make-bison.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .make-bison --fuzz=0 patching file vultures/GNUmakefile Patch #9 (nethack-vultures-c99.patch): + echo 'Patch #9 (nethack-vultures-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file slashem/src/tech.c + sed -i -e 's|/usr/games/lib/nethackdir|/usr/games/vultureseye|g' nethack/doc/nethack.6 nethack/doc/recover.6 nethack/include/config.h + sed -i -e 's|/var/lib/games/nethack|/var/games/vultureseye|g' nethack/include/unixconf.h + sed -i -e 's|/usr/games/lib/nethackdir|/usr/games/vulturesclaw|g' slashem/doc/nethack.6 slashem/doc/recover.6 slashem/include/config.h + sed -i -e 's|/var/lib/games/nethack|/var/games/vulturesclaw|' slashem/include/unixconf.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FuzdN6 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd vultures-2.1.2 + for i in nethack slashem + make nethack/Makefile make: git-rev-list: No such file or directory 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 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c monst.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures -DVULTURESEYE -c -o makedefs.o makedefs.c makedefs.c:52:25: warning: ‘SCCS_Id’ defined but not used [-Wunused-const-variable=] 52 | static const char SCCS_Id[] = "@(#)makedefs.c\t3.4\t2002/02/03"; | ^~~~~~~ makedefs.c: In function ‘do_qt_control.constprop.0’: makedefs.c:1471:9: warning: ‘strncpy’ output may be truncated copying 3 bytes from a string of length 255 [-Wstringop-truncation] 1471 | strncpy(&qt_hdr.id[qt_hdr.n_hdr][0], code, LEN_HDR); | ^ gcc -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 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o allmain.o allmain.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o alloc.o alloc.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o apply.o apply.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o artifact.o artifact.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o attrib.o attrib.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ball.o ball.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o bones.o bones.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o botl.o botl.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:21: warning: unused variable ‘enc_stat’ [-Wunused-variable] 1137 | const char *enc_stat[] = { /* copied from botl.c */ | ^~~~~~~~ cmd.c: In function ‘enlightenment’: cmd.c:788:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 238 and 239 [-Wformat-overflow=] 788 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:980, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from cmd.c:5: In function ‘sprintf’, inlined from ‘enlght_line’ at cmd.c:788:2, inlined from ‘enlightenment’ at cmd.c:865:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 19 and 275 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function ‘enlightenment’: cmd.c:788:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 247 and 248 [-Wformat-overflow=] 788 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at cmd.c:788:2, inlined from ‘enlightenment’ at cmd.c:905:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 10 and 266 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function ‘enlightenment’: cmd.c:788:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 247 and 248 [-Wformat-overflow=] 788 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at cmd.c:788:2, inlined from ‘enlightenment’ at cmd.c:914:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 10 and 266 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function ‘show_conduct’: cmd.c:788:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 788 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at cmd.c:788:2, inlined from ‘show_conduct’ at cmd.c:1581:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 266 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function ‘show_conduct’: cmd.c:788:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 788 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at cmd.c:788:2, inlined from ‘show_conduct’ at cmd.c:1593:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 266 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function ‘show_conduct’: cmd.c:788:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 788 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at cmd.c:788:2, inlined from ‘show_conduct’ at cmd.c:1603:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 266 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function ‘show_conduct’: cmd.c:788:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 788 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at cmd.c:788:2, inlined from ‘show_conduct’ at cmd.c:1612:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 266 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function ‘show_conduct’: cmd.c:788:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 788 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at cmd.c:788:2, inlined from ‘show_conduct’ at cmd.c:1622:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 266 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function ‘show_conduct’: cmd.c:788:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] 788 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at cmd.c:788:2, inlined from ‘show_conduct’ at cmd.c:1631:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 11 and 266 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function ‘show_conduct’: cmd.c:788:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size 252 [-Wformat-overflow=] 788 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at cmd.c:788:2, inlined from ‘show_conduct’ at cmd.c:1631:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 261 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dbridge.o dbridge.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o decl.o decl.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o detect.o detect.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dig.o dig.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o display.o display.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dlb.o dlb.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o do.o do.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o do_name.o do_name.c do_name.c: In function ‘do_mname’: do_name.c:283:49: warning: ‘%s’ directive writing up to 255 bytes into a region of size 103 [-Wformat-overflow=] 283 | Sprintf(qbuf, "What do you want to call %s?", buf); | ^~ ~~~ In file included from /usr/include/stdio.h:980, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from do_name.c:5: In function ‘sprintf’, inlined from ‘do_mname’ at do_name.c:283:2: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 27 and 282 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o do_wear.o do_wear.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dog.o dog.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dogmove.o dogmove.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dokick.o dokick.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dothrow.o dothrow.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o drawing.o drawing.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dungeon.o dungeon.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:73: warning: ‘?:’ using integer constants in boolean context, the expression will always evaluate to ‘true’ [-Wint-in-bool-context] 2052 | (((monstermoves - otmp->age) > (int) otmp->blessed ? 50:30) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o end.o end.c end.c: In function ‘done’: end.c:819:25: warning: the comparison will always evaluate as ‘true’ for the address of ‘msgs’ will never be NULL [-Waddress] 819 | if (msgs[i] && strcmp(msgs[i], "") ) | ^~~~ end.c:44:13: note: ‘msgs’ declared here 44 | extern char msgs[][BUFSZ]; | ^~~~ end.c:823:25: warning: the comparison will always evaluate as ‘true’ for the address of ‘msgs’ will never be NULL [-Waddress] 823 | if (msgs[i] && strcmp(msgs[i], "") ) | ^~~~ end.c:44:13: note: ‘msgs’ declared here 44 | extern char msgs[][BUFSZ]; | ^~~~ end.c: At top level: end.c:1190:1: warning: ‘list_vanquished’ defined but not used [-Wunused-function] 1190 | list_vanquished(defquery, ask) | ^~~~~~~~~~~~~~~ end.c: In function ‘dump_init.part.0’: end.c:112:7: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 112 | strncpy(q, plname, strlen(plname) + 1); | ^ end.c:112:26: note: length computed here 112 | strncpy(q, plname, strlen(plname) + 1); | ^~~~~~~~~~~~~~ end.c:117:7: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 117 | strncpy(q, p, strlen(p)); | ^ end.c:117:7: note: length computed here 117 | strncpy(q, p, strlen(p)); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/hack.h:121, from end.c:7: end.c: In function ‘do_vanquished’: ../include/winprocs.h:89:17: warning: ‘klwin’ may be used uninitialized [-Wmaybe-uninitialized] 89 | #define putstr (*windowprocs.win_putstr) end.c:1209:11: note: ‘klwin’ was declared here 1209 | winid klwin; | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 727 | if (flags.verbose) | ^~ engrave.c:729:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 729 | doknown = TRUE; | ^~~~~~~ engrave.c:1099:16: warning: ‘__strncat_chk’ output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 1099 | (void) strncat(buf, ebuf, (BUFSZ - (int)strlen(buf) - 1)); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o exper.o exper.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o explode.o explode.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o extralev.o extralev.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:16: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 831 | (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ files.c: In function ‘docompress_file’: files.c:1156:24: warning: ignoring return value of ‘setgid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1156 | (void) setgid(getgid()); | ^~~~~~~~~~~~~~~~ files.c:1157:24: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1157 | (void) setuid(getuid()); | ^~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o fountain.o fountain.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:11: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 262 | else | ^~~~ hack.c:265:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 265 | if (Blind) feel_location(sx, sy); | ^~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o hacklib.o hacklib.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o invent.o invent.c In file included from ../include/hack.h:121, from invent.c:5: invent.c: In function ‘display_pickinv’: ../include/winprocs.h:92:19: warning: ‘win’ may be used uninitialized [-Wmaybe-uninitialized] 92 | #define add_menu (*windowprocs.win_add_menu) invent.c:1721:15: note: ‘win’ was declared here 1721 | winid win; /* windows being used */ | ^~~ invent.c:1871:16: warning: ‘ret’ may be used uninitialized [-Wmaybe-uninitialized] 1871 | return ret; | ^~~ invent.c:1718:20: note: ‘ret’ was declared here 1718 | char ilet, ret; | ^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o light.o light.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o lock.o lock.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mail.o mail.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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: makemon.c: In function ‘clone_mon’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) makemon.c:756:19: note: in expansion of macro ‘EPRI’ 756 | *(EPRI(m3)) = *(EPRI(mon)); | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) makemon.c:756:33: note: in expansion of macro ‘EPRI’ 756 | *(EPRI(m3)) = *(EPRI(mon)); | ^~~~ makemon.c: In function ‘mongets’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:25:35: note: in expansion of macro ‘EPRI’ 25 | EPRI(mon)->shralign > 0)) | ^~~~ makemon.c:1498:23: note: in expansion of macro ‘is_lminion’ 1498 | } else if(is_lminion(mtmp)) { | ^~~~~~~~~~ makemon.c: In function ‘set_malign’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemon.c:1616:31: note: in expansion of macro ‘EPRI’ 1616 | mal = EPRI(mtmp)->shralign; | ^~~~ In file included from makemon.c:7: ../include/emin.h:12:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemon.c:1618:31: note: in expansion of macro ‘EMIN’ 1618 | mal = EMIN(mtmp)->min_align; | ^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mapglyph.o mapglyph.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mcastu.o mcastu.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mhitm.o mhitm.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mhitu.o mhitu.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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: minion.c: In function ‘msummon’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minion.c:23:24: note: in expansion of macro ‘EPRI’ 23 | atyp = EPRI(mon)->shralign; | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:25:35: note: in expansion of macro ‘EPRI’ 25 | EPRI(mon)->shralign > 0)) | ^~~~ minion.c:41:20: note: in expansion of macro ‘is_lminion’ 41 | } else if (is_lminion(mon)) { | ^~~~~~~~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minion.c:80:17: note: in expansion of macro ‘EPRI’ 80 | EPRI(mtmp)->shralign = atyp; | ^~~~ In file included from minion.c:6: minion.c: In function ‘summon_minion’: ../include/emin.h:12:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minion.c:117:13: note: in expansion of macro ‘EMIN’ 117 | EMIN(mon)->min_align = alignment; | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minion.c:123:13: note: in expansion of macro ‘EPRI’ 123 | EPRI(mon)->shralign = alignment; /* always A_LAWFUL here */ | ^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1220 | if (lvl < 2) kind = NO_TRAP; break; | ^~ mklev.c:1220:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1220 | if (lvl < 2) kind = NO_TRAP; break; | ^~~~~ mklev.c:1222:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1222 | if (lvl < 5 || level.flags.noteleport) | ^~ mklev.c:1223:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1223 | kind = NO_TRAP; break; | ^~~~~ mklev.c:1225:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1225 | if (lvl < 5) kind = NO_TRAP; break; | ^~ mklev.c:1225:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1225 | if (lvl < 5) kind = NO_TRAP; break; | ^~~~~ mklev.c:1227:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1227 | if (lvl < 6) kind = NO_TRAP; break; | ^~ mklev.c:1227:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1227 | if (lvl < 6) kind = NO_TRAP; break; | ^~~~~ mklev.c:1229:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1229 | if (lvl < 7) kind = NO_TRAP; break; | ^~ mklev.c:1229:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1229 | if (lvl < 7) kind = NO_TRAP; break; | ^~~~~ mklev.c:1232:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1232 | if (lvl < 8) kind = NO_TRAP; break; | ^~ mklev.c:1232:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1232 | if (lvl < 8) kind = NO_TRAP; break; | ^~~~~ mklev.c:1234:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1234 | if (!Inhell) kind = NO_TRAP; break; | ^~ mklev.c:1234:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1234 | if (!Inhell) kind = NO_TRAP; break; | ^~~~~ mklev.c:1236:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1236 | if (level.flags.noteleport) kind = NO_TRAP; break; | ^~ mklev.c:1236:69: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1236 | if (level.flags.noteleport) kind = NO_TRAP; break; | ^~~~~ mklev.c:1239:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1239 | if (rn2(7)) kind = NO_TRAP; break; | ^~ mklev.c:1239:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1239 | if (rn2(7)) kind = NO_TRAP; break; | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:17: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 115 | for(count=0, dr=0; dr < 8; dr++) | ^~~ mkmap.c:119:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 119 | if (count == 5) | ^~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkmaze.o mkmaze.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkobj.o mkobj.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:297:29: warning: ‘tx’ may be used uninitialized [-Wmaybe-uninitialized] 297 | (sx == tx && sy == ty ? &mons[PM_QUEEN_BEE] : | ~~~^~~~~ mkroom.c:232:17: note: ‘tx’ was declared here 232 | int sh, tx, ty, goldlim, type = sroom->rtype; | ^~ mkroom.c:297:41: warning: ‘ty’ may be used uninitialized [-Wmaybe-uninitialized] 297 | (sx == tx && sy == ty ? &mons[PM_QUEEN_BEE] : | ~~~^~~~~ mkroom.c:232:21: note: ‘ty’ was declared here 232 | int sh, tx, ty, goldlim, type = sroom->rtype; | ^~ mkroom.c:321:27: warning: ‘goldlim’ may be used uninitialized [-Wmaybe-uninitialized] 321 | if(i >= goldlim) i = 5*level_difficulty(); | ^ mkroom.c:232:25: note: ‘goldlim’ was declared here 232 | int sh, tx, ty, goldlim, type = sroom->rtype; | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mon.o mon.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mondata.o mondata.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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: monmove.c: In function ‘onscary’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:25:35: note: in expansion of macro ‘EPRI’ 25 | EPRI(mon)->shralign > 0)) | ^~~~ monmove.c:136:13: note: in expansion of macro ‘is_lminion’ 136 | 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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o monstr.o monstr.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mplayer.o mplayer.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mthrowu.o mthrowu.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o muse.o muse.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o music.o music.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 ‘dodiscovered’: o_init.c:384:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 384 | if (!dis++) | ^~ In file included from ../include/config.h:370, from ../include/hack.h:9, from o_init.c:5: ../include/global.h:291:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 291 | #define Sprintf (void) sprintf | ^ o_init.c:386:17: note: in expansion of macro ‘Sprintf’ 386 | Sprintf(buf, " %s", OBJ_NAME(objects[uniq_objs[i]])); | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 ‘doname’: objnam.c:743:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 743 | if(obj->owornmask & W_BALL) | ^~ objnam.c:745:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 745 | break; | ^~~~~ objnam.c: In function ‘strprepend’: objnam.c:72:16: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 72 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ | ^ objnam.c:65:31: note: length computed here 65 | register int i = (int)strlen(pref); | ^~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o options.o options.c options.c: In function ‘option_help’: options.c:3346:28: warning: ‘ - ’ directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] 3346 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, | ^~~ In file included from /usr/include/stdio.h:980, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from options.c:13: In function ‘sprintf’, inlined from ‘option_help’ at options.c:3346:2: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 25 or more bytes (assuming 260) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ options.c: In function ‘doset’: options.c:2457:57: warning: ‘s [’ directive writing 3 bytes into a region of size between 1 and 11 [-Wformat-overflow=] 2457 | Sprintf(fmtstr_doset_add_menu, "%%s%%-%ds [%%s]", biggest_name); | ^~~ In function ‘sprintf’, inlined from ‘doset’ at options.c:2457:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 12 and 22 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ options.c: In function ‘doset’: options.c:2533:44: warning: ‘__sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 2533 | Sprintf(buf, "%s:%s", compopt[opt_indx].name, buf2); | ^ In function ‘sprintf’, inlined from ‘doset’ at options.c:2533:4: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pager.o pager.c pager.c: In function ‘dowhatdoes_core’: pager.c:827:32: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 827 | (void) strncpy(buf, "^? ", 8); | ^ pager.c:831:32: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 831 | (void) strncpy(buf, "M-? ", 8); | ^ pager.c:836:32: warning: ‘strncpy’ output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 836 | (void) strncpy(buf+1, " ", 7); | ^ pager.c: In function ‘do_look.isra.0’: pager.c:726:42: warning: ‘%s’ directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] 724 | firstmatch = look_buf; | ~~~~~~~~ 725 | if (*firstmatch) { 726 | Sprintf(temp_buf, " (%s)", firstmatch); | ^~ In file included from /usr/include/stdio.h:980, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from pager.c:8: In function ‘sprintf’, inlined from ‘do_look.isra.0’ at pager.c:726:7: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 4 and 259 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pager.c: In function ‘do_look.isra.0’: pager.c:727:27: warning: ‘__strncat_chk’ output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 727 | (void)strncat(out_str, temp_buf, BUFSZ-strlen(out_str)-1); | ^ pager.c:731:48: warning: ‘%s’ directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 731 | Sprintf(temp_buf, " [seen: %s]", monbuf); | ^~ ~~~~~~ In function ‘sprintf’, inlined from ‘do_look.isra.0’ at pager.c:731:7: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 10 and 265 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pager.c: In function ‘do_look.isra.0’: pager.c:732:27: warning: ‘__strncat_chk’ output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 732 | (void)strncat(out_str, temp_buf, BUFSZ-strlen(out_str)-1); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pickup.o pickup.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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: pline.c: In function ‘mstatusline’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pline.c:298:29: note: in expansion of macro ‘EPRI’ 298 | alignment = EPRI(mtmp)->shralign; | ^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o polyself.o polyself.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o potion.o potion.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pray.o pray.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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: priest.c: In function ‘histemple_at’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:136:27: note: in expansion of macro ‘EPRI’ 136 | return((boolean)((EPRI(priest)->shroom == *in_rooms(x, y, TEMPLE)) && | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:137:27: note: in expansion of macro ‘EPRI’ 137 | on_level(&(EPRI(priest)->shrlevel), &u.uz))); | ^~~~ priest.c: In function ‘pri_move’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:156:18: note: in expansion of macro ‘EPRI’ 156 | temple = EPRI(priest)->shroom; | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:158:14: note: in expansion of macro ‘EPRI’ 158 | gx = EPRI(priest)->shrpos.x; | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:159:14: note: in expansion of macro ‘EPRI’ 159 | gy = EPRI(priest)->shrpos.y; | ^~~~ priest.c: In function ‘priestini’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:203:17: note: in expansion of macro ‘EPRI’ 203 | EPRI(priest)->shroom = (sroom - rooms) + ROOMOFFSET; | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:204:17: note: in expansion of macro ‘EPRI’ 204 | EPRI(priest)->shralign = Amask2align(levl[sx][sy].altarmask); | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:205:17: note: in expansion of macro ‘EPRI’ 205 | EPRI(priest)->shrpos.x = sx; | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:206:17: note: in expansion of macro ‘EPRI’ 206 | EPRI(priest)->shrpos.y = sy; | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:207:32: note: in expansion of macro ‘EPRI’ 207 | assign_level(&(EPRI(priest)->shrlevel), lvl); | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:215:31: note: in expansion of macro ‘EPRI’ 215 | if(sanctum && EPRI(priest)->shralign == A_NONE && | ^~~~ priest.c: In function ‘priestname’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:265:47: note: in expansion of macro ‘EPRI’ 265 | if (!mon->ispriest && EPRI(mon)->renegade) | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:277:47: note: in expansion of macro ‘EPRI’ 277 | Strcat(pname, halu_gname((int)EPRI(mon)->shralign)); | ^~~~ In file included from priest.c:9: ../include/emin.h:12:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:283:34: note: in expansion of macro ‘EMIN’ 283 | Strcat(pname, halu_gname(EMIN(mon)->min_align)); | ^~~~ priest.c: In function ‘p_coaligned’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:291:49: note: in expansion of macro ‘EPRI’ 291 | return((boolean)(u.ualign.type == ((int)EPRI(priest)->shralign))); | ^~~~ priest.c: In function ‘has_shrine’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:302:21: note: in expansion of macro ‘EPRI’ 302 | lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y]; | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:302:42: note: in expansion of macro ‘EPRI’ 302 | lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y]; | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:305:26: note: in expansion of macro ‘EPRI’ 305 | return((boolean)(EPRI(pri)->shralign == Amask2align(lev->altarmask & ~AM_SHRINE))); | ^~~~ priest.c: In function ‘findpriest’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:316:35: note: in expansion of macro ‘EPRI’ 316 | if(mtmp->ispriest && (EPRI(mtmp)->shroom == roomno) && | ^~~~ priest.c: In function ‘mk_roamer’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:551:9: note: in expansion of macro ‘EPRI’ 551 | EPRI(roamer)->shralign = alignment; | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:553:17: note: in expansion of macro ‘EPRI’ 553 | EPRI(roamer)->renegade = TRUE; | ^~~~ priest.c: In function ‘reset_hostility’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:573:12: note: in expansion of macro ‘EPRI’ 573 | if(EPRI(roamer)->shralign != u.ualign.type) { | ^~~~ priest.c: In function ‘ghod_hitsu’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:614:18: note: in expansion of macro ‘EPRI’ 614 | ax = x = EPRI(priest)->shrpos.x; | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:615:18: note: in expansion of macro ‘EPRI’ 615 | ay = y = EPRI(priest)->shrpos.y; | ^~~~ priest.c: In function ‘angry_priest’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:679:25: note: in expansion of macro ‘EPRI’ 679 | lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y]; | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:679:49: note: in expansion of macro ‘EPRI’ 679 | lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y]; | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:682:25: note: in expansion of macro ‘EPRI’ 682 | EPRI(priest)->shralign)) { | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:686:17: note: in expansion of macro ‘EPRI’ 686 | EPRI(priest)->renegade = 0; | ^~~~ priest.c: In function ‘clearpriests’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:702:65: note: in expansion of macro ‘EPRI’ 702 | if (!DEADMONSTER(mtmp) && mtmp->ispriest && !on_level(&(EPRI(mtmp)->shrlevel), &u.uz)) | ^~~~ priest.c: In function ‘restpriest’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:715:28: note: in expansion of macro ‘EPRI’ 715 | assign_level(&(EPRI(mtmp)->shrlevel), &u.uz); | ^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o quest.o quest.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o questpgr.o questpgr.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:34: warning: suggest parentheses around operand of ‘!’ or change ‘|’ to ‘||’ or ‘!’ to ‘~’ [-Wparentheses] 1006 | else do_genocide(!sobj->cursed | (2 * !!Confusion)); | ^~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rect.o rect.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o region.o region.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o restore.o restore.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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, from ../include/hack.h:9, from rip.c:5: rip.c:7:23: warning: ‘center’ declared ‘static’ but never defined [-Wunused-function] 7 | STATIC_DCL void FDECL(center, (int, char *)); | ^~~~~~ ../include/tradstdc.h:124:25: note: in definition of macro ‘FDECL’ 124 | # define FDECL(f,p) f p | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rnd.o rnd.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o role.o role.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rumors.o rumors.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:24: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 360 | (void) read(fd, (genericptr_t) &hpid, sizeof(hpid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:378:24: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 378 | (void) write(fd, (genericptr_t) &hackpid, sizeof(hackpid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:382:28: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 382 | (void) write(fd, (genericptr_t) &currlev, sizeof(currlev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c: In function ‘dosave0’: save.c:250:32: warning: storing the address of local variable ‘whynot’ in ‘killer’ [-Wdangling-pointer=] 250 | HUP killer = whynot; | ~~~~~~~^~~~~~~~ save.c:119:14: note: ‘whynot’ declared here 119 | char whynot[BUFSZ]; | ^~~~~~ In file included from ../include/hack.h:91, from save.c:5: ../include/decl.h:181:15: note: ‘killer’ declared here 181 | E const char *killer; | ^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:21: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation] 3154 | while (!(litter[i = rn2(9)] & INSHOP)); | ^~~~~ shk.c:3155:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’ 3155 | remove_object(otmp); | ^~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o shknam.o shknam.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sit.o sit.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:52: warning: array subscript [0, 1] is outside array bounds of ‘const char * const[2]’ [-Warray-bounds=] 531 | verbl_msg = vampmsg[vampindex]; | ~~~~~~~^~~~~~~~~~~ sounds.c:506:51: note: while referencing ‘vampmsg.4’ 506 | static const char * const vampmsg[] = { | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sp_lev.o sp_lev.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o spell.o spell.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o steal.o steal.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o steed.o steed.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o teleport.o teleport.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o timeout.o timeout.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 ‘topten’: topten.c:315:16: warning: ‘strncpy’ output may be truncated copying 10 bytes from a string of length 31 [-Wstringop-truncation] 315 | (void) strncpy(t0->name, plname, NAMSZ); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o track.o track.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o trap.o trap.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o u_init.o u_init.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o uhitm.o uhitm.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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: vault.c: In function ‘clear_fcorr’: ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:29:25: note: in expansion of macro ‘EGD’ 29 | if (!on_level(&(EGD(grd)->gdlevel), &u.uz)) return TRUE; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:31:24: note: in expansion of macro ‘EGD’ 31 | while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) { | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:31:43: note: in expansion of macro ‘EGD’ 31 | while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) { | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:32:23: note: in expansion of macro ‘EGD’ 32 | fcx = EGD(grd)->fakecorr[fcbeg].fx; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:33:23: note: in expansion of macro ‘EGD’ 33 | fcy = EGD(grd)->fakecorr[fcbeg].fy; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:35:36: note: in expansion of macro ‘EGD’ 35 | EGD(grd)->gddone) | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:50:38: note: in expansion of macro ‘EGD’ 50 | levl[fcx][fcy].typ = EGD(grd)->fakecorr[fcbeg].ftyp; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:53:17: note: in expansion of macro ‘EGD’ 53 | EGD(grd)->fcbeg++; | ^~~ vault.c: In function ‘grddead’: ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:81:17: note: in expansion of macro ‘EGD’ 81 | EGD(grd)->ogx = grd->mx; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:82:17: note: in expansion of macro ‘EGD’ 82 | EGD(grd)->ogy = grd->my; | ^~~ vault.c: In function ‘in_fcorridor’: ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:95:19: note: in expansion of macro ‘EGD’ 95 | for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++) | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:95:42: note: in expansion of macro ‘EGD’ 95 | for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++) | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:96:25: note: in expansion of macro ‘EGD’ 96 | if(x == EGD(grd)->fakecorr[fci].fx && | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:97:38: note: in expansion of macro ‘EGD’ 97 | y == EGD(grd)->fakecorr[fci].fy) | ^~~ vault.c: In function ‘findgd’: ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:109:63: note: in expansion of macro ‘EGD’ 109 | if(mtmp->isgd && !DEADMONSTER(mtmp) && on_level(&(EGD(mtmp)->gdlevel), &u.uz)) | ^~~ vault.c: In function ‘invault’: ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:230:9: note: in expansion of macro ‘EGD’ 230 | EGD(guard)->gddone = 0; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:231:9: note: in expansion of macro ‘EGD’ 231 | EGD(guard)->ogx = x; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:232:9: note: in expansion of macro ‘EGD’ 232 | EGD(guard)->ogy = y; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:233:24: note: in expansion of macro ‘EGD’ 233 | assign_level(&(EGD(guard)->gdlevel), &u.uz); | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:234:9: note: in expansion of macro ‘EGD’ 234 | EGD(guard)->vroom = vaultroom; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:235:9: note: in expansion of macro ‘EGD’ 235 | EGD(guard)->warncnt = 0; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:316:9: note: in expansion of macro ‘EGD’ 316 | EGD(guard)->gdx = gx; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:317:9: note: in expansion of macro ‘EGD’ 317 | EGD(guard)->gdy = gy; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:318:9: note: in expansion of macro ‘EGD’ 318 | EGD(guard)->fcbeg = 0; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:319:9: note: in expansion of macro ‘EGD’ 319 | EGD(guard)->fakecorr[0].fx = x; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:320:9: note: in expansion of macro ‘EGD’ 320 | EGD(guard)->fakecorr[0].fy = y; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:322:13: note: in expansion of macro ‘EGD’ 322 | EGD(guard)->fakecorr[0].ftyp = levl[x][y].typ; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:324:23: note: in expansion of macro ‘EGD’ 324 | int vlt = EGD(guard)->vroom; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:329:17: note: in expansion of macro ‘EGD’ 329 | EGD(guard)->fakecorr[0].ftyp = TLCORNER; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:331:17: note: in expansion of macro ‘EGD’ 331 | EGD(guard)->fakecorr[0].ftyp = TRCORNER; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:333:17: note: in expansion of macro ‘EGD’ 333 | EGD(guard)->fakecorr[0].ftyp = BLCORNER; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:335:17: note: in expansion of macro ‘EGD’ 335 | EGD(guard)->fakecorr[0].ftyp = BRCORNER; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:337:17: note: in expansion of macro ‘EGD’ 337 | EGD(guard)->fakecorr[0].ftyp = HWALL; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:339:17: note: in expansion of macro ‘EGD’ 339 | EGD(guard)->fakecorr[0].ftyp = VWALL; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:344:9: note: in expansion of macro ‘EGD’ 344 | EGD(guard)->fcend = 1; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:345:9: note: in expansion of macro ‘EGD’ 345 | EGD(guard)->warncnt = 1; | ^~~ vault.c: In function ‘wallify_vault’: ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:373:19: note: in expansion of macro ‘EGD’ 373 | int vlt = EGD(grd)->vroom; | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:394:41: note: in expansion of macro ‘EGD’ 394 | move_gold(gold, EGD(grd)->vroom); | ^~~ vault.c: In function ‘paygd’: ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:778:24: note: in expansion of macro ‘EGD’ 778 | gx = rooms[EGD(grd)->vroom].lx + rn2(2); | ^~~ ../include/vault.h:25:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:779:24: note: in expansion of macro ‘EGD’ 779 | 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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 597 | if (row < 0) continue; if (row >= ROWNO) break; | ^~ vision.c:597:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 597 | if (row < 0) continue; if (row >= ROWNO) break; | ^~ vision.c:618:21: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 618 | if (row < 0) continue; if (row >= ROWNO) break; | ^~ vision.c:618:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 618 | if (row < 0) continue; if (row >= ROWNO) break; | ^~ vision.c:656:21: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 656 | if (row < 0) continue; if (row >= ROWNO) break; | ^~ vision.c:656:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 656 | 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] 1593 | 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’ 1593 | 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] 1629 | 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’ 1629 | 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] 1630 | 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’ 1630 | if ((pdy = (block_row-this_row)) < 0) pdy = -pdy; --pdy; /* point dy */ | ^~ vision.c: In function ‘right_side’: vision.c:1660:20: warning: ‘rowp’ may be used uninitialized [-Wmaybe-uninitialized] 1660 | register char *rowp; | ^~~~ vision.c:1095:24: warning: ‘row_min’ may be used uninitialized [-Wmaybe-uninitialized] 1095 | #define set_min(z) if (*row_min > (z)) *row_min = (z) | ^~~~~~~~ vision.c:1665:11: note: ‘row_min’ was declared here 1665 | char *row_min; /* left most */ | ^~~~~~~ vision.c:1096:24: warning: ‘row_max’ may be used uninitialized [-Wmaybe-uninitialized] 1096 | #define set_max(z) if (*row_max < (z)) *row_max = (z) | ^~~~~~~~ vision.c:1666:11: note: ‘row_max’ was declared here 1666 | char *row_max; /* right most */ | ^~~~~~~ vision.c: In function ‘left_side’: vision.c:1915:20: warning: ‘rowp’ may be used uninitialized [-Wmaybe-uninitialized] 1915 | register char *rowp; | ^~~~ vision.c:1095:24: warning: ‘row_min’ may be used uninitialized [-Wmaybe-uninitialized] 1095 | #define set_min(z) if (*row_min > (z)) *row_min = (z) | ^~~~~~~~ vision.c:1920:11: note: ‘row_min’ was declared here 1920 | char *row_min; /* left most */ | ^~~~~~~ vision.c:1096:24: warning: ‘row_max’ may be used uninitialized [-Wmaybe-uninitialized] 1096 | #define set_max(z) if (*row_max < (z)) *row_max = (z) | ^~~~~~~~ vision.c:1921:11: note: ‘row_max’ was declared here 1921 | char *row_max; /* right most */ | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o vis_tab.o vis_tab.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:20: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 962 | if (i == skill_ranges[pass].first) | ^ weapon.c: In function ‘enhance_skill.isra.0’: weapon.c:1021:47: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=] 1021 | Sprintf(buf, " %s%s\t[%s]", | ^~ 1022 | prefix, P_NAME(i), sklnambuf); | ~~~~~~~~~ In file included from /usr/include/stdio.h:980, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from weapon.c:10: In function ‘sprintf’, inlined from ‘enhance_skill.isra.0’ at weapon.c:1021:4: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 5 or more bytes (assuming 264) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ weapon.c: In function ‘enhance_skill.isra.0’: weapon.c:1018:49: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=] 1018 | Sprintf(buf, " %s %-*s [%s]", | ^~ 1019 | prefix, longest, P_NAME(i), sklnambuf); | ~~~~~~~~~ In function ‘sprintf’, inlined from ‘enhance_skill.isra.0’ at weapon.c:1018:4: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 6 or more bytes (assuming 265) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ weapon.c: In function ‘enhance_skill.isra.0’: weapon.c:1010:46: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] 1010 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", | ^~ 1011 | prefix, P_NAME(i), sklnambuf, | ~~~~~~~~~ weapon.c:1010:38: note: directive argument in the range [0, 65535] 1010 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", | ^~~~~~~~~~~~~~~~~~~~~ weapon.c:1010:38: note: directive argument in the range [20, 327680] In function ‘sprintf’, inlined from ‘enhance_skill.isra.0’ at weapon.c:1010:4: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 15 or more bytes (assuming 276) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ weapon.c: In function ‘enhance_skill.isra.0’: weapon.c:1005:47: warning: ‘%-12s’ directive writing between 12 and 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] 1005 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", | ^~~~~ 1006 | prefix, longest, P_NAME(i), sklnambuf, | ~~~~~~~~~ weapon.c:1005:38: note: directive argument in the range [0, 65535] 1005 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", | ^~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1005:38: note: directive argument in the range [20, 327680] In function ‘sprintf’, inlined from ‘enhance_skill.isra.0’ at weapon.c:1005:4: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 27 or more bytes (assuming 276) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ weapon.c: In function ‘enhance_skill.isra.0’: weapon.c:978:61: warning: ‘logged’ may be used uninitialized [-Wmaybe-uninitialized] 978 | } else if (i == skill_ranges[pass].last && !logged) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ weapon.c:894:13: note: ‘logged’ was declared here 894 | boolean logged; | ^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o were.o were.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o wield.o wield.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o windows.o windows.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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: wizard.c: In function ‘cuss’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:25:35: note: in expansion of macro ‘EPRI’ 25 | EPRI(mon)->shralign > 0)) | ^~~~ wizard.c:625:19: note: in expansion of macro ‘is_lminion’ 625 | } else if(is_lminion(mtmp)) { | ^~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o worm.o worm.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o worn.o worn.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o write.o write.c write.c: In function ‘dowrite’: write.c:121:23: warning: ‘strncpy’ output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 121 | (void)strncpy(bp, " armor ", 7); /* won't add '\0' */ | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o zap.o zap.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/share/ioctl.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:24: warning: unused variable ‘s’ [-Wunused-variable] 483 | register char *s; | ^ ../sys/unix/unixmain.c: In function ‘chdirx’: ../sys/unix/unixmain.c:424:20: warning: ignoring return value of ‘setgid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 424 | (void) setgid(getgid()); | ^~~~~~~~~~~~~~~~ ../sys/unix/unixmain.c:425:20: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 425 | (void) setuid(getuid()); /* Ron Wessels */ | ^~~~~~~~~~~~~~~~ ../sys/unix/unixmain.c: In function ‘main’: ../sys/unix/unixmain.c:197:31: warning: ‘__strncat_chk’ output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] 197 | (void)strncat(strcat(plname, "-"), | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/share/unixtty.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:24: warning: ignoring return value of ‘setgid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 268 | (void) setgid(getgid()); | ^~~~~~~~~~~~~~~~ ../sys/unix/unixunix.c:269:24: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 269 | (void) setuid(getuid()); | ^~~~~~~~~~~~~~~~ ../sys/unix/unixunix.c:271:24: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 271 | (void) chdir(getenv("HOME")); | ^~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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_gen.c GNUmakefile:101: warning: pattern recipe did not update peer target 'vultures_gen.o'. compiling vultures_gfl.c GNUmakefile:101: warning: pattern recipe did not update peer target 'vultures_gfl.o'. compiling vultures_gra.c GNUmakefile:101: warning: pattern recipe did not update peer target 'vultures_gra.o'. compiling vultures_init.c GNUmakefile:101: warning: pattern recipe did not update peer target 'vultures_init.o'. compiling vultures_main.c GNUmakefile:101: warning: pattern recipe did not update peer target 'vultures_main.o'. compiling vultures_map.c vultures_map.c: In function ‘vultures_map_square_description’: vultures_map.c:1740:41: warning: ‘ (+’ directive output may be truncated writing 3 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 1740 | snprintf(out_str, BUFSZ, "%s (+%d other object%s)", look_buf, n_objs - 1, (n_objs > 2) ? "s" : ""); | ^~~ vultures_map.c:1740:38: note: directive argument in the range [1, 2147483646] 1740 | snprintf(out_str, BUFSZ, "%s (+%d other object%s)", look_buf, n_objs - 1, (n_objs > 2) ? "s" : ""); | ^~~~~~~~~~~~~~~~~~~~~~~~~ vultures_map.c:1740:13: note: ‘snprintf’ output 19 or more bytes (assuming 283) into a destination of size 256 1740 | snprintf(out_str, BUFSZ, "%s (+%d other object%s)", look_buf, n_objs - 1, (n_objs > 2) ? "s" : ""); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vultures_map.c:1718:44: warning: ‘%s’ directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 1718 | sprintf(temp_buf, " [seen: %s]", monbuf); | ^~ ~~~~~~ vultures_map.c:1718:17: note: ‘sprintf’ output between 10 and 265 bytes into a destination of size 256 1718 | sprintf(temp_buf, " [seen: %s]", monbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GNUmakefile:101: warning: pattern recipe did not update peer target 'vultures_map.o'. compiling vultures_mou.c GNUmakefile:101: warning: pattern recipe did not update peer target 'vultures_mou.o'. compiling vultures_nhplayerselection.c vultures_nhplayerselection.c: In function ‘vultures_player_selection_race’: vultures_nhplayerselection.c:182:46: warning: ‘%s’ directive writing up to 255 bytes into a region of size 234 [-Wformat-overflow=] 182 | sprintf(selection,"Pick the race of your %s", strlen(rolename) ? rolename : "character"); | ^~ vultures_nhplayerselection.c:182:5: note: ‘sprintf’ output between 23 and 278 bytes into a destination of size 256 182 | sprintf(selection,"Pick the race of your %s", strlen(rolename) ? rolename : "character"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vultures_nhplayerselection.c: In function ‘vultures_player_selection_gender’: vultures_nhplayerselection.c:257:48: warning: ‘%s’ directive writing up to 255 bytes into a region of size 232 [-Wformat-overflow=] 257 | sprintf(selection,"Pick the gender of your %s", strlen(rolename) ? rolename : "character"); | ^~ vultures_nhplayerselection.c:257:5: note: ‘sprintf’ output between 25 and 280 bytes into a destination of size 256 257 | sprintf(selection,"Pick the gender of your %s", strlen(rolename) ? rolename : "character"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vultures_nhplayerselection.c: In function ‘vultures_player_selection_alignment’: vultures_nhplayerselection.c:332:51: warning: ‘%s’ directive writing up to 255 bytes into a region of size 229 [-Wformat-overflow=] 332 | sprintf(selection,"Pick the alignment of your %s", strlen(rolename) ? rolename : "character"); | ^~ vultures_nhplayerselection.c:332:5: note: ‘sprintf’ output between 28 and 283 bytes into a destination of size 256 332 | sprintf(selection,"Pick the alignment of your %s", strlen(rolename) ? rolename : "character"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GNUmakefile:101: warning: pattern recipe did not update peer target 'vultures_nhplayerselection.o'. compiling vultures_opt.c GNUmakefile:101: warning: pattern recipe did not update peer target 'vultures_opt.o'. compiling vultures_pcmusic.c GNUmakefile:101: warning: pattern recipe did not update peer target 'vultures_pcmusic.o'. compiling vultures_sdl.c GNUmakefile:101: warning: pattern recipe did not update peer target 'vultures_sdl.o'. compiling vultures_sound.c GNUmakefile:101: warning: pattern recipe did not update peer target 'vultures_sound.o'. compiling vultures_tile.c GNUmakefile:101: warning: pattern recipe did not update peer target 'vultures_tile.o'. 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] 644 | else | ^~~~ vultures_tileconfig.c:645:92: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 645 | 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] 663 | else | ^~~~ vultures_tileconfig.c:664:79: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 664 | snprintf(tilenames[TT_OBJECT][i], 40, "%s", nameptr); break; | ^~~~~ GNUmakefile:101: warning: pattern recipe did not update peer target 'vultures_tileconfig.o'. compiling vultures_txt.c GNUmakefile:101: warning: pattern recipe did not update peer target 'vultures_txt.o'. compiling vultures_win.c GNUmakefile:101: warning: pattern recipe did not update peer target 'vultures_win.o'. compiling vultures_win_event.c GNUmakefile:101: warning: pattern recipe did not update peer target 'vultures_win_event.o'. generating parser compiling build_n/vultures_tileconfig.parser.c GNUmakefile:101: warning: pattern recipe did not update peer target 'build_n/build_n/vultures_tileconfig.parser.o'. generating lexer generating parser compiling build_n/vultures_tileconfig.lexer.c build_n/vultures_tileconfig.lexer.c:1211:16: warning: ‘input’ defined but not used [-Wunused-function] 1211 | #else | ^ build_n/vultures_tileconfig.lexer.c:1168:17: warning: ‘yyunput’ defined but not used [-Wunused-function] 1168 | | ^ GNUmakefile:101: warning: pattern recipe did not update peer target 'build_n/build_n/vultures_tileconfig.lexer.o'. 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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o tile.o tile.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o version.o version.c Loading ... In function ‘mondead’, inlined from ‘mondead’ at mon.c:1413:1: mon.c:1457:55: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1457 | if (mvitals[tmp].died < 255) mvitals[tmp].died++; | ^ decl.c: In function ‘mondead’: decl.c:210:25: note: at offset -2 into destination object ‘mvitals’ of size 1146 210 | NEARDATA struct mvitals mvitals[NUMMONS]; | ^ 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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures -DVULTURESEYE -c -o recover.o recover.c recover.c: In function ‘main’: recover.c:114:24: warning: ignoring return value of ‘setgid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 114 | (void) setgid(getgid()); | ^~~~~~~~~~~~~~~~ recover.c:115:24: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 115 | (void) setuid(getuid()); | ^~~~~~~~~~~~~~~~ recover.c: In function ‘restore_savefile’: recover.c:308:33: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 308 | write(sfd, (genericptr_t) &levc, sizeof(levc)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o recover recover.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures -DVULTURESEYE -c dlb_main.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures -DVULTURESEYE -c -o panic.o panic.c gcc -o dlb dlb_main.o ../src/dlb.o ../src/alloc.o panic.o ../src/dlb.c:34:14: warning: type of ‘fopen_datafile’ does not match original declaration [-Wlto-type-mismatch] 34 | extern FILE *FDECL(fopen_datafile, (const char *,const char *,int)); | ^ dlb_main.c:169:1: note: type mismatch in parameter 3 169 | fopen_datafile(filename, mode) | ^ dlb_main.c:169:1: note: type ‘void’ should match type ‘int’ dlb_main.c:169:1: note: ‘fopen_datafile’ was previously declared here bison -y -d dgn_comp.y mv y.tab.c dgn_yacc.c mv y.tab.h ../include/dgn_comp.h gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures -DVULTURESEYE dgn_lex.c egrep: warning: egrep is obsolescent; using grep -E lex.yy.c:1481:16: warning: ‘input’ defined but not used [-Wunused-function] lex.yy.c:1438:17: warning: ‘yyunput’ defined but not used [-Wunused-function] gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures -DVULTURESEYE -c -o dgn_main.o dgn_main.c gcc -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 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures -DVULTURESEYE -c -o lev_yacc.o lev_yacc.c lev_comp.y: In function ‘yyparse’: lev_comp.y:1383:41: warning: ‘)?!’ directive writing 3 bytes into a region of size between 1 and 35 [-Wformat-overflow=] 1383 | "Rock in room (%02d,%02d,%02d,%02d)?!", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from lev_comp.y:24: In function ‘sprintf’, inlined from ‘yyparse’ at lev_comp.y:1382:5: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 29 and 63 bytes into a destination of size 60 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ lex lev_comp.l mv lex.yy.c lev_lex.c gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures -DVULTURESEYE lev_lex.c egrep: warning: egrep is obsolescent; using grep -E lex.yy.c:2166:16: warning: ‘input’ defined but not used [-Wunused-function] lex.yy.c:2123:17: warning: ‘yyunput’ defined but not used [-Wunused-function] gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures -DVULTURESEYE -c -o lev_main.o lev_main.c gcc -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: No such file or directory 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 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c monst.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c objects.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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] 2392 | fgets(in_line, sizeof in_line, ifp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makedefs.c: At top level: makedefs.c:53:25: warning: ‘SCCS_Id’ defined but not used [-Wunused-const-variable=] 53 | static const char SCCS_Id[] = "@(#)makedefs.c\t3.4\t2002/02/03"; | ^~~~~~~ makedefs.c: In function ‘do_qt_control.constprop.0’: makedefs.c:1625:9: warning: ‘strncpy’ output may be truncated copying 3 bytes from a string of length 255 [-Wstringop-truncation] 1625 | strncpy(&qt_hdr.id[qt_hdr.n_hdr][0], code, LEN_HDR); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I../win/vultures -DVULTURESCLAW -c -o panic.o panic.c gcc -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 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o allmain.o allmain.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:22: warning: unused variable ‘typ’ [-Wunused-variable] 2761 | int res = 0, typ, max_range; | ^~~ apply.c: At top level: apply.c:11:19: warning: ‘all_count’ defined but not used [-Wunused-const-variable=] 11 | static const char all_count[] = { ALLOW_COUNT, ALL_CLASSES, 0 }; | ^~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:32: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1181 | if (!spec_dbon_applies && !spec_ability(otmp, SPFX_BEHEAD) || | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ artifact.c:1312:75: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1312 | } else if (dieroll < 3 || otmp->oartifact == ART_VORPAL_BLADE && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1313 | mdef->data == &mons[PM_JABBERWOCK]) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ artifact.c:1321:40: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1321 | wepdesc = artilist[otmp->oartifact].name; | ~~~~^~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o attrib.o attrib.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ball.o ball.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o bones.o bones.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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=] 581 | *rv++ = reconfig ? "flags" : (Sprintf(flgs, "%lX", | ~~^ | | | long unsigned int | %X 582 | (Levitation ? RAW_STAT_LEVITATION : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 583 | (Confusion ? RAW_STAT_CONFUSION : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 584 | (Sick && (u.usick_type & SICK_VOMITABLE) ? RAW_STAT_FOODPOIS : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 585 | (Sick && (u.usick_type & SICK_NONVOMITABLE) ? RAW_STAT_ILL : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 586 | (Blind ? RAW_STAT_BLIND : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 587 | (Stunned ? RAW_STAT_STUNNED : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 588 | (Hallucination ? RAW_STAT_HALLUCINATION : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int 589 | (Slimed ? RAW_STAT_SLIMED : 0)), flgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c: In function ‘botl_strength’: botl.c:241:35: warning: ‘%02d’ directive writing between 2 and 4 bytes into a region of size 3 [-Wformat-overflow=] 241 | Sprintf(strength, "18/%02d", ACURR(A_STR)-18); | ^~~~ In function ‘botl_strength’, inlined from ‘botl_strength’ at botl.c:234:1: botl.c:241:31: note: directive argument in the range [-146, 109] 241 | Sprintf(strength, "18/%02d", ACURR(A_STR)-18); | ^~~~~~~~~ In file included from /usr/include/stdio.h:980, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from botl.c:5: In function ‘sprintf’, inlined from ‘botl_strength’ at botl.c:241:6, inlined from ‘botl_strength’ at botl.c:234:1: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 8 bytes into a destination of size 6 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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=] 531 | *rv++ = reconfig ? "dexterity" : (Sprintf(dex, "%d", ACURR(A_DEX)), dex); | ^~ botl.c:531:52: note: directive argument in the range [-128, 127] 531 | *rv++ = reconfig ? "dexterity" : (Sprintf(dex, "%d", ACURR(A_DEX)), dex); | ^~~~ In function ‘sprintf’, inlined from ‘bot_raw’ at botl.c:531:39: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 5 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ botl.c: In function ‘bot_raw’: botl.c:532:56: warning: ‘%d’ directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] 532 | *rv++ = reconfig ? "constitution" : (Sprintf(con, "%d", ACURR(A_CON)), con); | ^~ botl.c:532:55: note: directive argument in the range [-128, 127] 532 | *rv++ = reconfig ? "constitution" : (Sprintf(con, "%d", ACURR(A_CON)), con); | ^~~~ In function ‘sprintf’, inlined from ‘bot_raw’ at botl.c:532:42: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 5 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ botl.c: In function ‘bot_raw’: botl.c:533:56: warning: ‘%d’ directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] 533 | *rv++ = reconfig ? "intelligence" : (Sprintf(itl, "%d", ACURR(A_INT)), itl); | ^~ botl.c:533:55: note: directive argument in the range [-128, 127] 533 | *rv++ = reconfig ? "intelligence" : (Sprintf(itl, "%d", ACURR(A_INT)), itl); | ^~~~ In function ‘sprintf’, inlined from ‘bot_raw’ at botl.c:533:42: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 5 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ botl.c: In function ‘bot_raw’: botl.c:534:50: warning: ‘%d’ directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] 534 | *rv++ = reconfig ? "wisdom" : (Sprintf(wis, "%d", ACURR(A_WIS)), wis); | ^~ botl.c:534:49: note: directive argument in the range [-128, 127] 534 | *rv++ = reconfig ? "wisdom" : (Sprintf(wis, "%d", ACURR(A_WIS)), wis); | ^~~~ In function ‘sprintf’, inlined from ‘bot_raw’ at botl.c:534:36: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 5 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ botl.c: In function ‘bot_raw’: botl.c:535:52: warning: ‘%d’ directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] 535 | *rv++ = reconfig ? "charisma" : (Sprintf(cha, "%d", ACURR(A_CHA)), cha); | ^~ botl.c:535:51: note: directive argument in the range [-128, 127] 535 | *rv++ = reconfig ? "charisma" : (Sprintf(cha, "%d", ACURR(A_CHA)), cha); | ^~~~ In function ‘sprintf’, inlined from ‘bot_raw’ at botl.c:535:38: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 5 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:75: warning: missing braces around initializer [-Wmissing-braces] 1332 | struct { unsigned long mask; const char *str; } warntypes[] = { | ^ cmd.c:1514:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 1514 | if (wizard) Sprintf(eos(buf), " (%d)", u.uhealbonus); | ~^ ~~~~~~~~~~~~ | | | | int long int | %ld In file included from ../include/decl.h:265, from ../include/hack.h:92, from cmd.c:5: cmd.c: In function ‘click_to_cmd’: ../include/obj.h:279:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) cmd.c:3518:22: note: in expansion of macro ‘Is_container’ 3518 | cmd[0] = Is_container(level.objects[u.ux][u.uy]) ? M('l') : ','; | ^~~~~~~~~~~~ cmd.c: In function ‘makemenu.constprop.0’: cmd.c:2194:36: warning: ‘current_menu’ may be used uninitialized [-Wmaybe-uninitialized] 2194 | func = current_menu[i].m_funct; | ^ cmd.c:2161:32: note: ‘current_menu’ was declared here 2161 | const struct menu_tab *current_menu; | ^~~~~~~~~~~~ cmd.c: In function ‘enlightenment’: cmd.c:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 238 and 239 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:980, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9: In function ‘sprintf’, inlined from ‘enlght_line’ at cmd.c:1219:2, inlined from ‘enlightenment’ at cmd.c:1262:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 19 and 275 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function ‘enlightenment’: cmd.c:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 247 and 248 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at cmd.c:1219:2, inlined from ‘enlightenment’ at cmd.c:1302:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 10 and 266 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function ‘enlightenment’: cmd.c:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 247 and 248 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at cmd.c:1219:2, inlined from ‘enlightenment’ at cmd.c:1311:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 10 and 266 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function ‘show_conduct’: cmd.c:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at cmd.c:1219:2, inlined from ‘show_conduct’ at cmd.c:2298:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 266 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function ‘show_conduct’: cmd.c:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at cmd.c:1219:2, inlined from ‘show_conduct’ at cmd.c:2310:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 266 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function ‘show_conduct’: cmd.c:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at cmd.c:1219:2, inlined from ‘show_conduct’ at cmd.c:2320:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 266 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function ‘show_conduct’: cmd.c:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at cmd.c:1219:2, inlined from ‘show_conduct’ at cmd.c:2329:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 266 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function ‘show_conduct’: cmd.c:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at cmd.c:1219:2, inlined from ‘show_conduct’ at cmd.c:2339:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 266 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function ‘show_conduct’: cmd.c:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at cmd.c:1219:2, inlined from ‘show_conduct’ at cmd.c:2348:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 11 and 266 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function ‘show_conduct’: cmd.c:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size 252 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at cmd.c:1219:2, inlined from ‘show_conduct’ at cmd.c:2348:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 261 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function ‘show_conduct’: cmd.c:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 240 and 246 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at cmd.c:1219:2, inlined from ‘show_conduct’ at cmd.c:2362:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 12 and 273 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dbridge.o dbridge.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o decl.o decl.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o detect.o detect.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:56: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 256 | if (IS_ROCK(lev->typ) && !may_dig(dpx,dpy) && dig.c: In function ‘dighole’: dig.c:711:42: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 711 | IS_DOOR(levl[u.ux][u.uy].typ) && artifact_door(u.ux, u.uy) || gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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] 272 | if (level.flags.hero_memory) | ^ display.c: In function ‘glyph_is_floating’: display.c:1088:47: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1088 | glyph_is_warning(glyph) || tglyph && glyph == tglyph->glyph; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dlb.o dlb.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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, from ../include/hack.h:92, from do.c:7: do.c: In function ‘obj_no_longer_held’: ../include/obj.h:279:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) do.c:634:21: note: in expansion of macro ‘Is_container’ 634 | } else if ((Is_container(obj) || obj->otyp == STATUE) && obj->cobj) { | ^~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o do_name.o do_name.c do_name.c: In function ‘do_mname’: do_name.c:283:49: warning: ‘%s’ directive writing up to 255 bytes into a region of size 103 [-Wformat-overflow=] 283 | Sprintf(qbuf, "What do you want to call %s?", buf); | ^~ ~~~ In file included from /usr/include/stdio.h:980, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from do_name.c:5: In function ‘sprintf’, inlined from ‘do_mname’ at do_name.c:283:2: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 27 and 282 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o do_wear.o do_wear.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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: dog.c: In function ‘make_pet_minion’: ../include/emin.h:12:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dog.c:963:9: note: in expansion of macro ‘EMIN’ 963 | EMIN(mtmp2)->min_align = alignment; | ^~~~ In file included from dog.c:8: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dog.c:966:10: note: in expansion of macro ‘EPRI’ 966 | EPRI(mtmp2)->shralign = alignment; | ^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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: dogmove.c: In function ‘dog_move’: ../include/emin.h:12:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dogmove.c:848:50: note: in expansion of macro ‘EMIN’ 848 | if (mtmp->isminion) align1 = EMIN(mtmp)->min_align; | ^~~~ In file included from dogmove.c:10: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dogmove.c:851:55: note: in expansion of macro ‘EPRI’ 851 | else if (mtmp->ispriest) align1 = EPRI(mtmp)->shralign; | ^~~~ ../include/emin.h:12:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dogmove.c:853:51: note: in expansion of macro ‘EMIN’ 853 | if (mtmp2->isminion) align2 = EMIN(mtmp2)->min_align; | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dogmove.c:856:56: note: in expansion of macro ‘EPRI’ 856 | else if (mtmp2->ispriest) align2 = EPRI(mtmp2)->shralign; | ^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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, from ../include/hack.h:92, from dokick.c:5: dokick.c: In function ‘container_impact_dmg’: ../include/obj.h:279:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) dokick.c:382:14: note: in expansion of macro ‘Is_container’ 382 | if (!Is_container(obj) || Is_mbag(obj)) return; | ^~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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, from ../include/hack.h:90, from dothrow.c:7: dothrow.c: In function ‘thitmonst’: ../include/mondata.h:241:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 241 | (obj)->otyp == CHEESE && ((ptr) == &mons[PM_GIANT_RAT] || \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | (ptr) == &mons[PM_SEWER_RAT] || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 243 | (ptr) == &mons[PM_BLACK_RAT] || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 244 | (ptr) == &mons[PM_PACK_RAT]) || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dothrow.c:1639:20: note: in expansion of macro ‘befriend_with_obj’ 1639 | } else if (befriend_with_obj(mon->data, obj) || | ^~~~~~~~~~~~~~~~~ ../include/mondata.h:245:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 245 | (obj)->otyp == CARROT && ((ptr) == &mons[PM_RABBIT] || \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 246 | (ptr) == &mons[PM_RABID_RABBIT]) || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dothrow.c:1639:20: note: in expansion of macro ‘befriend_with_obj’ 1639 | } else if (befriend_with_obj(mon->data, obj) || | ^~~~~~~~~~~~~~~~~ ../include/mondata.h:247:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 247 | (obj)->otyp == BANANA && (ptr)->mlet == S_YETI)) dothrow.c:1639:20: note: in expansion of macro ‘befriend_with_obj’ 1639 | } else if (befriend_with_obj(mon->data, obj) || | ^~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o drawing.o drawing.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dungeon.o dungeon.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 481 | if (!victual.piece->odrained || Race_if(PM_VAMPIRE) && !rn2(5)) eat.c: In function ‘opentin’: eat.c:1275:67: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1275 | monexplain[mons[tin.tin->corpsenm].mlet]); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ eat.c: In function ‘fprefx’: eat.c:1689:48: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1689 | if (carnivorous(youmonst.data) && (!humanoid(youmonst.data)) || eat.c: In function ‘doeat’: eat.c:2548:73: warning: ‘?:’ using integer constants in boolean context, the expression will always evaluate to ‘true’ [-Wint-in-bool-context] 2548 | (((monstermoves - otmp->age) > (int) otmp->blessed ? 50:30) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ eat.c: At top level: eat.c:73:32: warning: ‘comestibles’ defined but not used [-Wunused-const-variable=] 73 | STATIC_OVL NEARDATA const char comestibles[] = { FOOD_CLASS, 0 }; | ^~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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, from ../include/hack.h:92, from end.c:7: end.c: In function ‘container_contents’: ../include/obj.h:279:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) end.c:1132:17: note: in expansion of macro ‘Is_container’ 1132 | if (Is_container(box) || box->otyp == STATUE) { | ^~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 800 | if (flags.verbose) | ^~ engrave.c:802:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 802 | doknown = TRUE; | ^~~~~~~ engrave.c:812:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 812 | if (flags.verbose) | ^~ engrave.c:814:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 814 | doknown = TRUE; | ^~~~~~~ engrave.c:1191:16: warning: ‘__strncat_chk’ output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 1191 | (void) strncat(buf, ebuf, (BUFSZ - (int)strlen(buf) - 1)); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o exper.o exper.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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] 72 | int i, j, bitmask; | ^~~~~~~ explode.c: In function ‘do_explode’: explode.c:472:28: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 472 | 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] 944 | if (mon && !DEADMONSTER(mon)) | ^ explode.c:954:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 954 | if (x == u.ux && y == u.uy) | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o extralev.o extralev.c ../util/makedefs -f gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:16: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 947 | (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ files.c: In function ‘docompress_file’: files.c:1322:24: warning: ignoring return value of ‘setgid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1322 | (void) setgid(getgid()); | ^~~~~~~~~~~~~~~~ files.c:1323:24: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1323 | (void) setuid(getuid()); | ^~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o fountain.o fountain.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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] 120 | struct rm *lev; | ^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o hacklib.o hacklib.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:68: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 657 | update_map = (obj->where == OBJ_FLOOR || Has_contents(obj) && invent.c: In function ‘mergable’: invent.c:2659:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2659 | flags.pickup_thrown && obj->was_thrown != otmp->was_thrown || | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/youprop.h:10, from ../include/hack.h:90, from invent.c:5: ../include/mondata.h:168:75: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 168 | #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 169 | (ptr) != &mons[PM_LICHEN] || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ invent.c:2692:18: note: in expansion of macro ‘is_reviver’ 2692 | is_reviver(&mons[otmp->corpsenm])))) | ^~~~~~~~~~ invent.c: In function ‘getobj’: invent.c:1096:37: warning: ‘floorchain’ may be used uninitialized [-Wmaybe-uninitialized] 1096 | for (otmp = floorchain; otmp; otmp = FOLLOW(otmp, floorfollow)) | ^~~~ invent.c:982:21: note: ‘floorchain’ was declared here 982 | struct obj *floorchain; | ^~~~~~~~~~ invent.c:39:49: warning: ‘floorfollow’ may be used uninitialized [-Wmaybe-uninitialized] 39 | (((flags) & BY_NEXTHERE) ? (curr)->nexthere : (curr)->nobj) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ invent.c:983:13: note: ‘floorfollow’ was declared here 983 | int floorfollow; | ^~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 107 | case LS_OBJECT: tmp_id = (genericptr_t)(((struct obj *)id)->o_id); | ^ light.c:109:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 109 | case LS_MONSTER: tmp_id = (genericptr_t)(((struct monst *)id)->m_id); | ^ light.c: In function ‘relink_light_sources’: light.c:347:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 347 | if (!lookup_id_mapping((unsigned)ls->id, &nid)) | ^ light.c:350:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 350 | nid = (unsigned) ls->id; | ^ light.c: In function ‘write_ls’: light.c:430:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 430 | ls->id = (genericptr_t)otmp->o_id; | ^ light.c:437:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 437 | ls->id = (genericptr_t)mtmp->m_id; | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o lock.o lock.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mail.o mail.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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: makemon.c: In function ‘clone_mon’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) makemon.c:1300:19: note: in expansion of macro ‘EPRI’ 1300 | *(EPRI(m3)) = *(EPRI(mon)); | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) makemon.c:1300:33: note: in expansion of macro ‘EPRI’ 1300 | *(EPRI(m3)) = *(EPRI(mon)); | ^~~~ makemon.c: In function ‘mongets’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:37:35: note: in expansion of macro ‘EPRI’ 37 | EPRI(mon)->shralign > 0)) | ^~~~ makemon.c:2181:23: note: in expansion of macro ‘is_lminion’ 2181 | } else if(is_lminion(mtmp)) { | ^~~~~~~~~~ makemon.c: In function ‘peace_minded’: makemon.c:2293:38: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2293 | if (ual > A_NEUTRAL && mal < A_NEUTRAL || makemon.c: In function ‘set_malign’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemon.c:2339:31: note: in expansion of macro ‘EPRI’ 2339 | mal = EPRI(mtmp)->shralign; | ^~~~ In file included from makemon.c:7: ../include/emin.h:12:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemon.c:2341:31: note: in expansion of macro ‘EMIN’ 2341 | mal = EMIN(mtmp)->min_align; | ^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mapglyph.o mapglyph.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:43: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 845 | if ((levl[u.ux][u.uy].typ != ROOM && levl[u.ux][u.uy].typ != CORR gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mhitm.o mhitm.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 161 | if (!flags.verbose || !nearmiss && !blocker) | ~~~~~~~~~~^~~~~~~~~~~ mhitu.c: In function ‘gazemu’: mhitu.c:2398:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2398 | if(!mtmp->mcan && canseemon(mtmp) && mtmp->mcansee && | ^~ mhitu.c:2403:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 2403 | stop_occupation(); | ^~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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: minion.c: In function ‘msummon’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minion.c:23:24: note: in expansion of macro ‘EPRI’ 23 | atyp = EPRI(mon)->shralign; | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:37:35: note: in expansion of macro ‘EPRI’ 37 | EPRI(mon)->shralign > 0)) | ^~~~ minion.c:41:20: note: in expansion of macro ‘is_lminion’ 41 | } else if (is_lminion(mon)) { | ^~~~~~~~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minion.c:80:17: note: in expansion of macro ‘EPRI’ 80 | EPRI(mtmp)->shralign = atyp; | ^~~~ In file included from minion.c:6: minion.c: In function ‘summon_minion’: ../include/emin.h:12:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minion.c:117:13: note: in expansion of macro ‘EMIN’ 117 | EMIN(mon)->min_align = alignment; | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minion.c:123:13: note: in expansion of macro ‘EPRI’ 123 | EPRI(mon)->shralign = alignment; /* always A_LAWFUL here */ | ^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1284 | if (lvl < 2) kind = NO_TRAP; break; | ^~ mklev.c:1284:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1284 | if (lvl < 2) kind = NO_TRAP; break; | ^~~~~ mklev.c:1286:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1286 | if (lvl < 5 || level.flags.noteleport) | ^~ mklev.c:1287:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1287 | kind = NO_TRAP; break; | ^~~~~ mklev.c:1289:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1289 | if (lvl < 5) kind = NO_TRAP; break; | ^~ mklev.c:1289:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1289 | if (lvl < 5) kind = NO_TRAP; break; | ^~~~~ mklev.c:1291:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1291 | if (lvl < 6) kind = NO_TRAP; break; | ^~ mklev.c:1291:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1291 | if (lvl < 6) kind = NO_TRAP; break; | ^~~~~ mklev.c:1293:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1293 | if (lvl < 7) kind = NO_TRAP; break; | ^~ mklev.c:1293:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1293 | if (lvl < 7) kind = NO_TRAP; break; | ^~~~~ mklev.c:1296:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1296 | if (lvl < 8) kind = NO_TRAP; break; | ^~ mklev.c:1296:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1296 | if (lvl < 8) kind = NO_TRAP; break; | ^~~~~ mklev.c:1298:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1298 | if (!Inhell) kind = NO_TRAP; break; | ^~ mklev.c:1298:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1298 | if (!Inhell) kind = NO_TRAP; break; | ^~~~~ mklev.c:1300:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1300 | if (level.flags.noteleport) kind = NO_TRAP; break; | ^~ mklev.c:1300:69: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1300 | if (level.flags.noteleport) kind = NO_TRAP; break; | ^~~~~ mklev.c:1303:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1303 | if (rn2(7)) kind = NO_TRAP; break; | ^~ mklev.c:1303:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1303 | if (rn2(7)) kind = NO_TRAP; break; | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:17: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 115 | for(count=0, dr=0; dr < 8; dr++) | ^~~ mkmap.c:119:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 119 | if (count == 5) | ^~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkmaze.o mkmaze.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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, from ../include/hack.h:92, from mkobj.c:5: mkobj.c: In function ‘weight’: ../include/obj.h:279:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) mkobj.c:957:13: note: in expansion of macro ‘Is_container’ 957 | if (Is_container(obj) || obj->otyp == STATUE) { | ^~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:340:27: warning: ‘tx’ may be used uninitialized [-Wmaybe-uninitialized] 340 | (sx == tx && sy == ty? &mons[PM_MIGO_QUEEN] : | ~~~^~~~~ mkroom.c:256:17: note: ‘tx’ was declared here 256 | int sh, tx, ty, goldlim, type = sroom->rtype; | ^~ mkroom.c:340:39: warning: ‘ty’ may be used uninitialized [-Wmaybe-uninitialized] 340 | (sx == tx && sy == ty? &mons[PM_MIGO_QUEEN] : | ~~~^~~~~ mkroom.c:256:21: note: ‘ty’ was declared here 256 | int sh, tx, ty, goldlim, type = sroom->rtype; | ^~ mkroom.c:366:27: warning: ‘goldlim’ may be used uninitialized [-Wmaybe-uninitialized] 366 | if(i >= goldlim) i = 5*level_difficulty(); | ^ mkroom.c:256:25: note: ‘goldlim’ was declared here 256 | int sh, tx, ty, goldlim, type = sroom->rtype; | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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, from ../include/hack.h:90, from mon.c:10: mon.c: In function ‘make_corpse’: ../include/mondata.h:168:75: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 168 | #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 169 | (ptr) != &mons[PM_LICHEN] || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ mon.c:160:26: note: in expansion of macro ‘is_reviver’ 160 | is_reviver((mon)->data) || \ | ^~~~~~~~~~ mon.c:407:46: note: in expansion of macro ‘KEEPTRAITS’ 407 | obj = mkcorpstat(CORPSE, KEEPTRAITS(mtmp) ? mtmp : 0, | ^~~~~~~~~~ mon.c: In function ‘mfndpos’: mon.c:1208:54: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1208 | 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] 1468 | if (unpolytime = stop_timer(UNPOLY_MON, (genericptr_t) mtmp)) { | ^~~~~~~~~~ mon.c: In function ‘lifesaved_monster’: mon.c:1555:38: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1555 | visible = u.uswallow && u.ustuck == mtmp || | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ mon.c: In function ‘unpoly_monster’: mon.c:1603:34: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1603 | visible = u.uswallow && u.ustuck == mtmp || cansee(mtmp->mx,mtmp->my); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ mon.c: In function ‘monstone’: ../include/mondata.h:168:75: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 168 | #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 169 | (ptr) != &mons[PM_LICHEN] || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ mon.c:160:26: note: in expansion of macro ‘is_reviver’ 160 | is_reviver((mon)->data) || \ | ^~~~~~~~~~ mon.c:1880:43: note: in expansion of macro ‘KEEPTRAITS’ 1880 | otmp = mkcorpstat(STATUE, KEEPTRAITS(mdef) ? mdef : 0, | ^~~~~~~~~~ mon.c: In function ‘newcham’: mon.c:2865:32: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2865 | if (msg && (u.uswallow && mtmp == u.ustuck || canspotmon(mtmp))) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mondata.o mondata.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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: monmove.c: In function ‘onscary’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:37:35: note: in expansion of macro ‘EPRI’ 37 | EPRI(mon)->shralign > 0)) | ^~~~ monmove.c:173:13: note: in expansion of macro ‘is_lminion’ 173 | is_lminion(mtmp) || mtmp->data == &mons[PM_ANGEL] || | ^~~~~~~~~~ In file included from ../include/decl.h:265, from ../include/hack.h:92, from monmove.c:5: monmove.c: In function ‘can_ooze’: ../include/obj.h:279:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) monmove.c:1437:21: note: in expansion of macro ‘Is_container’ 1437 | if (Is_container(obj) && obj->cobj) return FALSE; | ^~~~~~~~~~~~ monmove.c: In function ‘m_move’: monmove.c:1174:48: warning: ‘nix’ may be used uninitialized [-Wmaybe-uninitialized] 1174 | (void) breamspot(mtmp, | ^~~~~~~~~~~~~~~ 1175 | &ptr->mattk[bust_door_breath(mtmp)], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1176 | (nix-omx), (niy-omy)); | ~~~~~~~~~~~~~~~~~~~~~ monmove.c:659:21: note: ‘nix’ was declared here 659 | xchar gx,gy,nix,niy,chcnt; | ^~~ monmove.c:1174:48: warning: ‘niy’ may be used uninitialized [-Wmaybe-uninitialized] 1174 | (void) breamspot(mtmp, | ^~~~~~~~~~~~~~~ 1175 | &ptr->mattk[bust_door_breath(mtmp)], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1176 | (nix-omx), (niy-omy)); | ~~~~~~~~~~~~~~~~~~~~~ monmove.c:659:25: note: ‘niy’ was declared here 659 | xchar gx,gy,nix,niy,chcnt; | ^~~ 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' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o monstr.o monstr.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mplayer.o mplayer.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mthrowu.o mthrowu.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o muse.o muse.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o music.o music.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:24: warning: self-comparison always evaluates to false [-Wtautological-compare] 191 | if(sum != sum) | ^~ o_init.c: In function ‘dodiscovered’: o_init.c:431:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 431 | if (!dis++) | ^~ In file included from ../include/config.h:501, from ../include/hack.h:9, from o_init.c:5: ../include/global.h:347:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 347 | #define Sprintf (void) sprintf | ^ o_init.c:434:17: note: in expansion of macro ‘Sprintf’ 434 | Sprintf(buf, " %s", OBJ_NAME(objects[uniq_objs[i]])); | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 571 | if (!is_damageable(obj) && !iscrys || Hallucination) return; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ objnam.c: In function ‘doname’: objnam.c:850:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 850 | if(obj->owornmask & W_BALL) | ^~ objnam.c:852:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 852 | break; | ^~~~~ In file included from ../include/youprop.h:10, from ../include/hack.h:90, from objnam.c:5: objnam.c: In function ‘readobjnam’: ../include/mondata.h:168:75: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 168 | #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 169 | (ptr) != &mons[PM_LICHEN] || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ objnam.c:2760:36: note: in expansion of macro ‘is_reviver’ 2760 | (typ != CORPSE || !is_reviver(&mons[mntmp])) && | ^~~~~~~~~~ objnam.c: In function ‘strprepend’: objnam.c:75:16: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 75 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ | ^ objnam.c:68:31: note: length computed here 68 | register int i = (int)strlen(pref); | ^~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o options.o options.c options.c: In function ‘option_help’: options.c:3886:28: warning: ‘ - ’ directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] 3886 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, | ^~~ In file included from /usr/include/stdio.h:980, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from options.c:13: In function ‘sprintf’, inlined from ‘option_help’ at options.c:3886:2: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 25 or more bytes (assuming 260) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ options.c: In function ‘doset’: options.c:2968:57: warning: ‘s [’ directive writing 3 bytes into a region of size between 1 and 11 [-Wformat-overflow=] 2968 | Sprintf(fmtstr_doset_add_menu, "%%s%%-%ds [%%s]", biggest_name); | ^~~ In function ‘sprintf’, inlined from ‘doset’ at options.c:2968:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 12 and 22 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ options.c: In function ‘doset’: options.c:3044:44: warning: ‘__sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 3044 | Sprintf(buf, "%s:%s", compopt[opt_indx].name, buf2); | ^ In function ‘sprintf’, inlined from ‘doset’ at options.c:3044:4: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pager.o pager.c pager.c: In function ‘dowhatdoes_core’: pager.c:870:32: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 870 | (void) strncpy(buf, "^? ", 8); | ^ pager.c:874:32: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 874 | (void) strncpy(buf, "M-? ", 8); | ^ pager.c:879:32: warning: ‘strncpy’ output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 879 | (void) strncpy(buf+1, " ", 7); | ^ pager.c: In function ‘do_look.isra.0’: pager.c:755:42: warning: ‘%s’ directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] 753 | firstmatch = look_buf; | ~~~~~~~~ 754 | if (*firstmatch) { 755 | Sprintf(temp_buf, " (%s)", firstmatch); | ^~ In file included from /usr/include/stdio.h:980, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from pager.c:8: In function ‘sprintf’, inlined from ‘do_look.isra.0’ at pager.c:755:7: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 4 and 259 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pager.c: In function ‘do_look.isra.0’: pager.c:756:27: warning: ‘__strncat_chk’ output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 756 | (void)strncat(out_str, temp_buf, BUFSZ-strlen(out_str)-1); | ^ pager.c:760:48: warning: ‘%s’ directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 760 | Sprintf(temp_buf, " [seen: %s]", monbuf); | ^~ ~~~~~~ In function ‘sprintf’, inlined from ‘do_look.isra.0’ at pager.c:760:7: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 10 and 265 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pager.c: In function ‘do_look.isra.0’: pager.c:761:27: warning: ‘__strncat_chk’ output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 761 | (void)strncat(out_str, temp_buf, BUFSZ-strlen(out_str)-1); | ^ pager.c:769:31: warning: ‘__strncat_chk’ output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 769 | (void)strncat(out_str, temp_buf, BUFSZ-strlen(out_str)-1); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:37: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 649 | flags.pickup_thrown && curr->was_thrown) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ pickup.c:663:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 663 | flags.pickup_thrown && curr->was_thrown) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from ../include/decl.h:265, from ../include/hack.h:92, from pickup.c:9: pickup.c: In function ‘container_at’: ../include/obj.h:279:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) pickup.c:1469:20: note: in expansion of macro ‘Is_container’ 1469 | if(Is_container(cobj)) { | ^~~~~~~~~~~~ pickup.c: In function ‘doloot’: ../include/obj.h:279:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) pickup.c:1553:17: note: in expansion of macro ‘Is_container’ 1553 | if (Is_container(cobj)) { | ^~~~~~~~~~~~ pickup.c: In function ‘use_container’: pickup.c:2215:32: warning: unused variable ‘lcnt’ [-Wunused-variable] 2215 | int cnt = 0, used = 0, lcnt = 0, | ^~~~ pickup.c:2209:23: warning: unused variable ‘shkp’ [-Wunused-variable] 2209 | struct monst *shkp; | ^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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: pline.c: In function ‘mstatusline’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pline.c:287:29: note: in expansion of macro ‘EPRI’ 287 | alignment = EPRI(mtmp)->shralign; | ^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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, from ../include/hack.h:90, from polyself.c:13: polyself.c: In function ‘polyman’: ../include/mondata.h:126:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 126 | P_MAX_SKILL(P_TWO_WEAPON_COMBAT) >= P_BASIC && \ polyself.c:118:27: note: in expansion of macro ‘could_twoweap’ 118 | if (u.twoweap && !could_twoweap(youmonst.data)) | ^~~~~~~~~~~~~ polyself.c: In function ‘drop_weapon’: ../include/mondata.h:126:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 126 | P_MAX_SKILL(P_TWO_WEAPON_COMBAT) >= P_BASIC && \ polyself.c:850:21: note: in expansion of macro ‘could_twoweap’ 850 | } else if (!could_twoweap(youmonst.data)) { | ^~~~~~~~~~~~~ polyself.c: In function ‘polyatwill’: polyself.c:1711:35: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1711 | if (u.ulevel > 13 && u.uen > EN_ADULT_DRAGON || | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:39: error: passing argument 2 of ‘artifact_name’ from incompatible pointer type [-Wincompatible-pointer-types] 2517 | if (artifact_name(ONAME(obj), &otyp2) && otyp2 == obj->otyp) { | ^~~~~~ | | | int * In file included from ../include/config.h:323, from ../include/hack.h:9, from potion.c:5: ../include/extern.h:62:50: note: expected ‘short int *’ but argument is of type ‘int *’ 62 | E const char *FDECL(artifact_name, (const char *,short *)); | ^~~~~~~ ../include/tradstdc.h:124:27: note: in definition of macro ‘FDECL’ 124 | # define FDECL(f,p) f p | ^ make[1]: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem/src' make[1]: *** [: potion.o] Error 1 make: *** [Makefile:177: vulturesclaw] Error 2 make: Leaving directory '/builddir/build/BUILD/vultures-2.1.2/slashem' error: Bad exit status from /var/tmp/rpm-tmp.FuzdN6 (%build) RPM build warnings: RPM build errors: %patchN is deprecated (10 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.FuzdN6 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 0e00820d6d5f47bd84aea3aa05527f80 -D /var/lib/mock/f40-build-50733648-6067539/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.erckf1ig:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/nethack-vultures.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 0e00820d6d5f47bd84aea3aa05527f80 -D /var/lib/mock/f40-build-50733648-6067539/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.erckf1ig:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/nethack-vultures.spec'