Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/slashem.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1672310856.165630/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6ll_3v3b:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6ll_3v3b:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '39de9f0dd23740cab32eb8c3de7c0e12', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1672310856.165630/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6ll_3v3b:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 --target ppc64le --nodeps /builddir/build/SPECS/slashem.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 Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/slashem-0.0.8-0.33.E0F1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/slashem.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1672310856.165630/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6ll_3v3b:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6ll_3v3b:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '81fac270c70c4aaa92143499f2eb702a', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1672310856.165630/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6ll_3v3b:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 --target ppc64le --nodeps /builddir/build/SPECS/slashem.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 Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Y8zGhK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf slashem-0.0.8E0F1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/se008e0f1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd slashem-0.0.8E0F1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (slashem-config.patch):' Patch #0 (slashem-config.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .config --fuzz=0 patching file include/config.h patching file include/unixconf.h Patch #1 (slashem-libpng-1.5.patch): + echo 'Patch #1 (slashem-libpng-1.5.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .libpng --fuzz=0 patching file win/gl/gl_image.c patching file win/share/tile2png.c Patch #2 (slashem-format-security.patch): + echo 'Patch #2 (slashem-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .format-security --fuzz=0 patching file src/apply.c patching file src/artifact.c patching file src/botl.c patching file src/cmd.c patching file src/detect.c patching file src/dig.c patching file src/do.c patching file src/dothrow.c patching file src/dungeon.c patching file src/eat.c patching file src/engrave.c patching file src/hack.c patching file src/invent.c patching file src/lock.c patching file src/mail.c patching file src/makemon.c patching file src/mcastu.c patching file src/mhitu.c patching file src/mon.c patching file src/mthrowu.c patching file src/muse.c patching file src/polyself.c patching file src/potion.c patching file src/pray.c patching file src/priest.c patching file src/questpgr.c patching file src/read.c patching file src/region.c patching file src/restore.c patching file src/rumors.c patching file src/shk.c patching file src/sounds.c patching file src/spell.c patching file src/steed.c patching file src/tech.c patching file src/teleport.c patching file src/timeout.c patching file src/trap.c patching file src/zap.c patching file sys/amiga/winmenu.c patching file sys/share/nhlan.c patching file util/makedefs.c patching file win/proxy/winproxy.c + sed -i -e 's:^\(#define FILE_AREA_VAR\).*:\1 "/var/games/slashem/":' -e 's:^\(#define FILE_AREA_SAVE\).*:\1 "/var/games/slashem/save/":' -e 's:^\(#define FILE_AREA_SHARE\).*:\1 "/usr/share/games/slashem/":' -e 's:^\(#define FILE_AREA_UNSHARE\).*:\1 "/usr/lib64/games/slashem/":' -e 's:^\(#define FILE_AREA_DOC\).*:\1 "/usr/share/doc/slashem/":' include/unixconf.h + for f in *.txt + iconv -f iso8859-1 -t utf-8 history.txt + touch -r history.txt history.txt.conv + mv history.txt.conv history.txt + for f in *.txt + iconv -f iso8859-1 -t utf-8 make_anh.txt + touch -r make_anh.txt make_anh.txt.conv + mv make_anh.txt.conv make_anh.txt + for f in *.txt + iconv -f iso8859-1 -t utf-8 readme.txt + touch -r readme.txt readme.txt.conv + mv readme.txt.conv readme.txt + for f in *.txt + iconv -f iso8859-1 -t utf-8 slamfaq.txt + touch -r slamfaq.txt slamfaq.txt.conv + mv slamfaq.txt.conv slamfaq.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.f87j6z + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 slashem-0.0.8E0F1 + export LIBXAW_CFLAGS=-I/usr/include + LIBXAW_CFLAGS=-I/usr/include ++ pkg-config --libs xaw7 + export 'LIBXAW_LIBS=-lXaw7 -lXt -lX11 ' + LIBXAW_LIBS='-lXaw7 -lXt -lX11 ' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./sys/autoconf/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./sys/autoconf/config.sub ++ basename ./sys/autoconf/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./sys/autoconf/config.sub '/usr/lib/rpm/redhat/config.sub' -> './sys/autoconf/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./sys/autoconf/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./sys/autoconf/config.guess ++ basename ./sys/autoconf/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./sys/autoconf/config.guess '/usr/lib/rpm/redhat/config.guess' -> './sys/autoconf/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=powerpc64le-redhat-linux-gnu --host=powerpc64le-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-tty-graphics --enable-x11-graphics --enable-sdl-graphics --enable-gl-graphics --enable-data-librarian --enable-sinks --enable-reincarnation --enable-zouthern --enable-score-on-botl --enable-wizmode=games checking whether ln -s works... yes checking for gawk... gawk checking for powerpc64le-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu checking for powerpc64le-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking if libXaw is useable with -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include and -lXaw7 -lXt -lX11... yes checking LIBXAW_CFLAGS... -I/usr/include checking LIBXAW_LIBS... -lXaw7 -lXt -lX11 checking for flex... flex checking for yywrap in -lfl... no checking for yywrap in -ll... no checking lex output file root... lex.yy checking whether yytext is a pointer... no checking for bison... bison -y checking for powerpc64le-redhat-linux-gnu-chown... no checking for powerpc64le-redhat-linux-gnu-true... no checking for chown... chown checking for powerpc64le-redhat-linux-gnu-chgrp... no checking for powerpc64le-redhat-linux-gnu-true... no checking for chgrp... chgrp checking for powerpc64le-redhat-linux-gnu-chmod... no checking for powerpc64le-redhat-linux-gnu-true... no checking for chmod... chmod checking for powerpc64le-redhat-linux-gnu-windres... no checking for windres... no checking for NETHACK__LIBPNG... yes checking if libpng is useable with -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libpng16 and -lpng16 -lz ... yes checking NETHACK_LIBPNG_CFLAGS... -I/usr/include/libpng16 checking NETHACK_LIBPNG_LIBS... -lpng16 -lz checking for tgetent in -lncurses... yes checking for NETHACK_PROXY... checking for powerpc64le-redhat-linux-gnu-sdl-config... no checking for sdl-config... sdl-config checking for glBegin in -lGL... yes checking for valid window system configuration... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for string.h... (cached) yes checking for regex.h... yes checking for struct re_pattern_buffer... yes checking for void... yes checking whether strncmpi is declared... no checking whether strnicmp is declared... no checking whether to enable data-librarian... yes checking whether to enable sinks... yes checking whether to enable light-src-spell... yes checking whether to enable wallified-maze... yes checking whether to enable reincarnation... yes checking whether to enable blackmarket... yes checking whether to enable kops... yes checking whether to enable seduce... yes checking whether to enable invisible-objects... yes checking whether to enable unpolypile... yes checking whether to enable wallet-o-p... yes checking whether to enable lightsabers... yes checking whether to enable d-saber... yes checking whether to enable p-spoon... yes checking whether to enable firearms... yes checking whether to enable eaten-memory... yes checking whether to enable steed... yes checking whether to enable dwarf... yes checking whether to enable tourist... yes checking whether to enable yeoman... yes checking whether to enable zouthern... yes checking whether to enable redo... yes checking whether to enable clipping... yes checking whether to enable menu-color... yes checking whether to enable elbereth... yes checking whether to enable noartifactwish... no checking whether to enable no-bones... no checking whether to enable user-sounds... no checking whether to enable exp-on-botl... yes checking whether to enable score-on-botl... yes checking whether to enable keep-save... no checking whether to enable charon... no checking whether to enable show-dmg... yes checking whether to enable show-weight... yes checking whether to enable other-services... yes checking whether to enable dungeon-growth... yes checking whether to enable display-layers... yes checking whether to enable goldobj... no checking whether to enable autopickup-exceptions... no checking whether to enable wizmode... yes (user games) checking for owner of installed files... games checking for group of installed files... bin configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating dat/Makefile config.status: creating util/Makefile config.status: creating sys/autoconf/depend.awk config.status: creating include/autoconf.h config.status: linking ./sys/winnt/win32api.h to include/win32api.h + make FILE_AREA_VAR=/var/games/slashem FILE_AREA_SAVE=/var/games/slashem/save FILE_AREA_SHARE=/usr/share/games/slashem FILE_AREA_UNSHARE=/usr/lib64/games/slashem FILE_AREA_DOC=/usr/share/doc/slashem SHELLDIR=/usr/bin ( cd src ; make ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' Makefile:885: warning: overriding recipe for target 'monst.o' Makefile:360: warning: ignoring old recipe for target 'monst.o' Makefile:899: warning: overriding recipe for target 'objects.o' Makefile:364: warning: ignoring old recipe for target 'objects.o' touch ../src/config.h-t gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./monst.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./objects.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./alloc.c make[2]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c -o makedefs.o makedefs.c makedefs.c: In function 'do_filenames': makedefs.c:2396:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2396 | 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:1629:9: warning: 'strncpy' output may be truncated copying 3 bytes from a string of length 255 [-Wstringop-truncation] 1629 | strncpy(&qt_hdr.id[qt_hdr.n_hdr][0], code, LEN_HDR); | ^ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c -o panic.o panic.c gcc -DAUTOCONF -o makedefs makedefs.o ../src/monst.o ../src/objects.o ../src/alloc.o panic.o make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[2]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ./makedefs -p make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[2]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ./makedefs -o make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' touch ../src/hack.h-t gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./allmain.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./apply.c ./apply.c: In function 'use_pole': ./apply.c:2918:22: warning: unused variable 'typ' [-Wunused-variable] 2918 | int res = 0, typ, max_range; | ^~~ ./apply.c: At top level: ./apply.c:12:19: warning: 'all_count' defined but not used [-Wunused-const-variable=] 12 | static const char all_count[] = { ALLOW_COUNT, ALL_CLASSES, 0 }; | ^~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./attrib.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./ball.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./bones.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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:906, from ../include/global.h:8, from ../include/config.h:484, from ../include/hack.h:9, from ./botl.c:5: In function '*__sprintfieee128', 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_chkieee128' 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 '*__sprintfieee128', inlined from 'bot_raw' at ./botl.c:531:39: /usr/include/bits/stdio2.h:30:10: note: '*__sprintf_chkieee128' 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 '*__sprintfieee128', inlined from 'bot_raw' at ./botl.c:532:42: /usr/include/bits/stdio2.h:30:10: note: '*__sprintf_chkieee128' 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 '*__sprintfieee128', inlined from 'bot_raw' at ./botl.c:533:42: /usr/include/bits/stdio2.h:30:10: note: '*__sprintf_chkieee128' 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 '*__sprintfieee128', inlined from 'bot_raw' at ./botl.c:534:36: /usr/include/bits/stdio2.h:30:10: note: '*__sprintf_chkieee128' 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 '*__sprintfieee128', inlined from 'bot_raw' at ./botl.c:535:38: /usr/include/bits/stdio2.h:30:10: note: '*__sprintf_chkieee128' 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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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 ./cmd.c: In function 'rhack': ./cmd.c:3091:21: warning: case label value is less than minimum value for type [-Wswitch-outside-range] 3091 | case M('5'): *cmd = 'G'; break; | ^~~~ ./cmd.c:3092:21: warning: case label value is less than minimum value for type [-Wswitch-outside-range] 3092 | case M('0'): *cmd = 'I'; break; | ^~~~ 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:288:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./cmd.c:3509:22: note: in expansion of macro 'Is_container' 3509 | cmd[0] = Is_container(level.objects[u.ux][u.uy]) ? M('l') : ','; | ^~~~~~~~~~~~ ./cmd.c: In function 'makemenu.constprop.0': ./cmd.c:2185:36: warning: 'current_menu' may be used uninitialized [-Wmaybe-uninitialized] 2185 | func = current_menu[i].m_funct; | ^ ./cmd.c:2152:32: note: 'current_menu' was declared here 2152 | 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:906, from ../include/global.h:8, from ../include/config.h:484, from ../include/hack.h:9: In function '*__sprintfieee128', 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_chkieee128' 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 '*__sprintfieee128', 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_chkieee128' 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 '*__sprintfieee128', 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_chkieee128' 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 '*__sprintfieee128', inlined from 'enlght_line' at ./cmd.c:1219:2, inlined from 'show_conduct' at ./cmd.c:2289:6: /usr/include/bits/stdio2.h:30:10: note: '*__sprintf_chkieee128' 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 '*__sprintfieee128', inlined from 'enlght_line' at ./cmd.c:1219:2, inlined from 'show_conduct' at ./cmd.c:2301:6: /usr/include/bits/stdio2.h:30:10: note: '*__sprintf_chkieee128' 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 '*__sprintfieee128', inlined from 'enlght_line' at ./cmd.c:1219:2, inlined from 'show_conduct' at ./cmd.c:2311:6: /usr/include/bits/stdio2.h:30:10: note: '*__sprintf_chkieee128' 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 '*__sprintfieee128', 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_chkieee128' 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 '*__sprintfieee128', inlined from 'enlght_line' at ./cmd.c:1219:2, inlined from 'show_conduct' at ./cmd.c:2330:6: /usr/include/bits/stdio2.h:30:10: note: '*__sprintf_chkieee128' 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 '*__sprintfieee128', 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_chkieee128' 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 '*__sprintfieee128', 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_chkieee128' 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 '*__sprintfieee128', inlined from 'enlght_line' at ./cmd.c:1219:2, inlined from 'show_conduct' at ./cmd.c:2353:6: /usr/include/bits/stdio2.h:30:10: note: '*__sprintf_chkieee128' 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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./dbridge.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./decl.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./detect.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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:1080:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1080 | glyph_is_warning(glyph) || tglyph && glyph == tglyph->glyph; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./dlb.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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:288:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 288 | (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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./do_name.c ./do_name.c: In function 'do_mname': ./do_name.c:272:49: warning: '%s' directive writing up to 255 bytes into a region of size 103 [-Wformat-overflow=] 272 | Sprintf(qbuf, "What do you want to call %s?", buf); | ^~ ~~~ In file included from /usr/include/stdio.h:906, from ../include/global.h:8, from ../include/config.h:484, from ../include/hack.h:9, from ./do_name.c:5: In function '*__sprintfieee128', inlined from 'do_mname' at ./do_name.c:272:2: /usr/include/bits/stdio2.h:30:10: note: '*__sprintf_chkieee128' 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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./do_wear.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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:853:50: note: in expansion of macro 'EMIN' 853 | 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:856:55: note: in expansion of macro 'EPRI' 856 | 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:858:51: note: in expansion of macro 'EMIN' 858 | 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:861:56: note: in expansion of macro 'EPRI' 861 | else if (mtmp2->ispriest) align2 = EPRI(mtmp2)->shralign; | ^~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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:288:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 288 | (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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./drawing.c ./drawing.c:755:20: warning: 'IBM_r_oc_syms' defined but not used [-Wunused-const-variable=] 755 | static const uchar IBM_r_oc_syms[MAXOCLASSES] = { /* a la EPYX Rogue */ | ^~~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./dungeon.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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:288:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./end.c:1127:17: note: in expansion of macro 'Is_container' 1127 | if (Is_container(box) || box->otyp == STATUE) { | ^~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./exper.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./extralev.c ../util/makedefs -f gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./files.c ./files.c: In function 'delete_levelfile': ./files.c:569:24: warning: implicit declaration of function 'remove_area'; did you mean 'remove_rect'? [-Wimplicit-function-declaration] 569 | (void) remove_area(FILE_AREA_LEVL, lock, 0); | ^~~~~~~~~~~ | remove_rect ./files.c: In function 'commit_bonesfile': ./files.c:808:15: warning: implicit declaration of function 'rename_area' [-Wimplicit-function-declaration] 808 | ret = rename_area(FILE_AREA_BONES, tempname, bones); | ^~~~~~~~~~~ ./files.c:795:21: warning: unused variable 'fq_bones' [-Wunused-variable] 795 | const char *fq_bones, *tempname; | ^~~~~~~~ ./files.c: In function 'open_bonesfile': ./files.c:837:21: warning: unused variable 'fq_bones' [-Wunused-variable] 837 | const char *fq_bones; | ^~~~~~~~ ./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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./fountain.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./hacklib.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./lock.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mail.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mapglyph.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mhitm.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mklev.c ./mklev.c: In function 'mktrap': ./mklev.c:1280:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1280 | if (lvl < 2) kind = NO_TRAP; break; | ^~ ./mklev.c:1280:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1280 | if (lvl < 2) kind = NO_TRAP; break; | ^~~~~ ./mklev.c:1282:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1282 | if (lvl < 5 || level.flags.noteleport) | ^~ ./mklev.c:1283:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1283 | kind = NO_TRAP; break; | ^~~~~ ./mklev.c:1285:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1285 | if (lvl < 5) kind = NO_TRAP; break; | ^~ ./mklev.c:1285:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1285 | if (lvl < 5) kind = NO_TRAP; break; | ^~~~~ ./mklev.c:1287:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1287 | if (lvl < 6) kind = NO_TRAP; break; | ^~ ./mklev.c:1287:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1287 | if (lvl < 6) kind = NO_TRAP; break; | ^~~~~ ./mklev.c:1289:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1289 | if (lvl < 7) 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 < 7) kind = NO_TRAP; break; | ^~~~~ ./mklev.c:1292:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1292 | if (lvl < 8) kind = NO_TRAP; break; | ^~ ./mklev.c:1292:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1292 | if (lvl < 8) kind = NO_TRAP; break; | ^~~~~ ./mklev.c:1294:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1294 | if (!Inhell) kind = NO_TRAP; break; | ^~ ./mklev.c:1294:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1294 | if (!Inhell) kind = NO_TRAP; break; | ^~~~~ ./mklev.c:1296:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1296 | if (level.flags.noteleport) kind = NO_TRAP; break; | ^~ ./mklev.c:1296:69: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1296 | if (level.flags.noteleport) kind = NO_TRAP; break; | ^~~~~ ./mklev.c:1299:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1299 | if (rn2(7)) kind = NO_TRAP; break; | ^~ ./mklev.c:1299:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1299 | if (rn2(7)) kind = NO_TRAP; break; | ^~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mkmaze.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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:288:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./mkobj.c:955:13: note: in expansion of macro 'Is_container' 955 | if (Is_container(obj) || obj->otyp == STATUE) { | ^~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mkroom.c ./mkroom.c: In function 'fill_zoo': ./mkroom.c:340:67: warning: 'tx' may be used uninitialized [-Wmaybe-uninitialized] 340 | (sx == tx && sy == ty? &mons[PM_MIGO_QUEEN] : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 341 | (rn2(2)? &mons[PM_MIGO_DRONE] : &mons[PM_MIGO_WARRIOR])) : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mkroom.c:256:17: note: 'tx' was declared here 256 | int sh, tx, ty, goldlim, type = sroom->rtype; | ^~ ./mkroom.c:340:33: 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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mondata.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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:288:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 288 | (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/slashem-0.0.8E0F1/util' ./makedefs -m make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c -o monstr.o monstr.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mplayer.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mthrowu.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./muse.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./music.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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:484, from ../include/hack.h:9, from ./o_init.c:5: ../include/global.h:332:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 332 | #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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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 'doname': ./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 */ | ^ In function 'strprepend', inlined from 'doname' at ./objnam.c:907:7: ./objnam.c:68:31: note: length computed here 68 | register int i = (int)strlen(pref); | ^~~~~~~~~~~~ ./objnam.c: In function 'aobjnam': ./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 */ | ^ In function 'strprepend', inlined from 'aobjnam' at ./objnam.c:1177:8: ./objnam.c:68:31: note: length computed here 68 | register int i = (int)strlen(pref); | ^~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./options.c ./options.c: In function 'option_help': ./options.c:3863:28: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] 3863 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, | ^~~ In file included from /usr/include/stdio.h:906, from ../include/global.h:8, from ../include/config.h:484, from ../include/hack.h:9, from ./options.c:13: In function '*__sprintfieee128', inlined from 'option_help' at ./options.c:3863:2: /usr/include/bits/stdio2.h:30:10: note: '*__sprintf_chkieee128' 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:2947:57: warning: 's [' directive writing 3 bytes into a region of size between 1 and 11 [-Wformat-overflow=] 2947 | Sprintf(fmtstr_doset_add_menu, "%%s%%-%ds [%%s]", biggest_name); | ^~~ In function '*__sprintfieee128', inlined from 'doset' at ./options.c:2947:3: /usr/include/bits/stdio2.h:30:10: note: '*__sprintf_chkieee128' 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:3023:44: warning: '*__sprintf_chkieee128' may write a terminating nul past the end of the destination [-Wformat-overflow=] 3023 | Sprintf(buf, "%s:%s", compopt[opt_indx].name, buf2); | ^ In function '*__sprintfieee128', inlined from 'doset' at ./options.c:3023:4: /usr/include/bits/stdio2.h:30:10: note: '*__sprintf_chkieee128' 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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./pager.c ./pager.c: In function 'dowhatdoes_core': ./pager.c:862:32: warning: 'strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 862 | (void) strncpy(buf, "^? ", 8); | ^ ./pager.c:866:32: warning: 'strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 866 | (void) strncpy(buf, "M-? ", 8); | ^ ./pager.c:871:32: warning: 'strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 871 | (void) strncpy(buf+1, " ", 7); | ^ ./pager.c: In function 'do_look': ./pager.c:748:27: warning: '__strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 748 | (void)strncat(out_str, temp_buf, BUFSZ-strlen(out_str)-1); | ^ ./pager.c:753:27: warning: '__strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 753 | (void)strncat(out_str, temp_buf, BUFSZ-strlen(out_str)-1); | ^ ./pager.c:761:31: 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); | ^ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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:288:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 288 | (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:288:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 288 | (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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./potion.c ./potion.c: In function 'upgrade_obj': ./potion.c:2517:39: warning: 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:306, 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 | ^ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./pray.c ./pray.c: In function 'lawful_god_gives_angel': ./pray.c:1211:9: warning: variable 'mon' set but not used [-Wunused-but-set-variable] 1211 | int mon; | ^~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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:277:47: note: in expansion of macro 'EPRI' 277 | 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:289:47: note: in expansion of macro 'EPRI' 289 | 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:295:34: note: in expansion of macro 'EMIN' 295 | 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:303:49: note: in expansion of macro 'EPRI' 303 | 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:314:21: note: in expansion of macro 'EPRI' 314 | 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:314:42: note: in expansion of macro 'EPRI' 314 | 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:317:26: note: in expansion of macro 'EPRI' 317 | 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:328:35: note: in expansion of macro 'EPRI' 328 | 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:564:9: note: in expansion of macro 'EPRI' 564 | 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:566:17: note: in expansion of macro 'EPRI' 566 | 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:586:12: note: in expansion of macro 'EPRI' 586 | 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:631:18: note: in expansion of macro 'EPRI' 631 | 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:632:18: note: in expansion of macro 'EPRI' 632 | ay = y = EPRI(priest)->shrpos.y; | ^~~~ ./priest.c:648:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 648 | stpx == sgn(tbx) && stpy == sgn(tby)) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./priest.c:663:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 663 | else if (x2 > troom->hx || x1 <= troom->hx && !rn2(2)) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~ ./priest.c:683:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 683 | else if (x2 < troom->lx || x1 >= troom->lx && !rn2(2)) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~ ./priest.c:703:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 703 | else if (y2 > troom->hy || y1 <= troom->hy && !rn2(2)) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~ ./priest.c:723:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 723 | else if (y2 < troom->ly || y1 >= troom->ly && !rn2(2)) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~ ./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:798:25: note: in expansion of macro 'EPRI' 798 | 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:798:49: note: in expansion of macro 'EPRI' 798 | 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:801:25: note: in expansion of macro 'EPRI' 801 | 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:805:17: note: in expansion of macro 'EPRI' 805 | 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:821:65: note: in expansion of macro 'EPRI' 821 | 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:834:28: note: in expansion of macro 'EPRI' 834 | assign_level(&(EPRI(mtmp)->shrlevel), &u.uz); | ^~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./quest.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./questpgr.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./read.c ./read.c: In function 'seffects': ./read.c:1215:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1215 | if (mtmp) | ^ ./read.c:1313:34: warning: suggest parentheses around operand of '!' or change '|' to '||' or '!' to '~' [-Wparentheses] 1313 | else do_genocide(!sobj->cursed | (2 * !!Confusion)); | ^~~~~~~~~~~~~ ./read.c:1215:24: warning: 'mtmp' may be used uninitialized [-Wmaybe-uninitialized] 1215 | if (mtmp) | ^ ./read.c:1180:31: note: 'mtmp' was declared here 1180 | struct monst *mtmp; | ^~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./rect.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./region.c ./region.c: In function 'expire_gas_cloud': ./region.c:887:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 887 | damage = (int) reg->arg; | ^ ./region.c:892:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 892 | reg->arg = (genericptr_t) damage; | ^ ./region.c: In function 'inside_gas_cloud': ./region.c:941:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 941 | dam = (int) reg->arg; | ^ ./region.c: In function 'create_gas_cloud': ./region.c:1028:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1028 | cloud->arg = (genericptr_t) damage; | ^ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./restore.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./rip.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./rnd.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./role.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./rumors.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./save.c ./save.c: In function 'savemonchn': ./save.c:967:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 967 | if (release_data(mode)) | ^ ./save.c: In function 'savestateinlock': ./save.c:425:24: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 425 | (void) read(fd, (genericptr_t) &hpid, sizeof(hpid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./save.c:443:24: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 443 | (void) write(fd, (genericptr_t) &hackpid, sizeof(hackpid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./save.c:447:28: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 447 | (void) write(fd, (genericptr_t) &currlev, sizeof(currlev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./save.c: In function 'dosave0': ./save.c:312:32: warning: storing the address of local variable 'whynot' in 'killer' [-Wdangling-pointer=] 312 | HUP killer = whynot; | ~~~~~~~^~~~~~~~ ./save.c:170:14: note: 'whynot' declared here 170 | char whynot[BUFSZ]; | ^~~~~~ In file included from ../include/hack.h:92, from ./save.c:5: ../include/decl.h:204:15: note: 'killer' declared here 204 | E const char *killer; | ^~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./shk.c ./shk.c: In function 'blkmar_guards': ./shk.c:478:24: warning: the comparison will always evaluate as 'true' for the pointer operand in '(char *)&mt->mextra + (sizetype)mt->mxlth' must not be NULL [-Waddress] 478 | if (!mt->mtame && NAME(mt) && *NAME(mt) && mt->mpeaceful && | ^~ ./shk.c: In function 'obfree': ./shk.c:992:18: warning: implicit declaration of function 'fopen_datafile'; did you mean 'open_savefile'? [-Wimplicit-function-declaration] 992 | fp = fopen_datafile("buglog", "a", TROUBLEPREFIX); | ^~~~~~~~~~~~~~ | open_savefile ./shk.c:992:16: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 992 | fp = fopen_datafile("buglog", "a", TROUBLEPREFIX); | ^ ./shk.c: In function 'repair_damage': ./shk.c:3697:21: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 3697 | while (!(litter[i = rn2(9)] & INSHOP)); | ^~~~~ ./shk.c:3698:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 3698 | remove_object(otmp); | ^~~~~~~~~~~~~ ./shk.c: In function 'shk_identify': ./shk.c:4733:34: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 4733 | if (ESHK(shkp)->services & (SHK_ID_BASIC|SHK_ID_PREMIUM) == | ^ ./shk.c:4733:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 4733 | if (ESHK(shkp)->services & (SHK_ID_BASIC|SHK_ID_PREMIUM) == In function 'shk_charge', inlined from 'shk_other_services' at ./shk.c:1937:18: ./shk.c:5358:12: warning: 'type' may be used uninitialized [-Wmaybe-uninitialized] 5358 | if (type == 'b') | ^ ./shk.c: In function 'shk_other_services': ./shk.c:5317:14: note: 'type' was declared here 5317 | char type; /* Basic/premier service */ | ^~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./shknam.c ./shknam.c: In function 'stock_blkmar': ./shknam.c:643:9: warning: variable 'blkmar_gen' set but not used [-Wunused-but-set-variable] 643 | int blkmar_gen[NUM_OBJECTS+2]; | ^~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./sit.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./sounds.c ./sounds.c: In function 'domonnoise': ./sounds.c:898:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 898 | if (uwep && (uwep->oclass == WEAPON_CLASS || is_weptool(uwep)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./sounds.c:605:52: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds=] 605 | verbl_msg = vampmsg[vampindex]; | ~~~~~~~^~~~~~~~~~~ ./sounds.c:580:51: note: while referencing 'vampmsg.4' 580 | static const char * const vampmsg[] = { | ^~~~~~~ ./sounds.c: In function 'pet_distress': ./sounds.c:357:8: warning: 'verb' may be used uninitialized [-Wmaybe-uninitialized] 357 | if (verb) { | ^ ./sounds.c:341:17: note: 'verb' was declared here 341 | const char *verb; | ^~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./sp_lev.c ./sp_lev.c: In function 'create_monster': ./sp_lev.c:892:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 892 | if (!pm || !is_swimmer(pm) && !likes_lava(pm)) gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./spell.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./steal.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./steed.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./teleport.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./timeout.c ./timeout.c: In function 'attach_bomb_blow_timeout': ./timeout.c:651:73: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 651 | if (yours && (!carried(bomb) && costly_spot(bomb->ox, bomb->oy) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 652 | !bomb->no_charge || bomb->unpaid)) { | ~~~~~~~~~~~~~~~~ ./timeout.c: In function 'write_timer': ./timeout.c:2215:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2215 | timer->arg = (genericptr_t)((struct obj *)timer->arg)->o_id; | ^ ./timeout.c:2229:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2229 | timer->arg = (genericptr_t)((struct monst *)timer->arg)->m_id; | ^ ./timeout.c: In function 'relink_timers': ./timeout.c:2459:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2459 | if (!lookup_id_mapping((unsigned)curr->arg, &nid)) | ^ ./timeout.c:2462:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2462 | nid = (unsigned) curr->arg; | ^ ./timeout.c:2472:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2472 | if (!lookup_id_mapping((unsigned)curr->arg, &nid)) | ^ ./timeout.c:2475:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2475 | nid = (unsigned) curr->arg; | ^ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./topten.c ./topten.c: In function 'readentry': ./topten.c:223:55: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=] 223 | sscanf(dp2, "%d", &tt->conduct); | ~^ ~~~~~~~~~~~~ | | | | | long int * | int * | %ld ./topten.c: In function 'writeentry': ./topten.c:263:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 263 | Sprintf(cp, " Conduct=%d", tt->conduct); | ~^ ~~~~~~~~~~~ | | | | int long int | %ld gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./track.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./trap.c ./trap.c: In function 'dotrap': ./trap.c:1015:20: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1015 | else | ^~~~ ./trap.c:1020:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1020 | You("%s into %s spider web!", | ^~~ ./trap.c: In function 'uunstone': ./trap.c:2341:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2341 | else | ^~~~ ./trap.c:2345:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2345 | return (1); | ^~~~~~ In file included from ../include/decl.h:265, from ../include/hack.h:92, from ./trap.c:5: ./trap.c: In function 'fire_damage': ../include/obj.h:288:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./trap.c:2730:13: note: in expansion of macro 'Is_container' 2730 | if (Is_container(obj)) { | ^~~~~~~~~~~~ ./trap.c: In function 'water_damage': ../include/obj.h:288:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./trap.c:2825:27: note: in expansion of macro 'Is_container' 2825 | } else if(Is_container(obj) && !Is_box(obj) && | ^~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./u_init.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./uhitm.c ./uhitm.c: In function 'known_hitum': ./uhitm.c:500:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 500 | if (flags.verbose) | ^ ./uhitm.c: In function 'hmon_hitmon': ./uhitm.c:740:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 740 | objenchant = !thrown && no_obj || obj->spe < 0 ? 0 : obj->spe; | ~~~~~~~~^~~~~~~~~ ./uhitm.c:933:67: warning: comparison of constant '3' with boolean expression is always false [-Wbool-compare] 933 | obj->otyp == BOOMERANG && !rnl(4) == 4-1) { | ^~ ./uhitm.c:933:67: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] ./uhitm.c:933:59: note: add parentheses around left hand side expression to silence this warning 933 | obj->otyp == BOOMERANG && !rnl(4) == 4-1) { | ^~~~~~~ | ( ) ./uhitm.c: In function 'damageum': ./uhitm.c:1895:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1895 | if (!Blind) | ^~ ./uhitm.c:1897:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1897 | xkilled(mdef,3); | ^~~~~~~ ./uhitm.c: In function 'hmonas': ./uhitm.c:2734:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2734 | if ((uwep || u.twoweap && uswapwep) && | ~~~~~~~~~~^~~~~~~~~~~ ./uhitm.c:2735:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2735 | (mhit == HIT_UWEP && !uwep || | ~~~~~~~~~~~~~~~~~^~~~~~~~ ./uhitm.c:2779:64: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2779 | barehanded_hit = (dhit & HIT_UWEP) && !uwep || | ~~~~~~~~~~~~~~~~~~^~~~~~~~ ./uhitm.c:2815:25: warning: "/*" within comment [-Wcomment] 2815 | /* succubi/incubi are humanoid, but their _second_ | ./uhitm.c:2825:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2825 | if ((uwep || u.twoweap && uswapwep) && | ~~~~~~~~~~^~~~~~~~~~~ ./uhitm.c:2835:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2835 | if ((uwep || u.twoweap && uswapwep) && | ~~~~~~~~~~^~~~~~~~~~~ ./uhitm.c: In function 'passive': ./uhitm.c:3071:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3071 | mhit & HIT_UWEP && !uwep || | ~~~~~~~~~~~~~~~~^~~~~~~~ ./uhitm.c:3072:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3072 | mhit & HIT_USWAPWEP && !uswapwep; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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/slashem-0.0.8E0F1/util' ./makedefs -z make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./vision.c ./vision.c: In function 'vision_recalc': ./vision.c:600:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 600 | if (row < 0) continue; if (row >= ROWNO) break; | ^~ ./vision.c:600:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 600 | if (row < 0) continue; if (row >= ROWNO) break; | ^~ ./vision.c:621:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 621 | if (row < 0) continue; if (row >= ROWNO) break; | ^~ ./vision.c:621:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 621 | if (row < 0) continue; if (row >= ROWNO) break; | ^~ ./vision.c:659:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 659 | if (row < 0) continue; if (row >= ROWNO) break; | ^~ ./vision.c:659:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 659 | if (row < 0) continue; if (row >= ROWNO) break; | ^~ ./vision.c: In function 'right_side': ./vision.c:2211:20: warning: 'rowp' may be used uninitialized [-Wmaybe-uninitialized] 2211 | register char *rowp; /* row optimization */ | ^~~~ ./vision.c:1098:24: warning: 'row_min' may be used uninitialized [-Wmaybe-uninitialized] 1098 | #define set_min(z) if (*row_min > (z)) *row_min = (z) | ^~~~~~~~ ./vision.c:2212:20: note: 'row_min' was declared here 2212 | char *row_min; /* left most [used by macro set_min()] */ | ^~~~~~~ ./vision.c:1099:24: warning: 'row_max' may be used uninitialized [-Wmaybe-uninitialized] 1099 | #define set_max(z) if (*row_max < (z)) *row_max = (z) | ^~~~~~~~ ./vision.c:2213:20: note: 'row_max' was declared here 2213 | char *row_max; /* right most [used by macro set_max()] */ | ^~~~~~~ ./vision.c: In function 'left_side': ./vision.c:2387:20: warning: 'rowp' may be used uninitialized [-Wmaybe-uninitialized] 2387 | register char *rowp; | ^~~~ ./vision.c:1098:24: warning: 'row_min' may be used uninitialized [-Wmaybe-uninitialized] 1098 | #define set_min(z) if (*row_min > (z)) *row_min = (z) | ^~~~~~~~ ./vision.c:2388:20: note: 'row_min' was declared here 2388 | char *row_min, *row_max; | ^~~~~~~ ./vision.c:1099:24: warning: 'row_max' may be used uninitialized [-Wmaybe-uninitialized] 1099 | #define set_max(z) if (*row_max < (z)) *row_max = (z) | ^~~~~~~~ ./vision.c:2388:30: note: 'row_max' was declared here 2388 | char *row_min, *row_max; | ^~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c -o vis_tab.o vis_tab.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./weapon.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./were.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./wield.c In file included from ../include/youprop.h:10, from ../include/hack.h:90, from ./wield.c:5: ./wield.c: In function 'can_twoweapon': ../include/mondata.h:126:69: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 126 | P_MAX_SKILL(P_TWO_WEAPON_COMBAT) >= P_BASIC && \ ./wield.c:507:14: note: in expansion of macro 'could_twoweap' 507 | if (!could_twoweap(youmonst.data) && (uwep || uswapwep)) { | ^~~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./windows.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./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:37:35: note: in expansion of macro 'EPRI' 37 | EPRI(mon)->shralign > 0)) | ^~~~ ./wizard.c:627:19: note: in expansion of macro 'is_lminion' 627 | } else if(is_lminion(mtmp)) { | ^~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./worm.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./worn.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./write.c ./write.c: In function 'dowrite': ./write.c:123:23: warning: 'strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 123 | (void)strncpy(bp, " armor ", 7); /* won't add '\0' */ | ^ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./zap.c ./zap.c: In function 'poly_obj': ./zap.c:1442:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1442 | if (!otmp) | ^ In file included from ../include/decl.h:265, from ../include/hack.h:92, from ./zap.c:5: ./zap.c: In function 'bhito': ../include/obj.h:288:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./zap.c:1862:21: note: in expansion of macro 'Is_container' 1862 | if (Is_container(obj) || obj->otyp == STATUE) { | ^~~~~~~~~~~~ ./zap.c: In function 'bhit': ./zap.c:3298:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3298 | (genericptr_t) lits); | ^ ./zap.c:3393:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3393 | LS_TEMP, (genericptr_t) lits); | ^ ./zap.c:3444:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3444 | del_light_source(LS_TEMP, (genericptr_t) lits); | ^ ./zap.c: In function 'buzz': ./zap.c:4000:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4000 | new_light_source(sx, sy, 1, LS_TEMP, (genericptr_t) lits); | ^ ./zap.c:4034:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4034 | del_light_source(LS_TEMP, (genericptr_t) lits); | ^ ./zap.c:4277:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4277 | del_light_source(LS_TEMP, (genericptr_t) lits); | ^ In function 'throwstorm', inlined from 'weffects' at ./zap.c:3036:5: ./zap.c:2317:13: warning: 'expl_type' may be used uninitialized [-Wmaybe-uninitialized] 2317 | explode(u.dx, u.dy, type, u.ulevel/4 + 1 + skilldmg, 0, expl_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./zap.c: In function 'weffects': ./zap.c:2260:13: note: 'expl_type' was declared here 2260 | int expl_type; | ^~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./gypsy.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./tech.c ./tech.c: In function 'aborttech': ./tech.c:240:1: warning: type of 'tech' defaults to 'int' [-Wimplicit-int] 240 | aborttech(tech) | ^~~~~~~~~ ./tech.c: In function 'techeffects': ./tech.c:852:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 852 | if (!Blind) | ^~ ./tech.c:856:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 856 | uncurse(obj); | ^~~~~~~ ./tech.c:1251:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1251 | || obj->oinvis && !See_invisible ./tech.c: In function 'doblitzlist': ./tech.c:1975:16: warning: variable 'n' set but not used [-Wunused-but-set-variable] 1975 | int i, n; | ^ In file included from /usr/include/stdio.h:906, from ../include/global.h:8, from ../include/config.h:484, from ../include/hack.h:9, from ./tech.c:8: In function '*__sprintfieee128', inlined from 'dotechmenu' at ./tech.c:472:3, inlined from 'gettech' at ./tech.c:396:16: /usr/include/bits/stdio2.h:30:10: warning: 'longest' may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./tech.c: In function 'gettech': ./tech.c:405:24: note: 'longest' was declared here 405 | int i, n, len, longest, techs_useable, tlevel; | ^~~~~~~ ./tech.c: In function 'techeffects': ./tech.c:1362:20: warning: 'mtmp' may be used uninitialized [-Wmaybe-uninitialized] 1362 | if (!mtmp || !canseemon(mtmp)) { | ^ ./tech.c:577:23: note: 'mtmp' was declared here 577 | struct monst *mtmp; | ^~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../sys/share/ioctl.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../sys/unix/unixmain.c ./../sys/unix/unixmain.c: In function 'main': ./../sys/unix/unixmain.c:181:31: warning: '__strncat_chk' output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] 181 | (void)strncat(strcat(plname, "-"), | ^ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../sys/share/unixtty.c ./../sys/share/unixtty.c: In function 'linux_mapon': ./../sys/share/unixtty.c:399:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 399 | write(1, "\033(B", 3); | ^~~~~~~~~~~~~~~~~~~~~ ./../sys/share/unixtty.c: In function 'linux_mapoff': ./../sys/share/unixtty.c:409:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 409 | write(1, "\033(U", 3); | ^~~~~~~~~~~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../sys/unix/unixunix.c ./../sys/unix/unixunix.c: In function 'eraseoldlocks': ./../sys/unix/unixunix.c:90:24: warning: implicit declaration of function 'remove_area'; did you mean 'remove_rect'? [-Wimplicit-function-declaration] 90 | (void) remove_area(FILE_AREA_LEVL, lock); | ^~~~~~~~~~~ | remove_rect ./../sys/unix/unixunix.c: In function 'rename_area': ./../sys/unix/unixunix.c:452:13: warning: unused variable 'lenarea' [-Wunused-variable] 452 | int lenarea; | ^~~~~~~ ./../sys/unix/unixunix.c: In function 'child': ./../sys/unix/unixunix.c:332:24: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 332 | (void) setgid(getgid()); | ^~~~~~~~~~~~~~~~ ./../sys/unix/unixunix.c:333:24: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 333 | (void) setuid(getuid()); | ^~~~~~~~~~~~~~~~ ./../sys/unix/unixunix.c:335:24: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 335 | (void) chdir(getenv("HOME")); | ^~~~~~~~~~~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../sys/unix/unixres.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/tty/getline.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/tty/termcap.c ./../win/tty/termcap.c: In function 'term_start_color': ./../win/tty/termcap.c:1286:32: warning: array subscript has type 'char' [-Wchar-subscripts] 1286 | xputs(hilites[ttycolors[color]]); | ~~~~~~~~~^~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/tty/topl.c ./../win/tty/topl.c: In function 'tty_doprev_message': ./../win/tty/topl.c:39:11: warning: unused variable 'tmpwin' [-Wunused-variable] 39 | winid tmpwin; | ^~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/tty/wintty.c ./../win/tty/wintty.c: In function 'tty_player_selection': ./../win/tty/wintty.c:331:36: warning: unused variable 'lastch' [-Wunused-variable] 331 | char pick4u = 'n', thisch, lastch = 0; | ^~~~~~ ./../win/tty/wintty.c:331:28: warning: unused variable 'thisch' [-Wunused-variable] 331 | char pick4u = 'n', thisch, lastch = 0; | ^~~~~~ ./../win/tty/wintty.c: In function 'process_menu_window': ./../win/tty/wintty.c:1400:22: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1400 | } else | ^~~~ ./../win/tty/wintty.c:1403:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1403 | for (n = 0, cp = curr->str; | ^~~ ./../win/tty/wintty.c: In function 'tty_player_selection': ./../win/tty/wintty.c:614:45: warning: '%s' directive writing up to 127 bytes into a region of size 107 [-Wformat-overflow=] 393 | if (tty_role_select(pbuf, plbuf) < 0) goto give_up; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 614 | Sprintf(pbuf, "Pick a role for your %s", plbuf); | ^~ In file included from /usr/include/stdio.h:906, from ../include/global.h:8, from ../include/config.h:484, from ../include/hack.h:9, from ./../win/tty/wintty.c:11: In function '*__sprintfieee128', inlined from 'tty_role_select' at ./../win/tty/wintty.c:614:2, inlined from 'tty_player_selection' at ./../win/tty/wintty.c:393:11: /usr/include/bits/stdio2.h:30:10: note: '*__sprintf_chkieee128' output between 22 and 149 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 ()); | ~~~~~~~~~~~~~~~~~ ./../win/tty/wintty.c: In function 'tty_player_selection': ./../win/tty/wintty.c:686:50: warning: '%s' directive writing up to 127 bytes into a region of size 106 [-Wformat-overflow=] 412 | if (tty_race_select(pbuf, plbuf) < 0) goto give_up; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 686 | Sprintf(pbuf, "Pick the race of your %s", plbuf); | ^~ In function '*__sprintfieee128', inlined from 'tty_race_select' at ./../win/tty/wintty.c:686:6, inlined from 'tty_player_selection' at ./../win/tty/wintty.c:412:11: /usr/include/bits/stdio2.h:30:10: note: '*__sprintf_chkieee128' output between 23 and 150 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 ()); | ~~~~~~~~~~~~~~~~~ ./../win/tty/wintty.c: In function 'tty_player_selection': ./../win/tty/wintty.c:474:72: warning: '%s' directive writing up to 127 bytes into a region of size 104 [-Wformat-overflow=] 474 | Sprintf(pbuf, "Pick the gender of your %s", plbuf); | ^~ ~~~~~ In function '*__sprintfieee128', inlined from 'tty_player_selection' at ./../win/tty/wintty.c:474:5: /usr/include/bits/stdio2.h:30:10: note: '*__sprintf_chkieee128' output between 25 and 152 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 ()); | ~~~~~~~~~~~~~~~~~ ./../win/tty/wintty.c: In function 'tty_player_selection': ./../win/tty/wintty.c:545:75: warning: '%s' directive writing up to 127 bytes into a region of size 101 [-Wformat-overflow=] 545 | Sprintf(pbuf, "Pick the alignment of your %s", plbuf); | ^~ ~~~~~ In function '*__sprintfieee128', inlined from 'tty_player_selection' at ./../win/tty/wintty.c:545:5: /usr/include/bits/stdio2.h:30:10: note: '*__sprintf_chkieee128' output between 28 and 155 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 ()); | ~~~~~~~~~~~~~~~~~ In function 'tty_race_select', inlined from 'tty_player_selection' at ./../win/tty/wintty.c:412:11: ./../win/tty/wintty.c:672:24: warning: 'lastch' may be used uninitialized [-Wmaybe-uninitialized] 672 | if (thisch == lastch) thisch = highc(thisch); | ^ ./../win/tty/wintty.c: In function 'tty_player_selection': ./../win/tty/wintty.c:636:22: note: 'lastch' was declared here 636 | char thisch, lastch; | ^~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/X11/Window.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/X11/dialogs.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/X11/winX.c ./../win/X11/winX.c: In function 'init_standard_windows': ./../win/X11/winX.c:1958:46: warning: passing argument 2 of 'XtAppSetErrorHandler' makes '__attribute__((noreturn))' qualified function pointer from unqualified [-Wdiscarded-qualifiers] 1958 | (void) XtAppSetErrorHandler(app_context, (XtErrorHandler) hangup); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../win/X11/winX.c:19: /usr/include/X11/Intrinsic.h:1771:5: note: expected '__attribute__((noreturn)) void (*)(char *)' but argument is of type 'void (*)(char *)' 1771 | XtErrorHandler /* handler */ _X_NORETURN | ^ ./../win/X11/winX.c: In function 'X11_init_nhwindows': ./../win/X11/winX.c:970:12: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 970 | (void) seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ ./../win/X11/winX.c:1030:12: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1030 | (void) seteuid(savuid); | ^~~~~~~~~~~~~~~ ./../win/X11/winX.c: In function 'done_button': ./../win/X11/winX.c:1226:12: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 1226 | (void) strncpy(getline_input, s, len); | ^ ./../win/X11/winX.c:1221:11: note: length computed here 1221 | len = strlen(s); | ^~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/X11/winmap.c ./../win/X11/winmap.c: In function 'clear_map_window': ./../win/X11/winmap.c:1001:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1001 | if (tile_index >= 0 && strcmp(tileset, tilesets[tile_index].name) || | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/X11/winmenu.c ./../win/X11/winmenu.c: In function 'menu_select': ./../win/X11/winmenu.c:140:46: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 140 | XawListChange(wp->w, menu_info->curr_menu.list_pointer, 0, 0, True); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | char ** In file included from ./../win/X11/winmenu.c:28: /usr/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, | ^ ./../win/X11/winmenu.c: In function 'menu_key': ./../win/X11/winmenu.c:289:58: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 289 | XawListChange(wp->w, menu_info->curr_menu.list_pointer, 0, 0, True); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | char ** /usr/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, | ^ ./../win/X11/winmenu.c:304:58: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 304 | XawListChange(wp->w, menu_info->curr_menu.list_pointer, 0, 0, True); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | char ** /usr/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, | ^ ./../win/X11/winmenu.c: In function 'select_all': ./../win/X11/winmenu.c:420:61: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 420 | XawListChange(wp->w, wp->menu_information->curr_menu.list_pointer, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | char ** /usr/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, | ^ ./../win/X11/winmenu.c: In function 'select_none': ./../win/X11/winmenu.c:444:61: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 444 | XawListChange(wp->w, wp->menu_information->curr_menu.list_pointer, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | char ** /usr/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, | ^ ./../win/X11/winmenu.c: In function 'invert_all': ./../win/X11/winmenu.c:463:57: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 463 | XawListChange(wp->w, wp->menu_information->curr_menu.list_pointer, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | char ** /usr/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, | ^ ./../win/X11/winmenu.c: In function 'invert_match': ./../win/X11/winmenu.c:487:61: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 487 | XawListChange(wp->w, wp->menu_information->curr_menu.list_pointer, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | char ** /usr/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, | ^ ./../win/X11/winmenu.c: In function 'select_match': ./../win/X11/winmenu.c:507:69: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 507 | XawListChange(wp->w, wp->menu_information->curr_menu.list_pointer, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | char ** /usr/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, | ^ ./../win/X11/winmenu.c: In function 'X11_select_menu': ./../win/X11/winmenu.c:980:50: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 980 | XawListChange(wp->w, menu_info->curr_menu.list_pointer, 0, 0, TRUE); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | char ** /usr/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, | ^ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/X11/winmesg.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/X11/winmisc.c ./../win/X11/winmisc.c: In function 'ps_select': ./../win/X11/winmisc.c:110:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 110 | ps_selected = (int) client_data; | ^ ./../win/X11/winmisc.c: In function 'extend_select': ./../win/X11/winmisc.c:564:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 564 | int selected = (int) client_data; | ^ ./../win/X11/winmisc.c: In function 'make_menu': ./../win/X11/winmisc.c:878:58: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 878 | XtAddCallback(*curr, XtNcallback, name_callback, (XtPointer) i); | ^ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/X11/winstat.c ./../win/X11/winstat.c: In function 'init_column': ./../win/X11/winstat.c:907:12: warning: 'width1' may be used uninitialized [-Wmaybe-uninitialized] 907 | if (width1 > max_width1) max_width1 = width1; | ^ ./../win/X11/winstat.c:880:21: note: 'width1' was declared here 880 | int max_width1, width1, max_width2, width2; | ^~~~~~ ./../win/X11/winstat.c:908:12: warning: 'width2' may be used uninitialized [-Wmaybe-uninitialized] 908 | if (width2 > max_width2) max_width2 = width2; | ^ ./../win/X11/winstat.c:880:41: note: 'width2' was declared here 880 | int max_width1, width1, max_width2, width2; | ^~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/X11/wintext.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/X11/winval.c make[2]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -o tilemap ./../win/share/tilemap.c ./tilemap make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c -o tile.o tile.c ar cr nhwin.a tile.o gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_conf.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_emul.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_font.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_hardw.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_image.c ./../win/gl/gl_image.c: In function 'sdlgl_load_png_file': ./../win/gl/gl_image.c:471:19: warning: pointer targets in passing argument 1 of 'png_sig_cmp' differ in signedness [-Wpointer-sign] 471 | if (png_sig_cmp(sig_buf, (png_size_t)0, CHECK_PNG_BYTES) != 0) | ^~~~~~~ | | | char * In file included from /usr/include/png.h:335, from ../include/winGL.h:72, from ./../win/gl/gl_image.c:18: /usr/include/png.h:913:1: note: expected 'png_const_bytep' {aka 'const unsigned char *'} but argument is of type 'char *' 913 | PNG_EXPORT(3, int, png_sig_cmp, (png_const_bytep sig, size_t start, | ^~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_main.c ./../win/gl/gl_main.c:82:19: warning: initialization of 'void (*)(const char *, const char *, int)' from incompatible pointer type 'void (*)(const char *, int)' [-Wincompatible-pointer-types] 82 | Sdlgl_putstr, Sdlgl_display_file, | ^~~~~~~~~~~~~~~~~~ ./../win/gl/gl_main.c:82:19: note: (near initialization for 'sdlgl_hardw_procs.win_display_file') ./../win/gl/gl_main.c:124:19: warning: initialization of 'void (*)(const char *, const char *, int)' from incompatible pointer type 'void (*)(const char *, int)' [-Wincompatible-pointer-types] 124 | Sdlgl_putstr, Sdlgl_display_file, | ^~~~~~~~~~~~~~~~~~ ./../win/gl/gl_main.c:124:19: note: (near initialization for 'sdlgl_softw_procs.win_display_file') gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_map.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_menu.c ./../win/gl/gl_menu.c:35:19: warning: 'default_menu_cmds' defined but not used [-Wunused-const-variable=] 35 | static const char default_menu_cmds[] = | ^~~~~~~~~~~~~~~~~ ../util/makedefs -v gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_opt.c ./../win/gl/gl_opt.c: In function 'show_help_message': ./../win/gl/gl_opt.c:331:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] 331 | sdlgl_error(""); | ^~ ./../win/gl/gl_opt.c: In function 'show_version_message': ./../win/gl/gl_opt.c:344:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] 344 | sdlgl_error(""); | ^~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_rendu.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_role.c In function 'select_a_role', inlined from 'Sdlgl_player_selection' at ./../win/gl/gl_role.c:553:9: ./../win/gl/gl_role.c:346:8: warning: 'pick4u' may be used uninitialized [-Wmaybe-uninitialized] 346 | if (pick4u || flags.initrole == ROLE_RANDOM || flags.randomall) | ^ ./../win/gl/gl_role.c: In function 'Sdlgl_player_selection': ./../win/gl/gl_role.c:542:7: note: 'pick4u' was declared here 542 | int pick4u; | ^~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_softw.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_stat.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_text.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_tile.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_unit.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_win.c ./../win/gl/gl_win.c: In function 'Sdlgl_create_nhwindow': ./../win/gl/gl_win.c:74:22: warning: variable 'newwin' set but not used [-Wunused-but-set-variable] 74 | struct TextWindow *newwin; | ^~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./version.c Loading ... ./shk.c:992:18: warning: type of 'fopen_datafile' does not match original declaration [-Wlto-type-mismatch] 992 | fp = fopen_datafile("buglog", "a", TROUBLEPREFIX); | ^ ./files.c:385:1: note: return value type mismatch 385 | fopen_datafile(filename, mode, prefix) | ^ ./files.c:385:1: note: 'fopen_datafile' was previously declared here ./files.c:385:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used In function 'mondead', inlined from 'mondead' at ./mon.c:1619:1: ./mon.c:1682:55: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1682 | if (mvitals[tmp].died < 255) mvitals[tmp].died++; | ^ ./decl.c: In function 'mondead': ./decl.c:231:25: note: at offset -3 into destination object 'mvitals' of size 2448 231 | NEARDATA struct mvitals mvitals[NUMMONS]; | ^ In function 'mondead', inlined from 'mondead' at ./mon.c:1619:1: ./mon.c:1682:55: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1682 | if (mvitals[tmp].died < 255) mvitals[tmp].died++; | ^ ./decl.c: In function 'mondead': ./decl.c:231:25: note: at offset -3 into destination object 'mvitals' of size 2448 231 | NEARDATA struct mvitals mvitals[NUMMONS]; | ^ slashem is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nKoKh0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le ++ dirname /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 slashem-0.0.8E0F1 + make install DESTDIR=/builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le FILE_AREA_VAR=/builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem FILE_AREA_SAVE=/builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem/save FILE_AREA_SHARE=/builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/games/slashem FILE_AREA_UNSHARE=/builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/lib64/games/slashem FILE_AREA_DOC=/builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/doc/slashem 'INSTALL=install -p' SHELLDIR=/builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/bin CHOWN=/bin/true CHGRP=/bin/true ( cd src ; make ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' Makefile:885: warning: overriding recipe for target 'monst.o' Makefile:360: warning: ignoring old recipe for target 'monst.o' Makefile:899: warning: overriding recipe for target 'objects.o' Makefile:364: warning: ignoring old recipe for target 'objects.o' make[1]: 'slashem' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' ( cd util ; make recover ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[2]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' Makefile:885: warning: overriding recipe for target 'monst.o' Makefile:360: warning: ignoring old recipe for target 'monst.o' Makefile:899: warning: overriding recipe for target 'objects.o' Makefile:364: warning: ignoring old recipe for target 'objects.o' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c -o recover.o recover.c 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 -DAUTOCONF -o recover recover.o make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make data ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/makedefs -d make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd dat ; make oracles ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/makedefs -h make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd dat ; make options ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' make[1]: 'options' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd dat ; make quest.dat ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/makedefs -q make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd dat ; make rumors ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/makedefs -r make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make tile2x11 magtile txtmerge txtbg ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/X11/tile2x11.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/share/tiletext.c ./../win/share/tiletext.c: In function 'read_txttile': ./../win/share/tiletext.c:278:13: warning: variable 'tile_no' set but not used [-Wunused-but-set-variable] 278 | int tile_no; | ^~~~~~~ ./../win/share/tiletext.c: In function 'set_tile_size': ./../win/share/tiletext.c:506:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 506 | if (ch == '_' || ch >= 'A' && ch <= 'Z' || ch >= 'a' && | ~~~~~~~~~~^~~~~~~~~~~~ ./../win/share/tiletext.c:506:78: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 506 | if (ch == '_' || ch >= 'A' && ch <= 'Z' || ch >= 'a' && | ~~~~~~~~~~^~ 507 | ch <= 'z' || ch >= '0' && ch <= '9' || ch == '$') | ~~~~~~~~~ ./../win/share/tiletext.c:507:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 507 | ch <= 'z' || ch >= '0' && ch <= '9' || ch == '$') | ~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from ../include/global.h:8, from ../include/config.h:484, from ./../win/share/tiletext.c:4: In function '*__fprintfieee128', inlined from 'merge_colormap' at ./../win/share/tiletext.c:436:4: /usr/include/bits/stdio2.h:79:10: warning: 'totalfuzz' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./../win/share/tiletext.c: In function 'merge_colormap': ./../win/share/tiletext.c:393:32: note: 'totalfuzz' was declared here 393 | int fuzz = -1, totalfuzz; | ^~~~~~~~~ ./../win/share/tiletext.c:440:45: warning: 'best_r' may be used uninitialized [-Wmaybe-uninitialized] 440 | ColorMap[CM_RED][i] = best_r; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ./../win/share/tiletext.c:394:24: note: 'best_r' was declared here 394 | pixval best_r, best_g, best_b; | ^~~~~~ ./../win/share/tiletext.c:441:47: warning: 'best_g' may be used uninitialized [-Wmaybe-uninitialized] 441 | ColorMap[CM_GREEN][i] = best_g; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ./../win/share/tiletext.c:394:32: note: 'best_g' was declared here 394 | pixval best_r, best_g, best_b; | ^~~~~~ ./../win/share/tiletext.c:442:46: warning: 'best_b' may be used uninitialized [-Wmaybe-uninitialized] 442 | ColorMap[CM_BLUE][i] = best_b; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ./../win/share/tiletext.c:394:40: note: 'best_b' was declared here 394 | pixval best_r, best_g, best_b; | ^~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c -DTILETEXT ./../win/share/tilemap.c ./../win/share/tilemap.c:237:13: warning: missing braces around initializer [-Wmissing-braces] 237 | } cmaps[] = { | ^ ./../win/share/tilemap.c: In function 'tilename': ./../win/share/tilemap.c:349:41: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 349 | if (j == SIZE(cmaps)) | ^~ ./../win/share/tilemap.c:352:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 352 | break; | ^~~~~ mv tilemap.o tiletxt.o gcc -DAUTOCONF -o tile2x11 tile2x11.o tiletext.o tiletxt.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/share/magtile.c ./../win/share/magtile.c: In function 'main': ./../win/share/magtile.c:112:24: warning: passing argument 1 of 'strcat' from incompatible pointer type [-Wincompatible-pointer-types] 112 | strcat(filename, file_prefix); | ^~~~~~~~ | | | char ** In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../include/global.h:8, from ../include/config.h:484, from ./../win/share/magtile.c:6: /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'char **' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ./../win/share/magtile.c:113:24: warning: passing argument 1 of 'strcat' from incompatible pointer type [-Wincompatible-pointer-types] 113 | strcat(filename, tilefiles[filenum]); | ^~~~~~~~ | | | char ** /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'char **' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ./../win/share/magtile.c:114:38: warning: passing argument 1 of 'fopen_text_file' from incompatible pointer type [-Wincompatible-pointer-types] 114 | if (!fopen_text_file(filename, RDTMODE)) | ^~~~~~~~ | | | char ** In file included from ../include/config.h:306: ../include/tile.h:48:40: note: expected 'const char *' but argument is of type 'char **' 48 | extern boolean FDECL(fopen_text_file, (const char *, const char *)); | ^~~~~~~~~~~~ ../include/tradstdc.h:124:27: note: in definition of macro 'FDECL' 124 | # define FDECL(f,p) f p | ^ ./../win/share/magtile.c:103:17: warning: unused variable 'x' [-Wunused-variable] 103 | boolean x; | ^ gcc -DAUTOCONF -o magtile magtile.o tiletext.o tiletxt.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/share/txtmerge.c ./../win/share/txtmerge.c: In function 'main': ./../win/share/txtmerge.c:197:14: warning: implicit declaration of function 'read_text_file_colormap'; did you mean 'read_text_tile_info'? [-Wimplicit-function-declaration] 197 | if (!read_text_file_colormap(argv[2])) { | ^~~~~~~~~~~~~~~~~~~~~~~ | read_text_tile_info gcc -DAUTOCONF -o txtmerge txtmerge.o tiletext.o tiletxt.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o ./../win/share/txtmerge.c:197:14: warning: type of 'read_text_file_colormap' does not match original declaration [-Wlto-type-mismatch] 197 | if (!read_text_file_colormap(argv[2])) { | ^ ./../win/share/tiletext.c:549:1: note: return value type mismatch 549 | read_text_file_colormap(filename) | ^ ./../win/share/tiletext.c:549:1: note: type 'boolean' should match type 'int' ./../win/share/tiletext.c:549:1: note: 'read_text_file_colormap' was previously declared here gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/share/txtbg.c ./../win/share/txtbg.c: In function 'do_background': ./../win/share/txtbg.c:74:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 74 | if (pixel_eq(tile[j][i], def_background)) | ^ gcc -DAUTOCONF -o txtbg txtbg.o tiletext.o tiletxt.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make x11bigtiles ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/magtile ./ 638 tiles processed from ../win/share/monsters.txt 537 tiles processed from ../win/share/objects.txt 229 tiles processed from ../win/share/other.txt Grand total of 1404 tiles processed. ../util/txtmerge -p ./../win/share/palette.txt ../win/share/mon32-t.txt \ ../win/share/monmag.txt -b ./../win/share/mon32mi.txt \ -b ./../win/share/mon32se.txt -bff00ff ./../win/share/mon32alg.txt \ -bff00ff ./../win/share/mon32aw.txt Changing 0,145,0 => 0,144,0 (fuzz max(1), total(1)). Changing 145,71,0 => 144,72,0 (fuzz max(1), total(2)). Changing 182,71,0 => 182,72,0 (fuzz max(1), total(1)). Changing 255,182,145 => 255,182,144 (fuzz max(1), total(1)). Changing 108,145,182 => 108,144,182 (fuzz max(1), total(1)). info: tile Wizard of Balance ignored Changing 242,242,242 => 240,240,240 (fuzz max(2), total(6)). Changing 96,145,178 => 96,144,178 (fuzz max(1), total(1)). Changing 145,64,0 => 144,72,0 (fuzz max(8), total(9)). Changing 0,178,242 => 0,182,255 (fuzz max(13), total(17)). Changing 242,242,0 => 255,255,0 (fuzz max(13), total(26)). Changing 0,0,242 => 0,0,255 (fuzz max(13), total(13)). Changing 242,178,145 => 255,182,144 (fuzz max(13), total(18)). Changing 0,145,0 => 0,144,0 (fuzz max(1), total(1)). Changing 96,242,0 => 108,255,0 (fuzz max(13), total(25)). Changing 145,145,145 => 144,144,144 (fuzz max(1), total(3)). Changing 160,112,0 => 160,120,0 (fuzz max(8), total(8)). Changing 0,242,242 => 0,255,255 (fuzz max(13), total(26)). Changing 210,210,210 => 208,208,208 (fuzz max(2), total(6)). Changing 242,224,96 => 248,224,96 (fuzz max(6), total(6)). Changing 242,192,64 => 242,196,77 (fuzz max(13), total(17)). Changing 178,178,178 => 176,176,176 (fuzz max(2), total(6)). Changing 160,32,0 => 160,40,0 (fuzz max(8), total(8)). Changing 192,145,0 => 192,144,0 (fuzz max(1), total(1)). Changing 160,112,80 => 165,118,96 (fuzz max(16), total(27)). Changing 242,128,0 => 255,128,0 (fuzz max(13), total(13)). Changing 96,64,0 => 96,72,0 (fuzz max(8), total(8)). Changing 192,128,112 => 202,144,114 (fuzz max(16), total(28)). Changing 224,224,160 => 224,224,168 (fuzz max(8), total(8)). Changing 0,128,242 => 0,128,255 (fuzz max(13), total(13)). Changing 160,128,48 => 170,136,52 (fuzz max(10), total(22)). Changing 242,242,145 => 252,252,153 (fuzz max(10), total(28)). Changing 224,160,128 => 229,162,130 (fuzz max(5), total(9)). Changing 224,160,0 => 224,168,0 (fuzz max(8), total(8)). Changing 224,48,0 => 224,56,0 (fuzz max(8), total(8)). Changing 242,192,0 => 255,192,0 (fuzz max(13), total(13)). Changing 112,80,64 => 128,64,64 (fuzz max(16), total(32)). Changing 145,128,96 => 128,128,96 (fuzz max(17), total(17)). Changing 145,192,192 => 144,192,192 (fuzz max(1), total(1)). Changing 160,224,224 => 168,224,224 (fuzz max(8), total(8)). Changing 112,96,80 => 117,105,88 (fuzz max(9), total(22)). Changing 112,112,160 => 120,120,160 (fuzz max(8), total(16)). Changing 242,0,128 => 255,0,128 (fuzz max(13), total(13)). Changing 192,192,145 => 192,192,144 (fuzz max(1), total(1)). Changing 160,160,112 => 160,160,120 (fuzz max(8), total(8)). Changing 192,192,242 => 192,192,255 (fuzz max(13), total(13)). Changing 242,210,160 => 255,211,176 (fuzz max(16), total(30)). Changing 0,242,0 => 0,255,0 (fuzz max(13), total(13)). Changing 128,0,242 => 128,0,255 (fuzz max(13), total(13)). Changing 145,145,192 => 144,144,192 (fuzz max(1), total(2)). Changing 160,145,128 => 170,154,128 (fuzz max(10), total(19)). Changing 96,80,16 => 96,72,0 (fuzz max(16), total(24)). Changing 242,64,0 => 255,64,0 (fuzz max(13), total(13)). Changing 192,145,192 => 192,144,192 (fuzz max(1), total(1)). Changing 242,242,192 => 255,255,192 (fuzz max(13), total(26)). Changing 192,242,242 => 192,255,255 (fuzz max(13), total(26)). Changing 128,242,0 => 128,255,0 (fuzz max(13), total(13)). Changing 224,160,160 => 224,168,168 (fuzz max(8), total(16)). Changing 128,242,128 => 128,255,128 (fuzz max(13), total(13)). Changing 112,160,112 => 120,160,120 (fuzz max(8), total(16)). Changing 242,192,192 => 255,192,192 (fuzz max(13), total(13)). Changing 145,192,145 => 144,192,144 (fuzz max(1), total(2)). Changing 128,242,242 => 128,255,255 (fuzz max(13), total(26)). Changing 242,242,128 => 255,255,128 (fuzz max(13), total(26)). Changing 192,145,145 => 192,144,144 (fuzz max(1), total(2)). Changing 16,48,0 => 24,48,0 (fuzz max(8), total(8)). Changing 16,16,32 => 16,16,16 (fuzz max(16), total(16)). Changing 48,16,0 => 48,12,0 (fuzz max(4), total(4)). Changing 242,128,128 => 255,128,128 (fuzz max(13), total(13)). Changing 0,48,16 => 0,48,24 (fuzz max(8), total(8)). Changing 16,32,32 => 0,32,32 (fuzz max(16), total(16)). Changing 32,16,16 => 16,16,16 (fuzz max(16), total(16)). Changing 224,160,224 => 224,168,224 (fuzz max(8), total(8)). Changing 242,192,242 => 255,192,255 (fuzz max(13), total(26)). Changing 32,32,64 => 0,32,64 (fuzz max(32), total(32)). Changing 16,32,16 => 16,16,16 (fuzz max(16), total(16)). Changing 0,242,128 => 0,255,128 (fuzz max(13), total(13)). Changing 160,224,160 => 168,224,168 (fuzz max(8), total(16)). Changing 48,32,32 => 32,32,32 (fuzz max(16), total(16)). Changing 32,32,48 => 24,24,48 (fuzz max(8), total(16)). Changing 48,48,32 => 48,48,24 (fuzz max(8), total(8)). Changing 160,112,112 => 160,120,120 (fuzz max(8), total(16)). Changing 192,242,192 => 192,255,192 (fuzz max(13), total(13)). Changing 210,160,80 => 208,168,80 (fuzz max(8), total(10)). Changing 160,112,160 => 160,120,160 (fuzz max(8), total(8)). Changing 0,32,16 => 0,16,16 (fuzz max(16), total(16)). Changing 32,48,48 => 24,48,48 (fuzz max(8), total(8)). Changing 0,0,178 => 0,0,192 (fuzz max(14), total(14)). Changing 32,242,178 => 32,242,186 (fuzz max(8), total(8)). Changing 32,242,178 => 32,242,186 (fuzz max(8), total(8)). Changing 80,80,242 => 96,96,192 (fuzz max(50), total(82)). Changing 242,64,80 => 255,64,0 (fuzz max(80), total(93)). Changing 16,210,48 => 0,224,0 (fuzz max(48), total(78)). Changing 16,192,48 => 0,160,80 (fuzz max(32), total(80)). Changing 192,16,48 => 160,0,80 (fuzz max(32), total(80)). Changing 160,112,242 => 128,128,255 (fuzz max(32), total(61)). Changing 178,16,48 => 160,0,80 (fuzz max(32), total(66)). Changing 178,16,128 => 192,0,96 (fuzz max(32), total(62)). Changing 178,16,224 => 192,0,192 (fuzz max(32), total(62)). Changing 80,242,48 => 108,255,0 (fuzz max(48), total(89)). Changing 242,16,192 => 192,0,192 (fuzz max(50), total(66)). Changing 16,80,242 => 0,112,224 (fuzz max(32), total(66)). Changing 242,128,242 => 255,128,255 (fuzz max(13), total(26)). Changing 128,128,242 => 128,128,255 (fuzz max(13), total(13)). Changing 210,210,16 => 224,224,0 (fuzz max(16), total(44)). Changing 210,16,128 => 224,0,112 (fuzz max(16), total(46)). Changing 32,224,16 => 0,224,0 (fuzz max(32), total(48)). Changing 178,16,210 => 192,0,192 (fuzz max(18), total(48)). Changing 16,210,210 => 0,224,224 (fuzz max(16), total(44)). Changing 16,16,145 => 0,0,160 (fuzz max(16), total(47)). ../util/txtbg ../win/share/mon32-t.txt ../win/share/mon32.txt ../util/txtmerge -p ./../win/share/palette.txt ../win/share/obj32-t.txt \ ../win/share/objmag.txt -b ./../win/share/obj32mi.txt \ -b ./../win/share/obj32se.txt -bff00ff ./../win/share/obj32alg.txt Changing 0,145,0 => 0,144,0 (fuzz max(1), total(1)). Changing 145,71,0 => 144,72,0 (fuzz max(1), total(2)). Changing 182,71,0 => 182,72,0 (fuzz max(1), total(1)). Changing 255,182,145 => 255,182,144 (fuzz max(1), total(1)). Changing 108,145,182 => 108,144,182 (fuzz max(1), total(1)). warning: replacing tile red robe / robe with robe warning: replacing tile wooden / adornment with wooden warning: replacing tile granite / gain strength with granite warning: replacing tile opal / gain constitution with opal warning: replacing tile clay / increase accuracy with clay warning: replacing tile coral / increase damage with coral warning: replacing tile black onyx / protection with black onyx warning: replacing tile moonstone / regeneration with moonstone warning: replacing tile tiger eye / searching with tiger eye warning: replacing tile jade / stealth with jade warning: replacing tile bronze / sustain ability with bronze warning: replacing tile agate / levitation with agate warning: replacing tile topaz / hunger with topaz warning: replacing tile sapphire / aggravate monster with sapphire warning: replacing tile ruby / conflict with ruby warning: replacing tile diamond / warning with diamond warning: replacing tile pearl / poison resistance with pearl warning: replacing tile iron / fire resistance with iron warning: replacing tile brass / cold resistance with brass warning: replacing tile copper / shock resistance with copper warning: replacing tile twisted / free action with twisted warning: replacing tile steel / slow digestion with steel warning: replacing tile silver / teleportation with silver warning: replacing tile gold / teleport control with gold warning: replacing tile ivory / polymorph with ivory warning: replacing tile emerald / polymorph control with emerald warning: replacing tile wire / invisibility with wire warning: replacing tile engagement / see invisible with engagement warning: replacing tile shiny / protection from shape changers with shiny warning: replacing tile circular / amulet of ESP with circular warning: replacing tile spherical / amulet of life saving with spherical warning: replacing tile oval / amulet of strangulation with oval warning: replacing tile triangular / amulet of restful sleep with triangular warning: replacing tile pyramidal / amulet versus poison with pyramidal warning: replacing tile square / amulet of change with square warning: replacing tile hexagonal / amulet of reflection with hexagonal warning: replacing tile octagonal / amulet of magical breathing with octagonal warning: replacing tile ruby / gain ability with ruby warning: replacing tile pink / restore ability with pink warning: replacing tile orange / confusion with orange warning: replacing tile yellow / blindness with yellow warning: replacing tile emerald / paralysis with emerald warning: replacing tile dark green / speed with dark green warning: replacing tile cyan / levitation with cyan warning: replacing tile sky blue / hallucination with sky blue warning: replacing tile brilliant blue / invisibility with brilliant blue warning: replacing tile magenta / see invisible with magenta warning: replacing tile purple-red / healing with purple-red warning: replacing tile puce / extra healing with puce warning: replacing tile milky / gain level with milky warning: replacing tile swirly / enlightenment with swirly warning: replacing tile bubbly / monster detection with bubbly warning: replacing tile smoky / object detection with smoky warning: replacing tile cloudy / gain energy with cloudy warning: replacing tile effervescent / sleeping with effervescent warning: replacing tile black / full healing with black warning: replacing tile golden / polymorph with golden warning: replacing tile brown / booze with brown warning: replacing tile fizzy / sickness with fizzy warning: replacing tile dark / fruit juice with dark warning: replacing tile white / acid with white warning: replacing tile murky / oil with murky warning: replacing tile clear / water with clear warning: replacing tile ZELGO MER / enchant armor with ZELGO MER warning: replacing tile JUYED AWK YACC / destroy armor with JUYED AWK YACC warning: replacing tile NR 9 / confuse monster with NR 9 warning: replacing tile XIXAXA XOXAXA XUXAXA / scare monster with XIXAXA XOXAXA XUXAXA warning: replacing tile PRATYAVAYAH / remove curse with PRATYAVAYAH warning: replacing tile DAIYEN FOOELS / enchant weapon with DAIYEN FOOELS warning: replacing tile LEP GEX VEN ZEA / create monster with LEP GEX VEN ZEA warning: replacing tile PRIRUTSENIE / taming with PRIRUTSENIE warning: replacing tile ELBIB YLOH / genocide with ELBIB YLOH warning: replacing tile VERR YED HORRE / light with VERR YED HORRE warning: replacing tile VENZAR BORGAVVE / teleportation with VENZAR BORGAVVE warning: replacing tile THARR / gold detection with THARR warning: replacing tile YUM YUM / food detection with YUM YUM warning: replacing tile KERNOD WEL / identify with KERNOD WEL warning: replacing tile ELAM EBOW / magic mapping with ELAM EBOW warning: replacing tile DUAM XNAHT / amnesia with DUAM XNAHT warning: replacing tile ANDOVA BEGARIN / fire with ANDOVA BEGARIN warning: replacing tile KIRJE / earth with KIRJE warning: replacing tile VE FORBRYDERNE / punishment with VE FORBRYDERNE warning: replacing tile HACKEM MUCHE / charging with HACKEM MUCHE warning: replacing tile VELOX NEB / stinking cloud with VELOX NEB warning: replacing tile parchment / dig with parchment warning: replacing tile vellum / magic missile with vellum warning: replacing tile ragged / fireball with ragged warning: replacing tile dog eared / cone of cold with dog eared warning: replacing tile mottled / sleep with mottled warning: replacing tile stained / finger of death with stained warning: replacing tile cloth / light with cloth warning: replacing tile leather / detect monsters with leather warning: replacing tile white / healing with white warning: replacing tile pink / knock with pink warning: replacing tile red / force bolt with red warning: replacing tile orange / confuse monster with orange warning: replacing tile yellow / cure blindness with yellow warning: replacing tile velvet / drain life with velvet warning: replacing tile light green / slow monster with light green warning: replacing tile dark green / wizard lock with dark green warning: replacing tile turquoise / create monster with turquoise warning: replacing tile cyan / detect food with cyan warning: replacing tile light blue / cause fear with light blue warning: replacing tile dark blue / clairvoyance with dark blue warning: replacing tile indigo / cure sickness with indigo warning: replacing tile magenta / charm monster with magenta warning: replacing tile purple / haste self with purple warning: replacing tile violet / detect unseen with violet warning: replacing tile tan / levitation with tan warning: replacing tile plaid / extra healing with plaid warning: replacing tile light brown / restore ability with light brown warning: replacing tile dark brown / invisibility with dark brown warning: replacing tile gray / detect treasure with gray warning: replacing tile wrinkled / remove curse with wrinkled warning: replacing tile dusty / magic mapping with dusty warning: replacing tile bronze / identify with bronze warning: replacing tile copper / turn undead with copper warning: replacing tile silver / polymorph with silver warning: replacing tile gold / teleport away with gold warning: replacing tile glittering / create familiar with glittering warning: replacing tile shining / cancellation with shining warning: replacing tile dull / enchant weapon with dull warning: replacing tile thin / enchant armor with thin warning: replacing tile thick / stone to flesh with thick warning: replacing tile glass / gain wisdom with glass warning: replacing tile balsa / secret door detection with balsa warning: replacing tile maple / create monster with maple warning: replacing tile pine / wishing with pine warning: replacing tile oak / nothing with oak warning: replacing tile ebony / striking with ebony warning: replacing tile marble / make invisible with marble warning: replacing tile tin / slow monster with tin warning: replacing tile brass / speed monster with brass warning: replacing tile copper / undead turning with copper warning: replacing tile silver / polymorph with silver warning: replacing tile platinum / cancellation with platinum warning: replacing tile iridium / teleportation with iridium warning: replacing tile zinc / opening with zinc warning: replacing tile aluminum / locking with aluminum warning: replacing tile uranium / probing with uranium warning: replacing tile iron / digging with iron warning: replacing tile steel / magic missile with steel warning: replacing tile hexagonal / fire with hexagonal warning: replacing tile short / cold with short warning: replacing tile runed / sleep with runed warning: replacing tile long / insulate with long warning: replacing tile curved / lightning with curved Changing 202,143,114 => 202,144,114 (fuzz max(1), total(1)). Changing 0,145,0 => 0,144,0 (fuzz max(1), total(1)). Changing 127,90,72 => 128,90,72 (fuzz max(1), total(1)). Changing 145,71,0 => 144,72,0 (fuzz max(1), total(2)). Changing 182,71,0 => 182,72,0 (fuzz max(1), total(1)). Changing 165,118,94 => 165,118,96 (fuzz max(2), total(2)). Changing 171,154,129 => 170,154,128 (fuzz max(1), total(2)). Changing 145,135,110 => 144,135,110 (fuzz max(1), total(1)). Changing 255,211,175 => 255,211,176 (fuzz max(1), total(1)). Changing 255,182,145 => 255,182,144 (fuzz max(1), total(1)). Changing 108,145,182 => 108,144,182 (fuzz max(1), total(1)). ../util/txtbg ../win/share/obj32-t.txt ../win/share/obj32.txt ../util/txtmerge -p ./../win/share/palette.txt ../win/share/oth32-t.txt \ ../win/share/othmag.txt -b ./../win/share/oth32mi.txt \ -b ./../win/share/oth32se.txt -bff00ff ./../win/share/oth32alg.txt Changing 0,145,0 => 0,144,0 (fuzz max(1), total(1)). Changing 145,71,0 => 144,72,0 (fuzz max(1), total(2)). Changing 182,71,0 => 182,72,0 (fuzz max(1), total(1)). Changing 255,182,145 => 255,182,144 (fuzz max(1), total(1)). Changing 108,145,182 => 108,144,182 (fuzz max(1), total(1)). ../util/txtbg ../win/share/oth32-t.txt ../win/share/oth32.txt ../util/tile2x11 -o x11bigtiles ../win/share/mon32.txt \ ../win/share/obj32.txt ../win/share/oth32.txt ../win/share/mon32.txt: 638 tiles ../win/share/obj32.txt: 537 tiles ../win/share/oth32.txt: 229 tiles Total tiles: 1404 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make tile2x11 ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[1]: 'tile2x11' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make x11tiles ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/tile2x11 ./../win/share/monsters.txt ./../win/share/objects.txt \ ./../win/share/other.txt ./../win/share/monsters.txt: 638 tiles ./../win/share/objects.txt: 537 tiles ./../win/share/other.txt: 229 tiles Total tiles: 1404 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd dat ; make SlashEM.ad ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' cp ./../win/X11/SlashEM.ad SlashEM.ad make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd dat ; make pet_mark.xbm ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' cp ./../win/X11/pet_mark.xbm pet_mark.xbm make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make tile2png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/share/tile2png.c ./../win/share/tile2png.c: In function 'process_file': ./../win/share/tile2png.c:321:54: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 321 | Fprintf(stderr, "tile2png: Not enough memory (%d bytes).\n", | ~^ | | | int | %ld 322 | sizeof(*tile_palette)); | ~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int ./../win/share/tile2png.c: In function 'convert_tiles': ./../win/share/tile2png.c:248:76: warning: 'i' may be used uninitialized [-Wmaybe-uninitialized] 248 | tile_bytes_i[((by * tile_y + y) * num_across + bx) * tile_x + x] = i; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./../win/share/tile2png.c:194:13: note: 'i' was declared here 194 | int x, y, i; | ^ gcc -DAUTOCONF -o tile2png tile2png.o tiletext.o tiletxt.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o -lpng16 -lz make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make gltile16.png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/tile2png -o gltile16.png ./../win/share/monsters.txt ./../win/share/objects.txt \ ./../win/share/other.txt ./../win/share/monsters.txt: 638 tiles (16x16) ./../win/share/objects.txt: 537 tiles (16x16) ./../win/share/other.txt: 229 tiles (16x16) Total tiles: 1404 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make tile2png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[1]: 'tile2png' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make gltile32.png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/tile2png -o gltile32.png -t ../win/share/mon32.txt \ ../win/share/obj32.txt ../win/share/oth32.txt ../win/share/mon32.txt: 638 tiles (32x32) ../win/share/obj32.txt: 537 tiles (32x32) ../win/share/oth32.txt: 229 tiles (32x32) Total tiles: 1404 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make tile2png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[1]: 'tile2png' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make gltile64.png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' (cd ../util ; make bigtile) make[2]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/share/bigtile.c ./../win/share/bigtile.c: In function 'main': ./../win/share/bigtile.c:136:17: warning: unused variable 'x' [-Wunused-variable] 136 | boolean x; | ^ gcc -DAUTOCONF -o bigtile bigtile.o tiletext.o tiletxt.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ../util/bigtile 638 tiles processed from ../win/share/mon32-t.txt 537 tiles processed from ../win/share/obj32-t.txt 229 tiles processed from ../win/share/oth32-t.txt Grand total of 1404 tiles processed. ../util/txtmerge -p ./../win/share/palette.txt ../win/share/mon3d.txt \ ../win/share/monbig.txt -b ./../win/share/mon3dmi.txt cp ../win/share/objbig.txt ../win/share/obj3d.txt ../util/txtmerge -p ./../win/share/palette.txt ../win/share/oth3d.txt \ ../win/share/othbig.txt -b ./../win/share/oth3dmi.txt \ -b ./../win/share/oth-2kmi.txt -b ./../win/share/oth3dse.txt Changing 0,0,24 => 0,0,16 (fuzz max(8), total(8)). Changing 24,0,24 => 16,0,16 (fuzz max(8), total(16)). Changing 32,32,64 => 0,32,64 (fuzz max(32), total(32)). Changing 48,0,96 => 0,0,96 (fuzz max(48), total(48)). Changing 32,0,64 => 0,0,64 (fuzz max(32), total(32)). Changing 24,0,48 => 0,0,48 (fuzz max(24), total(24)). Changing 48,24,48 => 24,24,48 (fuzz max(24), total(24)). Changing 48,0,24 => 32,0,32 (fuzz max(16), total(24)). Changing 127,90,72 => 128,90,72 (fuzz max(1), total(1)). Changing 165,118,94 => 165,118,96 (fuzz max(2), total(2)). Changing 202,143,114 => 202,144,114 (fuzz max(1), total(1)). Changing 255,182,145 => 255,182,144 (fuzz max(1), total(1)). Changing 255,211,175 => 255,211,176 (fuzz max(1), total(1)). Changing 145,135,110 => 144,135,110 (fuzz max(1), total(1)). Changing 171,154,129 => 170,154,128 (fuzz max(1), total(2)). ../util/tile2png -o gltile64.png -t ../win/share/mon3d.txt \ ../win/share/obj3d.txt ../win/share/oth3d.txt ../win/share/mon3d.txt: 638 tiles (48x64) ../win/share/obj3d.txt: 537 tiles (48x64) ../win/share/oth3d.txt: 229 tiles (48x64) Total tiles: 1404 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make tile2png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[1]: 'tile2png' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make gllogo.png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/tile2png -o gllogo.png -a 28 ./../win/gl/logo.txt ./../win/gl/logo.txt: 196 tiles (16x16) Total tiles: 196 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make tile2png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[1]: 'tile2png' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make glrip.png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/tile2png -o glrip.png -a 20 ./../win/gl/rip.txt ./../win/gl/rip.txt: 200 tiles (30x30) Total tiles: 200 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make tile2png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[1]: 'tile2png' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make glfont8.png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/tile2png -o glfont8.png -f ./../win/gl/font8.txt ./../win/gl/font8.txt: 256 tiles (8x8) Total tiles: 256 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make tile2png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[1]: 'tile2png' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make glfont14.png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/tile2png -o glfont14.png -f ./../win/gl/font14.txt ./../win/gl/font14.txt: 256 tiles (8x14) Total tiles: 256 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make tile2png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[1]: 'tile2png' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make glfont20.png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/tile2png -o glfont20.png -f ./../win/gl/font20.txt ./../win/gl/font20.txt: 256 tiles (10x20) Total tiles: 256 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make tile2png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[1]: 'tile2png' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make glfont22.png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/tile2png -o glfont22.png -f ./../win/gl/font22.txt ./../win/gl/font22.txt: 256 tiles (12x22) Total tiles: 256 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make dgn_comp ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' bison -y -d ./dgn_comp.y mv y.tab.c dgn_yacc.c mv y.tab.h ../include/dgn_comp.h make[2]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' Makefile:885: warning: overriding recipe for target 'monst.o' Makefile:360: warning: ignoring old recipe for target 'monst.o' Makefile:899: warning: overriding recipe for target 'objects.o' Makefile:364: warning: ignoring old recipe for target 'objects.o' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c -o dgn_yacc.o dgn_yacc.c ./dgn_comp.y: In function 'check_branch': ./dgn_comp.y:622:13: warning: unused variable 'i' [-Wunused-variable] 622 | int i; | ^ flex ./dgn_comp.l mv lex.yy.c dgn_lex.c gcc -DAUTOCONF -c -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include dgn_lex.c egrep: warning: egrep is obsolescent; using grep -E lex.yy.c:1508:16: warning: 'input' defined but not used [-Wunused-function] lex.yy.c:1465:17: warning: 'yyunput' defined but not used [-Wunused-function] gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c -o dgn_main.o dgn_main.c gcc -DAUTOCONF -o dgn_comp dgn_yacc.o dgn_lex.o dgn_main.o ../src/alloc.o panic.o make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make dungeon ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/makedefs -e ../util/dgn_comp dungeon.pdf make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make lev_comp ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' bison -y -d ./lev_comp.y mv y.tab.c lev_yacc.c mv y.tab.h ../include/lev_comp.h gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c -o lev_yacc.o lev_yacc.c ./lev_comp.y: In function 'yyparse': ./lev_comp.y:600:45: warning: assignment to 'room_door *' from incompatible pointer type 'struct room_door *' [-Wincompatible-pointer-types] 600 | tmprdoor[ndoor] = (struct room_door *)0; | ^ ./lev_comp.y:1487:41: warning: ')?!' directive writing 3 bytes into a region of size between 1 and 35 [-Wformat-overflow=] 1487 | "Rock in room (%02d,%02d,%02d,%02d)?!", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from ../include/global.h:8, from ../include/config.h:484, from ../include/hack.h:9, from ./lev_comp.y:26: In function '*__sprintfieee128', inlined from 'yyparse' at ./lev_comp.y:1486:5: /usr/include/bits/stdio2.h:30:10: note: '*__sprintf_chkieee128' 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 ()); | ~~~~~~~~~~~~~~~~~ flex ./lev_comp.l mv lex.yy.c lev_lex.c gcc -DAUTOCONF -c -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include lev_lex.c egrep: warning: egrep is obsolescent; using grep -E lex.yy.c:2256:16: warning: 'input' defined but not used [-Wunused-function] lex.yy.c:2213:17: warning: 'yyunput' defined but not used [-Wunused-function] make[2]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' Makefile:885: warning: overriding recipe for target 'monst.o' Makefile:360: warning: ignoring old recipe for target 'monst.o' Makefile:899: warning: overriding recipe for target 'objects.o' Makefile:364: warning: ignoring old recipe for target 'objects.o' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c -o lev_main.o lev_main.c gcc -DAUTOCONF -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[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make spec_levs ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/lev_comp ./beholder.des ../util/lev_comp ./bigroom.des ../util/lev_comp ./blkmar.des ../util/lev_comp ./castle.des ../util/lev_comp ./grund.des ../util/lev_comp ./dragons.des ../util/lev_comp ./endgame.des ../util/lev_comp ./frnknstn.des ../util/lev_comp ./gehennom.des ../util/lev_comp ./giants.des ../util/lev_comp ./guild.des ../util/lev_comp ./knox.des ../util/lev_comp ./kobold-1.des ../util/lev_comp ./kobold-2.des ../util/lev_comp ./lich.des ../util/lev_comp ./mall-1.des ../util/lev_comp ./mall-2.des ../util/lev_comp ./medusa.des ../util/lev_comp ./mines.des ../util/lev_comp ./mtemple.des ../util/lev_comp ./newmall.des ../util/lev_comp ./nightmar.des ../util/lev_comp ./nymph.des ../util/lev_comp ./oracle.des ../util/lev_comp ./rats.des ../util/lev_comp ./sea.des ../util/lev_comp ./sokoban.des ../util/lev_comp ./spiders.des ../util/lev_comp ./stor-1.des ../util/lev_comp ./stor-2.des ../util/lev_comp ./stor-3.des ../util/lev_comp ./tomb.des ../util/lev_comp ./tower.des ../util/lev_comp ./yendor.des touch spec_levs make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd dat ; make quest_levs ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/lev_comp ./Arch.des ../util/lev_comp ./Barb.des ../util/lev_comp ./Caveman.des ../util/lev_comp ./Flame.des ../util/lev_comp ./Healer.des ../util/lev_comp ./Ice.des ../util/lev_comp ./Knight.des ../util/lev_comp ./Monk.des ../util/lev_comp ./Necro.des ../util/lev_comp ./Priest.des ../util/lev_comp ./Ranger.des ../util/lev_comp ./Rogue.des ../util/lev_comp ./Samurai.des egrep: warning: egrep is obsolescent; using grep -E ../util/lev_comp ./Tourist.des ../util/lev_comp ./Slayer.des ../util/lev_comp ./Valkyrie.des ../util/lev_comp ./Wizard.des egrep: warning: egrep is obsolescent; using grep -E ../util/lev_comp ./Yeoman.des touch quest_levs make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd doc; make Guidebook.txt ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/doc' make[1]: 'Guidebook.txt' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/doc' mkdir -p /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/bin rm -rf /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem/save rm -rf /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/lib64/games/slashem rm -rf /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/doc/slashem mkdir -p /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem/save mkdir -p /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/lib64/games/slashem mkdir -p /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/doc/slashem rmdir ./-p rmdir: failed to remove './-p': No such file or directory make: [Makefile:364: install] Error 1 (ignored) /bin/true games /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem/save /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem /bin/true bin /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem/save /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem chmod 0755 /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem/save /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem /bin/true games /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/lib64/games/slashem /bin/true bin /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/lib64/games/slashem chmod 0755 /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/lib64/games/slashem ( make dofiles ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1' target=`sed -n \ -e '/librarian/{' \ -e 's/.*/dlb/p' \ -e 'q' \ -e '}' \ -e '$s/.*/nodlb/p' < dat/options` ; \ make dofiles-${target-nodlb} make[2]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1' ( cd src ; make ) make[3]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' Makefile:885: warning: overriding recipe for target 'monst.o' Makefile:360: warning: ignoring old recipe for target 'monst.o' Makefile:899: warning: overriding recipe for target 'objects.o' Makefile:364: warning: ignoring old recipe for target 'objects.o' make[3]: 'slashem' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' ( cd dat ; make options ) make[3]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' make[3]: 'options' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' egrep: warning: egrep is obsolescent; using grep -E blackmarket level, color, data file compression, data librarian, make[3]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1' ( cd util ; make dlb ) make[4]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[5]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' Makefile:885: warning: overriding recipe for target 'monst.o' Makefile:360: warning: ignoring old recipe for target 'monst.o' Makefile:899: warning: overriding recipe for target 'objects.o' Makefile:364: warning: ignoring old recipe for target 'objects.o' make[5]: '../include/date.h' is up to date. make[5]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./dlb_main.c gcc -DAUTOCONF -o dlb dlb_main.o ../src/dlb.o ../src/alloc.o panic.o make[4]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; ../util/dlb cf nhshare help hh cmdhelp history opthelp wizhelp gypsy.txt data oracles options quest.dat rumors ) ( cd dat ; ../util/dlb cf nhushare dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev beholder.lev blkmar.lev cav2fill.lev grund-?.lev demogorg.lev dispater.lev dragons.lev geryon.lev guild.lev kobold-?.lev lich.lev mall-?.lev mall.lev mineking.lev mtemple.lev nymph.lev rats.lev sea.lev spiders.lev stor-?.lev tomb.lev yeenoghu.lev frnknstn.lev nightmar.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev ) make[3]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1' ( cd dat ; cp nhshare x11bigtiles x11tiles SlashEM.ad pet_mark.xbm gltile16.png gltile32.png gltile64.png gllogo.png glrip.png glfont8.png glfont14.png glfont20.png glfont22.png /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/games/slashem ) ( cd dat ; cp nhushare /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/lib64/games/slashem ) ( cd /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/games/slashem ; \ /bin/true games nhshare x11bigtiles x11tiles SlashEM.ad pet_mark.xbm gltile16.png gltile32.png gltile64.png gllogo.png glrip.png glfont8.png glfont14.png glfont20.png glfont22.png ; \ /bin/true bin nhshare x11bigtiles x11tiles SlashEM.ad pet_mark.xbm gltile16.png gltile32.png gltile64.png gllogo.png glrip.png glfont8.png glfont14.png glfont20.png glfont22.png ; \ chmod 0644 nhshare x11bigtiles x11tiles SlashEM.ad pet_mark.xbm gltile16.png gltile32.png gltile64.png gllogo.png glrip.png glfont8.png glfont14.png glfont20.png glfont22.png ) ( cd /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/lib64/games/slashem ; \ /bin/true games nhushare ; \ /bin/true bin nhushare ; \ chmod 0644 nhushare ) make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1' (cd src; cp slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/lib64/games/slashem) #cp ./sys/winnt/defaults.nh /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/lib64/games/slashem cp util/recover /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/lib64/games/slashem cp ./dat/license ./doc/Guidebook.txt /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/doc/slashem rm -f /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/bin/slashem sed -e 's;/usr/games/lib/nethackdir;/builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/lib64/games/slashem;' \ -e 's;HACKDIR/nethack;HACKDIR/slashem;' \ < ./sys/unix/nethack.sh \ > /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/bin/slashem ( cd /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/lib64/games/slashem ; /bin/true games slashem recover ; \ /bin/true bin slashem recover ) chmod 04755 /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/lib64/games/slashem/slashem chmod 0755 /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/lib64/games/slashem/recover ( cd /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/doc/slashem ; \ /bin/true games license Guidebook.txt ; \ /bin/true bin license Guidebook.txt ; \ chmod 0644 license Guidebook.txt ) /bin/true games /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/bin/slashem /bin/true bin /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/bin/slashem chmod 0755 /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/bin/slashem make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1' touch /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem/perm /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem/record /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem/logfile ( cd /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/var/games/slashem ; /bin/true games perm record logfile ; \ /bin/true bin perm record logfile ; \ chmod 0644 perm record logfile ) You may also want to reinstall the man pages via the doc Makefile. + install -d -m 0755 /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/man/man6 + make -C doc MANDIR=/builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/man/man6 manpages make: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/doc' cp slashem.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/man/man6/slashem.6 cp lev_comp.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/man/man6/lev_comp.6 cp dgn_comp.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/man/man6/dgn_comp.6 cp recover.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/man/man6/recover.6 cp dlb.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/man/man6/dlb.6 cp fr/slashem.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/man/fr/man6/slashem.6 cp: cannot create regular file '/builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/man/fr/man6/slashem.6': No such file or directory make: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/doc' make: [Makefile:86: manpages] Error 1 (ignored) + sed -i -e 's!/builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le!!g' -e '/XUSERFILE/s!\$HACKDIR!/usr/share/games/slashem!' /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/bin/slashem + mv /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/lib64/games/slashem/recover /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/bin/slashem-recover + mv /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/man/man6/recover.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/man/man6/slashem-recover.6 + rm /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/man/man6/dgn_comp.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/man/man6/dlb.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/man/man6/lev_comp.6 + sed -i -e 's:^!\(SlashEM.tile_file.*\):\1:' /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/games/slashem/SlashEM.ad + install -d /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/icons/hicolor/48x48/apps + convert win/X11/nh_icon.xpm /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/icons/hicolor/48x48/apps/slashem.png + desktop-file-install --dir /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/applications /builddir/build/SOURCES/slashem.desktop + install -Dpm 0644 /builddir/build/SOURCES/slashem.appdata.xml /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/appdata/slashem.appdata.xml + /usr/bin/find-debuginfo -j5 --strict-build-id -m -i --build-id-seed 0.0.8-0.33.E0F1.fc38 --unique-debug-suffix -0.0.8-0.33.E0F1.fc38.ppc64le --unique-debug-src-base slashem-0.0.8-0.33.E0F1.fc38.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/slashem-0.0.8E0F1 extracting debug info from /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/bin/slashem-recover extracting debug info from /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/lib64/games/slashem/slashem original debug info size: 8256kB, size after compression: 6848kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 11292 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/slashem from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.zGuV6S + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 slashem-0.0.8E0F1 + desktop-file-validate /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/applications/slashem.desktop + appstream-util validate-relax --nonet /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/appdata/slashem.appdata.xml /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/appdata/slashem.appdata.xml: OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: slashem-0.0.8-0.33.E0F1.fc38.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nNcKoo + umask 022 + cd /builddir/build/BUILD + cd slashem-0.0.8E0F1 + DOCDIR=/builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/doc/slashem + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/doc/slashem + cp -pr history.txt /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/doc/slashem + cp -pr doc/Guidebook.txt doc/dgn_comp.txt doc/dlb.txt doc/lev_comp.txt doc/recover.txt doc/slashem.txt doc/sources.txt doc/strategy.txt /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/doc/slashem + cp -pr README.34 /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/doc/slashem + cp -pr readme.s6 readme.txt /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/doc/slashem + cp -pr slamfaq.txt /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/doc/slashem + cp -pr dat/license /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/doc/slashem + cp -pr dat/history /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le/usr/share/doc/slashem + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(slashem.desktop) config(slashem) = 0.0.8-0.33.E0F1.fc38 metainfo() metainfo(slashem.appdata.xml) slashem = 0.0.8-0.33.E0F1.fc38 slashem(ppc-64) = 0.0.8-0.33.E0F1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh libGL.so.1()(64bit) libSDL-1.2.so.0()(64bit) libX11.so.6()(64bit) libXaw.so.7()(64bit) libXt.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libncurses.so.6()(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libtinfo.so.6()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: slashem-debugsource-0.0.8-0.33.E0F1.fc38.ppc64le Provides: slashem-debugsource = 0.0.8-0.33.E0F1.fc38 slashem-debugsource(ppc-64) = 0.0.8-0.33.E0F1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: slashem-debuginfo-0.0.8-0.33.E0F1.fc38.ppc64le Provides: debuginfo(build-id) = 475ebba4084e7800a43b82d7923b5812cd700cb4 debuginfo(build-id) = 4fddaa0a38582c145728017915203dec2817eb75 slashem-debuginfo = 0.0.8-0.33.E0F1.fc38 slashem-debuginfo(ppc-64) = 0.0.8-0.33.E0F1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: slashem-debugsource(ppc-64) = 0.0.8-0.33.E0F1.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le Wrote: /builddir/build/RPMS/slashem-debuginfo-0.0.8-0.33.E0F1.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/slashem-0.0.8-0.33.E0F1.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/slashem-debugsource-0.0.8-0.33.E0F1.fc38.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.t9COYa + umask 022 + cd /builddir/build/BUILD + cd slashem-0.0.8E0F1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/slashem-0.0.8-0.33.E0F1.fc38.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.GAACyM + umask 022 + cd /builddir/build/BUILD + rm -rf slashem-0.0.8E0F1 slashem-0.0.8E0F1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0