Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/slashem.spec'], chrootPath='/var/lib/mock/f31-build-73679-31004/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/slashem-0.0.8-0.27.E0F1.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/slashem.spec'], chrootPath='/var/lib/mock/f31-build-73679-31004/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qh2WNH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf slashem-0.0.8E0F1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /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):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .config --fuzz=0 + echo 'Patch #1 (slashem-libpng-1.5.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libpng --fuzz=0 + echo 'Patch #2 (slashem-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .format-security --fuzz=0 + 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 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (slashem-config.patch): patching file include/config.h patching file include/unixconf.h Patch #1 (slashem-libpng-1.5.patch): patching file win/gl/gl_image.c patching file win/share/tile2png.c Patch #2 (slashem-format-security.patch): 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 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zWaFtI + umask 022 + cd /builddir/build/BUILD + cd slashem-0.0.8E0F1 + export LIBXAW_CFLAGS=-I/usr/include + LIBXAW_CFLAGS=-I/usr/include BUILDSTDERR: ++ pkg-config --libs xaw7 + export 'LIBXAW_LIBS=-lXaw7 -lXt -lX11 ' + LIBXAW_LIBS='-lXaw7 -lXt -lX11 ' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./sys/autoconf/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./sys/autoconf/config.guess BUILDSTDERR: ++ basename ./sys/autoconf/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./sys/autoconf/config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./sys/autoconf/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./sys/autoconf/config.sub BUILDSTDERR: ++ basename ./sys/autoconf/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./sys/autoconf/config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 '/usr/lib/rpm/redhat/config.guess' -> './sys/autoconf/config.guess' '/usr/lib/rpm/redhat/config.sub' -> './sys/autoconf/config.sub' checking whether ln -s works... yes checking for gawk... gawk checking for riscv64-koji-linux-gnu-gcc... no checking for 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... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking for riscv64-koji-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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/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 riscv64-koji-linux-gnu-chown... no checking for riscv64-koji-linux-gnu-true... no checking for chown... chown checking for riscv64-koji-linux-gnu-chgrp... no checking for riscv64-koji-linux-gnu-true... no checking for chgrp... chgrp checking for riscv64-koji-linux-gnu-chmod... no checking for riscv64-koji-linux-gnu-true... no checking for chmod... chmod checking for riscv64-koji-linux-gnu-windres... no checking for windres... no checking for NETHACK__LIBPNG... yes checking if libpng is useable with -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/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 riscv64-koji-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 BUILDSTDERR: checking+ 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 BUILDSTDERR: Makefile:885: warning: overriding recipe for target 'monst.o' BUILDSTDERR: Makefile:360: warning: ignoring old recipe for target 'monst.o' BUILDSTDERR: Makefile:899: warning: overriding recipe for target 'objects.o' BUILDSTDERR: Makefile:364: warning: ignoring old recipe for target 'objects.o' BUILDSTDERR: makedefs.c: In function 'do_filenames': BUILDSTDERR: makedefs.c:2396:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2396 | fgets(in_line, sizeof in_line, ifp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: makedefs.c:53:19: warning: 'SCCS_Id' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 53 | static const char SCCS_Id[] = "@(#)makedefs.c\t3.4\t2002/02/03"; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:20, BUILDSTDERR: from ../include/unixconf.h:351, BUILDSTDERR: from ../include/global.h:170, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from makedefs.c:10: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'new_id' at makedefs.c:1629:2, BUILDSTDERR: inlined from 'do_qt_control.constprop' at makedefs.c:1686:21: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 3 bytes from a string of length 255 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: makedefs.c: In function 'do_data': BUILDSTDERR: makedefs.c:1130:32: warning: '%s' directive writing up to 599 bytes into a region of size 245 [-Wformat-overflow=] BUILDSTDERR: 1130 | Sprintf(in_line, "rewind of \"%s\"", filename); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from makedefs.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 612 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: makedefs.c:1133:43: warning: '%s' directive writing up to 599 bytes into a region of size 237 [-Wformat-overflow=] BUILDSTDERR: 1133 | Sprintf(in_line, "header rewrite of \"%s\"", filename); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from makedefs.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 620 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: makedefs.c: In function 'do_oracles': BUILDSTDERR: makedefs.c:1289:32: warning: '%s' directive writing up to 599 bytes into a region of size 245 [-Wformat-overflow=] BUILDSTDERR: 1289 | Sprintf(in_line, "rewind of \"%s\"", filename); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from makedefs.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 612 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: makedefs.c:1292:44: warning: '%s' directive writing up to 599 bytes into a region of size 237 [-Wformat-overflow=] BUILDSTDERR: 1292 | Sprintf(in_line, "header rewrite of \"%s\"", filename); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from makedefs.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 620 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: makedefs.c:1296:42: warning: '%s' directive writing up to 599 bytes into a region of size 239 [-Wformat-overflow=] BUILDSTDERR: 1296 | Sprintf(in_line, "data rewrite of \"%s\"", filename); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from makedefs.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 618 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 ( cd src ; make ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' touch ../src/config.h-t gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./monst.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./objects.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c -o makedefs.o makedefs.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/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' BUILDSTDERR: ./makedefs ./apply.c: In function 'use_pole': BUILDSTDERR: ./apply.c:2918:15: warning: unused variable 'typ' [-Wunused-variable] BUILDSTDERR: 2918 | int res = 0, typ, max_range; BUILDSTDERR: | ^~~ BUILDSTDERR: At top level: BUILDSTDERR: ./apply.c:12:19: warning: 'all_count' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 12 | static const char all_count[] = { ALLOW_COUNT, ALL_CLASSES, 0 }; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./artifact.c: In function 'artifact_hit': BUILDSTDERR: ./artifact.c:1181:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1181 | if (!spec_dbon_applies && !spec_ability(otmp, SPFX_BEHEAD) || BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./artifact.c:1312:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1312 | } else if (dieroll < 3 || otmp->oartifact == ART_VORPAL_BLADE && BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: 1313 | mdef->data == &mons[PM_JABBERWOCK]) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./artifact.c:1321:26: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1321 | wepdesc = artilist[otmp->oartifact].name; BUILDSTDERR: | ~~~~^~~~~~~~~~~ BUILDSTDERR: ./botl.c: In function 'bot_raw': BUILDSTDERR: ./botl.c:581:52: warning: format '%lX' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] BUILDSTDERR: 581 | *rv++ = reconfig ? "flags" : (Sprintf(flgs, "%lX", BUILDSTDERR: | ~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %X BUILDSTDERR: 582 | (Levitation ? RAW_STAT_LEVITATION : 0) | BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 583 | (Confusion ? RAW_STAT_CONFUSION : 0) | BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 584 | (Sick && (u.usick_type & SICK_VOMITABLE) ? RAW_STAT_FOODPOIS : 0) | BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 585 | (Sick && (u.usick_type & SICK_NONVOMITABLE) ? RAW_STAT_ILL : 0) | BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 586 | (Blind ? RAW_STAT_BLIND : 0) | BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 587 | (Stunned ? RAW_STAT_STUNNED : 0) | BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 588 | (Hallucination ? RAW_STAT_HALLUCINATION : 0) | BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int BUILDSTDERR: 589 | (Slimed ? RAW_STAT_SLIMED : 0)), flgs); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./botl.c: In function 'botl_strength': BUILDSTDERR: ./botl.c:241:28: warning: '%02d' directive writing between 2 and 4 bytes into a region of size 3 [-Wformat-overflow=] BUILDSTDERR: 241 | Sprintf(strength, "18/%02d", ACURR(A_STR)-18); BUILDSTDERR: | ^~~~ BUILDSTDERR: ./botl.c:241:24: note: directive argument in the range [-146, 109] BUILDSTDERR: 241 | Sprintf(strength, "18/%02d", ACURR(A_STR)-18); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./botl.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 8 bytes into a destination of size 6 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./botl.c: In function 'bot_raw': BUILDSTDERR: ./botl.c:531:53: warning: '%d' directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] BUILDSTDERR: 531 | *rv++ = reconfig ? "dexterity" : (Sprintf(dex, "%d", ACURR(A_DEX)), dex); BUILDSTDERR: | ^~ BUILDSTDERR: ./botl.c:531:52: note: directive argument in the range [-128, 127] BUILDSTDERR: 531 | *rv++ = reconfig ? "dexterity" : (Sprintf(dex, "%d", ACURR(A_DEX)), dex); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./botl.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./botl.c:532:56: warning: '%d' directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] BUILDSTDERR: 532 | *rv++ = reconfig ? "constitution" : (Sprintf(con, "%d", ACURR(A_CON)), con); BUILDSTDERR: | ^~ BUILDSTDERR: ./botl.c:532:55: note: directive argument in the range [-128, 127] BUILDSTDERR: 532 | *rv++ = reconfig ? "constitution" : (Sprintf(con, "%d", ACURR(A_CON)), con); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./botl.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./botl.c:533:56: warning: '%d' directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] BUILDSTDERR: 533 | *rv++ = reconfig ? "intelligence" : (Sprintf(itl, "%d", ACURR(A_INT)), itl); BUILDSTDERR: | ^~ BUILDSTDERR: ./botl.c:533:55: note: directive argument in the range [-128, 127] BUILDSTDERR: 533 | *rv++ = reconfig ? "intelligence" : (Sprintf(itl, "%d", ACURR(A_INT)), itl); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./botl.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./botl.c:534:50: warning: '%d' directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] BUILDSTDERR: 534 | *rv++ = reconfig ? "wisdom" : (Sprintf(wis, "%d", ACURR(A_WIS)), wis); BUILDSTDERR: | ^~ BUILDSTDERR: ./botl.c:534:49: note: directive argument in the range [-128, 127] BUILDSTDERR: 534 | *rv++ = reconfig ? "wisdom" : (Sprintf(wis, "%d", ACURR(A_WIS)), wis); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./botl.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./botl.c:535:52: warning: '%d' directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] BUILDSTDERR: 535 | *rv++ = reconfig ? "charisma" : (Sprintf(cha, "%d", ACURR(A_CHA)), cha); BUILDSTDERR: | ^~ BUILDSTDERR: ./botl.c:535:51: note: directive argument in the range [-128, 127] BUILDSTDERR: 535 | *rv++ = reconfig ? "charisma" : (Sprintf(cha, "%d", ACURR(A_CHA)), cha); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./botl.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./cmd.c: In function 'enlightenment': BUILDSTDERR: ./cmd.c:1332:68: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 1332 | struct { unsigned long mask; const char *str; } warntypes[] = { BUILDSTDERR: | ^ BUILDSTDERR: ./cmd.c:1514:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] BUILDSTDERR: 1514 | if (wizard) Sprintf(eos(buf), " (%d)", u.uhealbonus); BUILDSTDERR: | ~^ ~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int long int BUILDSTDERR: | %ld BUILDSTDERR: ./cmd.c: In function 'rhack': BUILDSTDERR: ./cmd.c:3091:7: warning: case label value is less than minimum value for type BUILDSTDERR: 3091 | case M('5'): *cmd = 'G'; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: ./cmd.c:3092:7: warning: case label value is less than minimum value for type BUILDSTDERR: 3092 | case M('0'): *cmd = 'I'; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from ../include/decl.h:265, BUILDSTDERR: from ../include/hack.h:92, BUILDSTDERR: from ./cmd.c:5: BUILDSTDERR: ./cmd.c: In function 'click_to_cmd': BUILDSTDERR: ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: ./cmd.c:3509:15: note: in expansion of macro 'Is_container' BUILDSTDERR: 3509 | cmd[0] = Is_container(level.objects[u.ux][u.uy]) ? M('l') : ','; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./cmd.c: In function 'makemenu.constprop': BUILDSTDERR: ./cmd.c:2185:36: warning: 'current_menu' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 2185 | func = current_menu[i].m_funct; BUILDSTDERR: | ^ BUILDSTDERR: ./cmd.c: In function 'extcmd_via_menu': BUILDSTDERR: ./cmd.c:467:41: warning: '%s' directive writing up to 127 bytes into a region of size 110 [-Wformat-overflow=] BUILDSTDERR: 467 | Sprintf(prompt, "Extended Command: %s", cbuf); BUILDSTDERR: | ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./cmd.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 146 bytes into a destination of size 128 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./allmain.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./apply.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./artifact.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./attrib.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./ball.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./bones.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./botl.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./cmd.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./dbridge.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./decl.c BUILDSTDERR: gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc./dig.c: In function 'dig': BUILDSTDERR: ./dig.c:256:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 256 | if (IS_ROCK(lev->typ) && !may_dig(dpx,dpy) && BUILDSTDERR: ./dig.c: In function 'dighole': BUILDSTDERR: ./dig.c:711:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 711 | IS_DOOR(levl[u.ux][u.uy].typ) && artifact_door(u.ux, u.uy) || BUILDSTDERR: ./display.c: In function 'map_object': BUILDSTDERR: ./display.c:272:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 272 | if (level.flags.hero_memory) BUILDSTDERR: | ^ BUILDSTDERR: ./display.c: In function 'glyph_is_floating': BUILDSTDERR: ./display.c:1080:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1080 | glyph_is_warning(glyph) || tglyph && glyph == tglyph->glyph; BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/decl.h:265, BUILDSTDERR: from ../include/hack.h:92, BUILDSTDERR: from ./do.c:7: BUILDSTDERR: ./do.c: In function 'obj_no_longer_held': BUILDSTDERR: ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: ./do.c:634:14: note: in expansion of macro 'Is_container' BUILDSTDERR: 634 | } else if ((Is_container(obj) || obj->otyp == STATUE) && obj->cobj) { BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./do_name.c: In function 'do_mname': BUILDSTDERR: ./do_name.c:272:42: warning: '%s' directive writing up to 255 bytes into a region of size 103 [-Wformat-overflow=] BUILDSTDERR: 272 | Sprintf(qbuf, "What do you want to call %s?", buf); BUILDSTDERR: | ^~ ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./do_name.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 27 and 282 bytes into a destination of size 128 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./dog.c:7: BUILDSTDERR: ./dog.c: In function 'make_pet_minion': BUILDSTDERR: ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./dog.c:963:2: note: in expansion of macro 'EMIN' BUILDSTDERR: 963 | EMIN(mtmp2)->min_align = alignment; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from ./dog.c:8: BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./dog.c:966:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 966 | EPRI(mtmp2)->shralign = alignment; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from ./dogmove.c:9: BUILDSTDERR: ./dogmove.c: In function 'dog_move': BUILDSTDERR: ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./dogmove.c:853:36: note: in expansion of macro 'EMIN' BUILDSTDERR: 853 | if (mtmp->isminion) align1 = EMIN(mtmp)->min_align; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from ./dogmove.c:10: BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./dogmove.c:856:41: note: in expansion of macro 'EPRI' BUILDSTDERR: 856 | else if (mtmp->ispriest) align1 = EPRI(mtmp)->shralign; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from ./dogmove.c:9: BUILDSTDERR: ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./dogmove.c:858:37: note: in expansion of macro 'EMIN' BUILDSTDERR: 858 | if (mtmp2->isminion) align2 = EMIN(mtmp2)->min_align; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from ./dogmove.c:10: BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./dogmove.c:861:42: note: in expansion of macro 'EPRI' BUILDSTDERR: 861 | else if (mtmp2->ispriest) align2 = EPRI(mtmp2)->shralign; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from ../include/decl.h:265, BUILDSTDERR: from ../include/hack.h:92, BUILDSTDERR: from ./dokick.c:5: BUILDSTDERR: ./dokick.c: In function 'container_impact_dmg': BUILDSTDERR: ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: ./dokick.c:382:7: note: in expansion of macro 'Is_container' BUILDSTDERR: 382 | if (!Is_container(obj) || Is_mbag(obj)) return; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/youprop.h:10, BUILDSTDERR: from ../include/hack.h:90, BUILDSTDERR: from ./dothrow.c:7: BUILDSTDERR: ./dothrow.c: In function 'thitmonst': BUILDSTDERR: ../include/mondata.h:241:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 241 | (obj)->otyp == CHEESE && ((ptr) == &mons[PM_GIANT_RAT] || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 242 | (ptr) == &mons[PM_SEWER_RAT] || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 243 | (ptr) == &mons[PM_BLACK_RAT] || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 244 | (ptr) == &mons[PM_PACK_RAT]) || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./dothrow.c:1639:13: note: in expansion of macro 'befriend_with_obj' BUILDSTDERR: 1639 | } else if (befriend_with_obj(mon->data, obj) || BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/mondata.h:245:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 245 | (obj)->otyp == CARROT && ((ptr) == &mons[PM_RABBIT] || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 246 | (ptr) == &mons[PM_RABID_RABBIT]) || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./dothrow.c:1639:13: note: in expansion of macro 'befriend_with_obj' BUILDSTDERR: 1639 | } else if (befriend_with_obj(mon->data, obj) || BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/mondata.h:247:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 247 | (obj)->otyp == BANANA && (ptr)->mlet == S_YETI)) BUILDSTDERR: ./dothrow.c:1639:13: note: in expansion of macro 'befriend_with_obj' BUILDSTDERR: 1639 | } else if (befriend_with_obj(mon->data, obj) || BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ 1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./detect.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./dig.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./display.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./dlb.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./do.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./do_name.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./do_wear.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./dog.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./dogmove.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./dokick.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./dothrow.c BUILDSTDERR: gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/l./drawing.c:755:20: warning: 'IBM_r_oc_syms' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 755 | static const uchar IBM_r_oc_syms[MAXOCLASSES] = { /* a la EPYX Rogue */ BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ./eat.c: In function 'done_eating': BUILDSTDERR: ./eat.c:481:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 481 | if (!victual.piece->odrained || Race_if(PM_VAMPIRE) && !rn2(5)) BUILDSTDERR: ./eat.c: In function 'opentin': BUILDSTDERR: ./eat.c:1275:39: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1275 | monexplain[mons[tin.tin->corpsenm].mlet]); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: ./eat.c: In function 'fprefx': BUILDSTDERR: ./eat.c:1689:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1689 | if (carnivorous(youmonst.data) && (!humanoid(youmonst.data)) || BUILDSTDERR: ./eat.c: In function 'doeat': BUILDSTDERR: ./eat.c:2548:59: warning: ?: using integer constants in boolean context, the expression will always evaluate to 'true' [-Wint-in-bool-context] BUILDSTDERR: 2548 | (((monstermoves - otmp->age) > (int) otmp->blessed ? 50:30) && BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: At top level: BUILDSTDERR: ./eat.c:73:32: warning: 'comestibles' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 73 | STATIC_OVL NEARDATA const char comestibles[] = { FOOD_CLASS, 0 }; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./eat.c: In function 'doeat': BUILDSTDERR: ./eat.c:2243:19: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 2243 | Sprintf(buf, "%s like %s could be tainted! %s", BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 535 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./eat.c:2263:19: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 2263 | Sprintf(buf, "%s like %s might be poisonous! %s", BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 28 and 537 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./eat.c:2270:19: warning: ' unhealthy. ' directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 2270 | Sprintf(buf, "%s unhealthy. %s", BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 395 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./eat.c:2276:19: warning: ' rather acidic. ' directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 2276 | Sprintf(buf, "%s rather acidic. %s", BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 17 and 399 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./eat.c:2249:19: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 2249 | Sprintf(buf, "%s like %s could be something very dangerous! %s", BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 43 and 552 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./eat.c:2283:19: warning: ' disgusting to you right now..' directive writing 30 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 2283 | Sprintf(buf, "%s disgusting to you right now. %s", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 31 and 413 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./eat.c:2298:19: warning: ' foul and unfamiliar to you. ' directive writing 29 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 2298 | Sprintf(buf, "%s foul and unfamiliar to you. %s", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 30 and 412 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./eat.c:2316:19: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 2316 | Sprintf(buf, "%s like %s could be tainted! %s", BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 535 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./eat.c:2308:19: warning: ' unfamiliar to you. ' directive writing 20 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 2308 | Sprintf(buf, "%s unfamiliar to you. %s", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 403 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./eat.c:2256:19: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 2256 | Sprintf(buf, "%s like %s could be rotten! %s", BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./eat.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 25 and 534 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/decl.h:265, BUILDSTDERR: from ../include/hack.h:92, BUILDSTDERR: from ./end.c:7: BUILDSTDERR: ./end.c: In function 'container_contents': BUILDSTDERR: ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: ./end.c:1127:10: note: in expansion of macro 'Is_container' BUILDSTDERR: 1127 | if (Is_container(box) || box->otyp == STATUE) { BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./engrave.c: In function 'doengrave': BUILDSTDERR: ./engrave.c:800:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 800 | if (flags.verbose) BUILDSTDERR: | ^~ BUILDSTDERR: ./engrave.c:802:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 802 | doknown = TRUE; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./engrave.c:812:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 812 | if (flags.verbose) BUILDSTDERR: | ^~ BUILDSTDERR: ./engrave.c:814:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 814 | doknown = TRUE; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:20, BUILDSTDERR: from ../include/unixconf.h:351, BUILDSTDERR: from ../include/global.h:170, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./engrave.c:5: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'doengrave' at ./engrave.c:1191:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./explode.c: In function 'set_blast_symbols': BUILDSTDERR: ./explode.c:72:15: warning: variable 'bitmask' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 72 | int i, j, bitmask; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./explode.c: In function 'do_explode': BUILDSTDERR: ./explode.c:472:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 472 | if (is_animal(u.ustuck->data)) BUILDSTDERR: | ^ BUILDSTDERR: ./explode.c: In function 'grenade_effects': BUILDSTDERR: ./explode.c:944:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 944 | if (mon && !DEADMONSTER(mon)) BUILDSTDERR: | ^ BUILDSTDERR: ./explode.c:954:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 954 | if (x == u.ux && y == u.uy) BUILDSTDERR: | ^ BUILDSTDERR: ./files.c: In function 'delete_levelfile': BUILDSTDERR: ./files.c:569:10: warning: implicit declaration of function 'remove_area'; did you mean 'remove_rect'? [-Wimplicit-function-declaration] BUILDSTDERR: 569 | (void) remove_area(FILE_AREA_LEVL, lock, 0); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: | remove_rect BUILDSTDERR: ./files.c: In function 'commit_bonesfile': BUILDSTDERR: ./files.c:808:8: warning: implicit declaration of function 'rename_area' [-Wimplicit-function-declaration] BUILDSTDERR: 808 | ret = rename_area(FILE_AREA_BONES, tempname, bones); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./files.c:795:14: warning: unused variable 'fq_bones' [-Wunused-variable] BUILDSTDERR: 795 | const char *fq_bones, *tempname; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ./files.c: In function 'open_bonesfile': BUILDSTDERR: ./files.c:837:14: warning: unused variable 'fq_bones' [-Wunused-variable] BUILDSTDERR: 837 | const char *fq_bones; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ./files.c: In function 'save_savefile_name': BUILDSTDERR: ./files.c:947:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 947 | (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./files.c: In function 'docompress_file': BUILDSTDERR: ./files.c:1322:10: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1322 | (void) setgid(getgid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ./files.c:1323:10: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1323 | (void) setuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ./hack.c: In function 'grow_herbs': BUILDSTDERR: ./hack.c:120:15: warning: variable 'lev' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 120 | struct rm *lev; BUILDSTDERR: | ^~~ ib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./drawing.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./dungeon.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./eat.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./end.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./engrave.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./exper.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./explode.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./extralev.c ../util/makedefs -f gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./files.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./fountain.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./hack.c BUILDSTDERR: gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -f./invent.c: In function 'delobj': BUILDSTDERR: ./invent.c:657:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 657 | update_map = (obj->where == OBJ_FLOOR || Has_contents(obj) && BUILDSTDERR: ./invent.c: In function 'mergable': BUILDSTDERR: ./invent.c:2659:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 2659 | flags.pickup_thrown && obj->was_thrown != otmp->was_thrown || BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/youprop.h:10, BUILDSTDERR: from ../include/hack.h:90, BUILDSTDERR: from ./invent.c:5: BUILDSTDERR: ../include/mondata.h:168:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 168 | #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: 169 | (ptr) != &mons[PM_LICHEN] || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./invent.c:2692:4: note: in expansion of macro 'is_reviver' BUILDSTDERR: 2692 | is_reviver(&mons[otmp->corpsenm])))) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./invent.c: In function 'getobj': BUILDSTDERR: ./invent.c:1218:11: warning: 'floorfollow' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1218 | n = query_objlist(qbuf, floorchain, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1219 | floorfollow|INVORDER_SORT|SIGNAL_CANCEL, &pick_list, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1220 | PICK_ONE, allowall ? allow_all : allow_ugly); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./invent.c:1218:11: warning: 'floorchain' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: ./light.c: In function 'del_light_source': BUILDSTDERR: ./light.c:107:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 107 | case LS_OBJECT: tmp_id = (genericptr_t)(((struct obj *)id)->o_id); BUILDSTDERR: | ^ BUILDSTDERR: ./light.c:109:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 109 | case LS_MONSTER: tmp_id = (genericptr_t)(((struct monst *)id)->m_id); BUILDSTDERR: | ^ BUILDSTDERR: ./light.c: In function 'relink_light_sources': BUILDSTDERR: ./light.c:347:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 347 | if (!lookup_id_mapping((unsigned)ls->id, &nid)) BUILDSTDERR: | ^ BUILDSTDERR: ./light.c:350:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 350 | nid = (unsigned) ls->id; BUILDSTDERR: | ^ BUILDSTDERR: ./light.c: In function 'write_ls': BUILDSTDERR: ./light.c:430:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 430 | ls->id = (genericptr_t)otmp->o_id; BUILDSTDERR: | ^ BUILDSTDERR: ./light.c:437:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 437 | ls->id = (genericptr_t)mtmp->m_id; BUILDSTDERR: | ^ BUILDSTDERR: In file included from ./makemon.c:6: BUILDSTDERR: ./makemon.c: In function 'clone_mon': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: ./makemon.c:1300:5: note: in expansion of macro 'EPRI' BUILDSTDERR: 1300 | *(EPRI(m3)) = *(EPRI(mon)); BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: ./makemon.c:1300:19: note: in expansion of macro 'EPRI' BUILDSTDERR: 1300 | *(EPRI(m3)) = *(EPRI(mon)); BUILDSTDERR: | ^~~~ BUILDSTDERR: ./makemon.c: In function 'mongets': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/mondata.h:37:7: note: in expansion of macro 'EPRI' BUILDSTDERR: 37 | EPRI(mon)->shralign > 0)) BUILDSTDERR: | ^~~~ BUILDSTDERR: ./makemon.c:2181:16: note: in expansion of macro 'is_lminion' BUILDSTDERR: 2181 | } else if(is_lminion(mtmp)) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./makemon.c: In function 'peace_minded': BUILDSTDERR: ./makemon.c:2293:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 2293 | if (ual > A_NEUTRAL && mal < A_NEUTRAL || BUILDSTDERR: In file included from ./makemon.c:6: BUILDSTDERR: ./makemon.c: In function 'set_malign': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./makemon.c:2339:10: note: in expansion of macro 'EPRI' BUILDSTDERR: 2339 | mal = EPRI(mtmp)->shralign; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from ./makemon.c:7: BUILDSTDERR: ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./makemon.c:2341:10: note: in expansion of macro 'EMIN' BUILDSTDERR: 2341 | mal = EMIN(mtmp)->min_align; BUILDSTDERR: | ^~~~ BUILDSTDERR: ./mcastu.c: In function 'spell_would_be_useless': BUILDSTDERR: ./mcastu.c:845:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 845 | if ((levl[u.ux][u.uy].typ != ROOM && levl[u.ux][u.uy].typ != CORR BUILDSTDERR: ./mhitm.c: In function 'hitmm': BUILDSTDERR: ./mhitm.c:779:24: warning: ' squeezes' directive writing 9 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 779 | Sprintf(buf,"%s squeezes", magr_name); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./mhitm.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mhitm.c:765:20: warning: ' stings' directive writing 7 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 765 | Sprintf(buf,"%s stings", magr_name); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./mhitm.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 8 and 263 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mhitm.c:771:20: warning: ' touches' directive writing 8 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 771 | Sprintf(buf,"%s touches", magr_name); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./mhitm.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 264 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mhitm.c:768:20: warning: ' butts' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 768 | Sprintf(buf,"%s butts", magr_name); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./mhitm.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 262 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mhitm.c:762:20: warning: ' bites' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 762 | Sprintf(buf,"%s bites", magr_name); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./mhitm.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 262 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mhitm.c:786:20: warning: ' hits' directive writing 5 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: 786 | Sprintf(buf,"%s hits", magr_name); BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./mhitm.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 261 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mhitu.c: In function 'missmu': BUILDSTDERR: ./mhitu.c:161:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 161 | if (!flags.verbose || !nearmiss && !blocker) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: ./mhitu.c: In function 'gazemu': BUILDSTDERR: ./mhitu.c:2398:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 2398 | if(!mtmp->mcan && canseemon(mtmp) && mtmp->mcansee && BUILDSTDERR: | ^~ BUILDSTDERR: ./mhitu.c:2403:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 2403 | stop_occupation(); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./minion.c:7: BUILDSTDERR: ./minion.c: In function 'msummon': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./minion.c:23:10: note: in expansion of macro 'EPRI' BUILDSTDERR: 23 | atyp = EPRI(mon)->shralign; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/mondata.h:37:7: note: in expansion of macro 'EPRI' BUILDSTDERR: 37 | EPRI(mon)->shralign > 0)) BUILDSTDERR: | ^~~~ BUILDSTDERR: ./minion.c:41:13: note: in expansion of macro 'is_lminion' BUILDSTDERR: 41 | } else if (is_lminion(mon)) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./minion.c:80:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 80 | EPRI(mtmp)->shralign = atyp; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from ./minion.c:6: BUILDSTDERR: ./minion.c: In function 'summon_minion': BUILDSTDERR: ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./minion.c:117:6: note: in expansion of macro 'EMIN' BUILDSTDERR: 117 | EMIN(mon)->min_align = alignment; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from ./minion.c:7: BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./minion.c:123:6: note: in expansion of macro 'EPRI' BUILDSTDERR: 123 | EPRI(mon)->shralign = alignment; /* always A_LAWFUL here */ BUILDSTDERR: | ^~~~ stack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./hacklib.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./invent.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./light.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./lock.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mail.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./makemon.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mapglyph.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mcastu.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mhitm.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mhitu.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./minion.c BUILDSTDERR: gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,./mklev.c: In function 'mktrap': BUILDSTDERR: ./mklev.c:1280:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1280 | if (lvl < 2) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: ./mklev.c:1280:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1280 | if (lvl < 2) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./mklev.c:1282:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1282 | if (lvl < 5 || level.flags.noteleport) BUILDSTDERR: | ^~ BUILDSTDERR: ./mklev.c:1283:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1283 | kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./mklev.c:1285:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1285 | if (lvl < 5) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: ./mklev.c:1285:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1285 | if (lvl < 5) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./mklev.c:1287:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1287 | if (lvl < 6) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: ./mklev.c:1287:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1287 | if (lvl < 6) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./mklev.c:1289:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1289 | if (lvl < 7) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: ./mklev.c:1289:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1289 | if (lvl < 7) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./mklev.c:1292:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1292 | if (lvl < 8) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: ./mklev.c:1292:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1292 | if (lvl < 8) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./mklev.c:1294:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1294 | if (!Inhell) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: ./mklev.c:1294:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1294 | if (!Inhell) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./mklev.c:1296:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1296 | if (level.flags.noteleport) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: ./mklev.c:1296:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1296 | if (level.flags.noteleport) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./mklev.c:1299:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1299 | if (rn2(7)) kind = NO_TRAP; break; BUILDSTDERR: | ^~ BUILDSTDERR: ./mklev.c:1299:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1299 | if (rn2(7)) kind = NO_TRAP; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./mkmap.c: In function 'pass_two': BUILDSTDERR: ./mkmap.c:115:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 115 | for(count=0, dr=0; dr < 8; dr++) BUILDSTDERR: | ^~~ BUILDSTDERR: ./mkmap.c:119:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' BUILDSTDERR: 119 | if (count == 5) BUILDSTDERR: | ^~ BUILDSTDERR: In file included from ../include/decl.h:265, BUILDSTDERR: from ../include/hack.h:92, BUILDSTDERR: from ./mkobj.c:5: BUILDSTDERR: ./mkobj.c: In function 'weight': BUILDSTDERR: ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: ./mkobj.c:955:6: note: in expansion of macro 'Is_container' BUILDSTDERR: 955 | if (Is_container(obj) || obj->otyp == STATUE) { BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./mkroom.c: In function 'fill_zoo': BUILDSTDERR: ./mkroom.c:366:6: warning: 'goldlim' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 366 | if(i >= goldlim) i = 5*level_difficulty(); BUILDSTDERR: | ^ BUILDSTDERR: ./mkroom.c:328:14: warning: 'ty' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 328 | (sx == tx && sy == ty ? &mons[PM_QUEEN_BEE] : BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: ./mkroom.c:328:48: warning: 'tx' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 328 | (sx == tx && sy == ty ? &mons[PM_QUEEN_BEE] : BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ BUILDSTDERR: 329 | &mons[PM_KILLER_BEE]) : BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/youprop.h:10, BUILDSTDERR: from ../include/hack.h:90, BUILDSTDERR: from ./mon.c:10: BUILDSTDERR: ./mon.c: In function 'make_corpse': BUILDSTDERR: ../include/mondata.h:168:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 168 | #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: 169 | (ptr) != &mons[PM_LICHEN] || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mon.c:160:5: note: in expansion of macro 'is_reviver' BUILDSTDERR: 160 | is_reviver((mon)->data) || \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./mon.c:407:32: note: in expansion of macro 'KEEPTRAITS' BUILDSTDERR: 407 | obj = mkcorpstat(CORPSE, KEEPTRAITS(mtmp) ? mtmp : 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./mon.c: In function 'mfndpos': BUILDSTDERR: ./mon.c:1208:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1208 | levl[nx][ny].doormask & D_CLOSED && !(flag & OPENDOOR) BUILDSTDERR: ./mon.c: In function 'replmon': BUILDSTDERR: ./mon.c:1468:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1468 | if (unpolytime = stop_timer(UNPOLY_MON, (genericptr_t) mtmp)) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./mon.c: In function 'lifesaved_monster': BUILDSTDERR: ./mon.c:1555:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1555 | visible = u.uswallow && u.ustuck == mtmp || BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mon.c: In function 'unpoly_monster': BUILDSTDERR: ./mon.c:1603:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1603 | visible = u.uswallow && u.ustuck == mtmp || cansee(mtmp->mx,mtmp->my); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/youprop.h:10, BUILDSTDERR: from ../include/hack.h:90, BUILDSTDERR: from ./mon.c:10: BUILDSTDERR: ./mon.c: In function 'monstone': BUILDSTDERR: ../include/mondata.h:168:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 168 | #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: 169 | (ptr) != &mons[PM_LICHEN] || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./mon.c:160:5: note: in expansion of macro 'is_reviver' BUILDSTDERR: 160 | is_reviver((mon)->data) || \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./mon.c:1880:29: note: in expansion of macro 'KEEPTRAITS' BUILDSTDERR: 1880 | otmp = mkcorpstat(STATUE, KEEPTRAITS(mdef) ? mdef : 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./mon.c: In function 'newcham': BUILDSTDERR: ./mon.c:2865:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 2865 | if (msg && (u.uswallow && mtmp == u.ustuck || canspotmon(mtmp))) { BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./monmove.c:8: BUILDSTDERR: ./monmove.c: In function 'onscary': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/mondata.h:37:7: note: in expansion of macro 'EPRI' BUILDSTDERR: 37 | EPRI(mon)->shralign > 0)) BUILDSTDERR: | ^~~~ BUILDSTDERR: ./monmove.c:173:6: note: in expansion of macro 'is_lminion' BUILDSTDERR: 173 | is_lminion(mtmp) || mtmp->data == &mons[PM_ANGEL] || BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from ../include/decl.h:265, BUILDSTDERR: from ../include/hack.h:92, BUILDSTDERR: from ./monmove.c:5: BUILDSTDERR: ./monmove.c: In function 'can_ooze': BUILDSTDERR: ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: ./monmove.c:1437:7: note: in expansion of macro 'Is_container' BUILDSTDERR: 1437 | if (Is_container(obj) && obj->cobj) return FALSE; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./monmove.c: In function 'm_move': BUILDSTDERR: ./monmove.c:1174:20: warning: 'niy' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1174 | (void) breamspot(mtmp, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 1175 | &ptr->mattk[bust_door_breath(mtmp)], BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1176 | (nix-omx), (niy-omy)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./monmove.c:1174:20: warning: 'nix' may be used uninitialized in this function [-Wmaybe-uninitialized] -D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mklev.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mkmap.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mkmaze.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mkobj.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mkroom.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mon.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mondata.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./monmove.c 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c -o monstr.o monstr.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mplayer.c BUILDSTDERR: gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-a./o_init.c: In function 'init_objects': BUILDSTDERR: ./o_init.c:191:10: warning: self-comparison always evaluates to false [-Wtautological-compare] BUILDSTDERR: 191 | if(sum != sum) BUILDSTDERR: | ^~ BUILDSTDERR: ./objnam.c: In function 'add_erosion_words': BUILDSTDERR: ./objnam.c:571:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 571 | if (!is_damageable(obj) && !iscrys || Hallucination) return; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: In file included from ../include/youprop.h:10, BUILDSTDERR: from ../include/hack.h:90, BUILDSTDERR: from ./objnam.c:5: BUILDSTDERR: ./objnam.c: In function 'readobjnam': BUILDSTDERR: ../include/mondata.h:168:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 168 | #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: 169 | (ptr) != &mons[PM_LICHEN] || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./objnam.c:2760:22: note: in expansion of macro 'is_reviver' BUILDSTDERR: 2760 | (typ != CORPSE || !is_reviver(&mons[mntmp])) && BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:20, BUILDSTDERR: from ../include/unixconf.h:351, BUILDSTDERR: from ../include/global.h:170, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./objnam.c:5: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'strprepend' at ./objnam.c:75:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./objnam.c: In function 'strprepend': BUILDSTDERR: ./objnam.c:68:24: note: length computed here BUILDSTDERR: 68 | register int i = (int)strlen(pref); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./options.c: In function 'option_help': BUILDSTDERR: ./options.c:3863:21: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] BUILDSTDERR: 3863 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./options.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./options.c: In function 'doset': BUILDSTDERR: ./options.c:2947:43: warning: 's [' directive writing 3 bytes into a region of size between 1 and 11 [-Wformat-overflow=] BUILDSTDERR: 2947 | Sprintf(fmtstr_doset_add_menu, "%%s%%-%ds [%%s]", biggest_name); BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./options.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 22 bytes into a destination of size 16 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./options.c:3023:23: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: 3023 | Sprintf(buf, "%s:%s", compopt[opt_indx].name, buf2); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./options.c:13: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:20, BUILDSTDERR: from ../include/unixconf.h:351, BUILDSTDERR: from ../include/global.h:170, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./pager.c:8: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dowhatdoes_core' at ./pager.c:862:11: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dowhatdoes_core' at ./pager.c:866:11: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dowhatdoes_core' at ./pager.c:871:11: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./pager.c: In function 'do_look': BUILDSTDERR: ./pager.c:747:28: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] BUILDSTDERR: 745 | firstmatch = look_buf; BUILDSTDERR: | ~~~~~~~~ BUILDSTDERR: 746 | if (*firstmatch) { BUILDSTDERR: 747 | Sprintf(temp_buf, " (%s)", firstmatch); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./pager.c:8: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 259 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./pager.c:752:34: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] BUILDSTDERR: 752 | Sprintf(temp_buf, " [seen: %s]", monbuf); BUILDSTDERR: | ^~ ~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./pager.c:8: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:20, BUILDSTDERR: from ../include/unixconf.h:351, BUILDSTDERR: from ../include/global.h:170, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./pager.c:8: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'do_look' at ./pager.c:748:13: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'do_look' at ./pager.c:753:13: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'do_look' at ./pager.c:761:10: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./pickup.c: In function 'autopick': BUILDSTDERR: ./pickup.c:649:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 649 | flags.pickup_thrown && curr->was_thrown) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./pickup.c:663:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 663 | flags.pickup_thrown && curr->was_thrown) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/decl.h:265, BUILDSTDERR: from ../include/hack.h:92, BUILDSTDERR: from ./pickup.c:9: BUILDSTDERR: ./pickup.c: In function 'container_at': BUILDSTDERR: ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: ./pickup.c:1469:6: note: in expansion of macro 'Is_container' BUILDSTDERR: 1469 | if(Is_container(cobj)) { BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./pickup.c: In function 'doloot': BUILDSTDERR: ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: ./pickup.c:1553:10: note: in expansion of macro 'Is_container' BUILDSTDERR: 1553 | if (Is_container(cobj)) { BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./pickup.c: In function 'use_container': BUILDSTDERR: ./pickup.c:2215:25: warning: unused variable 'lcnt' [-Wunused-variable] BUILDSTDERR: 2215 | int cnt = 0, used = 0, lcnt = 0, BUILDSTDERR: | ^~~~ BUILDSTDERR: ./pickup.c:2209:16: warning: unused variable 'shkp' [-Wunused-variable] BUILDSTDERR: 2209 | struct monst *shkp; BUILDSTDERR: | ^~~~ BUILDSTDERR: ./pickup.c:2302:41: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: 2302 | if (!cnt) Sprintf(menuprompt, "%s ", emptymsg); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./pickup.c:9: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./pline.c:7: BUILDSTDERR: ./pline.c: In function 'mstatusline': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./pline.c:287:15: note: in expansion of macro 'EPRI' BUILDSTDERR: 287 | alignment = EPRI(mtmp)->shralign; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from ../include/youprop.h:10, BUILDSTDERR: from ../include/hack.h:90, BUILDSTDERR: from ./polyself.c:13: BUILDSTDERR: ./polyself.c: In function 'polyman': BUILDSTDERR: ../include/mondata.h:126:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 126 | P_MAX_SKILL(P_TWO_WEAPON_COMBAT) >= P_BASIC && \ BUILDSTDERR: ./polyself.c:118:20: note: in expansion of macro 'could_twoweap' BUILDSTDERR: 118 | if (u.twoweap && !could_twoweap(youmonst.data)) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ./polyself.c: In function 'drop_weapon': BUILDSTDERR: ../include/mondata.h:126:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 126 | P_MAX_SKILL(P_TWO_WEAPON_COMBAT) >= P_BASIC && \ BUILDSTDERR: ./polyself.c:850:14: note: in expansion of macro 'could_twoweap' BUILDSTDERR: 850 | } else if (!could_twoweap(youmonst.data)) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ./polyself.c: In function 'polyatwill': BUILDSTDERR: ./polyself.c:1711:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1711 | if (u.ulevel > 13 && u.uen > EN_ADULT_DRAGON || BUILDSTDERR: | ^ BUILDSTDERR: ./polyself.c: In function 'polyself': BUILDSTDERR: ./polyself.c:362:17: warning: array subscript -1 is below array bounds of 'struct mvitals[612]' [-Warray-bounds] BUILDSTDERR: 362 | if (!(mvitals[mntmp].mvflags & G_GENOD)) { BUILDSTDERR: | ~~~~~~~^~~~~~~ BUILDSTDERR: In file included from ../include/hack.h:92, BUILDSTDERR: from ./polyself.c:13: BUILDSTDERR: ../include/decl.h:329:3: note: while referencing 'mvitals' BUILDSTDERR: 329 | } mvitals[NUMMONS]; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./potion.c: In function 'upgrade_obj': BUILDSTDERR: ./potion.c:2517:32: warning: passing argument 2 of 'artifact_name' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 2517 | if (artifact_name(ONAME(obj), &otyp2) && otyp2 == obj->otyp) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from ../include/config.h:306, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./potion.c:5: BUILDSTDERR: ../include/extern.h:62:21: note: expected 'short int *' but argument is of type 'int *' BUILDSTDERR: 62 | E const char *FDECL(artifact_name, (const char *,short *)); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../include/tradstdc.h:124:21: note: in definition of macro 'FDECL' BUILDSTDERR: 124 | # define FDECL(f,p) f p BUILDSTDERR: | ^ nnobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./mthrowu.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./muse.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./music.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./o_init.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./objnam.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./options.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./pager.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./pickup.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./pline.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./polyself.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./potion.c BUILDSTDERR: gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-./pray.c: In function 'lawful_god_gives_angel': BUILDSTDERR: ./pray.c:1211:9: warning: variable 'mon' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1211 | int mon; BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from ./priest.c:8: BUILDSTDERR: ./priest.c: In function 'histemple_at': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:136:20: note: in expansion of macro 'EPRI' BUILDSTDERR: 136 | return((boolean)((EPRI(priest)->shroom == *in_rooms(x, y, TEMPLE)) && BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:137:20: note: in expansion of macro 'EPRI' BUILDSTDERR: 137 | on_level(&(EPRI(priest)->shrlevel), &u.uz))); BUILDSTDERR: | ^~~~ BUILDSTDERR: ./priest.c: In function 'pri_move': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:156:11: note: in expansion of macro 'EPRI' BUILDSTDERR: 156 | temple = EPRI(priest)->shroom; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:158:7: note: in expansion of macro 'EPRI' BUILDSTDERR: 158 | gx = EPRI(priest)->shrpos.x; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:159:7: note: in expansion of macro 'EPRI' BUILDSTDERR: 159 | gy = EPRI(priest)->shrpos.y; BUILDSTDERR: | ^~~~ BUILDSTDERR: ./priest.c: In function 'priestini': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:203:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 203 | EPRI(priest)->shroom = (sroom - rooms) + ROOMOFFSET; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:204:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 204 | EPRI(priest)->shralign = Amask2align(levl[sx][sy].altarmask); BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:205:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 205 | EPRI(priest)->shrpos.x = sx; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:206:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 206 | EPRI(priest)->shrpos.y = sy; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:207:18: note: in expansion of macro 'EPRI' BUILDSTDERR: 207 | assign_level(&(EPRI(priest)->shrlevel), lvl); BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:215:17: note: in expansion of macro 'EPRI' BUILDSTDERR: 215 | if(sanctum && EPRI(priest)->shralign == A_NONE && BUILDSTDERR: | ^~~~ BUILDSTDERR: ./priest.c: In function 'priestname': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:277:26: note: in expansion of macro 'EPRI' BUILDSTDERR: 277 | if (!mon->ispriest && EPRI(mon)->renegade) BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:289:33: note: in expansion of macro 'EPRI' BUILDSTDERR: 289 | Strcat(pname, halu_gname((int)EPRI(mon)->shralign)); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from ./priest.c:9: BUILDSTDERR: ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:295:27: note: in expansion of macro 'EMIN' BUILDSTDERR: 295 | Strcat(pname, halu_gname(EMIN(mon)->min_align)); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from ./priest.c:8: BUILDSTDERR: ./priest.c: In function 'p_coaligned': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:303:42: note: in expansion of macro 'EPRI' BUILDSTDERR: 303 | return((boolean)(u.ualign.type == ((int)EPRI(priest)->shralign))); BUILDSTDERR: | ^~~~ BUILDSTDERR: ./priest.c: In function 'has_shrine': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:314:14: note: in expansion of macro 'EPRI' BUILDSTDERR: 314 | lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y]; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:314:35: note: in expansion of macro 'EPRI' BUILDSTDERR: 314 | lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y]; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:317:19: note: in expansion of macro 'EPRI' BUILDSTDERR: 317 | return((boolean)(EPRI(pri)->shralign == Amask2align(lev->altarmask & ~AM_SHRINE))); BUILDSTDERR: | ^~~~ BUILDSTDERR: ./priest.c: In function 'findpriest': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:328:28: note: in expansion of macro 'EPRI' BUILDSTDERR: 328 | if(mtmp->ispriest && (EPRI(mtmp)->shroom == roomno) && BUILDSTDERR: | ^~~~ BUILDSTDERR: ./priest.c: In function 'mk_roamer': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:564:2: note: in expansion of macro 'EPRI' BUILDSTDERR: 564 | EPRI(roamer)->shralign = alignment; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:566:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 566 | EPRI(roamer)->renegade = TRUE; BUILDSTDERR: | ^~~~ BUILDSTDERR: ./priest.c: In function 'reset_hostility': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:586:5: note: in expansion of macro 'EPRI' BUILDSTDERR: 586 | if(EPRI(roamer)->shralign != u.ualign.type) { BUILDSTDERR: | ^~~~ BUILDSTDERR: ./priest.c: In function 'ghod_hitsu': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:631:11: note: in expansion of macro 'EPRI' BUILDSTDERR: 631 | ax = x = EPRI(priest)->shrpos.x; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:632:11: note: in expansion of macro 'EPRI' BUILDSTDERR: 632 | ay = y = EPRI(priest)->shrpos.y; BUILDSTDERR: | ^~~~ BUILDSTDERR: ./priest.c:648:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 648 | stpx == sgn(tbx) && stpy == sgn(tby)) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:663:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 663 | else if (x2 > troom->hx || x1 <= troom->hx && !rn2(2)) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: ./priest.c:683:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 683 | else if (x2 < troom->lx || x1 >= troom->lx && !rn2(2)) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: ./priest.c:703:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 703 | else if (y2 > troom->hy || y1 <= troom->hy && !rn2(2)) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: ./priest.c:723:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 723 | else if (y2 < troom->ly || y1 >= troom->ly && !rn2(2)) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: In file included from ./priest.c:8: BUILDSTDERR: ./priest.c: In function 'angry_priest': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:798:18: note: in expansion of macro 'EPRI' BUILDSTDERR: 798 | lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y]; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:798:42: note: in expansion of macro 'EPRI' BUILDSTDERR: 798 | lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y]; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:801:4: note: in expansion of macro 'EPRI' BUILDSTDERR: 801 | EPRI(priest)->shralign)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:805:3: note: in expansion of macro 'EPRI' BUILDSTDERR: 805 | EPRI(priest)->renegade = 0; BUILDSTDERR: | ^~~~ BUILDSTDERR: ./priest.c: In function 'clearpriests': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:821:58: note: in expansion of macro 'EPRI' BUILDSTDERR: 821 | if (!DEADMONSTER(mtmp) && mtmp->ispriest && !on_level(&(EPRI(mtmp)->shrlevel), &u.uz)) BUILDSTDERR: | ^~~~ BUILDSTDERR: ./priest.c: In function 'restpriest': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./priest.c:834:21: note: in expansion of macro 'EPRI' BUILDSTDERR: 834 | assign_level(&(EPRI(mtmp)->shrlevel), &u.uz); BUILDSTDERR: | ^~~~ BUILDSTDERR: ./read.c: In function 'seffects': BUILDSTDERR: ./read.c:1215:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1215 | if (mtmp) BUILDSTDERR: | ^ BUILDSTDERR: ./read.c:1313:20: warning: suggest parentheses around operand of '!' or change '|' to '||' or '!' to '~' [-Wparentheses] BUILDSTDERR: 1313 | else do_genocide(!sobj->cursed | (2 * !!Confusion)); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ./read.c:1233:5: warning: 'mtmp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1233 | You("try to command %s", mon_nam(mtmp)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./region.c: In function 'expire_gas_cloud': BUILDSTDERR: ./region.c:887:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 887 | damage = (int) reg->arg; BUILDSTDERR: | ^ BUILDSTDERR: ./region.c:892:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 892 | reg->arg = (genericptr_t) damage; BUILDSTDERR: | ^ BUILDSTDERR: ./region.c: In function 'inside_gas_cloud': BUILDSTDERR: ./region.c:941:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 941 | dam = (int) reg->arg; BUILDSTDERR: | ^ BUILDSTDERR: ./region.c: In function 'create_gas_cloud': BUILDSTDERR: ./region.c:1028:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 1028 | cloud->arg = (genericptr_t) damage; BUILDSTDERR: | ^ cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./pray.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./priest.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./quest.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./questpgr.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./read.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./rect.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./region.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./restore.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./rip.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./rnd.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./role.c BUILDSTDERR: gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib./save.c: In function 'savemonchn': BUILDSTDERR: ./save.c:967:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 967 | if (release_data(mode)) BUILDSTDERR: | ^ BUILDSTDERR: ./save.c: In function 'savestateinlock': BUILDSTDERR: ./save.c:425:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 425 | (void) read(fd, (genericptr_t) &hpid, sizeof(hpid)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./save.c:443:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 443 | (void) write(fd, (genericptr_t) &hackpid, sizeof(hackpid)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./save.c:447:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 447 | (void) write(fd, (genericptr_t) &currlev, sizeof(currlev)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./shk.c: In function 'obfree': BUILDSTDERR: ./shk.c:992:11: warning: implicit declaration of function 'fopen_datafile'; did you mean 'open_savefile'? [-Wimplicit-function-declaration] BUILDSTDERR: 992 | fp = fopen_datafile("buglog", "a", TROUBLEPREFIX); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: | open_savefile BUILDSTDERR: ./shk.c:992:9: warning: assignment to 'FILE *' {aka 'struct _IO_FILE *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 992 | fp = fopen_datafile("buglog", "a", TROUBLEPREFIX); BUILDSTDERR: | ^ BUILDSTDERR: ./shk.c: In function 'repair_damage': BUILDSTDERR: ./shk.c:3697:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 3697 | while (!(litter[i = rn2(9)] & INSHOP)); BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./shk.c:3698:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' BUILDSTDERR: 3698 | remove_object(otmp); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ./shk.c: In function 'shk_identify': BUILDSTDERR: ./shk.c:4733:27: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] BUILDSTDERR: 4733 | if (ESHK(shkp)->services & (SHK_ID_BASIC|SHK_ID_PREMIUM) == BUILDSTDERR: | ^ BUILDSTDERR: ./shk.c:4733:27: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 4733 | if (ESHK(shkp)->services & (SHK_ID_BASIC|SHK_ID_PREMIUM) == BUILDSTDERR: ./shk.c: In function 'shk_other_services': BUILDSTDERR: ./shk.c:5358:5: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 5358 | if (type == 'b') BUILDSTDERR: | ^ BUILDSTDERR: ./shk.c:5317:7: note: 'type' was declared here BUILDSTDERR: 5317 | char type; /* Basic/premier service */ BUILDSTDERR: | ^~~~ BUILDSTDERR: ./shknam.c: In function 'stock_blkmar': BUILDSTDERR: ./shknam.c:643:9: warning: variable 'blkmar_gen' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 643 | int blkmar_gen[NUM_OBJECTS+2]; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./sounds.c: In function 'domonnoise': BUILDSTDERR: ./sounds.c:898:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 898 | if (uwep && (uwep->oclass == WEAPON_CLASS || is_weptool(uwep)) BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./sounds.c:605:28: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds] BUILDSTDERR: 605 | verbl_msg = vampmsg[vampindex]; BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~ BUILDSTDERR: ./sounds.c:580:34: note: while referencing 'vampmsg' BUILDSTDERR: 580 | static const char * const vampmsg[] = { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./sounds.c: In function 'pet_distress': BUILDSTDERR: ./sounds.c:357:8: warning: 'verb' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 357 | if (verb) { BUILDSTDERR: | ^ BUILDSTDERR: ./sp_lev.c: In function 'create_monster': BUILDSTDERR: ./sp_lev.c:892:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 892 | if (!pm || !is_swimmer(pm) && !likes_lava(pm)) BUILDSTDERR: ./spell.c: In function 'getspell': BUILDSTDERR: ./spell.c:652:37: warning: '%s' directive writing up to 255 bytes into a region of size 109 [-Wformat-overflow=] BUILDSTDERR: 652 | Sprintf(qbuf, "Cast which spell? [%s ?]", lets); BUILDSTDERR: | ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./spell.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 23 and 278 bytes into a destination of size 128 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./rumors.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./save.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./shk.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./shknam.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./sit.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./sounds.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./sp_lev.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./spell.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./steal.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./steed.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./teleport.c BUILDSTDERR: gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -greco./timeout.c: In function 'attach_bomb_blow_timeout': BUILDSTDERR: ./timeout.c:651:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 651 | if (yours && (!carried(bomb) && costly_spot(bomb->ox, bomb->oy) && BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: 652 | !bomb->no_charge || bomb->unpaid)) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~ BUILDSTDERR: ./timeout.c: In function 'write_timer': BUILDSTDERR: ./timeout.c:2215:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 2215 | timer->arg = (genericptr_t)((struct obj *)timer->arg)->o_id; BUILDSTDERR: | ^ BUILDSTDERR: ./timeout.c:2229:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 2229 | timer->arg = (genericptr_t)((struct monst *)timer->arg)->m_id; BUILDSTDERR: | ^ BUILDSTDERR: ./timeout.c: In function 'relink_timers': BUILDSTDERR: ./timeout.c:2459:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 2459 | if (!lookup_id_mapping((unsigned)curr->arg, &nid)) BUILDSTDERR: | ^ BUILDSTDERR: ./timeout.c:2462:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 2462 | nid = (unsigned) curr->arg; BUILDSTDERR: | ^ BUILDSTDERR: ./timeout.c:2472:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 2472 | if (!lookup_id_mapping((unsigned)curr->arg, &nid)) BUILDSTDERR: | ^ BUILDSTDERR: ./timeout.c:2475:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 2475 | nid = (unsigned) curr->arg; BUILDSTDERR: | ^ BUILDSTDERR: ./topten.c: In function 'readentry': BUILDSTDERR: ./topten.c:223:20: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=] BUILDSTDERR: 223 | sscanf(dp2, "%d", &tt->conduct); BUILDSTDERR: | ~^ ~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | | long int * BUILDSTDERR: | int * BUILDSTDERR: | %ld BUILDSTDERR: ./topten.c: In function 'writeentry': BUILDSTDERR: ./topten.c:263:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] BUILDSTDERR: 263 | Sprintf(cp, " Conduct=%d", tt->conduct); BUILDSTDERR: | ~^ ~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int long int BUILDSTDERR: | %ld BUILDSTDERR: ./topten.c: In function 'outentry': BUILDSTDERR: ./topten.c:831:29: warning: '%s' directive writing up to 255 bytes into a region of size 240 [-Wformat-overflow=] BUILDSTDERR: 831 | Sprintf(linebuf, "%15s %s", "", linebuf3); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./topten.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 17 and 272 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./trap.c: In function 'uunstone': BUILDSTDERR: ./trap.c:2341:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 2341 | else BUILDSTDERR: | ^~~~ BUILDSTDERR: ./trap.c:2345:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 2345 | return (1); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from ../include/decl.h:265, BUILDSTDERR: from ../include/hack.h:92, BUILDSTDERR: from ./trap.c:5: BUILDSTDERR: ./trap.c: In function 'fire_damage': BUILDSTDERR: ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: ./trap.c:2730:6: note: in expansion of macro 'Is_container' BUILDSTDERR: 2730 | if (Is_container(obj)) { BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./trap.c: In function 'water_damage': BUILDSTDERR: ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: ./trap.c:2825:13: note: in expansion of macro 'Is_container' BUILDSTDERR: 2825 | } else if(Is_container(obj) && !Is_box(obj) && BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./trap.c: In function 'untrap': BUILDSTDERR: ./trap.c:3733:48: warning: '%s' directive writing up to 255 bytes into a region of size 89 [-Wformat-overflow=] BUILDSTDERR: 3733 | Sprintf(qbuf, "There %s and %s here. %s %s?", BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 3736 | ttmp->ttyp == WEB ? "Remove" : "Disarm", the_trap); BUILDSTDERR: | ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./trap.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 41 or more bytes (assuming 296) into a destination of size 128 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./uhitm.c: In function 'known_hitum': BUILDSTDERR: ./uhitm.c:500:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 500 | if (flags.verbose) BUILDSTDERR: | ^ BUILDSTDERR: ./uhitm.c: In function 'hmon_hitmon': BUILDSTDERR: ./uhitm.c:740:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 740 | objenchant = !thrown && no_obj || obj->spe < 0 ? 0 : obj->spe; BUILDSTDERR: | ~~~~~~~~^~~~~~~~~ BUILDSTDERR: ./uhitm.c:933:39: warning: comparison of constant '3' with boolean expression is always false [-Wbool-compare] BUILDSTDERR: 933 | obj->otyp == BOOMERANG && !rnl(4) == 4-1) { BUILDSTDERR: | ^~ BUILDSTDERR: ./uhitm.c:933:39: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] BUILDSTDERR: ./uhitm.c:933:31: note: add parentheses around left hand side expression to silence this warning BUILDSTDERR: 933 | obj->otyp == BOOMERANG && !rnl(4) == 4-1) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | ( ) BUILDSTDERR: ./uhitm.c: In function 'damageum': BUILDSTDERR: ./uhitm.c:1895:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1895 | if (!Blind) BUILDSTDERR: | ^~ BUILDSTDERR: ./uhitm.c:1897:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1897 | xkilled(mdef,3); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./uhitm.c: In function 'hmonas': BUILDSTDERR: ./uhitm.c:2734:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 2734 | if ((uwep || u.twoweap && uswapwep) && BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: ./uhitm.c:2735:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 2735 | (mhit == HIT_UWEP && !uwep || BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: ./uhitm.c:2779:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 2779 | barehanded_hit = (dhit & HIT_UWEP) && !uwep || BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: ./uhitm.c:2815:4: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2815 | /* succubi/incubi are humanoid, but their _second_ BUILDSTDERR: | BUILDSTDERR: ./uhitm.c:2825:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 2825 | if ((uwep || u.twoweap && uswapwep) && BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: ./uhitm.c:2835:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 2835 | if ((uwep || u.twoweap && uswapwep) && BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: ./uhitm.c: In function 'passive': BUILDSTDERR: ./uhitm.c:3071:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 3071 | mhit & HIT_UWEP && !uwep || BUILDSTDERR: | ~~~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: ./uhitm.c:3072:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 3072 | mhit & HIT_USWAPWEP && !uswapwep; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: ./uhitm.c: In function 'hmon_hitmon': BUILDSTDERR: ./uhitm.c:1555:38: warning: '%s' directive writing up to 255 bytes into a region of size between 244 and 251 [-Wformat-overflow=] BUILDSTDERR: 1555 | Sprintf(silverobjbuf, "Your %s%s %s %%s!", BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 1558 | saved_oname, vtense(saved_oname, "sear")); BUILDSTDERR: | ~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./uhitm.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 11 or more bytes (assuming 273) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./vault.c:6: BUILDSTDERR: ./vault.c: In function 'clear_fcorr': BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:29:18: note: in expansion of macro 'EGD' BUILDSTDERR: 29 | if (!on_level(&(EGD(grd)->gdlevel), &u.uz)) return TRUE; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:31:17: note: in expansion of macro 'EGD' BUILDSTDERR: 31 | while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) { BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:31:36: note: in expansion of macro 'EGD' BUILDSTDERR: 31 | while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) { BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:32:9: note: in expansion of macro 'EGD' BUILDSTDERR: 32 | fcx = EGD(grd)->fakecorr[fcbeg].fx; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:33:9: note: in expansion of macro 'EGD' BUILDSTDERR: 33 | fcy = EGD(grd)->fakecorr[fcbeg].fy; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:35:8: note: in expansion of macro 'EGD' BUILDSTDERR: 35 | EGD(grd)->gddone) BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:50:24: note: in expansion of macro 'EGD' BUILDSTDERR: 50 | levl[fcx][fcy].typ = EGD(grd)->fakecorr[fcbeg].ftyp; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:53:3: note: in expansion of macro 'EGD' BUILDSTDERR: 53 | EGD(grd)->fcbeg++; BUILDSTDERR: | ^~~ BUILDSTDERR: ./vault.c: In function 'grddead': BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:81:3: note: in expansion of macro 'EGD' BUILDSTDERR: 81 | EGD(grd)->ogx = grd->mx; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:82:3: note: in expansion of macro 'EGD' BUILDSTDERR: 82 | EGD(grd)->ogy = grd->my; BUILDSTDERR: | ^~~ BUILDSTDERR: ./vault.c: In function 'in_fcorridor': BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:95:12: note: in expansion of macro 'EGD' BUILDSTDERR: 95 | for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++) BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:95:35: note: in expansion of macro 'EGD' BUILDSTDERR: 95 | for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++) BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:96:11: note: in expansion of macro 'EGD' BUILDSTDERR: 96 | if(x == EGD(grd)->fakecorr[fci].fx && BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:97:10: note: in expansion of macro 'EGD' BUILDSTDERR: 97 | y == EGD(grd)->fakecorr[fci].fy) BUILDSTDERR: | ^~~ BUILDSTDERR: ./vault.c: In function 'findgd': BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:109:56: note: in expansion of macro 'EGD' BUILDSTDERR: 109 | if(mtmp->isgd && !DEADMONSTER(mtmp) && on_level(&(EGD(mtmp)->gdlevel), &u.uz)) BUILDSTDERR: | ^~~ BUILDSTDERR: ./vault.c: In function 'invault': BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:230:2: note: in expansion of macro 'EGD' BUILDSTDERR: 230 | EGD(guard)->gddone = 0; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:231:2: note: in expansion of macro 'EGD' BUILDSTDERR: 231 | EGD(guard)->ogx = x; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:232:2: note: in expansion of macro 'EGD' BUILDSTDERR: 232 | EGD(guard)->ogy = y; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:233:17: note: in expansion of macro 'EGD' BUILDSTDERR: 233 | assign_level(&(EGD(guard)->gdlevel), &u.uz); BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:234:2: note: in expansion of macro 'EGD' BUILDSTDERR: 234 | EGD(guard)->vroom = vaultroom; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:235:2: note: in expansion of macro 'EGD' BUILDSTDERR: 235 | EGD(guard)->warncnt = 0; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:316:2: note: in expansion of macro 'EGD' BUILDSTDERR: 316 | EGD(guard)->gdx = gx; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:317:2: note: in expansion of macro 'EGD' BUILDSTDERR: 317 | EGD(guard)->gdy = gy; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:318:2: note: in expansion of macro 'EGD' BUILDSTDERR: 318 | EGD(guard)->fcbeg = 0; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:319:2: note: in expansion of macro 'EGD' BUILDSTDERR: 319 | EGD(guard)->fakecorr[0].fx = x; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:320:2: note: in expansion of macro 'EGD' BUILDSTDERR: 320 | EGD(guard)->fakecorr[0].fy = y; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:322:6: note: in expansion of macro 'EGD' BUILDSTDERR: 322 | EGD(guard)->fakecorr[0].ftyp = levl[x][y].typ; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:324:16: note: in expansion of macro 'EGD' BUILDSTDERR: 324 | int vlt = EGD(guard)->vroom; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:329:3: note: in expansion of macro 'EGD' BUILDSTDERR: 329 | EGD(guard)->fakecorr[0].ftyp = TLCORNER; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:331:3: note: in expansion of macro 'EGD' BUILDSTDERR: 331 | EGD(guard)->fakecorr[0].ftyp = TRCORNER; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:333:3: note: in expansion of macro 'EGD' BUILDSTDERR: 333 | EGD(guard)->fakecorr[0].ftyp = BLCORNER; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:335:3: note: in expansion of macro 'EGD' BUILDSTDERR: 335 | EGD(guard)->fakecorr[0].ftyp = BRCORNER; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:337:3: note: in expansion of macro 'EGD' BUILDSTDERR: 337 | EGD(guard)->fakecorr[0].ftyp = HWALL; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:339:3: note: in expansion of macro 'EGD' BUILDSTDERR: 339 | EGD(guard)->fakecorr[0].ftyp = VWALL; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:344:2: note: in expansion of macro 'EGD' BUILDSTDERR: 344 | EGD(guard)->fcend = 1; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:345:2: note: in expansion of macro 'EGD' BUILDSTDERR: 345 | EGD(guard)->warncnt = 1; BUILDSTDERR: | ^~~ BUILDSTDERR: ./vault.c: In function 'wallify_vault': BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:373:12: note: in expansion of macro 'EGD' BUILDSTDERR: 373 | int vlt = EGD(grd)->vroom; BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:394:20: note: in expansion of macro 'EGD' BUILDSTDERR: 394 | move_gold(gold, EGD(grd)->vroom); BUILDSTDERR: | ^~~ BUILDSTDERR: ./vault.c: In function 'paygd': BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:778:17: note: in expansion of macro 'EGD' BUILDSTDERR: 778 | gx = rooms[EGD(grd)->vroom].lx + rn2(2); BUILDSTDERR: | ^~~ BUILDSTDERR: ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./vault.c:779:17: note: in expansion of macro 'EGD' BUILDSTDERR: 779 | gy = rooms[EGD(grd)->vroom].ly + rn2(2); BUILDSTDERR: | ^~~ BUILDSTDERR: ./vision.c: In function 'vision_recalc': BUILDSTDERR: ./vision.c:600:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 600 | if (row < 0) continue; if (row >= ROWNO) break; BUILDSTDERR: | ^~ BUILDSTDERR: ./vision.c:600:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 600 | if (row < 0) continue; if (row >= ROWNO) break; BUILDSTDERR: | ^~ BUILDSTDERR: ./vision.c:621:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 621 | if (row < 0) continue; if (row >= ROWNO) break; BUILDSTDERR: | ^~ BUILDSTDERR: ./vision.c:621:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 621 | if (row < 0) continue; if (row >= ROWNO) break; BUILDSTDERR: | ^~ BUILDSTDERR: ./vision.c:659:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 659 | if (row < 0) continue; if (row >= ROWNO) break; BUILDSTDERR: | ^~ BUILDSTDERR: ./vision.c:659:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 659 | if (row < 0) continue; if (row >= ROWNO) break; BUILDSTDERR: | ^~ BUILDSTDERR: ./vision.c: In function 'right_side': BUILDSTDERR: ./vision.c:1099:49: warning: 'row_max' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1099 | #define set_max(z) if (*row_max < (z)) *row_max = (z) BUILDSTDERR: | ^ BUILDSTDERR: ./vision.c:2213:13: note: 'row_max' was declared here BUILDSTDERR: 2213 | char *row_max; /* right most [used by macro set_max()] */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./vision.c:1098:49: warning: 'row_min' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1098 | #define set_min(z) if (*row_min > (z)) *row_min = (z) BUILDSTDERR: | ^ BUILDSTDERR: ./vision.c:2212:13: note: 'row_min' was declared here BUILDSTDERR: 2212 | char *row_min; /* left most [used by macro set_min()] */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./vision.c:2211:20: warning: 'rowp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 2211 | register char *rowp; /* row optimization */ BUILDSTDERR: | ^~~~ BUILDSTDERR: ./vision.c: In function 'left_side': BUILDSTDERR: ./vision.c:1099:49: warning: 'row_max' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1099 | #define set_max(z) if (*row_max < (z)) *row_max = (z) BUILDSTDERR: | ^ BUILDSTDERR: ./vision.c:2388:23: note: 'row_max' was declared here BUILDSTDERR: 2388 | char *row_min, *row_max; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./vision.c:1098:49: warning: 'row_min' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1098 | #define set_min(z) if (*row_min > (z)) *row_min = (z) BUILDSTDERR: | ^ BUILDSTDERR: ./vision.c:2388:13: note: 'row_min' was declared here BUILDSTDERR: 2388 | char *row_min, *row_max; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./vision.c:2387:20: warning: 'rowp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 2387 | register char *rowp; BUILDSTDERR: | ^~~~ BUILDSTDERR: ./weapon.c: In function 'enhance_weapon_skill': BUILDSTDERR: ./weapon.c:1281:26: warning: '%s' directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=] BUILDSTDERR: 1281 | Sprintf(buf, " %s%s\t[%s]", BUILDSTDERR: | ^~ BUILDSTDERR: 1282 | prefix, P_NAME(i), sklnambuf); BUILDSTDERR: | ~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./weapon.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 264) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./weapon.c:1278:28: warning: '%s' directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=] BUILDSTDERR: 1278 | Sprintf(buf, " %s %-*s [%s]", BUILDSTDERR: | ^~ BUILDSTDERR: 1279 | prefix, longest, P_NAME(i), sklnambuf); BUILDSTDERR: | ~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./weapon.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 265) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./weapon.c:1270:25: warning: '%s' directive writing up to 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] BUILDSTDERR: 1270 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", BUILDSTDERR: | ^~ BUILDSTDERR: 1271 | prefix, P_NAME(i), sklnambuf, BUILDSTDERR: | ~~~~~~~~~ BUILDSTDERR: ./weapon.c:1270:17: note: directive argument in the range [0, 65535] BUILDSTDERR: 1270 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./weapon.c:1270:17: note: directive argument in the range [-3251200, 3276800] BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./weapon.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 278) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./weapon.c:1265:26: warning: '%-12s' directive writing between 12 and 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] BUILDSTDERR: 1265 | Sprintf(buf, " %s%-*s %-12s %4d(%4d)", BUILDSTDERR: | ^~~~~ BUILDSTDERR: 1266 | prefix, longest, P_NAME(i), sklnambuf, BUILDSTDERR: | ~~~~~~~~~ BUILDSTDERR: ./weapon.c:1265:17: note: directive argument in the range [0, 65535] BUILDSTDERR: 1265 | Sprintf(buf, " %s%-*s %-12s %4d(%4d)", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./weapon.c:1265:17: note: directive argument in the range [-3251200, 3276800] BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./weapon.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 26 or more bytes (assuming 278) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rd-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./timeout.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./topten.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./track.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./trap.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./u_init.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./uhitm.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./vault.c 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./vision.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c -o vis_tab.o vis_tab.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./weapon.c BUILDSTDERR: gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection In file included from ../include/youprop.h:10, BUILDSTDERR: from ../include/hack.h:90, BUILDSTDERR: from ./wield.c:5: BUILDSTDERR: ./wield.c: In function 'can_twoweapon': BUILDSTDERR: ../include/mondata.h:126:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 126 | P_MAX_SKILL(P_TWO_WEAPON_COMBAT) >= P_BASIC && \ BUILDSTDERR: ./wield.c:507:7: note: in expansion of macro 'could_twoweap' BUILDSTDERR: 507 | if (!could_twoweap(youmonst.data) && (uwep || uswapwep)) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from ./wizard.c:12: BUILDSTDERR: ./wizard.c: In function 'cuss': BUILDSTDERR: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) BUILDSTDERR: | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/mondata.h:37:7: note: in expansion of macro 'EPRI' BUILDSTDERR: 37 | EPRI(mon)->shralign > 0)) BUILDSTDERR: | ^~~~ BUILDSTDERR: ./wizard.c:627:12: note: in expansion of macro 'is_lminion' BUILDSTDERR: 627 | } else if(is_lminion(mtmp)) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:20, BUILDSTDERR: from ../include/unixconf.h:351, BUILDSTDERR: from ../include/global.h:170, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./write.c:4: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'dowrite' at ./write.c:123:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./zap.c: In function 'poly_obj': BUILDSTDERR: ./zap.c:1442:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1442 | if (!otmp) BUILDSTDERR: | ^ BUILDSTDERR: In file included from ../include/decl.h:265, BUILDSTDERR: from ../include/hack.h:92, BUILDSTDERR: from ./zap.c:5: BUILDSTDERR: ./zap.c: In function 'bhito': BUILDSTDERR: ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) BUILDSTDERR: ./zap.c:1862:7: note: in expansion of macro 'Is_container' BUILDSTDERR: 1862 | if (Is_container(obj) || obj->otyp == STATUE) { BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./zap.c: In function 'bhit': BUILDSTDERR: ./zap.c:3298:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 3298 | (genericptr_t) lits); BUILDSTDERR: | ^ BUILDSTDERR: ./zap.c:3393:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 3393 | LS_TEMP, (genericptr_t) lits); BUILDSTDERR: | ^ BUILDSTDERR: ./zap.c:3444:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 3444 | del_light_source(LS_TEMP, (genericptr_t) lits); BUILDSTDERR: | ^ BUILDSTDERR: ./zap.c: In function 'buzz': BUILDSTDERR: ./zap.c:4000:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 4000 | new_light_source(sx, sy, 1, LS_TEMP, (genericptr_t) lits); BUILDSTDERR: | ^ BUILDSTDERR: ./zap.c:4034:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 4034 | del_light_source(LS_TEMP, (genericptr_t) lits); BUILDSTDERR: | ^ BUILDSTDERR: ./zap.c:4277:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 4277 | del_light_source(LS_TEMP, (genericptr_t) lits); BUILDSTDERR: | ^ BUILDSTDERR: ./zap.c: In function 'weffects': BUILDSTDERR: ./zap.c:2317:6: warning: 'expl_type' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 2317 | explode(u.dx, u.dy, type, u.ulevel/4 + 1 + skilldmg, 0, expl_type); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./zap.c:2260:6: note: 'expl_type' was declared here BUILDSTDERR: 2260 | int expl_type; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./tech.c: In function 'aborttech': BUILDSTDERR: ./tech.c:240:1: warning: type of 'tech' defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 240 | aborttech(tech) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./tech.c: In function 'techeffects': BUILDSTDERR: ./tech.c:852:18: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 852 | if (!Blind) BUILDSTDERR: | ^~ BUILDSTDERR: ./tech.c:856:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 856 | uncurse(obj); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./tech.c:1251:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1251 | || obj->oinvis && !See_invisible BUILDSTDERR: ./tech.c: In function 'doblitzlist': BUILDSTDERR: ./tech.c:1975:9: warning: variable 'n' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1975 | int i, n; BUILDSTDERR: | ^ BUILDSTDERR: ./tech.c: In function 'techeffects': BUILDSTDERR: ./tech.c:1362:6: warning: 'mtmp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1362 | if (!mtmp || !canseemon(mtmp)) { BUILDSTDERR: | ^ BUILDSTDERR: ./tech.c: In function 'gettech': BUILDSTDERR: ./tech.c:370:58: warning: '%s' directive writing up to 255 bytes into a region of size 102 [-Wformat-overflow=] BUILDSTDERR: 370 | Sprintf(qbuf, "Perform which technique? [%s ?]", lets); BUILDSTDERR: | ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./tech.c:8: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 30 and 285 bytes into a destination of size 128 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -I/usr/include -c ./were.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./wield.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./windows.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./wizard.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./worm.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./worn.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./write.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./zap.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./gypsy.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./tech.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../sys/share/ioctl.c BUILDSTDERR: gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:20, BUILDSTDERR: from ../include/unixconf.h:351, BUILDSTDERR: from ../include/global.h:170, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./../sys/unix/unixmain.c:7: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'main' at ./../sys/unix/unixmain.c:181:10: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../sys/share/unixtty.c: In function 'linux_mapon': BUILDSTDERR: ./../sys/share/unixtty.c:399:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 399 | write(1, "\033(B", 3); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../sys/share/unixtty.c: In function 'linux_mapoff': BUILDSTDERR: ./../sys/share/unixtty.c:409:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 409 | write(1, "\033(U", 3); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../sys/unix/unixunix.c: In function 'eraseoldlocks': BUILDSTDERR: ./../sys/unix/unixunix.c:90:10: warning: implicit declaration of function 'remove_area'; did you mean 'remove_rect'? [-Wimplicit-function-declaration] BUILDSTDERR: 90 | (void) remove_area(FILE_AREA_LEVL, lock); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: | remove_rect BUILDSTDERR: ./../sys/unix/unixunix.c: In function 'rename_area': BUILDSTDERR: ./../sys/unix/unixunix.c:452:6: warning: unused variable 'lenarea' [-Wunused-variable] BUILDSTDERR: 452 | int lenarea; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./../sys/unix/unixunix.c: In function 'child': BUILDSTDERR: ./../sys/unix/unixunix.c:332:10: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 332 | (void) setgid(getgid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ./../sys/unix/unixunix.c:333:10: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 333 | (void) setuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ./../sys/unix/unixunix.c:335:10: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 335 | (void) chdir(getenv("HOME")); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../win/tty/termcap.c: In function 'term_start_color': BUILDSTDERR: ./../win/tty/termcap.c:1286:25: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1286 | xputs(hilites[ttycolors[color]]); BUILDSTDERR: | ~~~~~~~~~^~~~~~~ BUILDSTDERR: ./../win/tty/topl.c: In function 'tty_doprev_message': BUILDSTDERR: ./../win/tty/topl.c:39:11: warning: unused variable 'tmpwin' [-Wunused-variable] BUILDSTDERR: 39 | winid tmpwin; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./../win/tty/topl.c: In function 'tty_yn_function': BUILDSTDERR: ./../win/tty/topl.c:420:27: warning: '%s' directive writing up to 127 bytes into a region of size 126 [-Wformat-overflow=] BUILDSTDERR: 420 | Sprintf(prompt, "%s [%s] ", query, respbuf); BUILDSTDERR: | ^~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./../win/tty/topl.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 132) into a destination of size 128 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../win/tty/wintty.c: In function 'tty_player_selection': BUILDSTDERR: ./../win/tty/wintty.c:331:29: warning: unused variable 'lastch' [-Wunused-variable] BUILDSTDERR: 331 | char pick4u = 'n', thisch, lastch = 0; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./../win/tty/wintty.c:331:21: warning: unused variable 'thisch' [-Wunused-variable] BUILDSTDERR: 331 | char pick4u = 'n', thisch, lastch = 0; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./../win/tty/wintty.c: In function 'process_menu_window': BUILDSTDERR: ./../win/tty/wintty.c:1400:8: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1400 | } else BUILDSTDERR: | ^~~~ BUILDSTDERR: ./../win/tty/wintty.c:1403:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 1403 | for (n = 0, cp = curr->str; BUILDSTDERR: | ^~~ BUILDSTDERR: ./../win/tty/wintty.c: In function 'tty_player_selection': BUILDSTDERR: ./../win/tty/wintty.c:614:38: warning: '%s' directive writing up to 127 bytes into a region of size 107 [-Wformat-overflow=] BUILDSTDERR: 393 | if (tty_role_select(pbuf, plbuf) < 0) goto give_up; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ...... BUILDSTDERR: 614 | Sprintf(pbuf, "Pick a role for your %s", plbuf); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./../win/tty/wintty.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 22 and 149 bytes into a destination of size 128 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../win/tty/wintty.c:686:43: warning: '%s' directive writing up to 127 bytes into a region of size 106 [-Wformat-overflow=] BUILDSTDERR: 412 | if (tty_race_select(pbuf, plbuf) < 0) goto give_up; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ...... BUILDSTDERR: 686 | Sprintf(pbuf, "Pick the race of your %s", plbuf); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./../win/tty/wintty.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 23 and 150 bytes into a destination of size 128 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../win/tty/wintty.c:474:44: warning: '%s' directive writing up to 127 bytes into a region of size 104 [-Wformat-overflow=] BUILDSTDERR: 474 | Sprintf(pbuf, "Pick the gender of your %s", plbuf); BUILDSTDERR: | ^~ ~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./../win/tty/wintty.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 25 and 152 bytes into a destination of size 128 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../win/tty/wintty.c:545:47: warning: '%s' directive writing up to 127 bytes into a region of size 101 [-Wformat-overflow=] BUILDSTDERR: 545 | Sprintf(pbuf, "Pick the alignment of your %s", plbuf); BUILDSTDERR: | ^~ ~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./../win/tty/wintty.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 28 and 155 bytes into a destination of size 128 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../win/tty/wintty.c:672:38: warning: 'lastch' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 672 | if (thisch == lastch) thisch = highc(thisch); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ./../win/tty/wintty.c:636:15: note: 'lastch' was declared here BUILDSTDERR: 636 | char thisch, lastch; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./../win/X11/winX.c: In function 'X11_init_nhwindows': BUILDSTDERR: ./../win/X11/winX.c:970:12: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 970 | (void) seteuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../win/X11/winX.c:1030:12: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1030 | (void) seteuid(savuid); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /usr/include/X11/Intrinsic.h:61, BUILDSTDERR: from ./../win/X11/winX.c:19: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'done_button' at ./../win/X11/winX.c:1226:12: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../win/X11/winX.c: In function 'done_button': BUILDSTDERR: ./../win/X11/winX.c:1221:11: note: length computed here BUILDSTDERR: 1221 | len = strlen(s); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./../win/X11/winX.c: In function 'X11_yn_function': BUILDSTDERR: ./../win/X11/winX.c:1628:20: warning: '%s' directive writing up to 127 bytes into a region of size 126 [-Wformat-overflow=] BUILDSTDERR: 1628 | Sprintf(buf, "%s [%s] ", ques, choicebuf); BUILDSTDERR: | ^~ ~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./../win/X11/winX.c:49: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 132) into a destination of size 128 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unwind-tables -fstack-clash-protection -I/usr/include -c ./../sys/unix/unixmain.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../sys/share/unixtty.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../sys/unix/unixunix.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../sys/unix/unixres.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/tty/getline.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/tty/termcap.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/tty/topl.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/tty/wintty.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/X11/Window.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/X11/dialogs.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/X11/winX.c BUILDSTDERR: gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIO./../win/X11/winmap.c: In function 'clear_map_window': BUILDSTDERR: ./../win/X11/winmap.c:1001:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1001 | if (tile_index >= 0 && strcmp(tileset, tilesets[tile_index].name) || BUILDSTDERR: | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../win/X11/winmisc.c: In function 'ps_select': BUILDSTDERR: ./../win/X11/winmisc.c:110:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 110 | ps_selected = (int) client_data; BUILDSTDERR: | ^ BUILDSTDERR: ./../win/X11/winmisc.c: In function 'extend_select': BUILDSTDERR: ./../win/X11/winmisc.c:564:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 564 | int selected = (int) client_data; BUILDSTDERR: | ^ BUILDSTDERR: ./../win/X11/winmisc.c: In function 'make_menu': BUILDSTDERR: ./../win/X11/winmisc.c:878:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 878 | XtAddCallback(*curr, XtNcallback, name_callback, (XtPointer) i); BUILDSTDERR: | ^ BUILDSTDERR: ./../win/X11/winstat.c: In function 'init_column': BUILDSTDERR: ./../win/X11/winstat.c:880:41: warning: 'width2' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 880 | int max_width1, width1, max_width2, width2; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./../win/X11/winstat.c:880:21: warning: 'width1' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 880 | int max_width1, width1, max_width2, width2; BUILDSTDERR: | ^~~~~~ NS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/X11/winmap.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/X11/winmenu.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/X11/winmesg.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/X11/winmisc.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/X11/winstat.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/X11/wintext.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c -o tile.o tile.c ar cr nhwin.a tile.o gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_conf.c BUILDSTDERR: gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D./../win/gl/gl_image.c: In function 'sdlgl_load_png_file': BUILDSTDERR: ./../win/gl/gl_image.c:471:19: warning: pointer targets in passing argument 1 of 'png_sig_cmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 471 | if (png_sig_cmp(sig_buf, (png_size_t)0, CHECK_PNG_BYTES) != 0) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from /usr/include/png.h:335, BUILDSTDERR: from ../include/winGL.h:72, BUILDSTDERR: from ./../win/gl/gl_image.c:18: BUILDSTDERR: /usr/include/png.h:913:1: note: expected 'png_const_bytep' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 913 | PNG_EXPORT(3, int, png_sig_cmp, (png_const_bytep sig, size_t start, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./../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] BUILDSTDERR: 82 | Sdlgl_putstr, Sdlgl_display_file, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../win/gl/gl_main.c:82:19: note: (near initialization for 'sdlgl_hardw_procs.win_display_file') BUILDSTDERR: ./../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] BUILDSTDERR: 124 | Sdlgl_putstr, Sdlgl_display_file, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../win/gl/gl_main.c:124:19: note: (near initialization for 'sdlgl_softw_procs.win_display_file') BUILDSTDERR: ./../win/gl/gl_menu.c:35:19: warning: 'default_menu_cmds' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 35 | static const char default_menu_cmds[] = BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../win/gl/gl_menu.c: In function 'Sdlgl_yn_function': BUILDSTDERR: ./../win/gl/gl_menu.c:861:26: warning: '%s' directive writing up to 8191 bytes into a region of size 254 [-Wformat-overflow=] BUILDSTDERR: 861 | sprintf(prompt, "%s [%s] ", query, respbuf); BUILDSTDERR: | ^~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./../win/gl/gl_menu.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 8196) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../win/gl/gl_opt.c: In function 'show_help_message': BUILDSTDERR: ./../win/gl/gl_opt.c:331:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] BUILDSTDERR: 331 | sdlgl_error(""); BUILDSTDERR: | ^~ BUILDSTDERR: ./../win/gl/gl_opt.c: In function 'show_version_message': BUILDSTDERR: ./../win/gl/gl_opt.c:344:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] BUILDSTDERR: 344 | sdlgl_error(""); BUILDSTDERR: | ^~ _GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_image.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_main.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_menu.c ../util/makedefs -v gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_opt.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_rendu.c BUILDSTDERR: gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat./../win/gl/gl_role.c: In function 'Sdlgl_player_selection': BUILDSTDERR: ./../win/gl/gl_role.c:542:7: warning: 'pick4u' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 542 | int pick4u; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from ../include/winGL.h:73, BUILDSTDERR: from ./../win/gl/gl_text.c:17: BUILDSTDERR: ./../win/gl/gl_text.c: In function 'do_reformat_text': BUILDSTDERR: ./../win/gl/gl_text.c:441:14: warning: the address of 'buf' will always evaluate as 'true' [-Waddress] BUILDSTDERR: 441 | TRAIL_IT(buf); BUILDSTDERR: | ^~~ BUILDSTDERR: ./../win/gl/gl_text.c:441:5: note: in expansion of macro 'TRAIL_IT' BUILDSTDERR: 441 | TRAIL_IT(buf); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ./../win/gl/gl_win.c: In function 'Sdlgl_create_nhwindow': BUILDSTDERR: ./../win/gl/gl_win.c:74:22: warning: variable 'newwin' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 74 | struct TextWindow *newwin; BUILDSTDERR: | ^~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 -annobin-cc1 -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 gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_win.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./version.c Loading ... slashem is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.y1BaML + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64 + cd slashem-0.0.8E0F1 + make install DESTDIR=/builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64 FILE_AREA_VAR=/builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem FILE_AREA_SAVE=/builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem/save FILE_AREA_SHARE=/builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/games/slashem FILE_AREA_UNSHARE=/builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/lib64/games/slashem FILE_AREA_DOC=/builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/doc/slashem 'INSTALL=install -p' SHELLDIR=/builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/bin CHOWN=/bin/true CHGRP=/bin/true BUILDSTDERR: Makefile:885: warning: overriding recipe for target 'monst.o' BUILDSTDERR: Makefile:360: warning: ignoring old recipe for target 'monst.o' BUILDSTDERR: Makefile:899: warning: overriding recipe for target 'objects.o' BUILDSTDERR: Makefile:364: warning: ignoring old recipe for target 'objects.o' BUILDSTDERR: Makefile:885: warning: overriding recipe for target 'monst.o' BUILDSTDERR: Makefile:360: warning: ignoring old recipe for target 'monst.o' BUILDSTDERR: Makefile:899: warning: overriding recipe for target 'objects.o' BUILDSTDERR: Makefile:364: warning: ignoring old recipe for target 'objects.o' BUILDSTDERR: recover.c: In function 'restore_savefile': BUILDSTDERR: recover.c:308:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 308 | write(sfd, (genericptr_t) &levc, sizeof(levc)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./../win/share/tiletext.c: In function 'read_txttile': BUILDSTDERR: ./../win/share/tiletext.c:278:6: warning: variable 'tile_no' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 278 | int tile_no; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./../win/share/tiletext.c: In function 'set_tile_size': BUILDSTDERR: ./../win/share/tiletext.c:506:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 506 | if (ch == '_' || ch >= 'A' && ch <= 'Z' || ch >= 'a' && BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: ./../win/share/tiletext.c:506:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 506 | if (ch == '_' || ch >= 'A' && ch <= 'Z' || ch >= 'a' && BUILDSTDERR: | ~~~~~~~~~~^~ BUILDSTDERR: 507 | ch <= 'z' || ch >= '0' && ch <= '9' || ch == '$') BUILDSTDERR: | ~~~~~~~~~ BUILDSTDERR: ./../win/share/tiletext.c:507:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 507 | ch <= 'z' || ch >= '0' && ch <= '9' || ch == '$') BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~~~~ BUILDSTDERR: ./../win/share/tiletext.c: In function 'merge_colormap': BUILDSTDERR: ./../win/share/tiletext.c:442:25: warning: 'best_b' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 442 | ColorMap[CM_BLUE][i] = best_b; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: ./../win/share/tiletext.c:441:26: warning: 'best_g' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 441 | ColorMap[CM_GREEN][i] = best_g; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: ./../win/share/tiletext.c:440:24: warning: 'best_r' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 440 | ColorMap[CM_RED][i] = best_r; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: ./../win/share/tilemap.c:237:13: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 237 | } cmaps[] = { BUILDSTDERR: | ^ BUILDSTDERR: ./../win/share/magtile.c: In function 'main': BUILDSTDERR: ./../win/share/magtile.c:112:10: warning: passing argument 1 of 'strcat' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 112 | strcat(filename, file_prefix); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char ** BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ./../win/share/magtile.c:6: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'char **' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./../win/share/magtile.c:113:10: warning: passing argument 1 of 'strcat' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 113 | strcat(filename, tilefiles[filenum]); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char ** BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from ../include/global.h:8, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ./../win/share/magtile.c:6: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'char **' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ./../win/share/magtile.c:114:24: warning: passing argument 1 of 'fopen_text_file' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 114 | if (!fopen_text_file(filename, RDTMODE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char ** BUILDSTDERR: In file included from ../include/config.h:306, BUILDSTDERR: from ./../win/share/magtile.c:6: BUILDSTDERR: ../include/tile.h:48:40: note: expected 'const char *' but argument is of type 'char **' BUILDSTDERR: 48 | extern boolean FDECL(fopen_text_file, (const char *, const char *)); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ../include/tradstdc.h:124:23: note: in definition of macro 'FDECL' BUILDSTDERR: 124 | # define FDECL(f,p) f p BUILDSTDERR: | ^ BUILDSTDERR: ./../win/share/magtile.c:103:10: warning: unused variable 'x' [-Wunused-variable] BUILDSTDERR: 103 | boolean x; BUILDSTDERR: | ^ ( cd src ; make ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' 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' 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c -o recover.o recover.c 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/X11/tile2x11.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/share/tiletext.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c -DTILETEXT ./../win/share/tilemap.c 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/share/magtile.c gcc -DAUTOCONF -o magtile magtile.o tiletext.o tiletxt.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o BUILDSTDERR: gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-./../win/share/txtmerge.c: In function 'main': BUILDSTDERR: ./../win/share/txtmerge.c:197:7: warning: implicit declaration of function 'read_text_file_colormap'; did you mean 'read_text_tile_info'? [-Wimplicit-function-declaration] BUILDSTDERR: 197 | if (!read_text_file_colormap(argv[2])) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | read_text_tile_info BUILDSTDERR: ./../win/share/txtbg.c: In function 'do_background': BUILDSTDERR: ./../win/share/txtbg.c:74:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 74 | if (pixel_eq(tile[j][i], def_background)) BUILDSTDERR: | ^ BUILDSTDERR: Changing 0,145,0 => 0,144,0 (fuzz max(1), total(1)). BUILDSTDERR: Changing 145,71,0 => 144,72,0 (fuzz max(1), total(2)). BUILDSTDERR: Changing 182,71,0 => 182,72,0 (fuzz max(1), total(1)). BUILDSTDERR: Changing 255,182,145 => 255,182,144 (fuzz max(1), total(1)). BUILDSTDERR: Changing 108,145,182 => 108,144,182 (fuzz max(1), total(1)). BUILDSTDERR: info: tile Wizard of Balance ignored BUILDSTDERR: Changing 242,242,242 => 240,240,240 (fuzz max(2), total(6)). BUILDSTDERR: Changing 96,145,178 => 96,144,178 (fuzz max(1), total(1)). BUILDSTDERR: Changing 145,64,0 => 144,72,0 (fuzz max(8), total(9)). BUILDSTDERR: Changing 0,178,242 => 0,182,255 (fuzz max(13), total(17)). BUILDSTDERR: Changing 242,242,0 => 255,255,0 (fuzz max(13), total(26)). BUILDSTDERR: Changing 0,0,242 => 0,0,255 (fuzz max(13), total(13)). BUILDSTDERR: Changing 242,178,145 => 255,182,144 (fuzz max(13), total(18)). BUILDSTDERR: Changing 0,145,0 => 0,144,0 (fuzz max(1), total(1)). BUILDSTDERR: Changing 96,242,0 => 108,255,0 (fuzz max(13), total(25)). BUILDSTDERR: Changing 145,145,145 => 144,144,144 (fuzz max(1), total(3)). BUILDSTDERR: Changing 160,112,0 => 160,120,0 (fuzz max(8), total(8)). BUILDSTDERR: Changing 0,242,242 => 0,255,255 (fuzz max(13), total(26)). BUILDSTDERR: Changing 210,210,210 => 208,208,208 (fuzz max(2), total(6)). BUILDSTDERR: Changing 242,224,96 => 248,224,96 (fuzz max(6), total(6)). BUILDSTDERR: Changing 242,192,64 => 242,196,77 (fuzz max(13), total(17)). BUILDSTDERR: Changing 178,178,178 => 176,176,176 (fuzz max(2), total(6)). BUILDSTDERR: Changing 160,32,0 => 160,40,0 (fuzz max(8), total(8)). BUILDSTDERR: Changing 192,145,0 => 192,144,0 (fuzz max(1), total(1)). BUILDSTDERR: Changing 160,112,80 => 165,118,96 (fuzz max(16), total(27)). BUILDSTDERR: Changing 242,128,0 => 255,128,0 (fuzz max(13), total(13)). BUILDSTDERR: Changing 96,64,0 => 96,72,0 (fuzz max(8), total(8)). BUILDSTDERR: Changing 192,128,112 => 202,144,114 (fuzz max(16), total(28)). BUILDSTDERR: Changing 224,224,160 => 224,224,168 (fuzz max(8), total(8)). BUILDSTDERR: Changing 0,128,242 => 0,128,255 (fuzz max(13), total(13)). BUILDSTDERR: Changing 160,128,48 => 170,136,52 (fuzz max(10), total(22)). BUILDSTDERR: Changing 242,242,145 => 252,252,153 (fuzz max(10), total(28)). BUILDSTDERR: Changing 224,160,128 => 229,162,130 (fuzz max(5), total(9)). BUILDSTDERR: Changing 224,160,0 => 224,168,0 (fuzz max(8), total(8)). BUILDSTDERR: Changing 224,48,0 => 224,56,0 (fuzz max(8), total(8)). BUILDSTDERR: Changing 242,192,0 => 255,192,0 (fuzz max(13), total(13)). BUILDSTDERR: Changing 112,80,64 => 128,64,64 (fuzz max(16), total(32)). BUILDSTDERR: Changing 145,128,96 => 128,128,96 (fuzz max(17), total(17)). BUILDSTDERR: Changing 145,192,192 => 144,192,192 (fuzz max(1), total(1)). BUILDSTDERR: Changing 160,224,224 => 168,224,224 (fuzz max(8), total(8)). BUILDSTDERR: Changing 112,96,80 => 117,105,88 (fuzz max(9), total(22)). BUILDSTDERR: Changing 112,112,160 => 120,120,160 (fuzz max(8), total(16)). BUILDSTDERR: Changing 242,0,128 => 255,0,128 (fuzz max(13), total(13)). BUILDSTDERR: Changing 192,192,145 => 192,192,144 (fuzz max(1), total(1)). BUILDSTDERR: Changing 160,160,112 => 160,160,120 (fuzz max(8), total(8)). BUILDSTDERR: Changing 192,192,242 => 192,192,255 (fuzz max(13), total(13)). BUILDSTDERR: Changing 242,210,160 => 255,211,176 (fuzz max(16), total(30)). BUILDSTDERR: Changing 0,242,0 => 0,255,0 (fuzz max(13), total(13)). BUILDSTDERR: Changing 128,0,242 => 128,0,255 (fuzz max(13), total(13)). BUILDSTDERR: Changing 145,145,192 => 144,144,192 (fuzz max(1), total(2)). BUILDSTDERR: Changing 160,145,128 => 170,154,128 (fuzz max(10), total(19)). BUILDSTDERR: Changing 96,80,16 => 96,72,0 (fuzz max(16), total(24)). BUILDSTDERR: Changing 242,64,0 => 255,64,0 (fuzz max(13), total(13)). BUILDSTDERR: Changing 192,145,192 => 192,144,192 (fuzz max(1), total(1)). BUILDSTDERR: Changing 242,242,192 => 255,255,192 (fuzz max(13), total(26)). BUILDSTDERR: Changing 192,242,242 => 192,255,255 (fuzz max(13), total(26)). BUILDSTDERR: Changing 128,242,0 => 128,255,0 (fuzz max(13), total(13)). BUILDSTDERR: Changing 224,160,160 => 224,168,168 (fuzz max(8), total(16)). BUILDSTDERR: Changing 128,242,128 => 128,255,128 (fuzz max(13), total(13)). BUILDSTDERR: Changing 112,160,112 => 120,160,120 (fuzz max(8), total(16)). BUILDSTDERR: Changing 242,192,192 => 255,192,192 (fuzz max(13), total(13)). BUILDSTDERR: Changing 145,192,145 => 144,192,144 (fuzz max(1), total(2)). BUILDSTDERR: Changing 128,242,242 => 128,255,255 (fuzz max(13), total(26)). BUILDSTDERR: Changing 242,242,128 => 255,255,128 (fuzz max(13), total(26)). BUILDSTDERR: Changing 192,145,145 => 192,144,144 (fuzz max(1), total(2)). BUILDSTDERR: Changing 16,48,0 => 24,48,0 (fuzz max(8), total(8)). BUILDSTDERR: Changing 16,16,32 => 16,16,16 (fuzz max(16), total(16)). BUILDSTDERR: Changing 48,16,0 => 48,12,0 (fuzz max(4), total(4)). BUILDSTDERR: Changing 242,128,128 => 255,128,128 (fuzz max(13), total(13)). BUILDSTDERR: Changing 0,48,16 => 0,48,24 (fuzz max(8), total(8)). BUILDSTDERR: Changing 16,32,32 => 0,32,32 (fuzz max(16), total(16)). BUILDSTDERR: Changing 32,16,16 => 16,16,16 (fuzz max(16), total(16)). BUILDSTDERR: Changing 224,160,224 => 224,168,224 (fuzz max(8), total(8)). BUILDSTDERR: Changing 242,192,242 => 255,192,255 (fuzz max(13), total(26)). BUILDSTDERR: Changing 32,32,64 => 0,32,64 (fuzz max(32), total(32)). BUILDSTDERR: Changing 16,32,16 => 16,16,16 (fuzz max(16), total(16)). BUILDSTDERR: Changing 0,242,128 => 0,255,128 (fuzz max(13), total(13)). BUILDSTDERR: Changing 160,224,160 => 168,224,168 (fuzz max(8), total(16)). BUILDSTDERR: Changing 48,32,32 => 32,32,32 (fuzz max(16), total(16)). BUILDSTDERR: Changing 32,32,48 => 24,24,48 (fuzz max(8), total(16)). BUILDSTDERR: Changing 48,48,32 => 48,48,24 (fuzz max(8), total(8)). BUILDSTDERR: Changing 160,112,112 => 160,120,120 (fuzz max(8), total(16)). BUILDSTDERR: Changing 192,242,192 => 192,255,192 (fuzz max(13), total(13)). BUILDSTDERR: Changing 210,160,80 => 208,168,80 (fuzz max(8), total(10)). BUILDSTDERR: Changing 160,112,160 => 160,120,160 (fuzz max(8), total(8)). BUILDSTDERR: Changing 0,32,16 => 0,16,16 (fuzz max(16), total(16)). BUILDSTDERR: Changing 32,48,48 => 24,48,48 (fuzz max(8), total(8)). BUILDSTDERR: Changing 0,0,178 => 0,0,192 (fuzz max(14), total(14)). BUILDSTDERR: Changing 32,242,178 => 32,242,186 (fuzz max(8), total(8)). BUILDSTDERR: Changing 32,242,178 => 32,242,186 (fuzz max(8), total(8)). BUILDSTDERR: Changing 80,80,242 => 96,96,192 (fuzz max(50), total(82)). BUILDSTDERR: Changing 242,64,80 => 255,64,0 (fuzz max(80), total(93)). BUILDSTDERR: Changing 16,210,48 => 0,224,0 (fuzz max(48), total(78)). BUILDSTDERR: Changing 16,192,48 => 0,160,80 (fuzz max(32), total(80)). BUILDSTDERR: Changing 192,16,48 => 160,0,80 (fuzz max(32), total(80)). BUILDSTDERR: Changing 160,112,242 => 128,128,255 (fuzz max(32), total(61)). BUILDSTDERR: Changing 178,16,48 => 160,0,80 (fuzz max(32), total(66)). BUILDSTDERR: Changing 178,16,128 => 192,0,96 (fuzz max(32), total(62)). BUILDSTDERR: Changing 178,16,224 => 192,0,192 (fuzz max(32), total(62)). BUILDSTDERR: Changing 80,242,48 => 108,255,0 (fuzz max(48), total(89)). BUILDSTDERR: Changing 242,16,192 => 192,0,192 (fuzz max(50), total(66)). BUILDSTDERR: Changing 16,80,242 => 0,112,224 (fuzz max(32), total(66)). BUILDSTDERR: Changing 242,128,242 => 255,128,255 (fuzz max(13), total(26)). BUILDSTDERR: Changing 128,128,242 => 128,128,255 (fuzz max(13), total(13)). BUILDSTDERR: Changing 210,210,16 => 224,224,0 (fuzz max(16), total(44)). BUILDSTDERR: Changing 210,16,128 => 224,0,112 (fuzz max(16), total(46)). BUILDSTDERR: Changing 32,224,16 => 0,224,0 (fuzz max(32), total(48)). BUILDSTDERR: Changing 178,16,210 => 192,0,192 (fuzz max(18), total(48)). BUILDSTDERR: Changing 16,210,210 => 0,224,224 (fuzz max(16), total(44)). BUILDSTDERR: Changing 16,16,145 => 0,0,160 (fuzz max(16), total(47)). BUILDSTDERR: Changing 0,145,0 => 0,144,0 (fuzz max(1), total(1)). BUILDSTDERR: Changing 145,71,0 => 144,72,0 (fuzz max(1), total(2)). BUILDSTDERR: Changing 182,71,0 => 182,72,0 (fuzz max(1), total(1)). BUILDSTDERR: Changing 255,182,145 => 255,182,144 (fuzz max(1), total(1)). BUILDSTDERR: Changing 108,145,182 => 108,144,182 (fuzz max(1), total(1)). BUILDSTDERR: warning: replacing tile red robe / robe with robe BUILDSTDERR: warning: replacing tile wooden / adornment with wooden BUILDSTDERR: warning: replacing tile granite / gain strength with granite BUILDSTDERR: warning: replacing tile opal / gain constitution with opal BUILDSTDERR: warning: replacing tile clay / increase accuracy with clay BUILDSTDERR: warning: replacing tile coral / increase damage with coral BUILDSTDERR: warning: replacing tile black onyx / protection with black onyx BUILDSTDERR: warning: replacing tile moonstone / regeneration with moonstone BUILDSTDERR: warning: replacing tile tiger eye / searching with tiger eye BUILDSTDERR: warning: replacing tile jade / stealth with jade BUILDSTDERR: warning: replacing tile bronze / sustain ability with bronze BUILDSTDERR: warning: replacing tile agate / levitation with agate BUILDSTDERR: warning: replacing tile topaz / hunger with topaz BUILDSTDERR: warning: replacing tile sapphire / aggravate monster with sapphire BUILDSTDERR: warning: replacing tile ruby / conflict with ruby BUILDSTDERR: warning: replacing tile diamond / warning with diamond BUILDSTDERR: warning: replacing tile pearl / poison resistance with pearl BUILDSTDERR: warning: replacing tile iron / fire resistance with iron BUILDSTDERR: warning: replacing tile brass / cold resistance with brass BUILDSTDERR: warning: replacing tile copper / shock resistance with copper BUILDSTDERR: warning: replacing tile twisted / free action with twisted BUILDSTDERR: warning: replacing tile steel / slow digestion with steel BUILDSTDERR: warning: replacing tile silver / teleportation with silver BUILDSTDERR: warning: replacing tile gold / teleport control with gold BUILDSTDERR: warning: replacing tile ivory / polymorph with ivory BUILDSTDERR: warning: replacing tile emerald / polymorph control with emerald BUILDSTDERR: warning: replacing tile wire / invisibility with wire BUILDSTDERR: warning: replacing tile engagement / see invisible with engagement BUILDSTDERR: warning: replacing tile shiny / protection from shape changers with shiny BUILDSTDERR: warning: replacing tile circular / amulet of ESP with circular BUILDSTDERR: warning: replacing tile spherical / amulet of life saving with spherical BUILDSTDERR: warning: replacing tile oval / amulet of strangulation with oval BUILDSTDERR: warning: replacing tile triangular / amulet of restful sleep with triangular BUILDSTDERR: warning: replacing tile pyramidal / amulet versus poison with pyramidal BUILDSTDERR: warning: replacing tile square / amulet of change with square BUILDSTDERR: warning: replacing tile hexagonal / amulet of reflection with hexagonal BUILDSTDERR: warning: replacing tile octagonal / amulet of magical breathing with octagonal BUILDSTDERR: warning: replacing tile ruby / gain ability with ruby BUILDSTDERR: warning: replacing tile pink / restore ability with pink BUILDSTDERR: warning: replacing tile orange / confusion with orange BUILDSTDERR: warning: replacing tile yellow / blindness with yellow BUILDSTDERR: warning: replacing tile emerald / paralysis with emerald BUILDSTDERR: warning: replacing tile dark green / speed with dark green BUILDSTDERR: warning: replacing tile cyan / levitation with cyan BUILDSTDERR: warning: replacing tile sky blue / hallucination with sky blue BUILDSTDERR: warning: replacing tile brilliant blue / invisibility with brilliant blue BUILDSTDERR: warning: replacing tile magenta / see invisible with magenta BUILDSTDERR: warning: replacing tile purple-red / healing with purple-red BUILDSTDERR: warning: replacing tile puce / extra healing with puce BUILDSTDERR: warning: replacing tile milky / gain level with milky BUILDSTDERR: warning: replacing tile swirly / enlightenment with swirly BUILDSTDERR: warning: replacing tile bubbly / monster detection with bubbly BUILDSTDERR: warning: replacing tile smoky / object detection with smoky BUILDSTDERR: warning: replacing tile cloudy / gain energy with cloudy BUILDSTDERR: warning: replacing tile effervescent / sleeping with effervescent BUILDSTDERR: warning: replacing tile black / full healing with black BUILDSTDERR: warning: replacing tile golden / polymorph with golden BUILDSTDERR: warning: replacing tile brown / booze with brown BUILDSTDERR: warning: replacing tile fizzy / sickness with fizzy BUILDSTDERR: warning: replacing tile dark / fruit juice with dark BUILDSTDERR: warning: replacing tile white / acid with white BUILDSTDERR: warning: replacing tile murky / oil with murky BUILDSTDERR: warning: replacing tile clear / water with clear BUILDSTDERR: warning: replacing tile ZELGO MER / enchant armor with ZELGO MER BUILDSTDERR: warning: replacing tile JUYED AWK YACC / destroy armor with JUYED AWK YACC BUILDSTDERR: warning: replacing tile NR 9 / confuse monster with NR 9 BUILDSTDERR: warning: replacing tile XIXAXA XOXAXA XUXAXA / scare monster with XIXAXA XOXAXA XUXAXA BUILDSTDERR: warning: replacing tile PRATYAVAYAH / remove curse with PRATYAVAYAH BUILDSTDERR: warning: replacing tile DAIYEN FOOELS / enchant weapon with DAIYEN FOOELS BUILDSTDERR: warning: replacing tile LEP GEX VEN ZEA / create monster with LEP GEX VEN ZEA BUILDSTDERR: warning: replacing tile PRIRUTSENIE / taming with PRIRUTSENIE BUILDSTDERR: warning: replacing tile ELBIB YLOH / genocide with ELBIB YLOH BUILDSTDERR: warning: replacing tile VERR YED HORRE / light with VERR YED HORRE BUILDSTDERR: warning: replacing tile VENZAR BORGAVVE / teleportation with VENZAR BORGAVVE BUILDSTDERR: warning: replacing tile THARR / gold detection with THARR BUILDSTDERR: warning: replacing tile YUM YUM / food detection with YUM YUM BUILDSTDERR: warning: replacing tile KERNOD WEL / identify with KERNOD WEL BUILDSTDERR: warning: replacing tile ELAM EBOW / magic mapping with ELAM EBOW BUILDSTDERR: warning: replacing tile DUAM XNAHT / amnesia with DUAM XNAHT BUILDSTDERR: warning: replacing tile ANDOVA BEGARIN / fire with ANDOVA BEGARIN BUILDSTDERR: warning: replacing tile KIRJE / earth with KIRJE BUILDSTDERR: warning: replacing tile VE FORBRYDERNE / punishment with VE FORBRYDERNE BUILDSTDERR: warning: replacing tile HACKEM MUCHE / charging with HACKEM MUCHE BUILDSTDERR: warning: replacing tile VELOX NEB / stinking cloud with VELOX NEB BUILDSTDERR: warning: replacing tile parchment / dig with parchment BUILDSTDERR: warning: replacing tile vellum / magic missile with vellum BUILDSTDERR: warning: replacing tile ragged / fireball with ragged BUILDSTDERR: warning: replacing tile dog eared / cone of cold with dog eared BUILDSTDERR: warning: replacing tile mottled / sleep with mottled BUILDSTDERR: warning: replacing tile stained / finger of death with stained BUILDSTDERR: warning: replacing tile cloth / light with cloth BUILDSTDERR: warning: replacing tile leather / detect monsters with leather BUILDSTDERR: warning: replacing tile white / healing with white BUILDSTDERR: warning: replacing tile pink / knock with pink BUILDSTDERR: warning: replacing tile red / force bolt with red BUILDSTDERR: warning: replacing tile orange / confuse monster with orange BUILDSTDERR: warning: replacing tile yellow / cure blindness with yellow BUILDSTDERR: warning: replacing tile velvet / drain life with velvet BUILDSTDERR: warning: replacing tile light green / slow monster with light green BUILDSTDERR: warning: replacing tile dark green / wizard lock with dark green BUILDSTDERR: warning: replacing tile turquoise / create monster with turquoise BUILDSTDERR: warning: replacing tile cyan / detect food with cyan BUILDSTDERR: warning: replacing tile light blue / cause fear with light blue BUILDSTDERR: warning: replacing tile dark blue / clairvoyance with dark blue BUILDSTDERR: warning: replacing tile indigo / cure sickness with indigo BUILDSTDERR: warning: replacing tile magenta / charm monster with magenta BUILDSTDERR: warning: replacing tile purple / haste self with purple BUILDSTDERR: warning: replacing tile violet / detect unseen with violet BUILDSTDERR: warning: replacing tile tan / levitation with tan BUILDSTDERR: warning: replacing tile plaid / extra healing with plaid BUILDSTDERR: warning: replacing tile light brown / restore ability with light brown BUILDSTDERR: warning: replacing tile dark brown / invisibility with dark brown BUILDSTDERR: warning: replacing tile gray / detect treasure with gray BUILDSTDERR: warning: replacing tile wrinkled / remove curse with wrinkled BUILDSTDERR: warning: replacing tile dusty / magic mapping with dusty BUILDSTDERR: warning: replacing tile bronze / identify with bronze BUILDSTDERR: warning: replacing tile copper / turn undead with copper BUILDSTDERR: warning: replacing tile silver / polymorph with silver BUILDSTDERR: warning: replacing tile gold / teleport away with gold BUILDSTDERR: warning: replacing tile glittering / create familiar with glittering BUILDSTDERR: warning: replacing tile shining / cancellation with shining BUILDSTDERR: warning: replacing tile dull / enchant weapon with dull BUILDSTDERR: warning: replacing tile thin / enchant armor with thin BUILDSTDERR: warning: replacing tile thick / stone to flesh with thick BUILDSTDERR: warning: replacing tile glass / gain wisdom with glass BUILDSTDERR: warning: replacing tile balsa / secret door detection with balsa BUILDSTDERR: warning: replacing tile maple / create monster with maple BUILDSTDERR: warning: replacing tile pine / wishing with pine BUILDSTDERR: warning: replacing tile oak / nothing with oak BUILDSTDERR: warning: replacing tile ebony / striking with ebony BUILDSTDERR: warning: replacing tile marble / make invisible with marble BUILDSTDERR: warning: replacing tile tin / slow monster with tin BUILDSTDERR: warning: replacing tile brass / speed monster with brass BUILDSTDERR: warning: replacing tile copper / undead turning with copper BUILDSTDERR: warning: replacing tile silver / polymorph with silver BUILDSTDERR: warning: replacing tile platinum / cancellation with platinum BUILDSTDERR: warning: replacing tile iridium / teleportation with iridium BUILDSTDERR: warning: replacing tile zinc / opening with zinc BUILDSTDERR: warning: replacing tile aluminum / locking with aluminum BUILDSTDERR: warning: replacing tile uranium / probing with uranium BUILDSTDERR: warning: replacing tile iron / digging with iron BUILDSTDERR: warning: replacing tile steel / magic missile with steel BUILDSTDERR: warning: replacing tile hexagonal / fire with hexagonal BUILDSTDERR: warning: replacing tile short / cold with short BUILDSTDERR: warning: replacing tile runed / sleep with runed BUILDSTDERR: warning: replacing tile long / insulate with long BUILDSTDERR: warning: replacing tile curved / lightning with curved BUILDSTDERR: Changing 202,143,114 => 202,144,114 (fuzz max(1), total(1)). BUILDSTDERR: Changing 0,145,0 => 0,144,0 (fuzz max(1), total(1)). BUILDSTDERR: Changing 127,90,72 => 128,90,72 (fuzz max(1), total(1)). BUILDSTDERR: Changing 145,71,0 => 144,72,0 (fuzz max(1), total(2)). BUILDSTDERR: Changing 182,71,0 => 182,72,0 (fuzz max(1), total(1)). BUILDSTDERR: Changing 165,118,94 => 165,118,96 (fuzz max(2), total(2)). BUILDSTDERR: Changing 171,154,129 => 170,154,128 (fuzz max(1), total(2)). BUILDSTDERR: Changing 145,135,110 => 144,135,110 (fuzz max(1), total(1)). BUILDSTDERR: Changing 255,211,175 => 255,211,176 (fuzz max(1), total(1)). BUILDSTDERR: Changing 255,182,145 => 255,182,144 (fuzz max(1), total(1)). BUILDSTDERR: Changing 108,145,182 => 108,144,182 (fuzz max(1), total(1)). BUILDSTDERR: Changing 0,145,0 => 0,144,0 (fuzz max(1), total(1)). BUILDSTDERR: Changing 145,71,0 => 144,72,0 (fuzz max(1), total(2)). BUILDSTDERR: Changing 182,71,0 => 182,72,0 (fuzz max(1), total(1)). BUILDSTDERR: Changing 255,182,145 => 255,182,144 (fuzz max(1), total(1)). BUILDSTDERR: Changing 108,145,182 => 108,144,182 (fuzz max(1), total(1)). BUILDSTDERR: ../win/share/mon32.txt: 638 tiles BUILDSTDERR: ../win/share/obj32.txt: 537 tiles BUILDSTDERR: ../win/share/oth32.txt: 229 tiles BUILDSTDERR: Total tiles: 1404 BUILDSTDERR: ./../win/share/monsters.txt: 638 tiles BUILDSTDERR: ./../win/share/objects.txt: 537 tiles BUILDSTDERR: ./../win/share/other.txt: 229 tiles BUILDSTDERR: Total tiles: 1404 BUILDSTDERR: ./../win/share/tile2png.c: In function 'process_file': BUILDSTDERR: ./../win/share/tile2png.c:321:54: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] BUILDSTDERR: 321 | Fprintf(stderr, "tile2png: Not enough memory (%d bytes).\n", BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | int BUILDSTDERR: | %ld BUILDSTDERR: 322 | sizeof(*tile_palette)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: ./../win/share/tile2png.c: In function 'convert_tiles': BUILDSTDERR: ./../win/share/tile2png.c:248:69: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 248 | tile_bytes_i[((by * tile_y + y) * num_across + bx) * tile_x + x] = i; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: ./../win/share/monsters.txt: 638 tiles (16x16) BUILDSTDERR: ./../win/share/objects.txt: 537 tiles (16x16) BUILDSTDERR: ./../win/share/other.txt: 229 tiles (16x16) BUILDSTDERR: Total tiles: 1404 strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/share/txtmerge.c gcc -DAUTOCONF -o txtmerge txtmerge.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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/share/txtbg.c 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 ../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 ../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 ../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 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 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/share/tile2png.c 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 BUILDSTDERR: make[1]: Leav../win/share/mon32.txt: 638 tiles (32x32) BUILDSTDERR: ../win/share/obj32.txt: 537 tiles (32x32) BUILDSTDERR: ../win/share/oth32.txt: 229 tiles (32x32) BUILDSTDERR: Total tiles: 1404 BUILDSTDERR: ./../win/share/bigtile.c: In function 'main': BUILDSTDERR: ./../win/share/bigtile.c:136:10: warning: unused variable 'x' [-Wunused-variable] BUILDSTDERR: 136 | boolean x; BUILDSTDERR: | ^ BUILDSTDERR: Changing 0,0,24 => 0,0,16 (fuzz max(8), total(8)). BUILDSTDERR: Changing 24,0,24 => 16,0,16 (fuzz max(8), total(16)). BUILDSTDERR: Changing 32,32,64 => 0,32,64 (fuzz max(32), total(32)). BUILDSTDERR: Changing 48,0,96 => 0,0,96 (fuzz max(48), total(48)). BUILDSTDERR: Changing 32,0,64 => 0,0,64 (fuzz max(32), total(32)). BUILDSTDERR: Changing 24,0,48 => 0,0,48 (fuzz max(24), total(24)). BUILDSTDERR: Changing 48,24,48 => 24,24,48 (fuzz max(24), total(24)). BUILDSTDERR: Changing 48,0,24 => 32,0,32 (fuzz max(16), total(24)). BUILDSTDERR: Changing 127,90,72 => 128,90,72 (fuzz max(1), total(1)). BUILDSTDERR: Changing 165,118,94 => 165,118,96 (fuzz max(2), total(2)). BUILDSTDERR: Changing 202,143,114 => 202,144,114 (fuzz max(1), total(1)). BUILDSTDERR: Changing 255,182,145 => 255,182,144 (fuzz max(1), total(1)). BUILDSTDERR: Changing 255,211,175 => 255,211,176 (fuzz max(1), total(1)). BUILDSTDERR: Changing 145,135,110 => 144,135,110 (fuzz max(1), total(1)). BUILDSTDERR: Changing 171,154,129 => 170,154,128 (fuzz max(1), total(2)). BUILDSTDERR: ../win/share/mon3d.txt: 638 tiles (48x64) BUILDSTDERR: ../win/share/obj3d.txt: 537 tiles (48x64) BUILDSTDERR: ../win/share/oth3d.txt: 229 tiles (48x64) BUILDSTDERR: Total tiles: 1404 BUILDSTDERR: ./../win/gl/logo.txt: 196 tiles (16x16) BUILDSTDERR: Total tiles: 196 BUILDSTDERR: ./../win/gl/rip.txt: 200 tiles (30x30) BUILDSTDERR: Total tiles: 200 BUILDSTDERR: ./../win/gl/font8.txt: 256 tiles (8x8) BUILDSTDERR: Total tiles: 256 BUILDSTDERR: ./../win/gl/font14.txt: 256 tiles (8x14) BUILDSTDERR: Total tiles: 256 ing 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 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c ./../win/share/bigtile.c 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 ../util/tile2png -o gltile64.png -t ../win/share/mon3d.txt \ ../win/share/obj3d.txt ../win/share/oth3d.txt 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 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 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 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 BUILDSTDERR: make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/d./../win/gl/font20.txt: 256 tiles (10x20) BUILDSTDERR: Total tiles: 256 BUILDSTDERR: ./../win/gl/font22.txt: 256 tiles (12x22) BUILDSTDERR: Total tiles: 256 BUILDSTDERR: Makefile:885: warning: overriding recipe for target 'monst.o' BUILDSTDERR: Makefile:360: warning: ignoring old recipe for target 'monst.o' BUILDSTDERR: Makefile:899: warning: overriding recipe for target 'objects.o' BUILDSTDERR: Makefile:364: warning: ignoring old recipe for target 'objects.o' BUILDSTDERR: ./dgn_comp.y: In function 'check_branch': BUILDSTDERR: ./dgn_comp.y:622:6: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 622 | int i; BUILDSTDERR: | ^ BUILDSTDERR: lex.yy.c:1508:16: warning: 'input' defined but not used [-Wunused-function] BUILDSTDERR: lex.yy.c:1465:17: warning: 'yyunput' defined but not used [-Wunused-function] BUILDSTDERR: ./lev_comp.y: In function 'yyparse': BUILDSTDERR: ./lev_comp.y:600:24: warning: assignment to 'room_door *' {aka 'struct *'} from incompatible pointer type 'struct room_door *' [-Wincompatible-pointer-types] BUILDSTDERR: 600 | tmprdoor[ndoor] = (struct room_door *)0; BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/system.h:20, BUILDSTDERR: from ../include/unixconf.h:351, BUILDSTDERR: from ../include/global.h:170, BUILDSTDERR: from ../include/config.h:484, BUILDSTDERR: from ../include/hack.h:9, BUILDSTDERR: from ./lev_comp.y:26: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'yyparse' at ./lev_comp.y:330:15: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: y.tab.c: In function 'yyparse': BUILDSTDERR: ./lev_comp.y:324:14: note: length computed here BUILDSTDERR: 324 | i = (int) strlen($3) + 1; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: lex.yy.c:2256:16: warning: 'input' defined but not used [-Wunused-function] BUILDSTDERR: lex.yy.c:2213:17: warning: 'yyunput' defined but not used [-Wunused-function] BUILDSTDERR: Makefile:885: warning: overriding recipe for target 'monst.o' BUILDSTDERR: Makefile:360: warning: ignoring old recipe for target 'monst.o' BUILDSTDERR: Makefile:899: warning: overriding recipe for target 'objects.o' BUILDSTDERR: Makefile:364: warning: ignoring old recipe for target 'objects.o' at' ( 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 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 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' 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c -o dgn_yacc.o dgn_yacc.c flex ./dgn_comp.l mv lex.yy.c dgn_lex.c gcc -DAUTOCONF -c -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include dgn_lex.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include -c -o lev_yacc.o lev_yacc.c flex ./lev_comp.l mv lex.yy.c lev_lex.c gcc -DAUTOCONF -c -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include lev_lex.c make[2]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' BUILDSTDERR: gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipermdir: failed to remove './-p': No such file or directory BUILDSTDERR: make: [Makefile:364: install] Error 1 (ignored) -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/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 ../util/lev_comp ./Tourist.des ../util/lev_comp ./Slayer.des ../util/lev_comp ./Valkyrie.des ../util/lev_comp ./Wizard.des ../util/lev_comp ./Yeoman.des touch quest_levs make[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.27.E0F1.fc31.riscv64/usr/bin rm -rf /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem/save rm -rf /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/lib64/games/slashem rm -rf /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/doc/slashem mkdir -p /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem/save mkdir -p /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/lib64/games/slashem mkdir -p /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/doc/slashem rmdir ./-p BUILDSTDERR: /bin/true games /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fcMakefile:885: warning: overriding recipe for target 'monst.o' BUILDSTDERR: Makefile:360: warning: ignoring old recipe for target 'monst.o' BUILDSTDERR: Makefile:899: warning: overriding recipe for target 'objects.o' BUILDSTDERR: Makefile:364: warning: ignoring old recipe for target 'objects.o' BUILDSTDERR: Makefile:885: warning: overriding recipe for target 'monst.o' BUILDSTDERR: Makefile:360: warning: ignoring old recipe for target 'monst.o' BUILDSTDERR: Makefile:899: warning: overriding recipe for target 'objects.o' BUILDSTDERR: Makefile:364: warning: ignoring old recipe for target 'objects.o' 31.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem/save /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem /bin/true bin /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem/save /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem chmod 0755 /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem/save /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem /bin/true games /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/lib64/games/slashem /bin/true bin /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/lib64/games/slashem chmod 0755 /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/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' 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' 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' 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/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' BUILDSTDERR: ( cd dat ; cp nhshare x11bigtiles x11tiles SlashEM.ad pet_mark.xbm gltile16.png gl+ install -d -m 0755 /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/man/man6 + make -C doc MANDIR=/builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/man/man6 manpages tile32.png gltile64.png gllogo.png glrip.png glfont8.png glfont14.png glfont20.png glfont22.png /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/games/slashem ) ( cd dat ; cp nhushare /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/lib64/games/slashem ) ( cd /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/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.27.E0F1.fc31.riscv64/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.27.E0F1.fc31.riscv64/usr/lib64/games/slashem) #cp ./sys/winnt/defaults.nh /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/lib64/games/slashem cp util/recover /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/lib64/games/slashem cp ./dat/license ./doc/Guidebook.txt /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/doc/slashem rm -f /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/bin/slashem sed -e 's;/usr/games/lib/nethackdir;/builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/lib64/games/slashem;' \ -e 's;HACKDIR/nethack;HACKDIR/slashem;' \ < ./sys/unix/nethack.sh \ > /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/bin/slashem ( cd /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/lib64/games/slashem ; /bin/true games slashem recover ; \ /bin/true bin slashem recover ) chmod 04755 /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/lib64/games/slashem/slashem chmod 0755 /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/lib64/games/slashem/recover ( cd /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/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.27.E0F1.fc31.riscv64/usr/bin/slashem /bin/true bin /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/bin/slashem chmod 0755 /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/bin/slashem make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1' touch /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem/perm /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem/record /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/var/games/slashem/logfile ( cd /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/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. make: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/doc' cp slashem.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/man/man6/slashem.6 cp lev_comp.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/man/man6/lev_comp.6 cp dgn_comp.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/man/man6/dgn_comp.6 cp recover.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/man/man6/recover.6 cp dlb.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/man/man6/dlb.6 BUILDSTDERR: cp fr/slashem.6 cp: cannot create regular file '/builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/man/fr/man6/slashem.6': No such file or directory BUILDSTDERR: make: [Makefile:86: manpages] Error 1 (ignored) + sed -i -e 's!/builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64!!g' -e '/XUSERFILE/s!\$HACKDIR!/usr/share/games/slashem!' /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/bin/slashem + mv /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/lib64/games/slashem/recover /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/bin/slashem-recover + mv /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/man/man6/recover.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/man/man6/slashem-recover.6 + rm /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/man/man6/dgn_comp.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/man/man6/dlb.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/man/man6/lev_comp.6 + sed -i -e 's:^!\(SlashEM.tile_file.*\):\1:' /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/games/slashem/SlashEM.ad + install -d /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/icons/hicolor/48x48/apps + convert win/X11/nh_icon.xpm /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/icons/hicolor/48x48/apps/slashem.png + desktop-file-install --dir /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/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.27.E0F1.fc31.riscv64/usr/share/appdata/slashem.appdata.xml + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.0.8-0.27.E0F1.fc31 --unique-debug-suffix -0.0.8-0.27.E0F1.fc31.riscv64 --unique-debug-src-base slashem-0.0.8-0.27.E0F1.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/slashem-0.0.8E0F1 BUILDSTDERR: 11256 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/man/fr/man6/slashem.6 make: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/doc' explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/bin/slashem-recover explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/lib64/games/slashem/slashem extracting debug info from /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/bin/slashem-recover extracting debug info from /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/lib64/games/slashem/slashem original debug info size: 9440kB, size after compression: 6672kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. mangling shebang in /usr/bin/slashem from /bin/sh to #!/usr/bin/sh Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.RRRorL Processing files: slashem-0.0.8-0.27.E0F1.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kdDJsI + umask 022 + cd /builddir/build/BUILD + cd slashem-0.0.8E0F1 + DOCDIR=/builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/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.27.E0F1.fc31.riscv64/usr/share/doc/slashem + cp -pr history.txt /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/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.27.E0F1.fc31.riscv64/usr/share/doc/slashem + cp -pr README.34 /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/doc/slashem + cp -pr readme.s6 readme.txt /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/doc/slashem + cp -pr slamfaq.txt /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/doc/slashem + cp -pr dat/license /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/doc/slashem + cp -pr dat/history /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64/usr/share/doc/slashem + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: application() application(slashem.desktop) config(slashem) = 0.0.8-0.27.E0F1.fc31 metainfo() metainfo(slashem.appdata.xml) slashem = 0.0.8-0.27.E0F1.fc31 slashem(riscv-64) = 0.0.8-0.27.E0F1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) 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.27)(64bit) libncurses.so.6()(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libtinfo.so.6()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: slashem-debugsource-0.0.8-0.27.E0F1.fc31.riscv64 Provides: slashem-debugsource = 0.0.8-0.27.E0F1.fc31 slashem-debugsource(riscv-64) = 0.0.8-0.27.E0F1.fc31 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.27.E0F1.fc31.riscv64 Provides: debuginfo(build-id) = 177d1fdef649d397f7d5d3da425ff739971f3dcc debuginfo(build-id) = dd344d8991c9bec2102f69137303bff8dcd58154 slashem-debuginfo = 0.0.8-0.27.E0F1.fc31 slashem-debuginfo(riscv-64) = 0.0.8-0.27.E0F1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: slashem-debugsource(riscv-64) = 0.0.8-0.27.E0F1.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64 Wrote: /builddir/build/RPMS/slashem-0.0.8-0.27.E0F1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/slashem-debugsource-0.0.8-0.27.E0F1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/slashem-debuginfo-0.0.8-0.27.E0F1.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UQiQSK + umask 022 + cd /builddir/build/BUILD + cd slashem-0.0.8E0F1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/slashem-0.0.8-0.27.E0F1.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0