+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/slashem.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rf7yHo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf slashem-0.0.8E0F1 + /usr/bin/gzip -dc /builddir/build/SOURCES/se008e0f1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd slashem-0.0.8E0F1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (slashem-config.patch):' Patch #0 (slashem-config.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .config --fuzz=0 patching file include/config.h patching file include/unixconf.h + echo 'Patch #1 (slashem-libpng-1.5.patch):' Patch #1 (slashem-libpng-1.5.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libpng --fuzz=0 patching file win/gl/gl_image.c patching file win/share/tile2png.c + echo 'Patch #2 (slashem-format-security.patch):' Patch #2 (slashem-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .format-security --fuzz=0 patching file src/apply.c patching file src/artifact.c patching file src/botl.c patching file src/cmd.c patching file src/detect.c patching file src/dig.c patching file src/do.c patching file src/dothrow.c patching file src/dungeon.c patching file src/eat.c patching file src/engrave.c patching file src/hack.c patching file src/invent.c patching file src/lock.c patching file src/mail.c patching file src/makemon.c patching file src/mcastu.c patching file src/mhitu.c patching file src/mon.c patching file src/mthrowu.c patching file src/muse.c patching file src/polyself.c patching file src/potion.c patching file src/pray.c patching file src/priest.c patching file src/questpgr.c patching file src/read.c patching file src/region.c patching file src/restore.c patching file src/rumors.c patching file src/shk.c patching file src/sounds.c patching file src/spell.c patching file src/steed.c patching file src/tech.c patching file src/teleport.c patching file src/timeout.c patching file src/trap.c patching file src/zap.c patching file sys/amiga/winmenu.c patching file sys/share/nhlan.c patching file util/makedefs.c patching file win/proxy/winproxy.c + sed -i -e 's:^\(#define FILE_AREA_VAR\).*:\1 "/var/games/slashem/":' -e 's:^\(#define FILE_AREA_SAVE\).*:\1 "/var/games/slashem/save/":' -e 's:^\(#define FILE_AREA_SHARE\).*:\1 "/usr/share/games/slashem/":' -e 's:^\(#define FILE_AREA_UNSHARE\).*:\1 "/usr/lib64/games/slashem/":' -e 's:^\(#define FILE_AREA_DOC\).*:\1 "/usr/share/doc/slashem/":' include/unixconf.h + for f in *.txt + iconv -f iso8859-1 -t utf-8 history.txt + touch -r history.txt history.txt.conv + mv history.txt.conv history.txt + for f in *.txt + iconv -f iso8859-1 -t utf-8 make_anh.txt + touch -r make_anh.txt make_anh.txt.conv + mv make_anh.txt.conv make_anh.txt + for f in *.txt + iconv -f iso8859-1 -t utf-8 readme.txt + touch -r readme.txt readme.txt.conv + mv readme.txt.conv readme.txt + for f in *.txt + iconv -f iso8859-1 -t utf-8 slamfaq.txt + touch -r slamfaq.txt slamfaq.txt.conv + mv slamfaq.txt.conv slamfaq.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mR7YZu + umask 022 + cd /builddir/build/BUILD + cd slashem-0.0.8E0F1 + export LIBXAW_CFLAGS=-I/usr/include + LIBXAW_CFLAGS=-I/usr/include ++ pkg-config --libs xaw7 + export 'LIBXAW_LIBS=-lXaw7 -lXt -lX11 ' + LIBXAW_LIBS='-lXaw7 -lXt -lX11 ' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./sys/autoconf/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./sys/autoconf/config.sub ++ basename ./sys/autoconf/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./sys/autoconf/config.sub '/usr/lib/rpm/redhat/config.sub' -> './sys/autoconf/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./sys/autoconf/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./sys/autoconf/config.guess ++ basename ./sys/autoconf/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./sys/autoconf/config.guess '/usr/lib/rpm/redhat/config.guess' -> './sys/autoconf/config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-tty-graphics --enable-x11-graphics --enable-sdl-graphics --enable-gl-graphics --enable-data-librarian --enable-sinks --enable-reincarnation --enable-zouthern --enable-score-on-botl --enable-wizmode=games checking whether ln -s works... yes checking for gawk... gawk checking for riscv64-redhat-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-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-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 -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-redhat-linux-gnu-chown... no checking for riscv64-redhat-linux-gnu-true... no checking for chown... chown checking for riscv64-redhat-linux-gnu-chgrp... no checking for riscv64-redhat-linux-gnu-true... no checking for chgrp... chgrp checking for riscv64-redhat-linux-gnu-chmod... no checking for riscv64-redhat-linux-gnu-true... no checking for chmod... chmod checking for riscv64-redhat-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 -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-redhat-linux-gnu-sdl-config... no checking for sdl-config... sdl-config checking for glBegin in -lGL... yes checking for valid window system configuration... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for string.h... (cached) yes checking for regex.h... yes checking for struct re_pattern_buffer... yes checking for void... yes checking whether strncmpi is declared... no checking whether strnicmp is declared... no checking whether to enable data-librarian... yes checking whether to enable sinks... yes checking whether to enable light-src-spell... yes checking whether to enable wallified-maze... yes checking whether to enable reincarnation... yes checking whether to enable blackmarket... yes checking whether to enable kops... yes checking whether to enable seduce... yes checking whether to enable invisible-objects... yes checking whether to enable unpolypile... yes checking whether to enable wallet-o-p... yes checking whether to enable lightsabers... yes checking whether to enable d-saber... yes checking whether to enable p-spoon... yes checking whether to enable firearms... yes checking whether to enable eaten-memory... yes checking whether to enable steed... yes checking whether to enable dwarf... yes checking whether to enable tourist... yes checking whether to enable yeoman... yes checking whether to enable zouthern... yes checking whether to enable redo... yes checking whether to enable clipping... yes checking whether to enable menu-color... yes checking whether to enable elbereth... yes checking whether to enable noartifactwish... no checking whether to enable no-bones... no checking whether to enable user-sounds... no checking whether to enable exp-on-botl... yes checking whether to enable score-on-botl... yes checking whether to enable keep-save... no checking whether to enable charon... no checking whether to enable show-dmg... yes checking whether to enable show-weight... yes checking whether to enable other-services... yes checking whether to enable dungeon-growth... yes checking whether to enable display-layers... yes checking whether to enable goldobj... no checking whether to enable autopickup-exceptions... no checking whether to enable wizmode... yes (user games) checking for owner of installed files... games checking for group of installed files... bin configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating dat/Makefile config.status: creating util/Makefile config.status: creating sys/autoconf/depend.awk config.status: creating include/autoconf.h config.status: linking ./sys/winnt/win32api.h to include/win32api.h + make FILE_AREA_VAR=/var/games/slashem FILE_AREA_SAVE=/var/games/slashem/save FILE_AREA_SHARE=/usr/share/games/slashem FILE_AREA_UNSHARE=/usr/lib64/games/slashem FILE_AREA_DOC=/usr/share/doc/slashem SHELLDIR=/usr/bin ( cd src ; make ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' Makefile:885: warning: overriding recipe for target 'monst.o' Makefile:360: warning: ignoring old recipe for target 'monst.o' Makefile:899: warning: overriding recipe for target 'objects.o' Makefile:364: warning: ignoring old recipe for target 'objects.o' touch ../src/config.h-t gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/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 -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 -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 -I/usr/include -c -o makedefs.o makedefs.c makedefs.c: In function 'do_filenames': makedefs.c:2396:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(in_line, sizeof in_line, ifp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: makedefs.c:53:19: warning: 'SCCS_Id' defined but not used [-Wunused-const-variable=] static const char SCCS_Id[] = "@(#)makedefs.c\t3.4\t2002/02/03"; ^~~~~~~ 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 -I/usr/include -c -o panic.o panic.c gcc -DAUTOCONF -o makedefs makedefs.o ../src/monst.o ../src/objects.o ../src/alloc.o panic.o make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[2]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ./makedefs -p make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[2]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ./makedefs -o make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' touch ../src/hack.h-t gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/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 -I/usr/include -c ./apply.c ./apply.c: In function 'use_pole': ./apply.c:2918:15: warning: unused variable 'typ' [-Wunused-variable] int res = 0, typ, max_range; ^~~ At top level: ./apply.c:12:19: warning: 'all_count' defined but not used [-Wunused-const-variable=] static const char all_count[] = { ALLOW_COUNT, ALL_CLASSES, 0 }; ^~~~~~~~~ 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 -I/usr/include -c ./artifact.c ./artifact.c: In function 'artifact_hit': ./artifact.c:1181:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!spec_dbon_applies && !spec_ability(otmp, SPFX_BEHEAD) || ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./artifact.c:1312:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] } else if (dieroll < 3 || otmp->oartifact == ART_VORPAL_BLADE && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ mdef->data == &mons[PM_JABBERWOCK]) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./artifact.c:1321:21: warning: array subscript has type 'char' [-Wchar-subscripts] wepdesc = artilist[otmp->oartifact].name; ^ 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 -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 -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 -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 -I/usr/include -c ./botl.c ./botl.c: In function 'bot_raw': ./botl.c:581:52: warning: format '%lX' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] *rv++ = reconfig ? "flags" : (Sprintf(flgs, "%lX", ~~^ %X (Levitation ? RAW_STAT_LEVITATION : 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (Confusion ? RAW_STAT_CONFUSION : 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (Sick && (u.usick_type & SICK_VOMITABLE) ? RAW_STAT_FOODPOIS : 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (Sick && (u.usick_type & SICK_NONVOMITABLE) ? RAW_STAT_ILL : 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (Blind ? RAW_STAT_BLIND : 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (Stunned ? RAW_STAT_STUNNED : 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (Hallucination ? RAW_STAT_HALLUCINATION : 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (Slimed ? RAW_STAT_SLIMED : 0)), flgs); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./botl.c: In function 'botl_strength': ./botl.c:241:28: warning: '%02d' directive writing between 2 and 4 bytes into a region of size 3 [-Wformat-overflow=] Sprintf(strength, "18/%02d", ACURR(A_STR)-18); ^~~~ ./botl.c:241:24: note: directive argument in the range [-146, 109] Sprintf(strength, "18/%02d", ACURR(A_STR)-18); ^~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from ../include/global.h:8, from ../include/config.h:484, from ../include/hack.h:9, from ./botl.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 8 bytes into a destination of size 6 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./botl.c: In function 'bot_raw': ./botl.c:531:53: warning: '%d' directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] *rv++ = reconfig ? "dexterity" : (Sprintf(dex, "%d", ACURR(A_DEX)), dex); ^~ ./botl.c:531:52: note: directive argument in the range [-128, 127] *rv++ = reconfig ? "dexterity" : (Sprintf(dex, "%d", ACURR(A_DEX)), dex); ^~~~ In file included from /usr/include/stdio.h:861:0, from ../include/global.h:8, from ../include/config.h:484, from ../include/hack.h:9, from ./botl.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./botl.c:532:56: warning: '%d' directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] *rv++ = reconfig ? "constitution" : (Sprintf(con, "%d", ACURR(A_CON)), con); ^~ ./botl.c:532:55: note: directive argument in the range [-128, 127] *rv++ = reconfig ? "constitution" : (Sprintf(con, "%d", ACURR(A_CON)), con); ^~~~ In file included from /usr/include/stdio.h:861:0, from ../include/global.h:8, from ../include/config.h:484, from ../include/hack.h:9, from ./botl.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./botl.c:533:56: warning: '%d' directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] *rv++ = reconfig ? "intelligence" : (Sprintf(itl, "%d", ACURR(A_INT)), itl); ^~ ./botl.c:533:55: note: directive argument in the range [-128, 127] *rv++ = reconfig ? "intelligence" : (Sprintf(itl, "%d", ACURR(A_INT)), itl); ^~~~ In file included from /usr/include/stdio.h:861:0, from ../include/global.h:8, from ../include/config.h:484, from ../include/hack.h:9, from ./botl.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./botl.c:534:50: warning: '%d' directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] *rv++ = reconfig ? "wisdom" : (Sprintf(wis, "%d", ACURR(A_WIS)), wis); ^~ ./botl.c:534:49: note: directive argument in the range [-128, 127] *rv++ = reconfig ? "wisdom" : (Sprintf(wis, "%d", ACURR(A_WIS)), wis); ^~~~ In file included from /usr/include/stdio.h:861:0, from ../include/global.h:8, from ../include/config.h:484, from ../include/hack.h:9, from ./botl.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./botl.c:535:52: warning: '%d' directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] *rv++ = reconfig ? "charisma" : (Sprintf(cha, "%d", ACURR(A_CHA)), cha); ^~ ./botl.c:535:51: note: directive argument in the range [-128, 127] *rv++ = reconfig ? "charisma" : (Sprintf(cha, "%d", ACURR(A_CHA)), cha); ^~~~ In file included from /usr/include/stdio.h:861:0, from ../include/global.h:8, from ../include/config.h:484, from ../include/hack.h:9, from ./botl.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -I/usr/include -c ./cmd.c ./cmd.c: In function 'enlightenment': ./cmd.c:1332:68: warning: missing braces around initializer [-Wmissing-braces] struct { unsigned long mask; const char *str; } warntypes[] = { ^ ./cmd.c:1514:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] if (wizard) Sprintf(eos(buf), " (%d)", u.uhealbonus); ~^ ~~~~~~~~~~~~ %ld ./cmd.c: In function 'rhack': ./cmd.c:3091:7: warning: case label value is less than minimum value for type case M('5'): *cmd = 'G'; break; ^~~~ ./cmd.c:3092:7: warning: case label value is less than minimum value for type case M('0'): *cmd = 'I'; break; ^~~~ In file included from ../include/decl.h:265:0, from ../include/hack.h:92, from ./cmd.c:5: ./cmd.c: In function 'click_to_cmd': ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./cmd.c:3509:15: note: in expansion of macro 'Is_container' cmd[0] = Is_container(level.objects[u.ux][u.uy]) ? M('l') : ','; ^~~~~~~~~~~~ ./cmd.c: In function 'makemenu.constprop': ./cmd.c:2185:36: warning: 'current_menu' may be used uninitialized in this function [-Wmaybe-uninitialized] func = current_menu[i].m_funct; ^ 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 -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 -I/usr/include -c ./decl.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 -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 -I/usr/include -c ./dig.c ./dig.c: In function 'dig': ./dig.c:256:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (IS_ROCK(lev->typ) && !may_dig(dpx,dpy) && ./dig.c: In function 'dighole': ./dig.c:711:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] IS_DOOR(levl[u.ux][u.uy].typ) && artifact_door(u.ux, u.uy) || 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 -I/usr/include -c ./display.c ./display.c: In function 'map_object': ./display.c:272:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (level.flags.hero_memory) ^ ./display.c: In function 'glyph_is_floating': ./display.c:1080:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] glyph_is_warning(glyph) || tglyph && glyph == tglyph->glyph; ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -I/usr/include -c ./do.c In file included from ../include/decl.h:265:0, from ../include/hack.h:92, from ./do.c:7: ./do.c: In function 'obj_no_longer_held': ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./do.c:634:14: note: in expansion of macro 'Is_container' } else if ((Is_container(obj) || obj->otyp == STATUE) && obj->cobj) { ^~~~~~~~~~~~ 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 -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 -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 -I/usr/include -c ./dog.c In file included from ./dog.c:7:0: ./dog.c: In function 'make_pet_minion': ../include/emin.h:12:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) ^ ./dog.c:963:2: note: in expansion of macro 'EMIN' EMIN(mtmp2)->min_align = alignment; ^~~~ In file included from ./dog.c:8:0: ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./dog.c:966:3: note: in expansion of macro 'EPRI' EPRI(mtmp2)->shralign = alignment; ^~~~ 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 -I/usr/include -c ./dogmove.c In file included from ./dogmove.c:9:0: ./dogmove.c: In function 'dog_move': ../include/emin.h:12:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) ^ ./dogmove.c:853:36: note: in expansion of macro 'EMIN' if (mtmp->isminion) align1 = EMIN(mtmp)->min_align; ^~~~ In file included from ./dogmove.c:10:0: ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./dogmove.c:856:41: note: in expansion of macro 'EPRI' else if (mtmp->ispriest) align1 = EPRI(mtmp)->shralign; ^~~~ In file included from ./dogmove.c:9:0: ../include/emin.h:12:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) ^ ./dogmove.c:858:37: note: in expansion of macro 'EMIN' if (mtmp2->isminion) align2 = EMIN(mtmp2)->min_align; ^~~~ In file included from ./dogmove.c:10:0: ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./dogmove.c:861:42: note: in expansion of macro 'EPRI' else if (mtmp2->ispriest) align2 = EPRI(mtmp2)->shralign; ^~~~ 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 -I/usr/include -c ./dokick.c In file included from ../include/decl.h:265:0, from ../include/hack.h:92, from ./dokick.c:5: ./dokick.c: In function 'container_impact_dmg': ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./dokick.c:382:7: note: in expansion of macro 'Is_container' if (!Is_container(obj) || Is_mbag(obj)) return; ^~~~~~~~~~~~ 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 -I/usr/include -c ./dothrow.c In file included from ../include/youprop.h:10:0, from ../include/hack.h:90, from ./dothrow.c:7: ./dothrow.c: In function 'thitmonst': ../include/mondata.h:241:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (obj)->otyp == CHEESE && ((ptr) == &mons[PM_GIANT_RAT] || \ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (ptr) == &mons[PM_SEWER_RAT] || \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (ptr) == &mons[PM_BLACK_RAT] || \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (ptr) == &mons[PM_PACK_RAT]) || \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dothrow.c:1639:13: note: in expansion of macro 'befriend_with_obj' } else if (befriend_with_obj(mon->data, obj) || ^~~~~~~~~~~~~~~~~ ../include/mondata.h:245:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (obj)->otyp == CARROT && ((ptr) == &mons[PM_RABBIT] || \ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (ptr) == &mons[PM_RABID_RABBIT]) || \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dothrow.c:1639:13: note: in expansion of macro 'befriend_with_obj' } else if (befriend_with_obj(mon->data, obj) || ^~~~~~~~~~~~~~~~~ ../include/mondata.h:247:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (obj)->otyp == BANANA && (ptr)->mlet == S_YETI)) ./dothrow.c:1639:13: note: in expansion of macro 'befriend_with_obj' } else if (befriend_with_obj(mon->data, obj) || ^~~~~~~~~~~~~~~~~ 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 -I/usr/include -c ./drawing.c ./drawing.c:755:20: warning: 'IBM_r_oc_syms' defined but not used [-Wunused-const-variable=] static const uchar IBM_r_oc_syms[MAXOCLASSES] = { /* a la EPYX Rogue */ ^~~~~~~~~~~~~ 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 -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 -I/usr/include -c ./eat.c ./eat.c: In function 'done_eating': ./eat.c:481:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!victual.piece->odrained || Race_if(PM_VAMPIRE) && !rn2(5)) ./eat.c: In function 'opentin': ./eat.c:1275:15: warning: array subscript has type 'char' [-Wchar-subscripts] monexplain[mons[tin.tin->corpsenm].mlet]); ^ ./eat.c: In function 'fprefx': ./eat.c:1689:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (carnivorous(youmonst.data) && (!humanoid(youmonst.data)) || ./eat.c: In function 'doeat': ./eat.c:2548:59: warning: ?: using integer constants in boolean context, the expression will always evaluate to 'true' [-Wint-in-bool-context] (((monstermoves - otmp->age) > (int) otmp->blessed ? 50:30) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ At top level: ./eat.c:73:32: warning: 'comestibles' defined but not used [-Wunused-const-variable=] STATIC_OVL NEARDATA const char comestibles[] = { FOOD_CLASS, 0 }; ^~~~~~~~~~~ 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 -I/usr/include -c ./end.c In file included from ../include/decl.h:265:0, from ../include/hack.h:92, from ./end.c:7: ./end.c: In function 'container_contents': ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./end.c:1127:10: note: in expansion of macro 'Is_container' if (Is_container(box) || box->otyp == STATUE) { ^~~~~~~~~~~~ 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 -I/usr/include -c ./engrave.c ./engrave.c: In function 'doengrave': ./engrave.c:800:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (flags.verbose) ^~ ./engrave.c:802:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' doknown = TRUE; ^~~~~~~ ./engrave.c:812:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (flags.verbose) ^~ ./engrave.c:814:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' doknown = TRUE; ^~~~~~~ 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 -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 -I/usr/include -c ./explode.c ./explode.c: In function 'set_blast_symbols': ./explode.c:72:15: warning: variable 'bitmask' set but not used [-Wunused-but-set-variable] int i, j, bitmask; ^~~~~~~ ./explode.c: In function 'do_explode': ./explode.c:472:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (is_animal(u.ustuck->data)) ^ ./explode.c: In function 'grenade_effects': ./explode.c:944:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (mon && !DEADMONSTER(mon)) ^ ./explode.c:954:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (x == u.ux && y == u.uy) ^ 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 -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 -I/usr/include -c ./files.c ./files.c: In function 'delete_levelfile': ./files.c:569:10: warning: implicit declaration of function 'remove_area'; did you mean 'remove_rect'? [-Wimplicit-function-declaration] (void) remove_area(FILE_AREA_LEVL, lock, 0); ^~~~~~~~~~~ remove_rect ./files.c: In function 'commit_bonesfile': ./files.c:808:8: warning: implicit declaration of function 'rename_area'; did you mean 'creat_area'? [-Wimplicit-function-declaration] ret = rename_area(FILE_AREA_BONES, tempname, bones); ^~~~~~~~~~~ creat_area ./files.c:795:14: warning: unused variable 'fq_bones' [-Wunused-variable] const char *fq_bones, *tempname; ^~~~~~~~ ./files.c: In function 'open_bonesfile': ./files.c:837:14: warning: unused variable 'fq_bones' [-Wunused-variable] const char *fq_bones; ^~~~~~~~ ./files.c: In function 'save_savefile_name': ./files.c:947:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./files.c: In function 'docompress_file': ./files.c:1322:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~~~~~~~~ ./files.c:1323:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -I/usr/include -c ./hack.c ./hack.c: In function 'grow_herbs': ./hack.c:120:15: warning: variable 'lev' set but not used [-Wunused-but-set-variable] struct rm *lev; ^~~ 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 -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 -I/usr/include -c ./invent.c ./invent.c: In function 'delobj': ./invent.c:657:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses] update_map = (obj->where == OBJ_FLOOR || Has_contents(obj) && ./invent.c: In function 'mergable': ./invent.c:2659:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] flags.pickup_thrown && obj->was_thrown != otmp->was_thrown || ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/youprop.h:10:0, from ../include/hack.h:90, from ./invent.c:5: ../include/mondata.h:168:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ (ptr) != &mons[PM_LICHEN] || \ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./invent.c:2692:4: note: in expansion of macro 'is_reviver' is_reviver(&mons[otmp->corpsenm])))) ^~~~~~~~~~ ./invent.c: In function 'getobj': ./invent.c:1218:11: warning: 'floorfollow' may be used uninitialized in this function [-Wmaybe-uninitialized] n = query_objlist(qbuf, floorchain, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ floorfollow|INVORDER_SORT|SIGNAL_CANCEL, &pick_list, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PICK_ONE, allowall ? allow_all : allow_ugly); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./invent.c:1218:9: warning: 'floorchain' may be used uninitialized in this function [-Wmaybe-uninitialized] n = query_objlist(qbuf, floorchain, ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ floorfollow|INVORDER_SORT|SIGNAL_CANCEL, &pick_list, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PICK_ONE, allowall ? allow_all : allow_ugly); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -I/usr/include -c ./light.c ./light.c: In function 'del_light_source': ./light.c:107:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] case LS_OBJECT: tmp_id = (genericptr_t)(((struct obj *)id)->o_id); ^ ./light.c:109:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] case LS_MONSTER: tmp_id = (genericptr_t)(((struct monst *)id)->m_id); ^ ./light.c: In function 'relink_light_sources': ./light.c:347:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (!lookup_id_mapping((unsigned)ls->id, &nid)) ^ ./light.c:350:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nid = (unsigned) ls->id; ^ ./light.c: In function 'write_ls': ./light.c:430:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ls->id = (genericptr_t)otmp->o_id; ^ ./light.c:437:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ls->id = (genericptr_t)mtmp->m_id; ^ 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 -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 -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 -I/usr/include -c ./makemon.c In file included from ./makemon.c:6:0: ./makemon.c: In function 'clone_mon': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./makemon.c:1300:5: note: in expansion of macro 'EPRI' *(EPRI(m3)) = *(EPRI(mon)); ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./makemon.c:1300:19: note: in expansion of macro 'EPRI' *(EPRI(m3)) = *(EPRI(mon)); ^~~~ ./makemon.c: In function 'mongets': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ../include/mondata.h:37:7: note: in expansion of macro 'EPRI' EPRI(mon)->shralign > 0)) ^~~~ ./makemon.c:2181:16: note: in expansion of macro 'is_lminion' } else if(is_lminion(mtmp)) { ^~~~~~~~~~ ./makemon.c: In function 'peace_minded': ./makemon.c:2293:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (ual > A_NEUTRAL && mal < A_NEUTRAL || In file included from ./makemon.c:6:0: ./makemon.c: In function 'set_malign': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./makemon.c:2339:10: note: in expansion of macro 'EPRI' mal = EPRI(mtmp)->shralign; ^~~~ In file included from ./makemon.c:7:0: ../include/emin.h:12:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) ^ ./makemon.c:2341:10: note: in expansion of macro 'EMIN' mal = EMIN(mtmp)->min_align; ^~~~ 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 -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 -I/usr/include -c ./mcastu.c ./mcastu.c: In function 'spell_would_be_useless': ./mcastu.c:845:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((levl[u.ux][u.uy].typ != ROOM && levl[u.ux][u.uy].typ != CORR 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 -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 -I/usr/include -c ./mhitu.c ./mhitu.c: In function 'missmu': ./mhitu.c:161:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!flags.verbose || !nearmiss && !blocker) ~~~~~~~~~~^~~~~~~~~~~ ./mhitu.c: In function 'gazemu': ./mhitu.c:2398:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!mtmp->mcan && canseemon(mtmp) && mtmp->mcansee && ^~ ./mhitu.c:2403:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' stop_occupation(); ^~~~~~~~~~~~~~~ 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 -I/usr/include -c ./minion.c In file included from ./minion.c:7:0: ./minion.c: In function 'msummon': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./minion.c:23:10: note: in expansion of macro 'EPRI' atyp = EPRI(mon)->shralign; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ../include/mondata.h:37:7: note: in expansion of macro 'EPRI' EPRI(mon)->shralign > 0)) ^~~~ ./minion.c:41:13: note: in expansion of macro 'is_lminion' } else if (is_lminion(mon)) { ^~~~~~~~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./minion.c:80:3: note: in expansion of macro 'EPRI' EPRI(mtmp)->shralign = atyp; ^~~~ In file included from ./minion.c:6:0: ./minion.c: In function 'summon_minion': ../include/emin.h:12:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) ^ ./minion.c:117:6: note: in expansion of macro 'EMIN' EMIN(mon)->min_align = alignment; ^~~~ In file included from ./minion.c:7:0: ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./minion.c:123:6: note: in expansion of macro 'EPRI' EPRI(mon)->shralign = alignment; /* always A_LAWFUL here */ ^~~~ 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 -I/usr/include -c ./mklev.c ./mklev.c: In function 'mktrap': ./mklev.c:1280:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 2) kind = NO_TRAP; break; ^~ ./mklev.c:1280:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (lvl < 2) kind = NO_TRAP; break; ^~~~~ ./mklev.c:1282:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 5 || level.flags.noteleport) ^~ ./mklev.c:1283:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' kind = NO_TRAP; break; ^~~~~ ./mklev.c:1285:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 5) kind = NO_TRAP; break; ^~ ./mklev.c:1285:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (lvl < 5) kind = NO_TRAP; break; ^~~~~ ./mklev.c:1287:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 6) kind = NO_TRAP; break; ^~ ./mklev.c:1287:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (lvl < 6) kind = NO_TRAP; break; ^~~~~ ./mklev.c:1289:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 7) kind = NO_TRAP; break; ^~ ./mklev.c:1289:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (lvl < 7) kind = NO_TRAP; break; ^~~~~ ./mklev.c:1292:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 8) kind = NO_TRAP; break; ^~ ./mklev.c:1292:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (lvl < 8) kind = NO_TRAP; break; ^~~~~ ./mklev.c:1294:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Inhell) kind = NO_TRAP; break; ^~ ./mklev.c:1294:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Inhell) kind = NO_TRAP; break; ^~~~~ ./mklev.c:1296:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (level.flags.noteleport) kind = NO_TRAP; break; ^~ ./mklev.c:1296:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (level.flags.noteleport) kind = NO_TRAP; break; ^~~~~ ./mklev.c:1299:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rn2(7)) kind = NO_TRAP; break; ^~ ./mklev.c:1299:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (rn2(7)) kind = NO_TRAP; break; ^~~~~ 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 -I/usr/include -c ./mkmap.c ./mkmap.c: In function 'pass_two': ./mkmap.c:115:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(count=0, dr=0; dr < 8; dr++) ^~~ ./mkmap.c:119:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if (count == 5) ^~ 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 -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 -I/usr/include -c ./mkobj.c In file included from ../include/decl.h:265:0, from ../include/hack.h:92, from ./mkobj.c:5: ./mkobj.c: In function 'weight': ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./mkobj.c:955:6: note: in expansion of macro 'Is_container' if (Is_container(obj) || obj->otyp == STATUE) { ^~~~~~~~~~~~ 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 -I/usr/include -c ./mkroom.c ./mkroom.c: In function 'fill_zoo': ./mkroom.c:366:6: warning: 'goldlim' may be used uninitialized in this function [-Wmaybe-uninitialized] if(i >= goldlim) i = 5*level_difficulty(); ^ ./mkroom.c:328:14: warning: 'ty' may be used uninitialized in this function [-Wmaybe-uninitialized] (sx == tx && sy == ty ? &mons[PM_QUEEN_BEE] : ~~~~~~~~~^~~~~~~~~~~ ./mkroom.c:328:48: warning: 'tx' may be used uninitialized in this function [-Wmaybe-uninitialized] (sx == tx && sy == ty ? &mons[PM_QUEEN_BEE] : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ &mons[PM_KILLER_BEE]) : ~~~~~~~~~~~~~~~~~~~~~ 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 -I/usr/include -c ./mon.c In file included from ../include/youprop.h:10:0, from ../include/hack.h:90, from ./mon.c:10: ./mon.c: In function 'make_corpse': ../include/mondata.h:168:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ (ptr) != &mons[PM_LICHEN] || \ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mon.c:160:5: note: in expansion of macro 'is_reviver' is_reviver((mon)->data) || \ ^~~~~~~~~~ ./mon.c:407:32: note: in expansion of macro 'KEEPTRAITS' obj = mkcorpstat(CORPSE, KEEPTRAITS(mtmp) ? mtmp : 0, ^~~~~~~~~~ ./mon.c: In function 'mfndpos': ./mon.c:1208:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] levl[nx][ny].doormask & D_CLOSED && !(flag & OPENDOOR) ./mon.c: In function 'replmon': ./mon.c:1468:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (unpolytime = stop_timer(UNPOLY_MON, (genericptr_t) mtmp)) { ^~~~~~~~~~ ./mon.c: In function 'lifesaved_monster': ./mon.c:1555:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] visible = u.uswallow && u.ustuck == mtmp || ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./mon.c: In function 'unpoly_monster': ./mon.c:1603:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] visible = u.uswallow && u.ustuck == mtmp || cansee(mtmp->mx,mtmp->my); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from ../include/youprop.h:10:0, from ../include/hack.h:90, from ./mon.c:10: ./mon.c: In function 'monstone': ../include/mondata.h:168:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ (ptr) != &mons[PM_LICHEN] || \ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mon.c:160:5: note: in expansion of macro 'is_reviver' is_reviver((mon)->data) || \ ^~~~~~~~~~ ./mon.c:1880:29: note: in expansion of macro 'KEEPTRAITS' otmp = mkcorpstat(STATUE, KEEPTRAITS(mdef) ? mdef : 0, ^~~~~~~~~~ ./mon.c: In function 'newcham': ./mon.c:2865:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (msg && (u.uswallow && mtmp == u.ustuck || canspotmon(mtmp))) { ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 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 -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 -I/usr/include -c ./monmove.c In file included from ./monmove.c:8:0: ./monmove.c: In function 'onscary': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ../include/mondata.h:37:7: note: in expansion of macro 'EPRI' EPRI(mon)->shralign > 0)) ^~~~ ./monmove.c:173:6: note: in expansion of macro 'is_lminion' is_lminion(mtmp) || mtmp->data == &mons[PM_ANGEL] || ^~~~~~~~~~ In file included from ../include/decl.h:265:0, from ../include/hack.h:92, from ./monmove.c:5: ./monmove.c: In function 'can_ooze': ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./monmove.c:1437:7: note: in expansion of macro 'Is_container' if (Is_container(obj) && obj->cobj) return FALSE; ^~~~~~~~~~~~ ./monmove.c: In function 'm_move': ./monmove.c:1174:20: warning: 'niy' may be used uninitialized in this function [-Wmaybe-uninitialized] (void) breamspot(mtmp, ^~~~~~~~~~~~~~~ &ptr->mattk[bust_door_breath(mtmp)], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (nix-omx), (niy-omy)); ~~~~~~~~~~~~~~~~~~~~~ ./monmove.c:1174:20: warning: 'nix' may be used uninitialized in this function [-Wmaybe-uninitialized] make[2]: Entering directory '/builddir/build/BUILD/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 -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 -I/usr/include -c ./mplayer.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 -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 -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 -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 -I/usr/include -c ./o_init.c ./o_init.c: In function 'init_objects': ./o_init.c:191:10: warning: self-comparison always evaluates to false [-Wtautological-compare] if(sum != sum) ^~ 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 -I/usr/include -c ./objnam.c ./objnam.c: In function 'add_erosion_words': ./objnam.c:571:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!is_damageable(obj) && !iscrys || Hallucination) return; ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from ../include/youprop.h:10:0, from ../include/hack.h:90, from ./objnam.c:5: ./objnam.c: In function 'readobjnam': ../include/mondata.h:168:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ (ptr) != &mons[PM_LICHEN] || \ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./objnam.c:2760:22: note: in expansion of macro 'is_reviver' (typ != CORPSE || !is_reviver(&mons[mntmp])) && ^~~~~~~~~~ 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 -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 -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 -I/usr/include -c ./pickup.c ./pickup.c: In function 'autopick': ./pickup.c:649:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] flags.pickup_thrown && curr->was_thrown) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./pickup.c:663:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] flags.pickup_thrown && curr->was_thrown) { ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from ../include/decl.h:265:0, from ../include/hack.h:92, from ./pickup.c:9: ./pickup.c: In function 'container_at': ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./pickup.c:1469:6: note: in expansion of macro 'Is_container' if(Is_container(cobj)) { ^~~~~~~~~~~~ ./pickup.c: In function 'doloot': ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./pickup.c:1553:10: note: in expansion of macro 'Is_container' if (Is_container(cobj)) { ^~~~~~~~~~~~ ./pickup.c: In function 'use_container': ./pickup.c:2215:25: warning: unused variable 'lcnt' [-Wunused-variable] int cnt = 0, used = 0, lcnt = 0, ^~~~ ./pickup.c:2209:16: warning: unused variable 'shkp' [-Wunused-variable] struct monst *shkp; ^~~~ 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 -I/usr/include -c ./pline.c In file included from ./pline.c:7:0: ./pline.c: In function 'mstatusline': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./pline.c:287:15: note: in expansion of macro 'EPRI' alignment = EPRI(mtmp)->shralign; ^~~~ 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 -I/usr/include -c ./polyself.c In file included from ../include/youprop.h:10:0, from ../include/hack.h:90, from ./polyself.c:13: ./polyself.c: In function 'polyman': ../include/mondata.h:126:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] P_MAX_SKILL(P_TWO_WEAPON_COMBAT) >= P_BASIC && \ ./polyself.c:118:20: note: in expansion of macro 'could_twoweap' if (u.twoweap && !could_twoweap(youmonst.data)) ^~~~~~~~~~~~~ ./polyself.c: In function 'drop_weapon': ../include/mondata.h:126:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] P_MAX_SKILL(P_TWO_WEAPON_COMBAT) >= P_BASIC && \ ./polyself.c:850:14: note: in expansion of macro 'could_twoweap' } else if (!could_twoweap(youmonst.data)) { ^~~~~~~~~~~~~ ./polyself.c: In function 'polyatwill': ./polyself.c:1711:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (u.ulevel > 13 && u.uen > EN_ADULT_DRAGON || ^ ./polyself.c: In function 'polyself': ./polyself.c:362:17: warning: array subscript is below array bounds [-Warray-bounds] if (!(mvitals[mntmp].mvflags & G_GENOD)) { ~~~~~~~^~~~~~~ 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 -I/usr/include -c ./potion.c ./potion.c: In function 'upgrade_obj': ./potion.c:2517:32: warning: passing argument 2 of 'artifact_name' from incompatible pointer type [-Wincompatible-pointer-types] if (artifact_name(ONAME(obj), &otyp2) && otyp2 == obj->otyp) { ^ In file included from ../include/config.h:306:0, from ../include/hack.h:9, from ./potion.c:5: ../include/extern.h:62:21: note: expected 'short int *' but argument is of type 'int *' E const char *FDECL(artifact_name, (const char *,short *)); ^ ../include/tradstdc.h:124:21: note: in definition of macro 'FDECL' # define FDECL(f,p) f p ^ 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 -I/usr/include -c ./pray.c ./pray.c: In function 'lawful_god_gives_angel': ./pray.c:1211:9: warning: variable 'mon' set but not used [-Wunused-but-set-variable] int mon; ^~~ 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 -I/usr/include -c ./priest.c In file included from ./priest.c:8:0: ./priest.c: In function 'histemple_at': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:136:20: note: in expansion of macro 'EPRI' return((boolean)((EPRI(priest)->shroom == *in_rooms(x, y, TEMPLE)) && ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:137:20: note: in expansion of macro 'EPRI' on_level(&(EPRI(priest)->shrlevel), &u.uz))); ^~~~ ./priest.c: In function 'pri_move': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:156:11: note: in expansion of macro 'EPRI' temple = EPRI(priest)->shroom; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:158:7: note: in expansion of macro 'EPRI' gx = EPRI(priest)->shrpos.x; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:159:7: note: in expansion of macro 'EPRI' gy = EPRI(priest)->shrpos.y; ^~~~ ./priest.c: In function 'priestini': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:203:3: note: in expansion of macro 'EPRI' EPRI(priest)->shroom = (sroom - rooms) + ROOMOFFSET; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:204:3: note: in expansion of macro 'EPRI' EPRI(priest)->shralign = Amask2align(levl[sx][sy].altarmask); ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:205:3: note: in expansion of macro 'EPRI' EPRI(priest)->shrpos.x = sx; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:206:3: note: in expansion of macro 'EPRI' EPRI(priest)->shrpos.y = sy; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:207:18: note: in expansion of macro 'EPRI' assign_level(&(EPRI(priest)->shrlevel), lvl); ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:215:17: note: in expansion of macro 'EPRI' if(sanctum && EPRI(priest)->shralign == A_NONE && ^~~~ ./priest.c: In function 'priestname': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:277:26: note: in expansion of macro 'EPRI' if (!mon->ispriest && EPRI(mon)->renegade) ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:289:33: note: in expansion of macro 'EPRI' Strcat(pname, halu_gname((int)EPRI(mon)->shralign)); ^~~~ In file included from ./priest.c:9:0: ../include/emin.h:12:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) ^ ./priest.c:295:27: note: in expansion of macro 'EMIN' Strcat(pname, halu_gname(EMIN(mon)->min_align)); ^~~~ In file included from ./priest.c:8:0: ./priest.c: In function 'p_coaligned': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:303:42: note: in expansion of macro 'EPRI' return((boolean)(u.ualign.type == ((int)EPRI(priest)->shralign))); ^~~~ ./priest.c: In function 'has_shrine': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:314:14: note: in expansion of macro 'EPRI' lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y]; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:314:35: note: in expansion of macro 'EPRI' lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y]; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:317:19: note: in expansion of macro 'EPRI' return((boolean)(EPRI(pri)->shralign == Amask2align(lev->altarmask & ~AM_SHRINE))); ^~~~ ./priest.c: In function 'findpriest': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:328:28: note: in expansion of macro 'EPRI' if(mtmp->ispriest && (EPRI(mtmp)->shroom == roomno) && ^~~~ ./priest.c: In function 'mk_roamer': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:564:2: note: in expansion of macro 'EPRI' EPRI(roamer)->shralign = alignment; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:566:3: note: in expansion of macro 'EPRI' EPRI(roamer)->renegade = TRUE; ^~~~ ./priest.c: In function 'reset_hostility': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:586:5: note: in expansion of macro 'EPRI' if(EPRI(roamer)->shralign != u.ualign.type) { ^~~~ ./priest.c: In function 'ghod_hitsu': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:631:11: note: in expansion of macro 'EPRI' ax = x = EPRI(priest)->shrpos.x; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:632:11: note: in expansion of macro 'EPRI' ay = y = EPRI(priest)->shrpos.y; ^~~~ ./priest.c:648:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] stpx == sgn(tbx) && stpy == sgn(tby)) { ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./priest.c:663:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if (x2 > troom->hx || x1 <= troom->hx && !rn2(2)) { ~~~~~~~~~~~~~~~~^~~~~~~~~~ ./priest.c:683:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if (x2 < troom->lx || x1 >= troom->lx && !rn2(2)) { ~~~~~~~~~~~~~~~~^~~~~~~~~~ ./priest.c:703:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if (y2 > troom->hy || y1 <= troom->hy && !rn2(2)) { ~~~~~~~~~~~~~~~~^~~~~~~~~~ ./priest.c:723:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if (y2 < troom->ly || y1 >= troom->ly && !rn2(2)) { ~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from ./priest.c:8:0: ./priest.c: In function 'angry_priest': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:798:18: note: in expansion of macro 'EPRI' lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y]; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:798:42: note: in expansion of macro 'EPRI' lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y]; ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:801:4: note: in expansion of macro 'EPRI' EPRI(priest)->shralign)) { ^~~~ ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:805:3: note: in expansion of macro 'EPRI' EPRI(priest)->renegade = 0; ^~~~ ./priest.c: In function 'clearpriests': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:821:58: note: in expansion of macro 'EPRI' if (!DEADMONSTER(mtmp) && mtmp->ispriest && !on_level(&(EPRI(mtmp)->shrlevel), &u.uz)) ^~~~ ./priest.c: In function 'restpriest': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ./priest.c:834:21: note: in expansion of macro 'EPRI' assign_level(&(EPRI(mtmp)->shrlevel), &u.uz); ^~~~ 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 -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 -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 -I/usr/include -c ./read.c ./read.c: In function 'seffects': ./read.c:1215:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (mtmp) ^ ./read.c:1313:20: warning: suggest parentheses around operand of '!' or change '|' to '||' or '!' to '~' [-Wparentheses] else do_genocide(!sobj->cursed | (2 * !!Confusion)); ^~~~~~~~~~~~~ ./read.c:1233:5: warning: 'mtmp' may be used uninitialized in this function [-Wmaybe-uninitialized] You("try to command %s", mon_nam(mtmp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -I/usr/include -c ./region.c ./region.c: In function 'expire_gas_cloud': ./region.c:887:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] damage = (int) reg->arg; ^ ./region.c:892:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] reg->arg = (genericptr_t) damage; ^ ./region.c: In function 'inside_gas_cloud': ./region.c:941:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] dam = (int) reg->arg; ^ ./region.c: In function 'create_gas_cloud': ./region.c:1028:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cloud->arg = (genericptr_t) damage; ^ 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 -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 -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 -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 -I/usr/include -c ./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 -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 -I/usr/include -c ./save.c ./save.c: In function 'savemonchn': ./save.c:967:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (release_data(mode)) ^ ./save.c: In function 'savestateinlock': ./save.c:425:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] (void) read(fd, (genericptr_t) &hpid, sizeof(hpid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./save.c:443:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) &hackpid, sizeof(hackpid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./save.c:447:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) &currlev, sizeof(currlev)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -I/usr/include -c ./shk.c ./shk.c: In function 'obfree': ./shk.c:992:11: warning: implicit declaration of function 'fopen_datafile'; did you mean 'open_savefile'? [-Wimplicit-function-declaration] fp = fopen_datafile("buglog", "a", TROUBLEPREFIX); ^~~~~~~~~~~~~~ open_savefile ./shk.c:992:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] fp = fopen_datafile("buglog", "a", TROUBLEPREFIX); ^ ./shk.c: In function 'repair_damage': ./shk.c:3697:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while (!(litter[i = rn2(9)] & INSHOP)); ^~~~~ ./shk.c:3698:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' remove_object(otmp); ^~~~~~~~~~~~~ ./shk.c: In function 'shk_identify': ./shk.c:4733:27: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if (ESHK(shkp)->services & (SHK_ID_BASIC|SHK_ID_PREMIUM) == ^ ./shk.c:4733:27: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] if (ESHK(shkp)->services & (SHK_ID_BASIC|SHK_ID_PREMIUM) == ./shk.c: In function 'shk_other_services': ./shk.c:5358:5: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] if (type == 'b') ^ ./shk.c:5317:7: note: 'type' was declared here char type; /* Basic/premier service */ ^~~~ 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 -I/usr/include -c ./shknam.c ./shknam.c: In function 'stock_blkmar': ./shknam.c:643:9: warning: variable 'blkmar_gen' set but not used [-Wunused-but-set-variable] int blkmar_gen[NUM_OBJECTS+2]; ^~~~~~~~~~ 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 -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 -I/usr/include -c ./sounds.c ./sounds.c: In function 'domonnoise': ./sounds.c:898:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (uwep && (uwep->oclass == WEAPON_CLASS || is_weptool(uwep)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./sounds.c:605:28: warning: array subscript is outside array bounds [-Warray-bounds] verbl_msg = vampmsg[vampindex]; ~~~~~~~^~~~~~~~~~~ ./sounds.c: In function 'pet_distress': ./sounds.c:357:8: warning: 'verb' may be used uninitialized in this function [-Wmaybe-uninitialized] if (verb) { ^ 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 -I/usr/include -c ./sp_lev.c ./sp_lev.c: In function 'create_monster': ./sp_lev.c:892:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!pm || !is_swimmer(pm) && !likes_lava(pm)) 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 -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 -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 -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 -I/usr/include -c ./teleport.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 -I/usr/include -c ./timeout.c ./timeout.c: In function 'attach_bomb_blow_timeout': ./timeout.c:651:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (yours && (!carried(bomb) && costly_spot(bomb->ox, bomb->oy) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !bomb->no_charge || bomb->unpaid)) { ~~~~~~~~~~~~~~~~ ./timeout.c: In function 'write_timer': ./timeout.c:2215:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] timer->arg = (genericptr_t)((struct obj *)timer->arg)->o_id; ^ ./timeout.c:2229:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] timer->arg = (genericptr_t)((struct monst *)timer->arg)->m_id; ^ ./timeout.c: In function 'relink_timers': ./timeout.c:2459:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (!lookup_id_mapping((unsigned)curr->arg, &nid)) ^ ./timeout.c:2462:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nid = (unsigned) curr->arg; ^ ./timeout.c:2472:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (!lookup_id_mapping((unsigned)curr->arg, &nid)) ^ ./timeout.c:2475:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] nid = (unsigned) curr->arg; ^ 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 -I/usr/include -c ./topten.c ./topten.c: In function 'readentry': ./topten.c:223:20: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=] sscanf(dp2, "%d", &tt->conduct); ~^ ~~~~~~~~~~~~ %ld ./topten.c: In function 'writeentry': ./topten.c:263:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] Sprintf(cp, " Conduct=%d", tt->conduct); ~^ ~~~~~~~~~~~ %ld 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 -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 -I/usr/include -c ./trap.c ./trap.c: In function 'uunstone': ./trap.c:2341:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ ./trap.c:2345:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return (1); ^~~~~~ In file included from ../include/decl.h:265:0, from ../include/hack.h:92, from ./trap.c:5: ./trap.c: In function 'fire_damage': ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./trap.c:2730:6: note: in expansion of macro 'Is_container' if (Is_container(obj)) { ^~~~~~~~~~~~ ./trap.c: In function 'water_damage': ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./trap.c:2825:13: note: in expansion of macro 'Is_container' } else if(Is_container(obj) && !Is_box(obj) && ^~~~~~~~~~~~ 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 -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 -I/usr/include -c ./uhitm.c ./uhitm.c: In function 'known_hitum': ./uhitm.c:500:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (flags.verbose) ^ ./uhitm.c: In function 'hmon_hitmon': ./uhitm.c:740:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] objenchant = !thrown && no_obj || obj->spe < 0 ? 0 : obj->spe; ~~~~~~~~^~~~~~~~~ ./uhitm.c:933:39: warning: comparison of constant '3' with boolean expression is always false [-Wbool-compare] obj->otyp == BOOMERANG && !rnl(4) == 4-1) { ^~ ./uhitm.c:933:39: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] ./uhitm.c:933:31: note: add parentheses around left hand side expression to silence this warning obj->otyp == BOOMERANG && !rnl(4) == 4-1) { ^~~~~~~ ( ) ./uhitm.c: In function 'damageum': ./uhitm.c:1895:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Blind) ^~ ./uhitm.c:1897:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' xkilled(mdef,3); ^~~~~~~ ./uhitm.c: In function 'hmonas': ./uhitm.c:2734:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((uwep || u.twoweap && uswapwep) && ~~~~~~~~~~^~~~~~~~~~~ ./uhitm.c:2735:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (mhit == HIT_UWEP && !uwep || ~~~~~~~~~~~~~~~~~^~~~~~~~ ./uhitm.c:2779:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] barehanded_hit = (dhit & HIT_UWEP) && !uwep || ~~~~~~~~~~~~~~~~~~^~~~~~~~ ./uhitm.c:2815:4: warning: "/*" within comment [-Wcomment] /* succubi/incubi are humanoid, but their _second_ ./uhitm.c:2825:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((uwep || u.twoweap && uswapwep) && ~~~~~~~~~~^~~~~~~~~~~ ./uhitm.c:2835:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((uwep || u.twoweap && uswapwep) && ~~~~~~~~~~^~~~~~~~~~~ ./uhitm.c: In function 'passive': ./uhitm.c:3071:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] mhit & HIT_UWEP && !uwep || ~~~~~~~~~~~~~~~~^~~~~~~~ ./uhitm.c:3072:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] mhit & HIT_USWAPWEP && !uswapwep; ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 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 -I/usr/include -c ./vault.c In file included from ./vault.c:6:0: ./vault.c: In function 'clear_fcorr': ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:29:18: note: in expansion of macro 'EGD' if (!on_level(&(EGD(grd)->gdlevel), &u.uz)) return TRUE; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:31:17: note: in expansion of macro 'EGD' while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) { ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:31:36: note: in expansion of macro 'EGD' while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) { ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:32:9: note: in expansion of macro 'EGD' fcx = EGD(grd)->fakecorr[fcbeg].fx; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:33:9: note: in expansion of macro 'EGD' fcy = EGD(grd)->fakecorr[fcbeg].fy; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:35:8: note: in expansion of macro 'EGD' EGD(grd)->gddone) ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:50:24: note: in expansion of macro 'EGD' levl[fcx][fcy].typ = EGD(grd)->fakecorr[fcbeg].ftyp; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:53:3: note: in expansion of macro 'EGD' EGD(grd)->fcbeg++; ^~~ ./vault.c: In function 'grddead': ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:81:3: note: in expansion of macro 'EGD' EGD(grd)->ogx = grd->mx; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:82:3: note: in expansion of macro 'EGD' EGD(grd)->ogy = grd->my; ^~~ ./vault.c: In function 'in_fcorridor': ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:95:12: note: in expansion of macro 'EGD' for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++) ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:95:35: note: in expansion of macro 'EGD' for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++) ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:96:11: note: in expansion of macro 'EGD' if(x == EGD(grd)->fakecorr[fci].fx && ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:97:10: note: in expansion of macro 'EGD' y == EGD(grd)->fakecorr[fci].fy) ^~~ ./vault.c: In function 'findgd': ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:109:56: note: in expansion of macro 'EGD' if(mtmp->isgd && !DEADMONSTER(mtmp) && on_level(&(EGD(mtmp)->gdlevel), &u.uz)) ^~~ ./vault.c: In function 'invault': ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:230:2: note: in expansion of macro 'EGD' EGD(guard)->gddone = 0; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:231:2: note: in expansion of macro 'EGD' EGD(guard)->ogx = x; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:232:2: note: in expansion of macro 'EGD' EGD(guard)->ogy = y; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:233:17: note: in expansion of macro 'EGD' assign_level(&(EGD(guard)->gdlevel), &u.uz); ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:234:2: note: in expansion of macro 'EGD' EGD(guard)->vroom = vaultroom; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:235:2: note: in expansion of macro 'EGD' EGD(guard)->warncnt = 0; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:316:2: note: in expansion of macro 'EGD' EGD(guard)->gdx = gx; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:317:2: note: in expansion of macro 'EGD' EGD(guard)->gdy = gy; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:318:2: note: in expansion of macro 'EGD' EGD(guard)->fcbeg = 0; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:319:2: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].fx = x; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:320:2: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].fy = y; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:322:6: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = levl[x][y].typ; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:324:16: note: in expansion of macro 'EGD' int vlt = EGD(guard)->vroom; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:329:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = TLCORNER; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:331:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = TRCORNER; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:333:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = BLCORNER; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:335:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = BRCORNER; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:337:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = HWALL; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:339:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = VWALL; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:344:2: note: in expansion of macro 'EGD' EGD(guard)->fcend = 1; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:345:2: note: in expansion of macro 'EGD' EGD(guard)->warncnt = 1; ^~~ ./vault.c: In function 'wallify_vault': ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:373:12: note: in expansion of macro 'EGD' int vlt = EGD(grd)->vroom; ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:394:20: note: in expansion of macro 'EGD' move_gold(gold, EGD(grd)->vroom); ^~~ ./vault.c: In function 'paygd': ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:778:17: note: in expansion of macro 'EGD' gx = rooms[EGD(grd)->vroom].lx + rn2(2); ^~~ ../include/vault.h:25:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ^ ./vault.c:779:17: note: in expansion of macro 'EGD' gy = rooms[EGD(grd)->vroom].ly + rn2(2); ^~~ make[2]: Entering directory '/builddir/build/BUILD/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 -I/usr/include -c ./vision.c ./vision.c: In function 'vision_recalc': ./vision.c:600:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (row < 0) continue; if (row >= ROWNO) break; ^~ ./vision.c:600:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (row < 0) continue; if (row >= ROWNO) break; ^~ ./vision.c:621:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (row < 0) continue; if (row >= ROWNO) break; ^~ ./vision.c:621:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (row < 0) continue; if (row >= ROWNO) break; ^~ ./vision.c:659:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (row < 0) continue; if (row >= ROWNO) break; ^~ ./vision.c:659:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (row < 0) continue; if (row >= ROWNO) break; ^~ ./vision.c: In function 'right_side': ./vision.c:1099:49: warning: 'row_max' may be used uninitialized in this function [-Wmaybe-uninitialized] #define set_max(z) if (*row_max < (z)) *row_max = (z) ^ ./vision.c:2213:13: note: 'row_max' was declared here char *row_max; /* right most [used by macro set_max()] */ ^~~~~~~ ./vision.c:1098:49: warning: 'row_min' may be used uninitialized in this function [-Wmaybe-uninitialized] #define set_min(z) if (*row_min > (z)) *row_min = (z) ^ ./vision.c:2212:13: note: 'row_min' was declared here char *row_min; /* left most [used by macro set_min()] */ ^~~~~~~ ./vision.c:2211:20: warning: 'rowp' may be used uninitialized in this function [-Wmaybe-uninitialized] register char *rowp; /* row optimization */ ^~~~ ./vision.c: In function 'left_side': ./vision.c:1099:49: warning: 'row_max' may be used uninitialized in this function [-Wmaybe-uninitialized] #define set_max(z) if (*row_max < (z)) *row_max = (z) ^ ./vision.c:2388:23: note: 'row_max' was declared here char *row_min, *row_max; ^~~~~~~ ./vision.c:1098:49: warning: 'row_min' may be used uninitialized in this function [-Wmaybe-uninitialized] #define set_min(z) if (*row_min > (z)) *row_min = (z) ^ ./vision.c:2388:13: note: 'row_min' was declared here char *row_min, *row_max; ^~~~~~~ ./vision.c:2387:20: warning: 'rowp' may be used uninitialized in this function [-Wmaybe-uninitialized] register char *rowp; ^~~~ 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 -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 -I/usr/include -c ./weapon.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 -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 -I/usr/include -c ./wield.c In file included from ../include/youprop.h:10:0, from ../include/hack.h:90, from ./wield.c:5: ./wield.c: In function 'can_twoweapon': ../include/mondata.h:126:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] P_MAX_SKILL(P_TWO_WEAPON_COMBAT) >= P_BASIC && \ ./wield.c:507:7: note: in expansion of macro 'could_twoweap' if (!could_twoweap(youmonst.data) && (uwep || uswapwep)) { ^~~~~~~~~~~~~ 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 -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 -I/usr/include -c ./wizard.c In file included from ./wizard.c:12:0: ./wizard.c: In function 'cuss': ../include/epri.h:16:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ^ ../include/mondata.h:37:7: note: in expansion of macro 'EPRI' EPRI(mon)->shralign > 0)) ^~~~ ./wizard.c:627:12: note: in expansion of macro 'is_lminion' } else if(is_lminion(mtmp)) { ^~~~~~~~~~ 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 -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 -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 -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 -I/usr/include -c ./zap.c ./zap.c: In function 'poly_obj': ./zap.c:1442:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!otmp) ^ In file included from ../include/decl.h:265:0, from ../include/hack.h:92, from ./zap.c:5: ./zap.c: In function 'bhito': ../include/obj.h:288:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./zap.c:1862:7: note: in expansion of macro 'Is_container' if (Is_container(obj) || obj->otyp == STATUE) { ^~~~~~~~~~~~ ./zap.c: In function 'bhit': ./zap.c:3298:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (genericptr_t) lits); ^ ./zap.c:3393:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] LS_TEMP, (genericptr_t) lits); ^ ./zap.c:3444:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] del_light_source(LS_TEMP, (genericptr_t) lits); ^ ./zap.c: In function 'buzz': ./zap.c:4000:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] new_light_source(sx, sy, 1, LS_TEMP, (genericptr_t) lits); ^ ./zap.c:4034:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] del_light_source(LS_TEMP, (genericptr_t) lits); ^ ./zap.c:4277:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] del_light_source(LS_TEMP, (genericptr_t) lits); ^ ./zap.c: In function 'weffects': ./zap.c:2317:6: warning: 'expl_type' may be used uninitialized in this function [-Wmaybe-uninitialized] explode(u.dx, u.dy, type, u.ulevel/4 + 1 + skilldmg, 0, expl_type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./zap.c:2260:6: note: 'expl_type' was declared here int expl_type; ^~~~~~~~~ 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 -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 -I/usr/include -c ./tech.c ./tech.c: In function 'aborttech': ./tech.c:240:1: warning: type of 'tech' defaults to 'int' [-Wimplicit-int] aborttech(tech) ^~~~~~~~~ ./tech.c: In function 'techeffects': ./tech.c:852:18: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Blind) ^~ ./tech.c:856:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' uncurse(obj); ^~~~~~~ ./tech.c:1251:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || obj->oinvis && !See_invisible ./tech.c: In function 'doblitzlist': ./tech.c:1975:9: warning: variable 'n' set but not used [-Wunused-but-set-variable] int i, n; ^ ./tech.c: In function 'techeffects': ./tech.c:1362:6: warning: 'mtmp' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!mtmp || !canseemon(mtmp)) { ^ 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 -I/usr/include -c ./../sys/share/ioctl.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 -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 -I/usr/include -c ./../sys/share/unixtty.c ./../sys/share/unixtty.c: In function 'linux_mapon': ./../sys/share/unixtty.c:399:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, "\033(B", 3); ^~~~~~~~~~~~~~~~~~~~~ ./../sys/share/unixtty.c: In function 'linux_mapoff': ./../sys/share/unixtty.c:409:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, "\033(U", 3); ^~~~~~~~~~~~~~~~~~~~~ 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 -I/usr/include -c ./../sys/unix/unixunix.c ./../sys/unix/unixunix.c: In function 'eraseoldlocks': ./../sys/unix/unixunix.c:90:10: warning: implicit declaration of function 'remove_area'; did you mean 'remove_rect'? [-Wimplicit-function-declaration] (void) remove_area(FILE_AREA_LEVL, lock); ^~~~~~~~~~~ remove_rect ./../sys/unix/unixunix.c: In function 'rename_area': ./../sys/unix/unixunix.c:452:6: warning: unused variable 'lenarea' [-Wunused-variable] int lenarea; ^~~~~~~ ./../sys/unix/unixunix.c: In function 'child': ./../sys/unix/unixunix.c:332:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~~~~~~~~ ./../sys/unix/unixunix.c:333:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^~~~~~~~~~~~~~~~~~~~~~~ ./../sys/unix/unixunix.c:335:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir(getenv("HOME")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -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 -I/usr/include -c ./../win/tty/termcap.c ./../win/tty/termcap.c: In function 'term_start_color': ./../win/tty/termcap.c:1286:15: warning: array subscript has type 'char' [-Wchar-subscripts] xputs(hilites[ttycolors[color]]); ^ 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 -I/usr/include -c ./../win/tty/topl.c ./../win/tty/topl.c: In function 'tty_doprev_message': ./../win/tty/topl.c:39:11: warning: unused variable 'tmpwin' [-Wunused-variable] winid tmpwin; ^~~~~~ 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 -I/usr/include -c ./../win/tty/wintty.c ./../win/tty/wintty.c: In function 'tty_player_selection': ./../win/tty/wintty.c:331:29: warning: unused variable 'lastch' [-Wunused-variable] char pick4u = 'n', thisch, lastch = 0; ^~~~~~ ./../win/tty/wintty.c:331:21: warning: unused variable 'thisch' [-Wunused-variable] char pick4u = 'n', thisch, lastch = 0; ^~~~~~ ./../win/tty/wintty.c: In function 'process_menu_window': ./../win/tty/wintty.c:1400:8: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ ./../win/tty/wintty.c:1403:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' for (n = 0, cp = curr->str; ^~~ ./../win/tty/wintty.c: In function 'tty_player_selection': ./../win/tty/wintty.c:672:38: warning: 'lastch' may be used uninitialized in this function [-Wmaybe-uninitialized] if (thisch == lastch) thisch = highc(thisch); ^~~~~~~~~~~~~ ./../win/tty/wintty.c:636:15: note: 'lastch' was declared here char thisch, lastch; ^~~~~~ 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 -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 -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 -I/usr/include -c ./../win/X11/winX.c ./../win/X11/winX.c: In function 'X11_init_nhwindows': ./../win/X11/winX.c:970:5: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] (void) seteuid(getuid()); ^~~~~~~~~~~~~~~~~~~~~~~~ ./../win/X11/winX.c:1030:5: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] (void) seteuid(savuid); ^~~~~~~~~~~~~~~~~~~~~~ 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 -I/usr/include -c ./../win/X11/winmap.c ./../win/X11/winmap.c: In function 'clear_map_window': ./../win/X11/winmap.c:1001:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (tile_index >= 0 && strcmp(tileset, tilesets[tile_index].name) || ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -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 -I/usr/include -c ./../win/X11/winmisc.c ./../win/X11/winmisc.c: In function 'ps_select': ./../win/X11/winmisc.c:110:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ps_selected = (int) client_data; ^ ./../win/X11/winmisc.c: In function 'extend_select': ./../win/X11/winmisc.c:564:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int selected = (int) client_data; ^ ./../win/X11/winmisc.c: In function 'make_menu': ./../win/X11/winmisc.c:878:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] XtAddCallback(*curr, XtNcallback, name_callback, (XtPointer) i); ^ 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 -I/usr/include -c ./../win/X11/winstat.c ./../win/X11/winstat.c: In function 'init_column': ./../win/X11/winstat.c:880:41: warning: 'width2' may be used uninitialized in this function [-Wmaybe-uninitialized] int max_width1, width1, max_width2, width2; ^~~~~~ ./../win/X11/winstat.c:880:21: warning: 'width1' may be used uninitialized in this function [-Wmaybe-uninitialized] int max_width1, width1, max_width2, width2; ^~~~~~ 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 -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 -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 -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 -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 -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_conf.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/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 -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 -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 -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_image.c ./../win/gl/gl_image.c: In function 'sdlgl_load_png_file': ./../win/gl/gl_image.c:471:19: warning: pointer targets in passing argument 1 of 'png_sig_cmp' differ in signedness [-Wpointer-sign] if (png_sig_cmp(sig_buf, (png_size_t)0, CHECK_PNG_BYTES) != 0) ^~~~~~~ In file included from /usr/include/png.h:366:0, from ../include/winGL.h:72, from ./../win/gl/gl_image.c:18: /usr/include/png.h:944:1: note: expected 'png_const_bytep {aka const unsigned char *}' but argument is of type 'char *' PNG_EXPORT(3, int, png_sig_cmp, (png_const_bytep sig, png_size_t start, ^ 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 -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_main.c ./../win/gl/gl_main.c:82:19: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] Sdlgl_putstr, Sdlgl_display_file, ^~~~~~~~~~~~~~~~~~ ./../win/gl/gl_main.c:82:19: note: (near initialization for 'sdlgl_hardw_procs.win_display_file') ./../win/gl/gl_main.c:124:19: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] Sdlgl_putstr, Sdlgl_display_file, ^~~~~~~~~~~~~~~~~~ ./../win/gl/gl_main.c:124:19: note: (near initialization for 'sdlgl_softw_procs.win_display_file') gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/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 -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_menu.c ./../win/gl/gl_menu.c:35:19: warning: 'default_menu_cmds' defined but not used [-Wunused-const-variable=] static const char default_menu_cmds[] = ^~~~~~~~~~~~~~~~~ ../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 -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_opt.c ./../win/gl/gl_opt.c: In function 'show_help_message': ./../win/gl/gl_opt.c:331:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] sdlgl_error(""); ^~ ./../win/gl/gl_opt.c: In function 'show_version_message': ./../win/gl/gl_opt.c:344:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] sdlgl_error(""); ^~ 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 -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_rendu.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/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 -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 -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 -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_text.c In file included from ../include/winGL.h:73:0, from ./../win/gl/gl_text.c:17: ./../win/gl/gl_text.c: In function 'do_reformat_text': ./../win/gl/gl_text.c:441:14: warning: the address of 'buf' will always evaluate as 'true' [-Waddress] TRAIL_IT(buf); ^ ./../win/gl/gl_text.c:441:5: note: in expansion of macro 'TRAIL_IT' TRAIL_IT(buf); ^~~~~~~~ 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 -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 -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 -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ./../win/gl/gl_win.c ./../win/gl/gl_win.c: In function 'Sdlgl_create_nhwindow': ./../win/gl/gl_win.c:74:22: warning: variable 'newwin' set but not used [-Wunused-but-set-variable] struct TextWindow *newwin; ^~~~~~ 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 -I/usr/include -c ./version.c Loading ... slashem is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9B2jW9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64 + cd slashem-0.0.8E0F1 + make install DESTDIR=/builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64 FILE_AREA_VAR=/builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem FILE_AREA_SAVE=/builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem/save FILE_AREA_SHARE=/builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/games/slashem FILE_AREA_UNSHARE=/builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/lib64/games/slashem FILE_AREA_DOC=/builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/doc/slashem 'INSTALL=install -p' SHELLDIR=/builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/bin CHOWN=/bin/true CHGRP=/bin/true ( cd src ; make ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' Makefile:885: warning: overriding recipe for target 'monst.o' Makefile:360: warning: ignoring old recipe for target 'monst.o' Makefile:899: warning: overriding recipe for target 'objects.o' Makefile:364: warning: ignoring old recipe for target 'objects.o' slashem is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' ( cd util ; make recover ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[2]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' Makefile:885: warning: overriding recipe for target 'monst.o' Makefile:360: warning: ignoring old recipe for target 'monst.o' Makefile:899: warning: overriding recipe for target 'objects.o' Makefile:364: warning: ignoring old recipe for target 'objects.o' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include -c -o recover.o recover.c recover.c: In function 'restore_savefile': recover.c:308:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sfd, (genericptr_t) &levc, sizeof(levc)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -I/usr/include -c ./../win/share/tiletext.c ./../win/share/tiletext.c: In function 'read_txttile': ./../win/share/tiletext.c:278:6: warning: variable 'tile_no' set but not used [-Wunused-but-set-variable] int tile_no; ^~~~~~~ ./../win/share/tiletext.c: In function 'set_tile_size': ./../win/share/tiletext.c:506:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (ch == '_' || ch >= 'A' && ch <= 'Z' || ch >= 'a' && ~~~~~~~~~~^~~~~~~~~~~~ ./../win/share/tiletext.c:506:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (ch == '_' || ch >= 'A' && ch <= 'Z' || ch >= 'a' && ~~~~~~~~~~^~ ch <= 'z' || ch >= '0' && ch <= '9' || ch == '$') ~~~~~~~~~ ./../win/share/tiletext.c:507:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] ch <= 'z' || ch >= '0' && ch <= '9' || ch == '$') ~~~~~~~~~~^~~~~~~~~~~~ In file included from ./../win/share/tiletext.c:5:0: ./../win/share/tiletext.c: In function 'merge_colormap': ../include/tile.h:44:24: warning: 'best_b' may be used uninitialized in this function [-Wmaybe-uninitialized] #define Fprintf (void) fprintf ^~~~~~~ ./../win/share/tiletext.c:394:26: note: 'best_b' was declared here pixval best_r, best_g, best_b; ^~~~~~ In file included from ./../win/share/tiletext.c:5:0: ../include/tile.h:44:24: warning: 'best_g' may be used uninitialized in this function [-Wmaybe-uninitialized] #define Fprintf (void) fprintf ^~~~~~~ ./../win/share/tiletext.c:394:18: note: 'best_g' was declared here pixval best_r, best_g, best_b; ^~~~~~ In file included from ./../win/share/tiletext.c:5:0: ../include/tile.h:44:24: warning: 'best_r' may be used uninitialized in this function [-Wmaybe-uninitialized] #define Fprintf (void) fprintf ^~~~~~~ ./../win/share/tiletext.c:394:10: note: 'best_r' was declared here pixval best_r, best_g, best_b; ^~~~~~ 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 -I/usr/include -c -DTILETEXT ./../win/share/tilemap.c ./../win/share/tilemap.c:237:13: warning: missing braces around initializer [-Wmissing-braces] } cmaps[] = { ^ 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 -I/usr/include -c ./../win/share/magtile.c ./../win/share/magtile.c: In function 'main': ./../win/share/magtile.c:112:10: warning: passing argument 1 of 'strcat' from incompatible pointer type [-Wincompatible-pointer-types] strcat(filename, file_prefix); ^~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../include/global.h:8, from ../include/config.h:484, from ./../win/share/magtile.c:6: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'char **' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ ./../win/share/magtile.c:113:10: warning: passing argument 1 of 'strcat' from incompatible pointer type [-Wincompatible-pointer-types] strcat(filename, tilefiles[filenum]); ^~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../include/global.h:8, from ../include/config.h:484, from ./../win/share/magtile.c:6: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'char **' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ ./../win/share/magtile.c:114:24: warning: passing argument 1 of 'fopen_text_file' from incompatible pointer type [-Wincompatible-pointer-types] if (!fopen_text_file(filename, RDTMODE)) ^~~~~~~~ In file included from ../include/config.h:306:0, from ./../win/share/magtile.c:6: ../include/tile.h:48:22: note: expected 'const char *' but argument is of type 'char **' extern boolean FDECL(fopen_text_file, (const char *, const char *)); ^ ../include/tradstdc.h:124:21: note: in definition of macro 'FDECL' # define FDECL(f,p) f p ^ ./../win/share/magtile.c:103:10: warning: unused variable 'x' [-Wunused-variable] boolean x; ^ gcc -DAUTOCONF -o magtile magtile.o tiletext.o tiletxt.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include -c ./../win/share/txtmerge.c ./../win/share/txtmerge.c: In function 'main': ./../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] if (!read_text_file_colormap(argv[2])) { ^~~~~~~~~~~~~~~~~~~~~~~ read_text_tile_info gcc -DAUTOCONF -o txtmerge txtmerge.o tiletext.o tiletxt.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o 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 -I/usr/include -c ./../win/share/txtbg.c ./../win/share/txtbg.c: In function 'do_background': ./../win/share/txtbg.c:74:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (pixel_eq(tile[j][i], def_background)) ^ gcc -DAUTOCONF -o txtbg txtbg.o tiletext.o tiletxt.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make x11bigtiles ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/magtile ./ 638 tiles processed from ../win/share/monsters.txt 537 tiles processed from ../win/share/objects.txt 229 tiles processed from ../win/share/other.txt Grand total of 1404 tiles processed. ../util/txtmerge -p ./../win/share/palette.txt ../win/share/mon32-t.txt \ ../win/share/monmag.txt -b ./../win/share/mon32mi.txt \ -b ./../win/share/mon32se.txt -bff00ff ./../win/share/mon32alg.txt \ -bff00ff ./../win/share/mon32aw.txt Changing 0,145,0 => 0,144,0 (fuzz max(1), total(1)). Changing 145,71,0 => 144,72,0 (fuzz max(1), total(2)). Changing 182,71,0 => 182,72,0 (fuzz max(1), total(1)). Changing 255,182,145 => 255,182,144 (fuzz max(1), total(1)). Changing 108,145,182 => 108,144,182 (fuzz max(1), total(1)). info: tile Wizard of Balance ignored Changing 242,242,242 => 240,240,240 (fuzz max(2), total(6)). Changing 96,145,178 => 96,144,178 (fuzz max(1), total(1)). Changing 145,64,0 => 144,72,0 (fuzz max(8), total(9)). Changing 0,178,242 => 0,182,255 (fuzz max(13), total(17)). Changing 242,242,0 => 255,255,0 (fuzz max(13), total(26)). Changing 0,0,242 => 0,0,255 (fuzz max(13), total(13)). Changing 242,178,145 => 255,182,144 (fuzz max(13), total(18)). Changing 0,145,0 => 0,144,0 (fuzz max(1), total(1)). Changing 96,242,0 => 108,255,0 (fuzz max(13), total(25)). Changing 145,145,145 => 144,144,144 (fuzz max(1), total(3)). Changing 160,112,0 => 160,120,0 (fuzz max(8), total(8)). Changing 0,242,242 => 0,255,255 (fuzz max(13), total(26)). Changing 210,210,210 => 208,208,208 (fuzz max(2), total(6)). Changing 242,224,96 => 248,224,96 (fuzz max(6), total(6)). Changing 242,192,64 => 242,196,77 (fuzz max(13), total(17)). Changing 178,178,178 => 176,176,176 (fuzz max(2), total(6)). Changing 160,32,0 => 160,40,0 (fuzz max(8), total(8)). Changing 192,145,0 => 192,144,0 (fuzz max(1), total(1)). Changing 160,112,80 => 165,118,96 (fuzz max(16), total(27)). Changing 242,128,0 => 255,128,0 (fuzz max(13), total(13)). Changing 96,64,0 => 96,72,0 (fuzz max(8), total(8)). Changing 192,128,112 => 202,144,114 (fuzz max(16), total(28)). Changing 224,224,160 => 224,224,168 (fuzz max(8), total(8)). Changing 0,128,242 => 0,128,255 (fuzz max(13), total(13)). Changing 160,128,48 => 170,136,52 (fuzz max(10), total(22)). Changing 242,242,145 => 252,252,153 (fuzz max(10), total(28)). Changing 224,160,128 => 229,162,130 (fuzz max(5), total(9)). Changing 224,160,0 => 224,168,0 (fuzz max(8), total(8)). Changing 224,48,0 => 224,56,0 (fuzz max(8), total(8)). Changing 242,192,0 => 255,192,0 (fuzz max(13), total(13)). Changing 112,80,64 => 128,64,64 (fuzz max(16), total(32)). Changing 145,128,96 => 128,128,96 (fuzz max(17), total(17)). Changing 145,192,192 => 144,192,192 (fuzz max(1), total(1)). Changing 160,224,224 => 168,224,224 (fuzz max(8), total(8)). Changing 112,96,80 => 117,105,88 (fuzz max(9), total(22)). Changing 112,112,160 => 120,120,160 (fuzz max(8), total(16)). Changing 242,0,128 => 255,0,128 (fuzz max(13), total(13)). Changing 192,192,145 => 192,192,144 (fuzz max(1), total(1)). Changing 160,160,112 => 160,160,120 (fuzz max(8), total(8)). Changing 192,192,242 => 192,192,255 (fuzz max(13), total(13)). Changing 242,210,160 => 255,211,176 (fuzz max(16), total(30)). Changing 0,242,0 => 0,255,0 (fuzz max(13), total(13)). Changing 128,0,242 => 128,0,255 (fuzz max(13), total(13)). Changing 145,145,192 => 144,144,192 (fuzz max(1), total(2)). Changing 160,145,128 => 170,154,128 (fuzz max(10), total(19)). Changing 96,80,16 => 96,72,0 (fuzz max(16), total(24)). Changing 242,64,0 => 255,64,0 (fuzz max(13), total(13)). Changing 192,145,192 => 192,144,192 (fuzz max(1), total(1)). Changing 242,242,192 => 255,255,192 (fuzz max(13), total(26)). Changing 192,242,242 => 192,255,255 (fuzz max(13), total(26)). Changing 128,242,0 => 128,255,0 (fuzz max(13), total(13)). Changing 224,160,160 => 224,168,168 (fuzz max(8), total(16)). Changing 128,242,128 => 128,255,128 (fuzz max(13), total(13)). Changing 112,160,112 => 120,160,120 (fuzz max(8), total(16)). Changing 242,192,192 => 255,192,192 (fuzz max(13), total(13)). Changing 145,192,145 => 144,192,144 (fuzz max(1), total(2)). Changing 128,242,242 => 128,255,255 (fuzz max(13), total(26)). Changing 242,242,128 => 255,255,128 (fuzz max(13), total(26)). Changing 192,145,145 => 192,144,144 (fuzz max(1), total(2)). Changing 16,48,0 => 24,48,0 (fuzz max(8), total(8)). Changing 16,16,32 => 16,16,16 (fuzz max(16), total(16)). Changing 48,16,0 => 48,12,0 (fuzz max(4), total(4)). Changing 242,128,128 => 255,128,128 (fuzz max(13), total(13)). Changing 0,48,16 => 0,48,24 (fuzz max(8), total(8)). Changing 16,32,32 => 0,32,32 (fuzz max(16), total(16)). Changing 32,16,16 => 16,16,16 (fuzz max(16), total(16)). Changing 224,160,224 => 224,168,224 (fuzz max(8), total(8)). Changing 242,192,242 => 255,192,255 (fuzz max(13), total(26)). Changing 32,32,64 => 0,32,64 (fuzz max(32), total(32)). Changing 16,32,16 => 16,16,16 (fuzz max(16), total(16)). Changing 0,242,128 => 0,255,128 (fuzz max(13), total(13)). Changing 160,224,160 => 168,224,168 (fuzz max(8), total(16)). Changing 48,32,32 => 32,32,32 (fuzz max(16), total(16)). Changing 32,32,48 => 24,24,48 (fuzz max(8), total(16)). Changing 48,48,32 => 48,48,24 (fuzz max(8), total(8)). Changing 160,112,112 => 160,120,120 (fuzz max(8), total(16)). Changing 192,242,192 => 192,255,192 (fuzz max(13), total(13)). Changing 210,160,80 => 208,168,80 (fuzz max(8), total(10)). Changing 160,112,160 => 160,120,160 (fuzz max(8), total(8)). Changing 0,32,16 => 0,16,16 (fuzz max(16), total(16)). Changing 32,48,48 => 24,48,48 (fuzz max(8), total(8)). Changing 0,0,178 => 0,0,192 (fuzz max(14), total(14)). Changing 32,242,178 => 32,242,186 (fuzz max(8), total(8)). Changing 32,242,178 => 32,242,186 (fuzz max(8), total(8)). Changing 80,80,242 => 96,96,192 (fuzz max(50), total(82)). Changing 242,64,80 => 255,64,0 (fuzz max(80), total(93)). Changing 16,210,48 => 0,224,0 (fuzz max(48), total(78)). Changing 16,192,48 => 0,160,80 (fuzz max(32), total(80)). Changing 192,16,48 => 160,0,80 (fuzz max(32), total(80)). Changing 160,112,242 => 128,128,255 (fuzz max(32), total(61)). Changing 178,16,48 => 160,0,80 (fuzz max(32), total(66)). Changing 178,16,128 => 192,0,96 (fuzz max(32), total(62)). Changing 178,16,224 => 192,0,192 (fuzz max(32), total(62)). Changing 80,242,48 => 108,255,0 (fuzz max(48), total(89)). Changing 242,16,192 => 192,0,192 (fuzz max(50), total(66)). Changing 16,80,242 => 0,112,224 (fuzz max(32), total(66)). Changing 242,128,242 => 255,128,255 (fuzz max(13), total(26)). Changing 128,128,242 => 128,128,255 (fuzz max(13), total(13)). Changing 210,210,16 => 224,224,0 (fuzz max(16), total(44)). Changing 210,16,128 => 224,0,112 (fuzz max(16), total(46)). Changing 32,224,16 => 0,224,0 (fuzz max(32), total(48)). Changing 178,16,210 => 192,0,192 (fuzz max(18), total(48)). Changing 16,210,210 => 0,224,224 (fuzz max(16), total(44)). Changing 16,16,145 => 0,0,160 (fuzz max(16), total(47)). ../util/txtbg ../win/share/mon32-t.txt ../win/share/mon32.txt ../util/txtmerge -p ./../win/share/palette.txt ../win/share/obj32-t.txt \ ../win/share/objmag.txt -b ./../win/share/obj32mi.txt \ -b ./../win/share/obj32se.txt -bff00ff ./../win/share/obj32alg.txt Changing 0,145,0 => 0,144,0 (fuzz max(1), total(1)). Changing 145,71,0 => 144,72,0 (fuzz max(1), total(2)). Changing 182,71,0 => 182,72,0 (fuzz max(1), total(1)). Changing 255,182,145 => 255,182,144 (fuzz max(1), total(1)). Changing 108,145,182 => 108,144,182 (fuzz max(1), total(1)). warning: replacing tile red robe / robe with robe warning: replacing tile wooden / adornment with wooden warning: replacing tile granite / gain strength with granite warning: replacing tile opal / gain constitution with opal warning: replacing tile clay / increase accuracy with clay warning: replacing tile coral / increase damage with coral warning: replacing tile black onyx / protection with black onyx warning: replacing tile moonstone / regeneration with moonstone warning: replacing tile tiger eye / searching with tiger eye warning: replacing tile jade / stealth with jade warning: replacing tile bronze / sustain ability with bronze warning: replacing tile agate / levitation with agate warning: replacing tile topaz / hunger with topaz warning: replacing tile sapphire / aggravate monster with sapphire warning: replacing tile ruby / conflict with ruby warning: replacing tile diamond / warning with diamond warning: replacing tile pearl / poison resistance with pearl warning: replacing tile iron / fire resistance with iron warning: replacing tile brass / cold resistance with brass warning: replacing tile copper / shock resistance with copper warning: replacing tile twisted / free action with twisted warning: replacing tile steel / slow digestion with steel warning: replacing tile silver / teleportation with silver warning: replacing tile gold / teleport control with gold warning: replacing tile ivory / polymorph with ivory warning: replacing tile emerald / polymorph control with emerald warning: replacing tile wire / invisibility with wire warning: replacing tile engagement / see invisible with engagement warning: replacing tile shiny / protection from shape changers with shiny warning: replacing tile circular / amulet of ESP with circular warning: replacing tile spherical / amulet of life saving with spherical warning: replacing tile oval / amulet of strangulation with oval warning: replacing tile triangular / amulet of restful sleep with triangular warning: replacing tile pyramidal / amulet versus poison with pyramidal warning: replacing tile square / amulet of change with square warning: replacing tile hexagonal / amulet of reflection with hexagonal warning: replacing tile octagonal / amulet of magical breathing with octagonal warning: replacing tile ruby / gain ability with ruby warning: replacing tile pink / restore ability with pink warning: replacing tile orange / confusion with orange warning: replacing tile yellow / blindness with yellow warning: replacing tile emerald / paralysis with emerald warning: replacing tile dark green / speed with dark green warning: replacing tile cyan / levitation with cyan warning: replacing tile sky blue / hallucination with sky blue warning: replacing tile brilliant blue / invisibility with brilliant blue warning: replacing tile magenta / see invisible with magenta warning: replacing tile purple-red / healing with purple-red warning: replacing tile puce / extra healing with puce warning: replacing tile milky / gain level with milky warning: replacing tile swirly / enlightenment with swirly warning: replacing tile bubbly / monster detection with bubbly warning: replacing tile smoky / object detection with smoky warning: replacing tile cloudy / gain energy with cloudy warning: replacing tile effervescent / sleeping with effervescent warning: replacing tile black / full healing with black warning: replacing tile golden / polymorph with golden warning: replacing tile brown / booze with brown warning: replacing tile fizzy / sickness with fizzy warning: replacing tile dark / fruit juice with dark warning: replacing tile white / acid with white warning: replacing tile murky / oil with murky warning: replacing tile clear / water with clear warning: replacing tile ZELGO MER / enchant armor with ZELGO MER warning: replacing tile JUYED AWK YACC / destroy armor with JUYED AWK YACC warning: replacing tile NR 9 / confuse monster with NR 9 warning: replacing tile XIXAXA XOXAXA XUXAXA / scare monster with XIXAXA XOXAXA XUXAXA warning: replacing tile PRATYAVAYAH / remove curse with PRATYAVAYAH warning: replacing tile DAIYEN FOOELS / enchant weapon with DAIYEN FOOELS warning: replacing tile LEP GEX VEN ZEA / create monster with LEP GEX VEN ZEA warning: replacing tile PRIRUTSENIE / taming with PRIRUTSENIE warning: replacing tile ELBIB YLOH / genocide with ELBIB YLOH warning: replacing tile VERR YED HORRE / light with VERR YED HORRE warning: replacing tile VENZAR BORGAVVE / teleportation with VENZAR BORGAVVE warning: replacing tile THARR / gold detection with THARR warning: replacing tile YUM YUM / food detection with YUM YUM warning: replacing tile KERNOD WEL / identify with KERNOD WEL warning: replacing tile ELAM EBOW / magic mapping with ELAM EBOW warning: replacing tile DUAM XNAHT / amnesia with DUAM XNAHT warning: replacing tile ANDOVA BEGARIN / fire with ANDOVA BEGARIN warning: replacing tile KIRJE / earth with KIRJE warning: replacing tile VE FORBRYDERNE / punishment with VE FORBRYDERNE warning: replacing tile HACKEM MUCHE / charging with HACKEM MUCHE warning: replacing tile VELOX NEB / stinking cloud with VELOX NEB warning: replacing tile parchment / dig with parchment warning: replacing tile vellum / magic missile with vellum warning: replacing tile ragged / fireball with ragged warning: replacing tile dog eared / cone of cold with dog eared warning: replacing tile mottled / sleep with mottled warning: replacing tile stained / finger of death with stained warning: replacing tile cloth / light with cloth warning: replacing tile leather / detect monsters with leather warning: replacing tile white / healing with white warning: replacing tile pink / knock with pink warning: replacing tile red / force bolt with red warning: replacing tile orange / confuse monster with orange warning: replacing tile yellow / cure blindness with yellow warning: replacing tile velvet / drain life with velvet warning: replacing tile light green / slow monster with light green warning: replacing tile dark green / wizard lock with dark green warning: replacing tile turquoise / create monster with turquoise warning: replacing tile cyan / detect food with cyan warning: replacing tile light blue / cause fear with light blue warning: replacing tile dark blue / clairvoyance with dark blue warning: replacing tile indigo / cure sickness with indigo warning: replacing tile magenta / charm monster with magenta warning: replacing tile purple / haste self with purple warning: replacing tile violet / detect unseen with violet warning: replacing tile tan / levitation with tan warning: replacing tile plaid / extra healing with plaid warning: replacing tile light brown / restore ability with light brown warning: replacing tile dark brown / invisibility with dark brown warning: replacing tile gray / detect treasure with gray warning: replacing tile wrinkled / remove curse with wrinkled warning: replacing tile dusty / magic mapping with dusty warning: replacing tile bronze / identify with bronze warning: replacing tile copper / turn undead with copper warning: replacing tile silver / polymorph with silver warning: replacing tile gold / teleport away with gold warning: replacing tile glittering / create familiar with glittering warning: replacing tile shining / cancellation with shining warning: replacing tile dull / enchant weapon with dull warning: replacing tile thin / enchant armor with thin warning: replacing tile thick / stone to flesh with thick warning: replacing tile glass / gain wisdom with glass warning: replacing tile balsa / secret door detection with balsa warning: replacing tile maple / create monster with maple warning: replacing tile pine / wishing with pine warning: replacing tile oak / nothing with oak warning: replacing tile ebony / striking with ebony warning: replacing tile marble / make invisible with marble warning: replacing tile tin / slow monster with tin warning: replacing tile brass / speed monster with brass warning: replacing tile copper / undead turning with copper warning: replacing tile silver / polymorph with silver warning: replacing tile platinum / cancellation with platinum warning: replacing tile iridium / teleportation with iridium warning: replacing tile zinc / opening with zinc warning: replacing tile aluminum / locking with aluminum warning: replacing tile uranium / probing with uranium warning: replacing tile iron / digging with iron warning: replacing tile steel / magic missile with steel warning: replacing tile hexagonal / fire with hexagonal warning: replacing tile short / cold with short warning: replacing tile runed / sleep with runed warning: replacing tile long / insulate with long warning: replacing tile curved / lightning with curved Changing 202,143,114 => 202,144,114 (fuzz max(1), total(1)). Changing 0,145,0 => 0,144,0 (fuzz max(1), total(1)). Changing 127,90,72 => 128,90,72 (fuzz max(1), total(1)). Changing 145,71,0 => 144,72,0 (fuzz max(1), total(2)). Changing 182,71,0 => 182,72,0 (fuzz max(1), total(1)). Changing 165,118,94 => 165,118,96 (fuzz max(2), total(2)). Changing 171,154,129 => 170,154,128 (fuzz max(1), total(2)). Changing 145,135,110 => 144,135,110 (fuzz max(1), total(1)). Changing 255,211,175 => 255,211,176 (fuzz max(1), total(1)). Changing 255,182,145 => 255,182,144 (fuzz max(1), total(1)). Changing 108,145,182 => 108,144,182 (fuzz max(1), total(1)). ../util/txtbg ../win/share/obj32-t.txt ../win/share/obj32.txt ../util/txtmerge -p ./../win/share/palette.txt ../win/share/oth32-t.txt \ ../win/share/othmag.txt -b ./../win/share/oth32mi.txt \ -b ./../win/share/oth32se.txt -bff00ff ./../win/share/oth32alg.txt Changing 0,145,0 => 0,144,0 (fuzz max(1), total(1)). Changing 145,71,0 => 144,72,0 (fuzz max(1), total(2)). Changing 182,71,0 => 182,72,0 (fuzz max(1), total(1)). Changing 255,182,145 => 255,182,144 (fuzz max(1), total(1)). Changing 108,145,182 => 108,144,182 (fuzz max(1), total(1)). ../util/txtbg ../win/share/oth32-t.txt ../win/share/oth32.txt ../util/tile2x11 -o x11bigtiles ../win/share/mon32.txt \ ../win/share/obj32.txt ../win/share/oth32.txt ../win/share/mon32.txt: 638 tiles ../win/share/obj32.txt: 537 tiles ../win/share/oth32.txt: 229 tiles Total tiles: 1404 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make tile2x11 ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[1]: 'tile2x11' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make x11tiles ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/tile2x11 ./../win/share/monsters.txt ./../win/share/objects.txt \ ./../win/share/other.txt ./../win/share/monsters.txt: 638 tiles ./../win/share/objects.txt: 537 tiles ./../win/share/other.txt: 229 tiles Total tiles: 1404 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd dat ; make SlashEM.ad ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' cp ./../win/X11/SlashEM.ad SlashEM.ad make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd dat ; make pet_mark.xbm ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' cp ./../win/X11/pet_mark.xbm pet_mark.xbm make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make tile2png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include -c ./../win/share/tile2png.c ./../win/share/tile2png.c: In function 'process_file': ./../win/share/tile2png.c:321:54: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] Fprintf(stderr, "tile2png: Not enough memory (%d bytes).\n", ~^ %ld ./../win/share/tile2png.c: In function 'convert_tiles': ./../win/share/tile2png.c:248:69: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] tile_bytes_i[((by * tile_y + y) * num_across + bx) * tile_x + x] = i; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gcc -DAUTOCONF -o tile2png tile2png.o tiletext.o tiletxt.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o -lpng16 -lz make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make gltile16.png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/tile2png -o gltile16.png ./../win/share/monsters.txt ./../win/share/objects.txt \ ./../win/share/other.txt ./../win/share/monsters.txt: 638 tiles (16x16) ./../win/share/objects.txt: 537 tiles (16x16) ./../win/share/other.txt: 229 tiles (16x16) Total tiles: 1404 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make tile2png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[1]: 'tile2png' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make gltile32.png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/tile2png -o gltile32.png -t ../win/share/mon32.txt \ ../win/share/obj32.txt ../win/share/oth32.txt ../win/share/mon32.txt: 638 tiles (32x32) ../win/share/obj32.txt: 537 tiles (32x32) ../win/share/oth32.txt: 229 tiles (32x32) Total tiles: 1404 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make tile2png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[1]: 'tile2png' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make gltile64.png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' (cd ../util ; make bigtile) make[2]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include -c ./../win/share/bigtile.c ./../win/share/bigtile.c: In function 'main': ./../win/share/bigtile.c:136:10: warning: unused variable 'x' [-Wunused-variable] boolean x; ^ gcc -DAUTOCONF -o bigtile bigtile.o tiletext.o tiletxt.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ../util/bigtile 638 tiles processed from ../win/share/mon32-t.txt 537 tiles processed from ../win/share/obj32-t.txt 229 tiles processed from ../win/share/oth32-t.txt Grand total of 1404 tiles processed. ../util/txtmerge -p ./../win/share/palette.txt ../win/share/mon3d.txt \ ../win/share/monbig.txt -b ./../win/share/mon3dmi.txt cp ../win/share/objbig.txt ../win/share/obj3d.txt ../util/txtmerge -p ./../win/share/palette.txt ../win/share/oth3d.txt \ ../win/share/othbig.txt -b ./../win/share/oth3dmi.txt \ -b ./../win/share/oth-2kmi.txt -b ./../win/share/oth3dse.txt Changing 0,0,24 => 0,0,16 (fuzz max(8), total(8)). Changing 24,0,24 => 16,0,16 (fuzz max(8), total(16)). Changing 32,32,64 => 0,32,64 (fuzz max(32), total(32)). Changing 48,0,96 => 0,0,96 (fuzz max(48), total(48)). Changing 32,0,64 => 0,0,64 (fuzz max(32), total(32)). Changing 24,0,48 => 0,0,48 (fuzz max(24), total(24)). Changing 48,24,48 => 24,24,48 (fuzz max(24), total(24)). Changing 48,0,24 => 32,0,32 (fuzz max(16), total(24)). Changing 127,90,72 => 128,90,72 (fuzz max(1), total(1)). Changing 165,118,94 => 165,118,96 (fuzz max(2), total(2)). Changing 202,143,114 => 202,144,114 (fuzz max(1), total(1)). Changing 255,182,145 => 255,182,144 (fuzz max(1), total(1)). Changing 255,211,175 => 255,211,176 (fuzz max(1), total(1)). Changing 145,135,110 => 144,135,110 (fuzz max(1), total(1)). Changing 171,154,129 => 170,154,128 (fuzz max(1), total(2)). ../util/tile2png -o gltile64.png -t ../win/share/mon3d.txt \ ../win/share/obj3d.txt ../win/share/oth3d.txt ../win/share/mon3d.txt: 638 tiles (48x64) ../win/share/obj3d.txt: 537 tiles (48x64) ../win/share/oth3d.txt: 229 tiles (48x64) Total tiles: 1404 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make tile2png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[1]: 'tile2png' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make gllogo.png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/tile2png -o gllogo.png -a 28 ./../win/gl/logo.txt ./../win/gl/logo.txt: 196 tiles (16x16) Total tiles: 196 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make tile2png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[1]: 'tile2png' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make glrip.png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/tile2png -o glrip.png -a 20 ./../win/gl/rip.txt ./../win/gl/rip.txt: 200 tiles (30x30) Total tiles: 200 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make tile2png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[1]: 'tile2png' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make glfont8.png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/tile2png -o glfont8.png -f ./../win/gl/font8.txt ./../win/gl/font8.txt: 256 tiles (8x8) Total tiles: 256 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make tile2png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[1]: 'tile2png' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make glfont14.png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/tile2png -o glfont14.png -f ./../win/gl/font14.txt ./../win/gl/font14.txt: 256 tiles (8x14) Total tiles: 256 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make tile2png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[1]: 'tile2png' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make glfont20.png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/tile2png -o glfont20.png -f ./../win/gl/font20.txt ./../win/gl/font20.txt: 256 tiles (10x20) Total tiles: 256 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make tile2png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' make[1]: 'tile2png' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; make glfont22.png ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ../util/tile2png -o glfont22.png -f ./../win/gl/font22.txt ./../win/gl/font22.txt: 256 tiles (12x22) Total tiles: 256 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/dat' ( cd util ; make dgn_comp ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' bison -y -d ./dgn_comp.y mv y.tab.c dgn_yacc.c mv y.tab.h ../include/dgn_comp.h make[2]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' Makefile:885: warning: overriding recipe for target 'monst.o' Makefile:360: warning: ignoring old recipe for target 'monst.o' Makefile:899: warning: overriding recipe for target 'objects.o' Makefile:364: warning: ignoring old recipe for target 'objects.o' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include -c -o dgn_yacc.o dgn_yacc.c ./dgn_comp.y: In function 'check_branch': ./dgn_comp.y:622:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ 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 -I/usr/include dgn_lex.c lex.yy.c:1514:16: warning: 'input' defined but not used [-Wunused-function] lex.yy.c:1471:17: warning: 'yyunput' defined but not used [-Wunused-function] 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 -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 -I/usr/include -c -o lev_yacc.o lev_yacc.c ./lev_comp.y: In function 'yyparse': ./lev_comp.y:600:24: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] tmprdoor[ndoor] = (struct room_door *)0; ^ 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 -I/usr/include lev_lex.c lex.yy.c:2262:16: warning: 'input' defined but not used [-Wunused-function] lex.yy.c:2219:17: warning: 'yyunput' defined but not used [-Wunused-function] make[2]: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' Makefile:885: warning: overriding recipe for target 'monst.o' Makefile:360: warning: ignoring old recipe for target 'monst.o' Makefile:899: warning: overriding recipe for target 'objects.o' Makefile:364: warning: ignoring old recipe for target 'objects.o' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/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.23.E0F1.fc28.riscv64/usr/bin rm -rf /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem/save rm -rf /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/lib64/games/slashem rm -rf /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/doc/slashem mkdir -p /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem/save mkdir -p /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/lib64/games/slashem mkdir -p /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/doc/slashem rmdir ./-p rmdir: failed to remove './-p': No such file or directory make: [Makefile:364: install] Error 1 (ignored) /bin/true games /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem/save /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem /bin/true bin /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem/save /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem chmod 0755 /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem/save /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem /bin/true games /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/lib64/games/slashem /bin/true bin /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/lib64/games/slashem chmod 0755 /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/games/slashem /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.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' Makefile:885: warning: overriding recipe for target 'monst.o' Makefile:360: warning: ignoring old recipe for target 'monst.o' Makefile:899: warning: overriding recipe for target 'objects.o' Makefile:364: warning: ignoring old recipe for target 'objects.o' 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' Makefile:885: warning: overriding recipe for target 'monst.o' Makefile:360: warning: ignoring old recipe for target 'monst.o' Makefile:899: warning: overriding recipe for target 'objects.o' Makefile:364: warning: ignoring old recipe for target 'objects.o' make[5]: '../include/date.h' is up to date. make[5]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/src' gcc -DAUTOCONF -O -I../include -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include -c ./dlb_main.c gcc -DAUTOCONF -o dlb dlb_main.o ../src/dlb.o ../src/alloc.o panic.o make[4]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/util' ( cd dat ; ../util/dlb cf nhshare help hh cmdhelp history opthelp wizhelp gypsy.txt data oracles options quest.dat rumors ) ( cd dat ; ../util/dlb cf nhushare dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev beholder.lev blkmar.lev cav2fill.lev grund-?.lev demogorg.lev dispater.lev dragons.lev geryon.lev guild.lev kobold-?.lev lich.lev mall-?.lev mall.lev mineking.lev mtemple.lev nymph.lev rats.lev sea.lev spiders.lev stor-?.lev tomb.lev yeenoghu.lev frnknstn.lev nightmar.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev ) make[3]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1' ( cd dat ; cp nhshare x11bigtiles x11tiles SlashEM.ad pet_mark.xbm gltile16.png gltile32.png gltile64.png gllogo.png glrip.png glfont8.png glfont14.png glfont20.png glfont22.png /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/games/slashem ) ( cd dat ; cp nhushare /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/lib64/games/slashem ) ( cd /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.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.23.E0F1.fc28.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.23.E0F1.fc28.riscv64/usr/lib64/games/slashem) #cp ./sys/winnt/defaults.nh /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/lib64/games/slashem cp util/recover /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/lib64/games/slashem cp ./dat/license ./doc/Guidebook.txt /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/doc/slashem rm -f /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/bin/slashem sed -e 's;/usr/games/lib/nethackdir;/builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/lib64/games/slashem;' \ -e 's;HACKDIR/nethack;HACKDIR/slashem;' \ < ./sys/unix/nethack.sh \ > /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/bin/slashem ( cd /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.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.23.E0F1.fc28.riscv64/usr/lib64/games/slashem/slashem chmod 0755 /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/lib64/games/slashem/recover ( cd /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.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.23.E0F1.fc28.riscv64/usr/bin/slashem /bin/true bin /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/bin/slashem chmod 0755 /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/bin/slashem make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1' touch /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem/perm /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem/record /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/var/games/slashem/logfile ( cd /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.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. + install -d -m 0755 /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/man/man6 + make -C doc MANDIR=/builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/man/man6 manpages make: Entering directory '/builddir/build/BUILD/slashem-0.0.8E0F1/doc' cp slashem.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/man/man6/slashem.6 cp lev_comp.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/man/man6/lev_comp.6 cp dgn_comp.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/man/man6/dgn_comp.6 cp recover.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/man/man6/recover.6 cp dlb.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/man/man6/dlb.6 cp fr/slashem.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/man/fr/man6/slashem.6 cp: cannot create regular file '/builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/man/fr/man6/slashem.6': No such file or directory make: [Makefile:86: manpages] Error 1 (ignored) make: Leaving directory '/builddir/build/BUILD/slashem-0.0.8E0F1/doc' + sed -i -e 's!/builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64!!g' -e '/XUSERFILE/s!\$HACKDIR!/usr/share/games/slashem!' /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/bin/slashem + mv /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/lib64/games/slashem/recover /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/bin/slashem-recover + mv /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/man/man6/recover.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/man/man6/slashem-recover.6 + rm /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/man/man6/dgn_comp.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/man/man6/dlb.6 /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/man/man6/lev_comp.6 + sed -i -e 's:^!\(SlashEM.tile_file.*\):\1:' /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/games/slashem/SlashEM.ad + install -d /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/icons/hicolor/48x48/apps + convert win/X11/nh_icon.xpm /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/icons/hicolor/48x48/apps/slashem.png + desktop-file-install --dir /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.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.23.E0F1.fc28.riscv64/usr/share/appdata/slashem.appdata.xml + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: slashem-0.0.8-0.23.E0F1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.z0Qsz0 + umask 022 + cd /builddir/build/BUILD + cd slashem-0.0.8E0F1 + DOCDIR=/builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.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.23.E0F1.fc28.riscv64/usr/share/doc/slashem + cp -pr history.txt /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.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.23.E0F1.fc28.riscv64/usr/share/doc/slashem + cp -pr README.34 /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/doc/slashem + cp -pr readme.s6 readme.txt /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/doc/slashem + cp -pr slamfaq.txt /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/doc/slashem + cp -pr dat/license /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/doc/slashem + cp -pr dat/history /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64/usr/share/doc/slashem + exit 0 Provides: application() application(slashem.desktop) config(slashem) = 0.0.8-0.23.E0F1.fc28 metainfo() metainfo(slashem.appdata.xml) slashem = 0.0.8-0.23.E0F1.fc28 slashem(riscv-64) = 0.0.8-0.23.E0F1.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64 Wrote: /builddir/build/SRPMS/slashem-0.0.8-0.23.E0F1.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/slashem-0.0.8-0.23.E0F1.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zHdnQ1 + umask 022 + cd /builddir/build/BUILD + cd slashem-0.0.8E0F1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/slashem-0.0.8-0.23.E0F1.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff