<86>Dec 4 18:56:02 userdel[1212760]: delete user 'rooter' <86>Dec 4 18:56:02 userdel[1212760]: removed group 'rooter' owned by 'rooter' <86>Dec 4 18:56:02 userdel[1212760]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 4 18:56:02 groupadd[1212765]: group added to /etc/group: name=rooter, GID=618 <86>Dec 4 18:56:02 groupadd[1212765]: group added to /etc/gshadow: name=rooter <86>Dec 4 18:56:02 groupadd[1212765]: new group: name=rooter, GID=618 <86>Dec 4 18:56:02 useradd[1212775]: new user: name=rooter, UID=618, GID=618, home=/root, shell=/bin/bash <86>Dec 4 18:56:02 userdel[1212785]: delete user 'builder' <86>Dec 4 18:56:02 userdel[1212785]: removed group 'builder' owned by 'builder' <86>Dec 4 18:56:02 userdel[1212785]: removed shadow group 'builder' owned by 'builder' <86>Dec 4 18:56:02 groupadd[1212792]: group added to /etc/group: name=builder, GID=619 <86>Dec 4 18:56:02 groupadd[1212792]: group added to /etc/gshadow: name=builder <86>Dec 4 18:56:02 groupadd[1212792]: new group: name=builder, GID=619 <86>Dec 4 18:56:02 useradd[1212796]: new user: name=builder, UID=619, GID=619, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/nethack-vultures-2.1.2-alt3.src.rpm: license not found in '/usr/share/license' directory: NetHack /usr/src/in/srpm/nethack-vultures-2.1.2-alt3.src.rpm: license not found in '/usr/share/license' directory: General /usr/src/in/srpm/nethack-vultures-2.1.2-alt3.src.rpm: license not found in '/usr/share/license' directory: Public /usr/src/in/srpm/nethack-vultures-2.1.2-alt3.src.rpm: license not found in '/usr/share/license' directory: License warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root <13>Dec 4 18:56:07 rpmi: libglvnd-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 18:56:07 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Dec 4 18:56:07 rpmi: libogg-1.3.4-alt1 sisyphus+247109.100.1.1 1582849994 installed <13>Dec 4 18:56:07 rpmi: libflac8-1.3.3.0.62.ce6d-alt1 sisyphus+262142.100.1.1 1605801639 installed <13>Dec 4 18:56:07 rpmi: libvorbis-1.3.7-alt1 sisyphus+256535.100.1.1 1597965510 installed <13>Dec 4 18:56:07 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed <13>Dec 4 18:56:07 rpmi: xorg-proto-devel-2020.1-alt1 sisyphus+250406.100.1.1 1587554810 installed <13>Dec 4 18:56:07 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Dec 4 18:56:07 rpmi: libwayland-server-1.18.0-alt1 sisyphus+255795.100.1.1 1596475648 installed <13>Dec 4 18:56:07 rpmi: libGLES-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 18:56:07 rpmi: libOpenGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 18:56:07 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed <13>Dec 4 18:56:07 rpmi: libtinfo-devel-6.2.20201107-alt1 sisyphus+261749.100.1.1 1605292929 installed <13>Dec 4 18:56:07 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+257777.100.1.1 1599688017 installed <13>Dec 4 18:56:07 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+257777.100.1.1 1599688017 installed <13>Dec 4 18:56:07 rpmi: libgraphite2-1.3.14-alt2 sisyphus+250009.100.1.1 1586943065 installed <13>Dec 4 18:56:07 rpmi: libharfbuzz-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>Dec 4 18:56:07 rpmi: libfreetype-2.10.4-alt2 sisyphus+260293.100.2.1 1604479496 installed <13>Dec 4 18:56:07 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890149 installed <13>Dec 4 18:56:07 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Dec 4 18:56:07 rpmi: libwebp7-1.1.0-alt1 sisyphus+243895.100.1.1 1578410873 installed <13>Dec 4 18:56:07 rpmi: libjbig-2.1-alt1 1401380926 installed <13>Dec 4 18:56:07 rpmi: libtiff5-4.1.0-alt1 sisyphus+240802.100.1.1 1573743635 installed <13>Dec 4 18:56:07 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Dec 4 18:56:07 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333068 installed <13>Dec 4 18:56:07 rpmi: liblz4-1:1.9.3-alt1 sisyphus+262305.100.1.1 1606099167 installed <13>Dec 4 18:56:07 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Dec 4 18:56:07 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Dec 4 18:56:07 rpmi: libsystemd-1:247-alt1 sisyphus+262610.100.3.1 1606868459 installed <13>Dec 4 18:56:07 rpmi: libdbus-1.12.18-alt1 sisyphus+252758.100.1.1 1591203693 installed <13>Dec 4 18:56:07 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Dec 4 18:56:07 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Dec 4 18:56:07 rpmi: libX11-locales-3:1.6.12-alt1 sisyphus+256796.100.1.1 1598422159 installed <13>Dec 4 18:56:07 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Dec 4 18:56:07 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Dec 4 18:56:07 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Dec 4 18:56:08 rpmi: libX11-3:1.6.12-alt1 sisyphus+256796.100.1.1 1598422166 installed <13>Dec 4 18:56:08 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Dec 4 18:56:08 rpmi: libpulseaudio-14.0-alt1 sisyphus+262419.100.1.1 1606232676 installed <13>Dec 4 18:56:08 rpmi: libmikmod-3.3.11.1-alt2 1502706814 installed <13>Dec 4 18:56:08 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Dec 4 18:56:08 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Dec 4 18:56:08 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Dec 4 18:56:08 rpmi: libXrender-0.9.10-alt1 sisyphus+261890.100.1.1 1605595177 installed <13>Dec 4 18:56:08 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Dec 4 18:56:09 rpmi: libxcb-devel-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Dec 4 18:56:09 rpmi: libX11-devel-3:1.6.12-alt1 sisyphus+256796.100.1.1 1598422166 installed <13>Dec 4 18:56:09 rpmi: libwayland-client-1.18.0-alt1 sisyphus+255795.100.1.1 1596475648 installed <13>Dec 4 18:56:09 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438291 installed <13>Dec 4 18:56:09 rpmi: libdrm-1:2.4.103-alt1 sisyphus+261080.100.1.1 1604598368 installed <13>Dec 4 18:56:09 rpmi: libGLX-mesa-4:20.2.3-alt1 sisyphus+262368.100.1.1 1606200337 installed <13>Dec 4 18:56:09 rpmi: libGLX-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 18:56:09 rpmi: libGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 18:56:09 rpmi: libGLU-4:9.0.1-alt1 sisyphus+248864.100.1.1 1585556461 installed <13>Dec 4 18:56:09 rpmi: libgbm-4:20.2.3-alt1 sisyphus+262368.100.1.1 1606200337 installed <13>Dec 4 18:56:09 rpmi: libEGL-mesa-4:20.2.3-alt1 sisyphus+262368.100.1.1 1606200337 installed <13>Dec 4 18:56:09 rpmi: libEGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 18:56:09 rpmi: libglvnd-devel-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 18:56:09 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+248864.100.1.1 1585556461 installed <13>Dec 4 18:56:09 rpmi: alsa-ucm-conf-1.2.4-alt1 sisyphus+260180.200.1.1 1603282405 installed <13>Dec 4 18:56:09 rpmi: alsa-topology-conf-1.2.4-alt1 sisyphus+260180.100.1.1 1603282384 installed <13>Dec 4 18:56:09 rpmi: libalsa-1:1.2.4-alt1 sisyphus+260180.300.1.1 1603282509 installed <13>Dec 4 18:56:09 rpmi: libSDL-1.2.14-alt9 sisyphus+261262.100.1.1 1604829363 installed <13>Dec 4 18:56:09 rpmi: libSDL-devel-1.2.14-alt9 sisyphus+261262.100.1.1 1604829363 installed <13>Dec 4 18:56:09 rpmi: libSDL_image-1.2.12-alt2 sisyphus+223384.100.1.1 1551514520 installed <13>Dec 4 18:56:09 rpmi: libSDL_mixer-1.2.12-alt1 1421435874 installed <13>Dec 4 18:56:09 rpmi: libSDL_ttf-2.0.10-alt2 1314052177 installed <13>Dec 4 18:56:09 rpmi: libSDL_ttf-devel-2.0.10-alt2 1314052177 installed <13>Dec 4 18:56:09 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435874 installed <13>Dec 4 18:56:09 rpmi: libSDL_image-devel-1.2.12-alt2 sisyphus+223384.100.1.1 1551514520 installed <13>Dec 4 18:56:09 rpmi: libncurses-devel-6.2.20201107-alt1 sisyphus+261749.100.1.1 1605292929 installed <13>Dec 4 18:56:09 rpmi: libpng-devel-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Dec 4 18:56:09 rpmi: desktop-file-utils-0.23-alt2 sisyphus+226879.100.1.1 1554744356 installed <13>Dec 4 18:56:09 rpmi: hardlink-2.35.2-alt2 sisyphus+253892.100.2.1 1592922983 installed <13>Dec 4 18:56:09 rpmi: flex-2.6.4.0.88.9801-alt1 sisyphus+221902.2300.4.1 1550596430 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/nethack-vultures-2.1.2-alt3.nosrc.rpm Installing nethack-vultures-2.1.2-alt3.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.98454 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf vultures-2.1.2 + echo 'Source #0 (vultures-2.1.2-full.tar.bz2):' Source #0 (vultures-2.1.2-full.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/vultures-2.1.2-full.tar.bz2 + /bin/tar -xf - + cd vultures-2.1.2 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (nethack-vultures-1.11.0-optflags.patch):' Patch #0 (nethack-vultures-1.11.0-optflags.patch): + /usr/bin/patch -p1 patching file nethack/sys/unix/Makefile.src patching file nethack/sys/unix/Makefile.utl patching file slashem/sys/unix/Makefile.src patching file slashem/sys/unix/Makefile.utl + echo 'Patch #1 (nethack-vultures-2.1.2-config.patch):' Patch #1 (nethack-vultures-2.1.2-config.patch): + /usr/bin/patch -p1 patching file nethack/include/config.h patching file nethack/include/unixconf.h patching file slashem/include/config.h patching file slashem/include/unixconf.h + echo 'Patch #2 (nethack-vultures-1.10.1-clawguide.patch):' Patch #2 (nethack-vultures-1.10.1-clawguide.patch): + /usr/bin/patch -p0 patching file slashem/sys/unix/Makefile.doc + echo 'Patch #3 (nethack-vultures-2.1.2-tabfullscreen.patch):' Patch #3 (nethack-vultures-2.1.2-tabfullscreen.patch): + /usr/bin/patch -p1 patching file vultures/vultures_sdl.c + echo 'Patch #4 (nethack-vultures-2.1.2-fixbuild.patch):' Patch #4 (nethack-vultures-2.1.2-fixbuild.patch): + /usr/bin/patch -p1 patching file nethack/sys/unix/Makefile.src patching file slashem/sys/unix/Makefile.src + echo 'Patch #5 (nethack-vultures-desktop.patch):' Patch #5 (nethack-vultures-desktop.patch): + /usr/bin/patch -p0 patching file dist/unix/desktop/vulturesclaw.desktop patching file dist/unix/desktop/vultureseye.desktop + echo 'Patch #6 (format-fix.patch):' Patch #6 (format-fix.patch): + /usr/bin/patch -p0 patching file nethack/util/makedefs.c patching file slashem/util/makedefs.c patching file nethack/src/apply.c patching file nethack/src/artifact.c patching file nethack/src/botl.c patching file nethack/src/cmd.c patching file nethack/src/detect.c patching file nethack/src/dig.c patching file nethack/src/do.c patching file nethack/src/dothrow.c patching file nethack/src/dungeon.c patching file nethack/src/eat.c patching file nethack/src/engrave.c patching file nethack/src/hack.c patching file nethack/src/invent.c patching file nethack/src/lock.c patching file nethack/src/mail.c patching file nethack/src/makemon.c patching file nethack/src/mcastu.c patching file nethack/src/mhitu.c patching file nethack/src/mon.c patching file nethack/src/mthrowu.c patching file nethack/src/muse.c patching file nethack/src/polyself.c patching file nethack/src/potion.c patching file nethack/src/pray.c patching file nethack/src/priest.c patching file nethack/src/questpgr.c patching file nethack/src/read.c patching file nethack/src/region.c patching file nethack/src/restore.c patching file nethack/src/shk.c patching file nethack/src/sounds.c patching file nethack/src/spell.c patching file nethack/src/steed.c patching file nethack/src/teleport.c patching file nethack/src/timeout.c patching file nethack/src/trap.c patching file nethack/src/zap.c patching file slashem/src/apply.c patching file slashem/src/artifact.c patching file slashem/src/botl.c patching file slashem/src/cmd.c patching file slashem/src/detect.c patching file slashem/src/dig.c patching file slashem/src/do.c patching file slashem/src/dothrow.c patching file slashem/src/dungeon.c patching file slashem/src/eat.c patching file slashem/src/engrave.c patching file slashem/src/hack.c patching file slashem/src/invent.c patching file slashem/src/lock.c patching file slashem/src/mail.c patching file slashem/src/makemon.c patching file slashem/src/mcastu.c patching file slashem/src/mhitu.c patching file slashem/src/mon.c patching file slashem/src/mthrowu.c patching file slashem/src/muse.c patching file slashem/src/polyself.c patching file slashem/src/potion.c patching file slashem/src/pray.c patching file slashem/src/priest.c patching file slashem/src/questpgr.c patching file slashem/src/read.c patching file slashem/src/region.c patching file slashem/src/restore.c patching file slashem/src/shk.c patching file slashem/src/sounds.c patching file slashem/src/spell.c patching file slashem/src/steed.c patching file slashem/src/teleport.c patching file slashem/src/timeout.c patching file slashem/src/trap.c patching file slashem/src/zap.c patching file slashem/src/tech.c + echo 'Patch #7 (parser-fix.patch):' Patch #7 (parser-fix.patch): + /usr/bin/patch -p0 patching file vultures/vultures_tileconfig.parser.y + echo 'Patch #8 (vultures-2.1.2-alt-libpng15.patch):' Patch #8 (vultures-2.1.2-alt-libpng15.patch): + /usr/bin/patch -p2 patching file vultures/vultures_gfl.c + sed -i -e 's|/usr/games/lib/nethackdir|/usr/share/vultureseye|g' nethack/doc/nethack.6 nethack/doc/recover.6 nethack/include/config.h + sed -i -e 's|/var/lib/games/nethack|/var/games/vultureseye|g' nethack/include/unixconf.h + sed -i -e 's|/usr/games/lib/nethackdir|/usr/share/vulturesclaw|g' slashem/doc/nethack.6 slashem/doc/recover.6 slashem/include/config.h + sed -i -e 's|/var/lib/games/nethack|/var/games/vulturesclaw|' slashem/include/unixconf.h + for N in dist/unix/desktop/*.desktop + sed -i -e '/Categories=/s/=.*/=Game;RolePlaying;/' dist/unix/desktop/vulturesclaw.desktop + for N in dist/unix/desktop/*.desktop + sed -i -e '/Categories=/s/=.*/=Game;RolePlaying;/' dist/unix/desktop/vultureseye.desktop + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.11287 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd vultures-2.1.2 + for i in nethack slashem + make nethack/Makefile make: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2' make: git-rev-list: No such file or directory make: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2' make: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2' Setup NetHack build environment ... make: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2' + make -C nethack make: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack' ( cd src ; make ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/src' touch ../src/config.h-t cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c monst.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c objects.c make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESEYE -c -o makedefs.o makedefs.c makedefs.c:52:19: warning: 'SCCS_Id' defined but not used [-Wunused-const-variable=] 52 | static const char SCCS_Id[] = "@(#)makedefs.c\t3.4\t2002/02/03"; | ^~~~~~~ In file included from /usr/include/string.h:508, from ../include/system.h:297, from ../include/unixconf.h:275, from ../include/global.h:150, from ../include/config.h:370, from makedefs.c:10: In function 'strncpy', inlined from 'new_id' at makedefs.c:1471:2, inlined from 'do_qt_control.constprop' at makedefs.c:1528:21: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 3 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o makedefs makedefs.o ../src/monst.o ../src/objects.o make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' ./makedefs -p make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' ./makedefs -o make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' touch ../src/hack.h-t cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o allmain.o allmain.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o alloc.o alloc.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o apply.o apply.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o artifact.o artifact.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o attrib.o attrib.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ball.o ball.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o bones.o bones.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o botl.o botl.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o cmd.o cmd.c cmd.c: In function 'dump_enlightenment': cmd.c:1137:14: warning: unused variable 'enc_stat' [-Wunused-variable] 1137 | const char *enc_stat[] = { /* copied from botl.c */ | ^~~~~~~~ cmd.c: In function 'enlightenment': cmd.c:788:20: warning: '%s' directive writing up to 255 bytes into a region of size between 238 and 239 [-Wformat-overflow=] 788 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 275 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:788:20: warning: '%s' directive writing up to 255 bytes into a region of size between 247 and 248 [-Wformat-overflow=] 788 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:788:20: warning: '%s' directive writing up to 255 bytes into a region of size between 247 and 248 [-Wformat-overflow=] 788 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c: In function 'show_conduct': cmd.c:788:20: warning: '%s' directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 788 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:788:20: warning: '%s' directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 788 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:788:20: warning: '%s' directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 788 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:788:20: warning: '%s' directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 788 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:788:20: warning: '%s' directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 788 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:788:20: warning: '%s' directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] 788 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:788:20: warning: '%s' directive writing up to 255 bytes into a region of size 252 [-Wformat-overflow=] 788 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 261 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dbridge.o dbridge.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o decl.o decl.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o detect.o detect.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dig.o dig.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o display.o display.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dlb.o dlb.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o do.o do.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o do_name.o do_name.c do_name.c: In function 'do_mname': do_name.c:283:42: warning: '%s' directive writing up to 255 bytes into a region of size 103 [-Wformat-overflow=] 283 | Sprintf(qbuf, "What do you want to call %s?", buf); | ^~ ~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from do_name.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 27 and 282 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o do_wear.o do_wear.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dog.o dog.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dogmove.o dogmove.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dokick.o dokick.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dothrow.o dothrow.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o drawing.o drawing.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dungeon.o dungeon.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o eat.o eat.c eat.c: In function 'doeat': eat.c:2052:59: warning: '?:' using integer constants in boolean context, the expression will always evaluate to 'true' [-Wint-in-bool-context] 2052 | (((monstermoves - otmp->age) > (int) otmp->blessed ? 50:30) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o end.o end.c end.c:1190:1: warning: 'list_vanquished' defined but not used [-Wunused-function] 1190 | list_vanquished(defquery, ask) | ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, from ../include/system.h:297, from ../include/unixconf.h:275, from ../include/global.h:150, from ../include/config.h:370, from ../include/hack.h:9, from end.c:7: In function 'strncpy', inlined from 'dump_init.part.0' at end.c:112:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ end.c: In function 'dump_init.part.0': end.c:112:26: note: length computed here 112 | strncpy(q, plname, strlen(plname) + 1); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, from ../include/system.h:297, from ../include/unixconf.h:275, from ../include/global.h:150, from ../include/config.h:370, from ../include/hack.h:9, from end.c:7: In function 'strncpy', inlined from 'dump_init.part.0' at end.c:117:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ end.c: In function 'dump_init.part.0': end.c:117:7: note: length computed here 117 | strncpy(q, p, strlen(p)); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/hack.h:121, from end.c:7: end.c: In function 'do_vanquished': ../include/winprocs.h:89:17: warning: 'klwin' may be used uninitialized in this function [-Wmaybe-uninitialized] 89 | #define putstr (*windowprocs.win_putstr) | ^ end.c:1209:11: note: 'klwin' was declared here 1209 | winid klwin; | ^~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o engrave.o engrave.c engrave.c: In function 'doengrave': engrave.c:727:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 727 | if (flags.verbose) | ^~ engrave.c:729:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 729 | doknown = TRUE; | ^~~~~~~ In file included from /usr/include/string.h:508, from ../include/system.h:297, from ../include/unixconf.h:275, from ../include/global.h:150, from ../include/config.h:370, from ../include/hack.h:9, from engrave.c:5: In function 'strncat', inlined from 'doengrave' at engrave.c:1099:9: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o exper.o exper.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o explode.o explode.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o extralev.o extralev.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o files.o files.c files.c: In function 'save_savefile_name': files.c:831:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 831 | (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ files.c: In function 'docompress_file': files.c:1156:10: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 1156 | (void) setgid(getgid()); | ^~~~~~~~~~~~~~~~ files.c:1157:10: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1157 | (void) setuid(getuid()); | ^~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o fountain.o fountain.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o hack.o hack.c hack.c: In function 'moverock': hack.c:262:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 262 | else | ^~~~ hack.c:265:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 265 | if (Blind) feel_location(sx, sy); | ^~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o hacklib.o hacklib.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o invent.o invent.c invent.c: In function 'display_pickinv': invent.c:1871:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] 1871 | return ret; | ^~~ In file included from ../include/hack.h:121, from invent.c:5: ../include/winprocs.h:94:22: warning: 'win' may be used uninitialized in this function [-Wmaybe-uninitialized] 94 | #define select_menu (*windowprocs.win_select_menu) | ^ invent.c:1721:8: note: 'win' was declared here 1721 | winid win; /* windows being used */ | ^~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o light.o light.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o lock.o lock.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mail.o mail.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o makemon.o makemon.c In file included from makemon.c:6: makemon.c: In function 'clone_mon': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) makemon.c:756:5: note: in expansion of macro 'EPRI' 756 | *(EPRI(m3)) = *(EPRI(mon)); | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) makemon.c:756:19: note: in expansion of macro 'EPRI' 756 | *(EPRI(m3)) = *(EPRI(mon)); | ^~~~ makemon.c: In function 'mongets': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:25:7: note: in expansion of macro 'EPRI' 25 | EPRI(mon)->shralign > 0)) | ^~~~ makemon.c:1498:16: note: in expansion of macro 'is_lminion' 1498 | } else if(is_lminion(mtmp)) { | ^~~~~~~~~~ makemon.c: In function 'set_malign': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemon.c:1616:10: note: in expansion of macro 'EPRI' 1616 | mal = EPRI(mtmp)->shralign; | ^~~~ In file included from makemon.c:7: ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemon.c:1618:10: note: in expansion of macro 'EMIN' 1618 | mal = EMIN(mtmp)->min_align; | ^~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mapglyph.o mapglyph.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mcastu.o mcastu.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mhitm.o mhitm.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mhitu.o mhitu.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o minion.o minion.c In file included from minion.c:7: minion.c: In function 'msummon': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minion.c:23:10: note: in expansion of macro 'EPRI' 23 | atyp = EPRI(mon)->shralign; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:25:7: note: in expansion of macro 'EPRI' 25 | EPRI(mon)->shralign > 0)) | ^~~~ minion.c:41:13: note: in expansion of macro 'is_lminion' 41 | } else if (is_lminion(mon)) { | ^~~~~~~~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minion.c:80:3: note: in expansion of macro 'EPRI' 80 | EPRI(mtmp)->shralign = atyp; | ^~~~ In file included from minion.c:6: minion.c: In function 'summon_minion': ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minion.c:117:6: note: in expansion of macro 'EMIN' 117 | EMIN(mon)->min_align = alignment; | ^~~~ In file included from minion.c:7: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minion.c:123:6: note: in expansion of macro 'EPRI' 123 | EPRI(mon)->shralign = alignment; /* always A_LAWFUL here */ | ^~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mklev.o mklev.c mklev.c: In function 'mktrap': mklev.c:1220:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1220 | if (lvl < 2) kind = NO_TRAP; break; | ^~ mklev.c:1220:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1220 | if (lvl < 2) kind = NO_TRAP; break; | ^~~~~ mklev.c:1222:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1222 | if (lvl < 5 || level.flags.noteleport) | ^~ mklev.c:1223:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1223 | kind = NO_TRAP; break; | ^~~~~ mklev.c:1225:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1225 | if (lvl < 5) kind = NO_TRAP; break; | ^~ mklev.c:1225:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1225 | if (lvl < 5) kind = NO_TRAP; break; | ^~~~~ mklev.c:1227:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1227 | if (lvl < 6) kind = NO_TRAP; break; | ^~ mklev.c:1227:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1227 | if (lvl < 6) kind = NO_TRAP; break; | ^~~~~ mklev.c:1229:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1229 | if (lvl < 7) kind = NO_TRAP; break; | ^~ mklev.c:1229:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1229 | if (lvl < 7) kind = NO_TRAP; break; | ^~~~~ mklev.c:1232:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1232 | if (lvl < 8) kind = NO_TRAP; break; | ^~ mklev.c:1232:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1232 | if (lvl < 8) kind = NO_TRAP; break; | ^~~~~ mklev.c:1234:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1234 | if (!Inhell) kind = NO_TRAP; break; | ^~ mklev.c:1234:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1234 | if (!Inhell) kind = NO_TRAP; break; | ^~~~~ mklev.c:1236:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1236 | if (level.flags.noteleport) kind = NO_TRAP; break; | ^~ mklev.c:1236:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1236 | if (level.flags.noteleport) kind = NO_TRAP; break; | ^~~~~ mklev.c:1239:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1239 | if (rn2(7)) kind = NO_TRAP; break; | ^~ mklev.c:1239:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1239 | if (rn2(7)) kind = NO_TRAP; break; | ^~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkmap.o mkmap.c mkmap.c: In function 'pass_two': mkmap.c:115:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 115 | 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' 119 | if (count == 5) | ^~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkmaze.o mkmaze.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkobj.o mkobj.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkroom.o mkroom.c mkroom.c: In function 'fill_zoo': mkroom.c:366:22: warning: 'ty' may be used uninitialized in this function [-Wmaybe-uninitialized] 366 | levl[tx][ty].typ = THRONE; mkroom.c:366:22: warning: 'tx' may be used uninitialized in this function [-Wmaybe-uninitialized] mkroom.c:321:6: warning: 'goldlim' may be used uninitialized in this function [-Wmaybe-uninitialized] 321 | if(i >= goldlim) i = 5*level_difficulty(); | ^ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mon.o mon.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mondata.o mondata.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o monmove.o monmove.c In file included from monmove.c:8: monmove.c: In function 'onscary': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:25:7: note: in expansion of macro 'EPRI' 25 | EPRI(mon)->shralign > 0)) | ^~~~ monmove.c:136:6: note: in expansion of macro 'is_lminion' 136 | is_lminion(mtmp) || mtmp->data == &mons[PM_ANGEL] || | ^~~~~~~~~~ make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' ./makedefs -m make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o monstr.o monstr.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mplayer.o mplayer.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mthrowu.o mthrowu.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o muse.o muse.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o music.o music.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o o_init.o o_init.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o objnam.o objnam.c In file included from /usr/include/string.h:508, from ../include/system.h:297, from ../include/unixconf.h:275, from ../include/global.h:150, from ../include/config.h:370, from ../include/hack.h:9, from objnam.c:5: In function 'strncpy', inlined from 'strprepend' at objnam.c:72:9, inlined from 'doname' at objnam.c:788:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ objnam.c: In function 'doname': objnam.c:65:24: note: length computed here 65 | register int i = (int)strlen(pref); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:508, from ../include/system.h:297, from ../include/unixconf.h:275, from ../include/global.h:150, from ../include/config.h:370, from ../include/hack.h:9, from objnam.c:5: In function 'strncpy', inlined from 'strprepend' at objnam.c:72:9, inlined from 'aobjnam' at objnam.c:1027:8: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ objnam.c: In function 'aobjnam': objnam.c:65:24: note: length computed here 65 | register int i = (int)strlen(pref); | ^~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o options.o options.c options.c: In function 'option_help': options.c:3346:21: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] 3346 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, | ^~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from options.c:13: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ options.c: In function 'doset': options.c:2533:23: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 2533 | Sprintf(buf, "%s:%s", compopt[opt_indx].name, buf2); | ^ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from options.c:13: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pager.o pager.c In file included from /usr/include/string.h:508, from ../include/system.h:297, from ../include/unixconf.h:275, from ../include/global.h:150, from ../include/config.h:370, from ../include/hack.h:9, from pager.c:8: In function 'strncpy', inlined from 'dowhatdoes_core' at pager.c:827:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'dowhatdoes_core' at pager.c:831:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'dowhatdoes_core' at pager.c:836:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pager.c: In function 'do_look': pager.c:726:28: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] 724 | firstmatch = look_buf; | ~~~~~~~~ 725 | if (*firstmatch) { 726 | Sprintf(temp_buf, " (%s)", firstmatch); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from pager.c:8: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 259 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, from ../include/system.h:297, from ../include/unixconf.h:275, from ../include/global.h:150, from ../include/config.h:370, from ../include/hack.h:9, from pager.c:8: In function 'strncat', inlined from 'do_look' at pager.c:727:13: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pager.c: In function 'do_look': pager.c:731:34: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 731 | Sprintf(temp_buf, " [seen: %s]", monbuf); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from pager.c:8: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, from ../include/system.h:297, from ../include/unixconf.h:275, from ../include/global.h:150, from ../include/config.h:370, from ../include/hack.h:9, from pager.c:8: In function 'strncat', inlined from 'do_look' at pager.c:732:13: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pickup.o pickup.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pline.o pline.c In file included from pline.c:7: pline.c: In function 'mstatusline': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pline.c:298:15: note: in expansion of macro 'EPRI' 298 | alignment = EPRI(mtmp)->shralign; | ^~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o polyself.o polyself.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o potion.o potion.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pray.o pray.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o priest.o priest.c In file included from priest.c:8: priest.c: In function 'histemple_at': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:136:20: note: in expansion of macro 'EPRI' 136 | return((boolean)((EPRI(priest)->shroom == *in_rooms(x, y, TEMPLE)) && | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:137:20: note: in expansion of macro 'EPRI' 137 | on_level(&(EPRI(priest)->shrlevel), &u.uz))); | ^~~~ priest.c: In function 'pri_move': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:156:11: note: in expansion of macro 'EPRI' 156 | temple = EPRI(priest)->shroom; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:158:7: note: in expansion of macro 'EPRI' 158 | gx = EPRI(priest)->shrpos.x; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:159:7: note: in expansion of macro 'EPRI' 159 | gy = EPRI(priest)->shrpos.y; | ^~~~ priest.c: In function 'priestini': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:203:3: note: in expansion of macro 'EPRI' 203 | EPRI(priest)->shroom = (sroom - rooms) + ROOMOFFSET; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:204:3: note: in expansion of macro 'EPRI' 204 | EPRI(priest)->shralign = Amask2align(levl[sx][sy].altarmask); | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:205:3: note: in expansion of macro 'EPRI' 205 | EPRI(priest)->shrpos.x = sx; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:206:3: note: in expansion of macro 'EPRI' 206 | EPRI(priest)->shrpos.y = sy; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:207:18: note: in expansion of macro 'EPRI' 207 | assign_level(&(EPRI(priest)->shrlevel), lvl); | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:215:17: note: in expansion of macro 'EPRI' 215 | if(sanctum && EPRI(priest)->shralign == A_NONE && | ^~~~ priest.c: In function 'priestname': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:265:26: note: in expansion of macro 'EPRI' 265 | if (!mon->ispriest && EPRI(mon)->renegade) | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:277:33: note: in expansion of macro 'EPRI' 277 | Strcat(pname, halu_gname((int)EPRI(mon)->shralign)); | ^~~~ In file included from priest.c:9: ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:283:27: note: in expansion of macro 'EMIN' 283 | Strcat(pname, halu_gname(EMIN(mon)->min_align)); | ^~~~ In file included from priest.c:8: priest.c: In function 'p_coaligned': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:291:42: note: in expansion of macro 'EPRI' 291 | return((boolean)(u.ualign.type == ((int)EPRI(priest)->shralign))); | ^~~~ priest.c: In function 'has_shrine': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:302:14: note: in expansion of macro 'EPRI' 302 | lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y]; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:302:35: note: in expansion of macro 'EPRI' 302 | lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y]; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:305:19: note: in expansion of macro 'EPRI' 305 | return((boolean)(EPRI(pri)->shralign == Amask2align(lev->altarmask & ~AM_SHRINE))); | ^~~~ priest.c: In function 'findpriest': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:316:28: note: in expansion of macro 'EPRI' 316 | if(mtmp->ispriest && (EPRI(mtmp)->shroom == roomno) && | ^~~~ priest.c: In function 'mk_roamer': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:551:2: note: in expansion of macro 'EPRI' 551 | EPRI(roamer)->shralign = alignment; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:553:3: note: in expansion of macro 'EPRI' 553 | EPRI(roamer)->renegade = TRUE; | ^~~~ priest.c: In function 'reset_hostility': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:573:5: note: in expansion of macro 'EPRI' 573 | if(EPRI(roamer)->shralign != u.ualign.type) { | ^~~~ priest.c: In function 'ghod_hitsu': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:614:11: note: in expansion of macro 'EPRI' 614 | ax = x = EPRI(priest)->shrpos.x; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:615:11: note: in expansion of macro 'EPRI' 615 | ay = y = EPRI(priest)->shrpos.y; | ^~~~ priest.c: In function 'angry_priest': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:679:18: note: in expansion of macro 'EPRI' 679 | lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y]; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:679:42: note: in expansion of macro 'EPRI' 679 | lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y]; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:682:4: note: in expansion of macro 'EPRI' 682 | EPRI(priest)->shralign)) { | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:686:3: note: in expansion of macro 'EPRI' 686 | EPRI(priest)->renegade = 0; | ^~~~ priest.c: In function 'clearpriests': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:702:58: note: in expansion of macro 'EPRI' 702 | if (!DEADMONSTER(mtmp) && mtmp->ispriest && !on_level(&(EPRI(mtmp)->shrlevel), &u.uz)) | ^~~~ priest.c: In function 'restpriest': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:715:21: note: in expansion of macro 'EPRI' 715 | assign_level(&(EPRI(mtmp)->shrlevel), &u.uz); | ^~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o quest.o quest.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o questpgr.o questpgr.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o read.o read.c read.c: In function 'seffects': read.c:1006:20: warning: suggest parentheses around operand of '!' or change '|' to '||' or '!' to '~' [-Wparentheses] 1006 | else do_genocide(!sobj->cursed | (2 * !!Confusion)); | ^~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rect.o rect.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o region.o region.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o restore.o restore.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rip.o rip.c In file included from ../include/config.h:258, from ../include/hack.h:9, from rip.c:5: rip.c:7:23: warning: 'center' declared 'static' but never defined [-Wunused-function] 7 | STATIC_DCL void FDECL(center, (int, char *)); | ^~~~~~ ../include/tradstdc.h:124:21: note: in definition of macro 'FDECL' 124 | # define FDECL(f,p) f p | ^ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rnd.o rnd.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o role.o role.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rumors.o rumors.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o save.o save.c save.c: In function 'savestateinlock': save.c:360:10: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 360 | (void) read(fd, (genericptr_t) &hpid, sizeof(hpid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:378:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 378 | (void) write(fd, (genericptr_t) &hackpid, sizeof(hackpid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:382:14: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 382 | (void) write(fd, (genericptr_t) &currlev, sizeof(currlev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o shk.o shk.c shk.c: In function 'repair_damage': shk.c:3154:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 3154 | while (!(litter[i = rn2(9)] & INSHOP)); | ^~~~~ shk.c:3155:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 3155 | remove_object(otmp); | ^~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o shknam.o shknam.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sit.o sit.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sounds.o sounds.c sounds.c: In function 'domonnoise': sounds.c:531:28: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds] 531 | verbl_msg = vampmsg[vampindex]; | ~~~~~~~^~~~~~~~~~~ sounds.c:506:34: note: while referencing 'vampmsg' 506 | static const char * const vampmsg[] = { | ^~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sp_lev.o sp_lev.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o spell.o spell.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o steal.o steal.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o steed.o steed.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o teleport.o teleport.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o timeout.o timeout.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o topten.o topten.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o track.o track.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o trap.o trap.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o u_init.o u_init.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o uhitm.o uhitm.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o vault.o vault.c In file included from vault.c:6: vault.c: In function 'clear_fcorr': ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:29:18: note: in expansion of macro 'EGD' 29 | if (!on_level(&(EGD(grd)->gdlevel), &u.uz)) return TRUE; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:31:17: note: in expansion of macro 'EGD' 31 | while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) { | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:31:36: note: in expansion of macro 'EGD' 31 | while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) { | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:32:9: note: in expansion of macro 'EGD' 32 | fcx = EGD(grd)->fakecorr[fcbeg].fx; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:33:9: note: in expansion of macro 'EGD' 33 | fcy = EGD(grd)->fakecorr[fcbeg].fy; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:35:8: note: in expansion of macro 'EGD' 35 | EGD(grd)->gddone) | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:50:24: note: in expansion of macro 'EGD' 50 | levl[fcx][fcy].typ = EGD(grd)->fakecorr[fcbeg].ftyp; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:53:3: note: in expansion of macro 'EGD' 53 | EGD(grd)->fcbeg++; | ^~~ vault.c: In function 'grddead': ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:81:3: note: in expansion of macro 'EGD' 81 | EGD(grd)->ogx = grd->mx; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:82:3: note: in expansion of macro 'EGD' 82 | EGD(grd)->ogy = grd->my; | ^~~ vault.c: In function 'in_fcorridor': ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:95:12: note: in expansion of macro 'EGD' 95 | for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++) | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:95:35: note: in expansion of macro 'EGD' 95 | for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++) | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:96:11: note: in expansion of macro 'EGD' 96 | if(x == EGD(grd)->fakecorr[fci].fx && | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:97:10: note: in expansion of macro 'EGD' 97 | y == EGD(grd)->fakecorr[fci].fy) | ^~~ vault.c: In function 'findgd': ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:109:56: note: in expansion of macro 'EGD' 109 | if(mtmp->isgd && !DEADMONSTER(mtmp) && on_level(&(EGD(mtmp)->gdlevel), &u.uz)) | ^~~ vault.c: In function 'invault': ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:230:2: note: in expansion of macro 'EGD' 230 | EGD(guard)->gddone = 0; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:231:2: note: in expansion of macro 'EGD' 231 | EGD(guard)->ogx = x; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:232:2: note: in expansion of macro 'EGD' 232 | EGD(guard)->ogy = y; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:233:17: note: in expansion of macro 'EGD' 233 | assign_level(&(EGD(guard)->gdlevel), &u.uz); | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:234:2: note: in expansion of macro 'EGD' 234 | EGD(guard)->vroom = vaultroom; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:235:2: note: in expansion of macro 'EGD' 235 | EGD(guard)->warncnt = 0; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:316:2: note: in expansion of macro 'EGD' 316 | EGD(guard)->gdx = gx; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:317:2: note: in expansion of macro 'EGD' 317 | EGD(guard)->gdy = gy; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:318:2: note: in expansion of macro 'EGD' 318 | EGD(guard)->fcbeg = 0; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:319:2: note: in expansion of macro 'EGD' 319 | EGD(guard)->fakecorr[0].fx = x; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:320:2: note: in expansion of macro 'EGD' 320 | EGD(guard)->fakecorr[0].fy = y; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:322:6: note: in expansion of macro 'EGD' 322 | EGD(guard)->fakecorr[0].ftyp = levl[x][y].typ; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:324:16: note: in expansion of macro 'EGD' 324 | int vlt = EGD(guard)->vroom; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:329:3: note: in expansion of macro 'EGD' 329 | EGD(guard)->fakecorr[0].ftyp = TLCORNER; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:331:3: note: in expansion of macro 'EGD' 331 | EGD(guard)->fakecorr[0].ftyp = TRCORNER; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:333:3: note: in expansion of macro 'EGD' 333 | EGD(guard)->fakecorr[0].ftyp = BLCORNER; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:335:3: note: in expansion of macro 'EGD' 335 | EGD(guard)->fakecorr[0].ftyp = BRCORNER; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:337:3: note: in expansion of macro 'EGD' 337 | EGD(guard)->fakecorr[0].ftyp = HWALL; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:339:3: note: in expansion of macro 'EGD' 339 | EGD(guard)->fakecorr[0].ftyp = VWALL; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:344:2: note: in expansion of macro 'EGD' 344 | EGD(guard)->fcend = 1; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:345:2: note: in expansion of macro 'EGD' 345 | EGD(guard)->warncnt = 1; | ^~~ vault.c: In function 'wallify_vault': ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:373:12: note: in expansion of macro 'EGD' 373 | int vlt = EGD(grd)->vroom; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:394:20: note: in expansion of macro 'EGD' 394 | move_gold(gold, EGD(grd)->vroom); | ^~~ vault.c: In function 'paygd': ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:778:17: note: in expansion of macro 'EGD' 778 | gx = rooms[EGD(grd)->vroom].lx + rn2(2); | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:779:17: note: in expansion of macro 'EGD' 779 | gy = rooms[EGD(grd)->vroom].ly + rn2(2); | ^~~ make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' ./makedefs -z close: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 _far_: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o vision.o vision.c vision.c: In function 'vision_recalc': vision.c:597:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 597 | if (row < 0) continue; if (row >= ROWNO) break; | ^~ vision.c:597:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 597 | if (row < 0) continue; if (row >= ROWNO) break; | ^~ vision.c:618:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 618 | if (row < 0) continue; if (row >= ROWNO) break; | ^~ vision.c:618:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 618 | if (row < 0) continue; if (row >= ROWNO) break; | ^~ vision.c:656:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 656 | if (row < 0) continue; if (row >= ROWNO) break; | ^~ vision.c:656:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 656 | if (row < 0) continue; if (row >= ROWNO) break; | ^~ vision.c: In function 'close_shadow': vision.c:1593:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1593 | if ((sdy = (start_row-block_row)) < 0) sdy = -sdy; --sdy; /* src dy */ | ^~ vision.c:1593:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1593 | if ((sdy = (start_row-block_row)) < 0) sdy = -sdy; --sdy; /* src dy */ | ^~ vision.c: In function 'far_shadow': vision.c:1629:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1629 | if ((sdx = (start_col-block_col)) < 0) sdx = -sdx; --sdx; /* src dx */ | ^~ vision.c:1629:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1629 | if ((sdx = (start_col-block_col)) < 0) sdx = -sdx; --sdx; /* src dx */ | ^~ vision.c:1630:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1630 | if ((pdy = (block_row-this_row)) < 0) pdy = -pdy; --pdy; /* point dy */ | ^~ vision.c:1630:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1630 | if ((pdy = (block_row-this_row)) < 0) pdy = -pdy; --pdy; /* point dy */ | ^~ vision.c: In function 'right_side': vision.c:1096:49: warning: 'row_max' may be used uninitialized in this function [-Wmaybe-uninitialized] 1096 | #define set_max(z) if (*row_max < (z)) *row_max = (z) | ^ vision.c:1666:11: note: 'row_max' was declared here 1666 | char *row_max; /* right most */ | ^~~~~~~ vision.c:1095:49: warning: 'row_min' may be used uninitialized in this function [-Wmaybe-uninitialized] 1095 | #define set_min(z) if (*row_min > (z)) *row_min = (z) | ^ vision.c:1665:11: note: 'row_min' was declared here 1665 | char *row_min; /* left most */ | ^~~~~~~ vision.c:1093:31: warning: 'rowp' may be used uninitialized in this function [-Wmaybe-uninitialized] 1093 | #define set_cs(rowp,col) (rowp[col] = COULD_SEE) | ^ vision.c:1660:20: note: 'rowp' was declared here 1660 | register char *rowp; | ^~~~ vision.c: In function 'left_side': vision.c:1096:49: warning: 'row_max' may be used uninitialized in this function [-Wmaybe-uninitialized] 1096 | #define set_max(z) if (*row_max < (z)) *row_max = (z) | ^ vision.c:1921:11: note: 'row_max' was declared here 1921 | char *row_max; /* right most */ | ^~~~~~~ vision.c:1095:49: warning: 'row_min' may be used uninitialized in this function [-Wmaybe-uninitialized] 1095 | #define set_min(z) if (*row_min > (z)) *row_min = (z) | ^ vision.c:1920:11: note: 'row_min' was declared here 1920 | char *row_min; /* left most */ | ^~~~~~~ vision.c:1093:31: warning: 'rowp' may be used uninitialized in this function [-Wmaybe-uninitialized] 1093 | #define set_cs(rowp,col) (rowp[col] = COULD_SEE) | ^ vision.c:1915:20: note: 'rowp' was declared here 1915 | register char *rowp; | ^~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o vis_tab.o vis_tab.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o weapon.o weapon.c weapon.c: In function 'enhance_skill': weapon.c:962:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 962 | if (i == skill_ranges[pass].first) | ^ weapon.c:1021:26: warning: '%s' directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=] 1021 | Sprintf(buf, " %s%s\t[%s]", | ^~ 1022 | prefix, P_NAME(i), sklnambuf); | ~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from weapon.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 264) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1018:28: warning: '%s' directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=] 1018 | Sprintf(buf, " %s %-*s [%s]", | ^~ 1019 | prefix, longest, P_NAME(i), sklnambuf); | ~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from weapon.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 265) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1010:25: warning: '%s' directive writing up to 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] 1010 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", | ^~ 1011 | prefix, P_NAME(i), sklnambuf, | ~~~~~~~~~ weapon.c:1010:17: note: directive argument in the range [0, 65535] 1010 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", | ^~~~~~~~~~~~~~~~~~~~~ weapon.c:1010:17: note: directive argument in the range [-325120, 327680] In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from weapon.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 277) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1005:26: warning: '%-12s' directive writing between 12 and 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] 1005 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", | ^~~~~ 1006 | prefix, longest, P_NAME(i), sklnambuf, | ~~~~~~~~~ weapon.c:1005:17: note: directive argument in the range [0, 65535] 1005 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", | ^~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1005:17: note: directive argument in the range [-325120, 327680] In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:370, from ../include/hack.h:9, from weapon.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 27 or more bytes (assuming 277) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:978:47: warning: 'logged' may be used uninitialized in this function [-Wmaybe-uninitialized] 978 | } else if (i == skill_ranges[pass].last && !logged) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from ../include/hack.h:121, from weapon.c:10: ../include/winprocs.h:94:22: warning: 'win' may be used uninitialized in this function [-Wmaybe-uninitialized] 94 | #define select_menu (*windowprocs.win_select_menu) | ^ weapon.c:890:11: note: 'win' was declared here 890 | winid win; | ^~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o were.o were.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o wield.o wield.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o windows.o windows.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o wizard.o wizard.c In file included from wizard.c:12: wizard.c: In function 'cuss': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:25:7: note: in expansion of macro 'EPRI' 25 | EPRI(mon)->shralign > 0)) | ^~~~ wizard.c:625:12: note: in expansion of macro 'is_lminion' 625 | } else if(is_lminion(mtmp)) { | ^~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o worm.o worm.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o worn.o worn.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o write.o write.c In file included from /usr/include/string.h:508, from ../include/system.h:297, from ../include/unixconf.h:275, from ../include/global.h:150, from ../include/config.h:370, from ../include/hack.h:9, from write.c:4: In function 'strncpy', inlined from 'dowrite' at write.c:121:9: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o zap.o zap.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/share/ioctl.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/unix/unixmain.c ../sys/unix/unixmain.c: In function 'whoami': ../sys/unix/unixmain.c:483:17: warning: unused variable 's' [-Wunused-variable] 483 | register char *s; | ^ ../sys/unix/unixmain.c: In function 'chdirx': ../sys/unix/unixmain.c:424:13: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 424 | (void) setgid(getgid()); | ^~~~~~~~~~~~~~~~ ../sys/unix/unixmain.c:425:13: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 425 | (void) setuid(getuid()); /* Ron Wessels */ | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, from ../include/system.h:297, from ../include/unixconf.h:275, from ../include/global.h:150, from ../include/config.h:370, from ../include/hack.h:9, from ../sys/unix/unixmain.c:7: In function 'strncat', inlined from 'main' at ../sys/unix/unixmain.c:197:10: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/share/unixtty.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/unix/unixunix.c ../sys/unix/unixunix.c: In function 'child': ../sys/unix/unixunix.c:268:10: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 268 | (void) setgid(getgid()); | ^~~~~~~~~~~~~~~~ ../sys/unix/unixunix.c:269:10: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 269 | (void) setuid(getuid()); | ^~~~~~~~~~~~~~~~ ../sys/unix/unixunix.c:271:10: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 271 | (void) chdir(getenv("HOME")); | ^~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/unix/unixres.c ../util/makedefs -v make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/vultures' compiling vultures_gen.c compiling vultures_gfl.c compiling vultures_gra.c compiling vultures_init.c compiling vultures_main.c compiling vultures_map.c vultures_map.c: In function 'vultures_map_square_description': vultures_map.c:1740:41: warning: ' (+' directive output may be truncated writing 3 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 1740 | snprintf(out_str, BUFSZ, "%s (+%d other object%s)", look_buf, n_objs - 1, (n_objs > 2) ? "s" : ""); | ^~~ vultures_map.c:1740:13: note: 'snprintf' output 19 or more bytes (assuming 274) into a destination of size 256 1740 | snprintf(out_str, BUFSZ, "%s (+%d other object%s)", look_buf, n_objs - 1, (n_objs > 2) ? "s" : ""); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vultures_map.c:1718:44: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 1718 | sprintf(temp_buf, " [seen: %s]", monbuf); | ^~ ~~~~~~ vultures_map.c:1718:17: note: 'sprintf' output between 10 and 265 bytes into a destination of size 256 1718 | sprintf(temp_buf, " [seen: %s]", monbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compiling vultures_mou.c compiling vultures_nhplayerselection.c compiling vultures_opt.c compiling vultures_pcmusic.c compiling vultures_sdl.c compiling vultures_sound.c compiling vultures_tile.c compiling vultures_tileconfig.c vultures_tileconfig.c: In function 'init_objnames': vultures_tileconfig.c:644:21: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 644 | else | ^~~~ vultures_tileconfig.c:645:92: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 645 | snprintf(tilenames[TT_OBJECT][i], 40, "%s", obj_descr[i].oc_name); break; | ^~~~~ vultures_tileconfig.c:663:21: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 663 | else | ^~~~ vultures_tileconfig.c:664:79: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 664 | snprintf(tilenames[TT_OBJECT][i], 40, "%s", nameptr); break; | ^~~~~ compiling vultures_txt.c compiling vultures_win.c compiling vultures_win_event.c generating parser compiling build_n/vultures_tileconfig.parser.c generating lexer compiling build_n/vultures_tileconfig.lexer.c build_n/vultures_tileconfig.lexer.c:1213:16: warning: 'input' defined but not used [-Wunused-function] 1213 | static int input (void) | ^~~~~ build_n/vultures_tileconfig.lexer.c:1170:17: warning: 'yyunput' defined but not used [-Wunused-function] 1170 | static void yyunput (int c, char * yy_bp ) | ^~~~~~~ combining objects to build_n/vultures.o finished building the files for the vultures interface make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/vultures' make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESEYE -o tilemap ../win/share/tilemap.c ./tilemap make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o tile.o tile.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o version.o version.c Loading ... vultureseye is up to date. make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/src' make: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack' + make -C nethack/util recover dlb dgn_comp lev_comp make: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/src' make[1]: '../include/date.h' is up to date. make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESEYE -c -o recover.o recover.c recover.c: In function 'main': recover.c:114:10: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 114 | (void) setgid(getgid()); | ^~~~~~~~~~~~~~~~ recover.c:115:10: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 115 | (void) setuid(getuid()); | ^~~~~~~~~~~~~~~~ recover.c: In function 'restore_savefile': recover.c:308:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 308 | write(sfd, (genericptr_t) &levc, sizeof(levc)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o recover recover.o cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESEYE -c dlb_main.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESEYE -c -o panic.o panic.c cc -o dlb dlb_main.o ../src/dlb.o ../src/alloc.o panic.o yacc -d dgn_comp.y mv y.tab.c dgn_yacc.c mv y.tab.h ../include/dgn_comp.h cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESEYE -c -o dgn_yacc.o dgn_yacc.c lex dgn_comp.l mv lex.yy.c dgn_lex.c cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESEYE dgn_lex.c lex.yy.c:1483:16: warning: 'input' defined but not used [-Wunused-function] lex.yy.c:1440:17: warning: 'yyunput' defined but not used [-Wunused-function] cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESEYE -c -o dgn_main.o dgn_main.c cc -o dgn_comp dgn_yacc.o dgn_lex.o dgn_main.o ../src/alloc.o panic.o yacc -d lev_comp.y mv y.tab.c lev_yacc.c mv y.tab.h ../include/lev_comp.h cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESEYE -c -o lev_yacc.o lev_yacc.c lex lev_comp.l mv lex.yy.c lev_lex.c cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESEYE lev_lex.c lex.yy.c:2168:16: warning: 'input' defined but not used [-Wunused-function] lex.yy.c:2125:17: warning: 'yyunput' defined but not used [-Wunused-function] cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESEYE -c -o lev_main.o lev_main.c cc -o lev_comp lev_yacc.o lev_lex.o lev_main.o ../src/alloc.o panic.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o make: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' + make -C nethack/dat spec_levs quest_levs make: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/dat' ../util/lev_comp bigroom.des ../util/lev_comp castle.des ../util/lev_comp endgame.des ../util/lev_comp gehennom.des ../util/lev_comp knox.des ../util/lev_comp medusa.des ../util/lev_comp mines.des ../util/lev_comp oracle.des ../util/lev_comp sokoban.des ../util/lev_comp tower.des ../util/lev_comp yendor.des touch spec_levs ../util/lev_comp Arch.des ../util/lev_comp Barb.des ../util/lev_comp Caveman.des ../util/lev_comp Healer.des ../util/lev_comp Knight.des ../util/lev_comp Monk.des ../util/lev_comp Priest.des ../util/lev_comp Ranger.des ../util/lev_comp Rogue.des ../util/lev_comp Samurai.des ../util/lev_comp Tourist.des ../util/lev_comp Valkyrie.des ../util/lev_comp Wizard.des touch quest_levs make: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/dat' + for i in nethack slashem + make slashem/Makefile make: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2' make: git-rev-list: No such file or directory make: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2' make: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2' Setup Slash'EM build environment ... make: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2' + make -C slashem make: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem' ( cd src ; make ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/src' touch ../src/config.h-t cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c monst.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c objects.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o alloc.o alloc.c make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESCLAW -c -o makedefs.o makedefs.c makedefs.c: In function 'do_filenames': makedefs.c:2392:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2392 | fgets(in_line, sizeof in_line, ifp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: makedefs.c:53:19: warning: 'SCCS_Id' defined but not used [-Wunused-const-variable=] 53 | static const char SCCS_Id[] = "@(#)makedefs.c\t3.4\t2002/02/03"; | ^~~~~~~ In file included from /usr/include/string.h:508, from ../include/system.h:299, from ../include/unixconf.h:351, from ../include/global.h:171, from ../include/config.h:501, from makedefs.c:10: In function 'strncpy', inlined from 'new_id' at makedefs.c:1625:2, inlined from 'do_qt_control.constprop' at makedefs.c:1682:21: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 3 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESCLAW -c -o panic.o panic.c cc -o makedefs makedefs.o ../src/monst.o ../src/objects.o ../src/alloc.o panic.o make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' ./makedefs -p make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' ./makedefs -o make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' touch ../src/hack.h-t cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o allmain.o allmain.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o apply.o apply.c apply.c: In function 'use_pole': apply.c:2761:15: warning: unused variable 'typ' [-Wunused-variable] 2761 | int res = 0, typ, max_range; | ^~~ At top level: apply.c:11:19: warning: 'all_count' defined but not used [-Wunused-const-variable=] 11 | static const char all_count[] = { ALLOW_COUNT, ALL_CLASSES, 0 }; | ^~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o artifact.o artifact.c artifact.c: In function 'artifact_hit': artifact.c:1181:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1181 | if (!spec_dbon_applies && !spec_ability(otmp, SPFX_BEHEAD) || | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ artifact.c:1312:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1312 | } else if (dieroll < 3 || otmp->oartifact == ART_VORPAL_BLADE && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1313 | mdef->data == &mons[PM_JABBERWOCK]) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ artifact.c:1321:26: warning: array subscript has type 'char' [-Wchar-subscripts] 1321 | wepdesc = artilist[otmp->oartifact].name; | ~~~~^~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o attrib.o attrib.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ball.o ball.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o bones.o bones.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o botl.o botl.c botl.c: In function 'bot_raw': botl.c:581:52: warning: format '%lX' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] 581 | *rv++ = reconfig ? "flags" : (Sprintf(flgs, "%lX", | ~~^ | | | long unsigned int | %X 582 | (Levitation ? RAW_STAT_LEVITATION : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 583 | (Confusion ? RAW_STAT_CONFUSION : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 584 | (Sick && (u.usick_type & SICK_VOMITABLE) ? RAW_STAT_FOODPOIS : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 585 | (Sick && (u.usick_type & SICK_NONVOMITABLE) ? RAW_STAT_ILL : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 586 | (Blind ? RAW_STAT_BLIND : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 587 | (Stunned ? RAW_STAT_STUNNED : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 588 | (Hallucination ? RAW_STAT_HALLUCINATION : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int 589 | (Slimed ? RAW_STAT_SLIMED : 0)), flgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c: In function 'botl_strength.part.0': botl.c:241:28: warning: '%02d' directive writing between 2 and 4 bytes into a region of size 3 [-Wformat-overflow=] 241 | Sprintf(strength, "18/%02d", ACURR(A_STR)-18); | ^~~~ botl.c:241:24: note: directive argument in the range [-146, 109] 241 | Sprintf(strength, "18/%02d", ACURR(A_STR)-18); | ^~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from botl.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 8 bytes into a destination of size 6 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __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=] 531 | *rv++ = reconfig ? "dexterity" : (Sprintf(dex, "%d", ACURR(A_DEX)), dex); | ^~ botl.c:531:52: note: directive argument in the range [-128, 127] 531 | *rv++ = reconfig ? "dexterity" : (Sprintf(dex, "%d", ACURR(A_DEX)), dex); | ^~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from botl.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __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=] 532 | *rv++ = reconfig ? "constitution" : (Sprintf(con, "%d", ACURR(A_CON)), con); | ^~ botl.c:532:55: note: directive argument in the range [-128, 127] 532 | *rv++ = reconfig ? "constitution" : (Sprintf(con, "%d", ACURR(A_CON)), con); | ^~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from botl.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __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=] 533 | *rv++ = reconfig ? "intelligence" : (Sprintf(itl, "%d", ACURR(A_INT)), itl); | ^~ botl.c:533:55: note: directive argument in the range [-128, 127] 533 | *rv++ = reconfig ? "intelligence" : (Sprintf(itl, "%d", ACURR(A_INT)), itl); | ^~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from botl.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __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=] 534 | *rv++ = reconfig ? "wisdom" : (Sprintf(wis, "%d", ACURR(A_WIS)), wis); | ^~ botl.c:534:49: note: directive argument in the range [-128, 127] 534 | *rv++ = reconfig ? "wisdom" : (Sprintf(wis, "%d", ACURR(A_WIS)), wis); | ^~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from botl.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __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=] 535 | *rv++ = reconfig ? "charisma" : (Sprintf(cha, "%d", ACURR(A_CHA)), cha); | ^~ botl.c:535:51: note: directive argument in the range [-128, 127] 535 | *rv++ = reconfig ? "charisma" : (Sprintf(cha, "%d", ACURR(A_CHA)), cha); | ^~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from botl.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 5 bytes into a destination of size 3 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o cmd.o cmd.c cmd.c: In function 'enlightenment': cmd.c:1332:68: warning: missing braces around initializer [-Wmissing-braces] 1332 | 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=] 1514 | if (wizard) Sprintf(eos(buf), " (%d)", u.uhealbonus); | ~^ ~~~~~~~~~~~~ | | | | int long int | %ld In file included from ../include/decl.h:265, from ../include/hack.h:92, from cmd.c:5: cmd.c: In function 'click_to_cmd': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) cmd.c:3518:15: note: in expansion of macro 'Is_container' 3518 | cmd[0] = Is_container(level.objects[u.ux][u.uy]) ? M('l') : ','; | ^~~~~~~~~~~~ cmd.c: In function 'makemenu.constprop': cmd.c:2194:36: warning: 'current_menu' may be used uninitialized in this function [-Wmaybe-uninitialized] 2194 | func = current_menu[i].m_funct; | ^ cmd.c: In function 'enlightenment': cmd.c:1219:20: warning: '%s' directive writing up to 255 bytes into a region of size between 238 and 239 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 275 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1219:20: warning: '%s' directive writing up to 255 bytes into a region of size between 247 and 248 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1219:20: warning: '%s' directive writing up to 255 bytes into a region of size between 247 and 248 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c: In function 'show_conduct': cmd.c:1219:20: warning: '%s' directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1219:20: warning: '%s' directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1219:20: warning: '%s' directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1219:20: warning: '%s' directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1219:20: warning: '%s' directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1219:20: warning: '%s' directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1219:20: warning: '%s' directive writing up to 255 bytes into a region of size 252 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 261 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1219:20: warning: '%s' directive writing up to 255 bytes into a region of size between 240 and 246 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 273 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dbridge.o dbridge.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o decl.o decl.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o detect.o detect.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dig.o dig.c dig.c: In function 'dig': dig.c:256:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 256 | if (IS_ROCK(lev->typ) && !may_dig(dpx,dpy) && dig.c: In function 'dighole': dig.c:711:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 711 | IS_DOOR(levl[u.ux][u.uy].typ) && artifact_door(u.ux, u.uy) || cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o display.o display.c display.c: In function 'map_object': display.c:272:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 272 | if (level.flags.hero_memory) | ^ display.c: In function 'glyph_is_floating': display.c:1088:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1088 | glyph_is_warning(glyph) || tglyph && glyph == tglyph->glyph; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dlb.o dlb.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o do.o do.c In file included from ../include/decl.h:265, from ../include/hack.h:92, from do.c:7: do.c: In function 'obj_no_longer_held': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) do.c:634:14: note: in expansion of macro 'Is_container' 634 | } else if ((Is_container(obj) || obj->otyp == STATUE) && obj->cobj) { | ^~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o do_name.o do_name.c do_name.c: In function 'do_mname': do_name.c:283:42: warning: '%s' directive writing up to 255 bytes into a region of size 103 [-Wformat-overflow=] 283 | Sprintf(qbuf, "What do you want to call %s?", buf); | ^~ ~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from do_name.c:5: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 27 and 282 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o do_wear.o do_wear.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dog.o dog.c In file included from dog.c:7: dog.c: In function 'make_pet_minion': ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dog.c:963:2: note: in expansion of macro 'EMIN' 963 | EMIN(mtmp2)->min_align = alignment; | ^~~~ In file included from dog.c:8: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dog.c:966:3: note: in expansion of macro 'EPRI' 966 | EPRI(mtmp2)->shralign = alignment; | ^~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dogmove.o dogmove.c In file included from dogmove.c:9: dogmove.c: In function 'dog_move': ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dogmove.c:848:36: note: in expansion of macro 'EMIN' 848 | if (mtmp->isminion) align1 = EMIN(mtmp)->min_align; | ^~~~ In file included from dogmove.c:10: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dogmove.c:851:41: note: in expansion of macro 'EPRI' 851 | else if (mtmp->ispriest) align1 = EPRI(mtmp)->shralign; | ^~~~ In file included from dogmove.c:9: ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dogmove.c:853:37: note: in expansion of macro 'EMIN' 853 | if (mtmp2->isminion) align2 = EMIN(mtmp2)->min_align; | ^~~~ In file included from dogmove.c:10: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dogmove.c:856:42: note: in expansion of macro 'EPRI' 856 | else if (mtmp2->ispriest) align2 = EPRI(mtmp2)->shralign; | ^~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dokick.o dokick.c In file included from ../include/decl.h:265, from ../include/hack.h:92, from dokick.c:5: dokick.c: In function 'container_impact_dmg': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) dokick.c:382:7: note: in expansion of macro 'Is_container' 382 | if (!Is_container(obj) || Is_mbag(obj)) return; | ^~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dothrow.o dothrow.c In file included from ../include/youprop.h:10, from ../include/hack.h:90, from dothrow.c:7: dothrow.c: In function 'thitmonst': ../include/mondata.h:241:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 241 | (obj)->otyp == CHEESE && ((ptr) == &mons[PM_GIANT_RAT] || \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | (ptr) == &mons[PM_SEWER_RAT] || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 243 | (ptr) == &mons[PM_BLACK_RAT] || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 244 | (ptr) == &mons[PM_PACK_RAT]) || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dothrow.c:1639:13: note: in expansion of macro 'befriend_with_obj' 1639 | } else if (befriend_with_obj(mon->data, obj) || | ^~~~~~~~~~~~~~~~~ ../include/mondata.h:245:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 245 | (obj)->otyp == CARROT && ((ptr) == &mons[PM_RABBIT] || \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 246 | (ptr) == &mons[PM_RABID_RABBIT]) || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dothrow.c:1639:13: note: in expansion of macro 'befriend_with_obj' 1639 | } else if (befriend_with_obj(mon->data, obj) || | ^~~~~~~~~~~~~~~~~ ../include/mondata.h:247:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 247 | (obj)->otyp == BANANA && (ptr)->mlet == S_YETI)) dothrow.c:1639:13: note: in expansion of macro 'befriend_with_obj' 1639 | } else if (befriend_with_obj(mon->data, obj) || | ^~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o drawing.o drawing.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dungeon.o dungeon.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o eat.o eat.c eat.c: In function 'done_eating': eat.c:481:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 481 | if (!victual.piece->odrained || Race_if(PM_VAMPIRE) && !rn2(5)) eat.c: In function 'opentin': eat.c:1275:39: warning: array subscript has type 'char' [-Wchar-subscripts] 1275 | monexplain[mons[tin.tin->corpsenm].mlet]); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ eat.c: In function 'fprefx': eat.c:1689:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1689 | 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] 2548 | (((monstermoves - otmp->age) > (int) otmp->blessed ? 50:30) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ At top level: eat.c:73:32: warning: 'comestibles' defined but not used [-Wunused-const-variable=] 73 | STATIC_OVL NEARDATA const char comestibles[] = { FOOD_CLASS, 0 }; | ^~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o end.o end.c In file included from ../include/decl.h:265, from ../include/hack.h:92, from end.c:7: end.c: In function 'container_contents': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) end.c:1132:10: note: in expansion of macro 'Is_container' 1132 | if (Is_container(box) || box->otyp == STATUE) { | ^~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o engrave.o engrave.c engrave.c: In function 'doengrave': engrave.c:800:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 800 | if (flags.verbose) | ^~ engrave.c:802:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 802 | doknown = TRUE; | ^~~~~~~ engrave.c:812:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 812 | if (flags.verbose) | ^~ engrave.c:814:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 814 | doknown = TRUE; | ^~~~~~~ In file included from /usr/include/string.h:508, from ../include/system.h:299, from ../include/unixconf.h:351, from ../include/global.h:171, from ../include/config.h:501, from ../include/hack.h:9, from engrave.c:5: In function 'strncat', inlined from 'doengrave' at engrave.c:1191:9: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o exper.o exper.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o explode.o explode.c explode.c: In function 'set_blast_symbols': explode.c:72:15: warning: variable 'bitmask' set but not used [-Wunused-but-set-variable] 72 | int i, j, bitmask; | ^~~~~~~ explode.c: In function 'do_explode': explode.c:472:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 472 | if (is_animal(u.ustuck->data)) | ^ explode.c: In function 'grenade_effects': explode.c:944:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 944 | if (mon && !DEADMONSTER(mon)) | ^ explode.c:954:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 954 | if (x == u.ux && y == u.uy) | ^ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o extralev.o extralev.c ../util/makedefs -f cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o files.o files.c files.c: In function 'save_savefile_name': files.c:947:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 947 | (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ files.c: In function 'docompress_file': files.c:1322:10: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 1322 | (void) setgid(getgid()); | ^~~~~~~~~~~~~~~~ files.c:1323:10: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1323 | (void) setuid(getuid()); | ^~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o fountain.o fountain.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o hack.o hack.c hack.c: In function 'grow_herbs': hack.c:120:15: warning: variable 'lev' set but not used [-Wunused-but-set-variable] 120 | struct rm *lev; | ^~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o hacklib.o hacklib.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o invent.o invent.c invent.c: In function 'delobj': invent.c:657:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 657 | update_map = (obj->where == OBJ_FLOOR || Has_contents(obj) && invent.c: In function 'mergable': invent.c:2659:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2659 | flags.pickup_thrown && obj->was_thrown != otmp->was_thrown || | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/youprop.h:10, from ../include/hack.h:90, from invent.c:5: ../include/mondata.h:168:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 168 | #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 169 | (ptr) != &mons[PM_LICHEN] || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ invent.c:2692:4: note: in expansion of macro 'is_reviver' 2692 | 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] 1218 | n = query_objlist(qbuf, floorchain, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1219 | floorfollow|INVORDER_SORT|SIGNAL_CANCEL, &pick_list, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1220 | PICK_ONE, allowall ? allow_all : allow_ugly); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ invent.c:1218:11: warning: 'floorchain' may be used uninitialized in this function [-Wmaybe-uninitialized] cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o light.o light.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o lock.o lock.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mail.o mail.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o makemon.o makemon.c In file included from makemon.c:6: makemon.c: In function 'clone_mon': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) makemon.c:1300:5: note: in expansion of macro 'EPRI' 1300 | *(EPRI(m3)) = *(EPRI(mon)); | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) makemon.c:1300:19: note: in expansion of macro 'EPRI' 1300 | *(EPRI(m3)) = *(EPRI(mon)); | ^~~~ makemon.c: In function 'mongets': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:37:7: note: in expansion of macro 'EPRI' 37 | EPRI(mon)->shralign > 0)) | ^~~~ makemon.c:2181:16: note: in expansion of macro 'is_lminion' 2181 | } else if(is_lminion(mtmp)) { | ^~~~~~~~~~ makemon.c: In function 'peace_minded': makemon.c:2293:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2293 | if (ual > A_NEUTRAL && mal < A_NEUTRAL || In file included from makemon.c:6: makemon.c: In function 'set_malign': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemon.c:2339:10: note: in expansion of macro 'EPRI' 2339 | mal = EPRI(mtmp)->shralign; | ^~~~ In file included from makemon.c:7: ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemon.c:2341:10: note: in expansion of macro 'EMIN' 2341 | mal = EMIN(mtmp)->min_align; | ^~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mapglyph.o mapglyph.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mcastu.o mcastu.c mcastu.c: In function 'spell_would_be_useless': mcastu.c:845:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 845 | if ((levl[u.ux][u.uy].typ != ROOM && levl[u.ux][u.uy].typ != CORR cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mhitm.o mhitm.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mhitu.o mhitu.c mhitu.c: In function 'missmu': mhitu.c:161:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 161 | if (!flags.verbose || !nearmiss && !blocker) | ~~~~~~~~~~^~~~~~~~~~~ mhitu.c: In function 'gazemu': mhitu.c:2398:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2398 | 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' 2403 | stop_occupation(); | ^~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o minion.o minion.c In file included from minion.c:7: minion.c: In function 'msummon': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minion.c:23:10: note: in expansion of macro 'EPRI' 23 | atyp = EPRI(mon)->shralign; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:37:7: note: in expansion of macro 'EPRI' 37 | EPRI(mon)->shralign > 0)) | ^~~~ minion.c:41:13: note: in expansion of macro 'is_lminion' 41 | } else if (is_lminion(mon)) { | ^~~~~~~~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minion.c:80:3: note: in expansion of macro 'EPRI' 80 | EPRI(mtmp)->shralign = atyp; | ^~~~ In file included from minion.c:6: minion.c: In function 'summon_minion': ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minion.c:117:6: note: in expansion of macro 'EMIN' 117 | EMIN(mon)->min_align = alignment; | ^~~~ In file included from minion.c:7: ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minion.c:123:6: note: in expansion of macro 'EPRI' 123 | EPRI(mon)->shralign = alignment; /* always A_LAWFUL here */ | ^~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mklev.o mklev.c mklev.c: In function 'mktrap': mklev.c:1284:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1284 | if (lvl < 2) kind = NO_TRAP; break; | ^~ mklev.c:1284:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1284 | if (lvl < 2) kind = NO_TRAP; break; | ^~~~~ mklev.c:1286:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1286 | if (lvl < 5 || level.flags.noteleport) | ^~ mklev.c:1287:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1287 | kind = NO_TRAP; break; | ^~~~~ mklev.c:1289:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1289 | if (lvl < 5) kind = NO_TRAP; break; | ^~ mklev.c:1289:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1289 | if (lvl < 5) kind = NO_TRAP; break; | ^~~~~ mklev.c:1291:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1291 | if (lvl < 6) kind = NO_TRAP; break; | ^~ mklev.c:1291:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1291 | if (lvl < 6) kind = NO_TRAP; break; | ^~~~~ mklev.c:1293:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1293 | if (lvl < 7) kind = NO_TRAP; break; | ^~ mklev.c:1293:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1293 | if (lvl < 7) kind = NO_TRAP; break; | ^~~~~ mklev.c:1296:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1296 | if (lvl < 8) kind = NO_TRAP; break; | ^~ mklev.c:1296:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1296 | if (lvl < 8) kind = NO_TRAP; break; | ^~~~~ mklev.c:1298:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1298 | if (!Inhell) kind = NO_TRAP; break; | ^~ mklev.c:1298:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1298 | if (!Inhell) kind = NO_TRAP; break; | ^~~~~ mklev.c:1300:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1300 | if (level.flags.noteleport) kind = NO_TRAP; break; | ^~ mklev.c:1300:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1300 | if (level.flags.noteleport) kind = NO_TRAP; break; | ^~~~~ mklev.c:1303:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1303 | if (rn2(7)) kind = NO_TRAP; break; | ^~ mklev.c:1303:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1303 | if (rn2(7)) kind = NO_TRAP; break; | ^~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkmap.o mkmap.c mkmap.c: In function 'pass_two': mkmap.c:115:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 115 | 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' 119 | if (count == 5) | ^~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkmaze.o mkmaze.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkobj.o mkobj.c In file included from ../include/decl.h:265, from ../include/hack.h:92, from mkobj.c:5: mkobj.c: In function 'weight': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) mkobj.c:957:6: note: in expansion of macro 'Is_container' 957 | if (Is_container(obj) || obj->otyp == STATUE) { | ^~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mkroom.o mkroom.c mkroom.c: In function 'fill_zoo': mkroom.c:366:6: warning: 'goldlim' may be used uninitialized in this function [-Wmaybe-uninitialized] 366 | if(i >= goldlim) i = 5*level_difficulty(); | ^ mkroom.c:328:20: warning: 'ty' may be used uninitialized in this function [-Wmaybe-uninitialized] 328 | (sx == tx && sy == ty ? &mons[PM_QUEEN_BEE] : | ~~~^~~~~ mkroom.c:328:8: warning: 'tx' may be used uninitialized in this function [-Wmaybe-uninitialized] 328 | (sx == tx && sy == ty ? &mons[PM_QUEEN_BEE] : | ~~~^~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mon.o mon.c In file included from ../include/youprop.h:10, from ../include/hack.h:90, from mon.c:10: mon.c: In function 'make_corpse': ../include/mondata.h:168:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 168 | #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 169 | (ptr) != &mons[PM_LICHEN] || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ mon.c:160:5: note: in expansion of macro 'is_reviver' 160 | is_reviver((mon)->data) || \ | ^~~~~~~~~~ mon.c:407:32: note: in expansion of macro 'KEEPTRAITS' 407 | obj = mkcorpstat(CORPSE, KEEPTRAITS(mtmp) ? mtmp : 0, | ^~~~~~~~~~ mon.c: In function 'mfndpos': mon.c:1208:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1208 | levl[nx][ny].doormask & D_CLOSED && !(flag & OPENDOOR) mon.c: In function 'replmon': mon.c:1468:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1468 | if (unpolytime = stop_timer(UNPOLY_MON, (genericptr_t) mtmp)) { | ^~~~~~~~~~ mon.c: In function 'lifesaved_monster': mon.c:1555:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1555 | visible = u.uswallow && u.ustuck == mtmp || | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ mon.c: In function 'unpoly_monster': mon.c:1603:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1603 | visible = u.uswallow && u.ustuck == mtmp || cansee(mtmp->mx,mtmp->my); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from ../include/youprop.h:10, 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] 168 | #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 169 | (ptr) != &mons[PM_LICHEN] || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ mon.c:160:5: note: in expansion of macro 'is_reviver' 160 | is_reviver((mon)->data) || \ | ^~~~~~~~~~ mon.c:1880:29: note: in expansion of macro 'KEEPTRAITS' 1880 | otmp = mkcorpstat(STATUE, KEEPTRAITS(mdef) ? mdef : 0, | ^~~~~~~~~~ mon.c: In function 'newcham': mon.c:2865:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2865 | if (msg && (u.uswallow && mtmp == u.ustuck || canspotmon(mtmp))) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mondata.o mondata.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o monmove.o monmove.c In file included from monmove.c:8: monmove.c: In function 'onscary': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:37:7: note: in expansion of macro 'EPRI' 37 | EPRI(mon)->shralign > 0)) | ^~~~ monmove.c:173:6: note: in expansion of macro 'is_lminion' 173 | is_lminion(mtmp) || mtmp->data == &mons[PM_ANGEL] || | ^~~~~~~~~~ In file included from ../include/decl.h:265, from ../include/hack.h:92, from monmove.c:5: monmove.c: In function 'can_ooze': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) monmove.c:1437:7: note: in expansion of macro 'Is_container' 1437 | if (Is_container(obj) && obj->cobj) return FALSE; | ^~~~~~~~~~~~ monmove.c: In function 'm_move': monmove.c:1174:20: warning: 'niy' may be used uninitialized in this function [-Wmaybe-uninitialized] 1174 | (void) breamspot(mtmp, | ^~~~~~~~~~~~~~~ 1175 | &ptr->mattk[bust_door_breath(mtmp)], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1176 | (nix-omx), (niy-omy)); | ~~~~~~~~~~~~~~~~~~~~~ monmove.c:1174:20: warning: 'nix' may be used uninitialized in this function [-Wmaybe-uninitialized] make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' ./makedefs -m make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o monstr.o monstr.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mplayer.o mplayer.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mthrowu.o mthrowu.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o muse.o muse.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o music.o music.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o o_init.o o_init.c o_init.c: In function 'init_objects': o_init.c:191:10: warning: self-comparison always evaluates to false [-Wtautological-compare] 191 | if(sum != sum) | ^~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o objnam.o objnam.c objnam.c: In function 'add_erosion_words': objnam.c:571:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 571 | if (!is_damageable(obj) && !iscrys || Hallucination) return; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from ../include/youprop.h:10, from ../include/hack.h:90, from objnam.c:5: objnam.c: In function 'readobjnam': ../include/mondata.h:168:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 168 | #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 169 | (ptr) != &mons[PM_LICHEN] || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ objnam.c:2760:22: note: in expansion of macro 'is_reviver' 2760 | (typ != CORPSE || !is_reviver(&mons[mntmp])) && | ^~~~~~~~~~ In file included from /usr/include/string.h:508, from ../include/system.h:299, from ../include/unixconf.h:351, from ../include/global.h:171, from ../include/config.h:501, from ../include/hack.h:9, from objnam.c:5: In function 'strncpy', inlined from 'strprepend' at objnam.c:75:9, inlined from 'doname' at objnam.c:907:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ objnam.c: In function 'doname': objnam.c:68:24: note: length computed here 68 | register int i = (int)strlen(pref); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:508, from ../include/system.h:299, from ../include/unixconf.h:351, from ../include/global.h:171, from ../include/config.h:501, from ../include/hack.h:9, from objnam.c:5: In function 'strncpy', inlined from 'strprepend' at objnam.c:75:9, inlined from 'aobjnam' at objnam.c:1177:8: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ objnam.c: In function 'aobjnam': objnam.c:68:24: note: length computed here 68 | register int i = (int)strlen(pref); | ^~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o options.o options.c options.c: In function 'option_help': options.c:3886:21: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] 3886 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, | ^~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from options.c:13: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ options.c: In function 'doset': options.c:3044:23: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 3044 | Sprintf(buf, "%s:%s", compopt[opt_indx].name, buf2); | ^ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from options.c:13: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pager.o pager.c In file included from /usr/include/string.h:508, from ../include/system.h:299, from ../include/unixconf.h:351, from ../include/global.h:171, from ../include/config.h:501, from ../include/hack.h:9, from pager.c:8: In function 'strncpy', inlined from 'dowhatdoes_core' at pager.c:870:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'dowhatdoes_core' at pager.c:874:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'dowhatdoes_core' at pager.c:879:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pager.c: In function 'do_look': pager.c:755:28: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] 753 | firstmatch = look_buf; | ~~~~~~~~ 754 | if (*firstmatch) { 755 | Sprintf(temp_buf, " (%s)", firstmatch); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from pager.c:8: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 259 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, from ../include/system.h:299, from ../include/unixconf.h:351, from ../include/global.h:171, from ../include/config.h:501, from ../include/hack.h:9, from pager.c:8: In function 'strncat', inlined from 'do_look' at pager.c:756:13: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pager.c: In function 'do_look': pager.c:760:34: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 760 | Sprintf(temp_buf, " [seen: %s]", monbuf); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:8, from ../include/config.h:501, from ../include/hack.h:9, from pager.c:8: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, from ../include/system.h:299, from ../include/unixconf.h:351, from ../include/global.h:171, from ../include/config.h:501, from ../include/hack.h:9, from pager.c:8: In function 'strncat', inlined from 'do_look' at pager.c:761:13: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'do_look' at pager.c:769:10: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pickup.o pickup.c pickup.c: In function 'autopick': pickup.c:649:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 649 | flags.pickup_thrown && curr->was_thrown) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ pickup.c:663:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 663 | flags.pickup_thrown && curr->was_thrown) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from ../include/decl.h:265, from ../include/hack.h:92, from pickup.c:9: pickup.c: In function 'container_at': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) pickup.c:1469:6: note: in expansion of macro 'Is_container' 1469 | if(Is_container(cobj)) { | ^~~~~~~~~~~~ pickup.c: In function 'doloot': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) pickup.c:1553:10: note: in expansion of macro 'Is_container' 1553 | if (Is_container(cobj)) { | ^~~~~~~~~~~~ pickup.c: In function 'use_container': pickup.c:2215:25: warning: unused variable 'lcnt' [-Wunused-variable] 2215 | int cnt = 0, used = 0, lcnt = 0, | ^~~~ pickup.c:2209:16: warning: unused variable 'shkp' [-Wunused-variable] 2209 | struct monst *shkp; | ^~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pline.o pline.c In file included from pline.c:7: pline.c: In function 'mstatusline': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pline.c:287:15: note: in expansion of macro 'EPRI' 287 | alignment = EPRI(mtmp)->shralign; | ^~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o polyself.o polyself.c In file included from ../include/youprop.h:10, from ../include/hack.h:90, from polyself.c:13: polyself.c: In function 'polyman': ../include/mondata.h:126:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 126 | P_MAX_SKILL(P_TWO_WEAPON_COMBAT) >= P_BASIC && \ polyself.c:118:20: note: in expansion of macro 'could_twoweap' 118 | if (u.twoweap && !could_twoweap(youmonst.data)) | ^~~~~~~~~~~~~ polyself.c: In function 'drop_weapon': ../include/mondata.h:126:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 126 | P_MAX_SKILL(P_TWO_WEAPON_COMBAT) >= P_BASIC && \ polyself.c:850:14: note: in expansion of macro 'could_twoweap' 850 | } else if (!could_twoweap(youmonst.data)) { | ^~~~~~~~~~~~~ polyself.c: In function 'polyatwill': polyself.c:1711:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1711 | if (u.ulevel > 13 && u.uen > EN_ADULT_DRAGON || | ^ polyself.c: In function 'polyself': polyself.c:362:17: warning: array subscript -1 is below array bounds of 'struct mvitals[612]' [-Warray-bounds] 362 | if (!(mvitals[mntmp].mvflags & G_GENOD)) { | ~~~~~~~^~~~~~~ In file included from ../include/hack.h:92, from polyself.c:13: ../include/decl.h:329:3: note: while referencing 'mvitals' 329 | } mvitals[NUMMONS]; | ^~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o potion.o potion.c potion.c: In function 'upgrade_obj': potion.c:2517:32: warning: passing argument 2 of 'artifact_name' from incompatible pointer type [-Wincompatible-pointer-types] 2517 | if (artifact_name(ONAME(obj), &otyp2) && otyp2 == obj->otyp) { | ^~~~~~ | | | int * In file included from ../include/config.h:323, from ../include/hack.h:9, from potion.c:5: ../include/extern.h:62:50: note: expected 'short int *' but argument is of type 'int *' 62 | E const char *FDECL(artifact_name, (const char *,short *)); | ^~~~~~~ ../include/tradstdc.h:124:23: note: in definition of macro 'FDECL' 124 | # define FDECL(f,p) f p | ^ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o pray.o pray.c pray.c: In function 'lawful_god_gives_angel': pray.c:1211:9: warning: variable 'mon' set but not used [-Wunused-but-set-variable] 1211 | int mon; | ^~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o priest.o priest.c In file included from priest.c:8: priest.c: In function 'histemple_at': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:136:20: note: in expansion of macro 'EPRI' 136 | return((boolean)((EPRI(priest)->shroom == *in_rooms(x, y, TEMPLE)) && | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:137:20: note: in expansion of macro 'EPRI' 137 | on_level(&(EPRI(priest)->shrlevel), &u.uz))); | ^~~~ priest.c: In function 'pri_move': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:156:11: note: in expansion of macro 'EPRI' 156 | temple = EPRI(priest)->shroom; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:158:7: note: in expansion of macro 'EPRI' 158 | gx = EPRI(priest)->shrpos.x; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:159:7: note: in expansion of macro 'EPRI' 159 | gy = EPRI(priest)->shrpos.y; | ^~~~ priest.c: In function 'priestini': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:203:3: note: in expansion of macro 'EPRI' 203 | EPRI(priest)->shroom = (sroom - rooms) + ROOMOFFSET; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:204:3: note: in expansion of macro 'EPRI' 204 | EPRI(priest)->shralign = Amask2align(levl[sx][sy].altarmask); | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:205:3: note: in expansion of macro 'EPRI' 205 | EPRI(priest)->shrpos.x = sx; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:206:3: note: in expansion of macro 'EPRI' 206 | EPRI(priest)->shrpos.y = sy; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:207:18: note: in expansion of macro 'EPRI' 207 | assign_level(&(EPRI(priest)->shrlevel), lvl); | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:215:17: note: in expansion of macro 'EPRI' 215 | if(sanctum && EPRI(priest)->shralign == A_NONE && | ^~~~ priest.c: In function 'priestname': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:277:26: note: in expansion of macro 'EPRI' 277 | if (!mon->ispriest && EPRI(mon)->renegade) | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:289:33: note: in expansion of macro 'EPRI' 289 | Strcat(pname, halu_gname((int)EPRI(mon)->shralign)); | ^~~~ In file included from priest.c:9: ../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:295:27: note: in expansion of macro 'EMIN' 295 | Strcat(pname, halu_gname(EMIN(mon)->min_align)); | ^~~~ In file included from priest.c:8: priest.c: In function 'p_coaligned': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:303:42: note: in expansion of macro 'EPRI' 303 | return((boolean)(u.ualign.type == ((int)EPRI(priest)->shralign))); | ^~~~ priest.c: In function 'has_shrine': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:314:14: note: in expansion of macro 'EPRI' 314 | lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y]; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:314:35: note: in expansion of macro 'EPRI' 314 | lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y]; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:317:19: note: in expansion of macro 'EPRI' 317 | return((boolean)(EPRI(pri)->shralign == Amask2align(lev->altarmask & ~AM_SHRINE))); | ^~~~ priest.c: In function 'findpriest': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:328:28: note: in expansion of macro 'EPRI' 328 | if(mtmp->ispriest && (EPRI(mtmp)->shroom == roomno) && | ^~~~ priest.c: In function 'mk_roamer': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:564:2: note: in expansion of macro 'EPRI' 564 | EPRI(roamer)->shralign = alignment; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:566:3: note: in expansion of macro 'EPRI' 566 | EPRI(roamer)->renegade = TRUE; | ^~~~ priest.c: In function 'reset_hostility': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:586:5: note: in expansion of macro 'EPRI' 586 | if(EPRI(roamer)->shralign != u.ualign.type) { | ^~~~ priest.c: In function 'ghod_hitsu': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:631:11: note: in expansion of macro 'EPRI' 631 | ax = x = EPRI(priest)->shrpos.x; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:632:11: note: in expansion of macro 'EPRI' 632 | ay = y = EPRI(priest)->shrpos.y; | ^~~~ priest.c:648:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 648 | stpx == sgn(tbx) && stpy == sgn(tby)) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ priest.c:663:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 663 | else if (x2 > troom->hx || x1 <= troom->hx && !rn2(2)) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~ priest.c:683:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 683 | else if (x2 < troom->lx || x1 >= troom->lx && !rn2(2)) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~ priest.c:703:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 703 | else if (y2 > troom->hy || y1 <= troom->hy && !rn2(2)) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~ priest.c:723:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 723 | else if (y2 < troom->ly || y1 >= troom->ly && !rn2(2)) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from priest.c:8: priest.c: In function 'angry_priest': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:798:18: note: in expansion of macro 'EPRI' 798 | lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y]; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:798:42: note: in expansion of macro 'EPRI' 798 | lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y]; | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:801:4: note: in expansion of macro 'EPRI' 801 | EPRI(priest)->shralign)) { | ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:805:3: note: in expansion of macro 'EPRI' 805 | EPRI(priest)->renegade = 0; | ^~~~ priest.c: In function 'clearpriests': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:821:58: note: in expansion of macro 'EPRI' 821 | if (!DEADMONSTER(mtmp) && mtmp->ispriest && !on_level(&(EPRI(mtmp)->shrlevel), &u.uz)) | ^~~~ priest.c: In function 'restpriest': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:834:21: note: in expansion of macro 'EPRI' 834 | assign_level(&(EPRI(mtmp)->shrlevel), &u.uz); | ^~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o quest.o quest.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o questpgr.o questpgr.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o read.o read.c read.c: In function 'seffects': read.c:1215:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1215 | if (mtmp) | ^ read.c:1313:20: warning: suggest parentheses around operand of '!' or change '|' to '||' or '!' to '~' [-Wparentheses] 1313 | else do_genocide(!sobj->cursed | (2 * !!Confusion)); | ^~~~~~~~~~~~~ read.c:1233:5: warning: 'mtmp' may be used uninitialized in this function [-Wmaybe-uninitialized] 1233 | You("try to command %s", mon_nam(mtmp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rect.o rect.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o region.o region.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o restore.o restore.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rip.o rip.c In file included from ../include/config.h:323, from ../include/hack.h:9, from rip.c:5: rip.c:7:23: warning: 'center' declared 'static' but never defined [-Wunused-function] 7 | STATIC_DCL void FDECL(center, (int, char *)); | ^~~~~~ ../include/tradstdc.h:124:21: note: in definition of macro 'FDECL' 124 | # define FDECL(f,p) f p | ^ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rnd.o rnd.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o role.o role.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o rumors.o rumors.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o save.o save.c save.c: In function 'savestateinlock': save.c:425:10: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 425 | (void) read(fd, (genericptr_t) &hpid, sizeof(hpid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:443:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 443 | (void) write(fd, (genericptr_t) &hackpid, sizeof(hackpid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:447:14: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 447 | (void) write(fd, (genericptr_t) &currlev, sizeof(currlev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o shk.o shk.c shk.c: In function 'repair_damage': shk.c:3636:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 3636 | while (!(litter[i = rn2(9)] & INSHOP)); | ^~~~~ shk.c:3637:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 3637 | remove_object(otmp); | ^~~~~~~~~~~~~ shk.c: In function 'shk_identify': shk.c:4671:27: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 4671 | if (ESHK(shkp)->services & (SHK_ID_BASIC|SHK_ID_PREMIUM) == | ^ shk.c:4671:27: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 4671 | if (ESHK(shkp)->services & (SHK_ID_BASIC|SHK_ID_PREMIUM) == shk.c: In function 'shk_other_services': shk.c:5296:5: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] 5296 | if (type == 'b') | ^ shk.c:5255:7: note: 'type' was declared here 5255 | char type; /* Basic/premier service */ | ^~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o shknam.o shknam.c shknam.c: In function 'stock_blkmar': shknam.c:643:9: warning: variable 'blkmar_gen' set but not used [-Wunused-but-set-variable] 643 | int blkmar_gen[NUM_OBJECTS+2]; | ^~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sit.o sit.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sounds.o sounds.c sounds.c: In function 'domonnoise': sounds.c:898:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 898 | if (uwep && (uwep->oclass == WEAPON_CLASS || is_weptool(uwep)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sounds.c:605:28: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds] 605 | verbl_msg = vampmsg[vampindex]; | ~~~~~~~^~~~~~~~~~~ sounds.c:580:34: note: while referencing 'vampmsg' 580 | static const char * const vampmsg[] = { | ^~~~~~~ sounds.c: In function 'pet_distress': sounds.c:357:8: warning: 'verb' may be used uninitialized in this function [-Wmaybe-uninitialized] 357 | if (verb) { | ^ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sp_lev.o sp_lev.c sp_lev.c: In function 'create_monster': sp_lev.c:892:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 892 | if (!pm || !is_swimmer(pm) && !likes_lava(pm)) cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o spell.o spell.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o steal.o steal.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o steed.o steed.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o teleport.o teleport.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o timeout.o timeout.c timeout.c: In function 'attach_bomb_blow_timeout': timeout.c:651:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 651 | if (yours && (!carried(bomb) && costly_spot(bomb->ox, bomb->oy) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 652 | !bomb->no_charge || bomb->unpaid)) { | ~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o topten.o topten.c topten.c: In function 'readentry': topten.c:223:20: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=] 223 | sscanf(dp2, "%d", &tt->conduct); | ~^ ~~~~~~~~~~~~ | | | | | long int * | int * | %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=] 263 | Sprintf(cp, " Conduct=%d", tt->conduct); | ~^ ~~~~~~~~~~~ | | | | int long int | %ld cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o track.o track.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o trap.o trap.c trap.c: In function 'uunstone': trap.c:2341:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2341 | else | ^~~~ trap.c:2345:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2345 | return (1); | ^~~~~~ In file included from ../include/decl.h:265, from ../include/hack.h:92, from trap.c:5: trap.c: In function 'fire_damage': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) trap.c:2730:6: note: in expansion of macro 'Is_container' 2730 | if (Is_container(obj)) { | ^~~~~~~~~~~~ trap.c: In function 'water_damage': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) trap.c:2825:13: note: in expansion of macro 'Is_container' 2825 | } else if(Is_container(obj) && !Is_box(obj) && | ^~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o u_init.o u_init.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o uhitm.o uhitm.c uhitm.c: In function 'known_hitum': uhitm.c:500:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 500 | if (flags.verbose) | ^ uhitm.c: In function 'hmon_hitmon': uhitm.c:740:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 740 | 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] 933 | 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 933 | 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] 1895 | if (!Blind) | ^~ uhitm.c:1897:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1897 | xkilled(mdef,3); | ^~~~~~~ uhitm.c: In function 'hmonas': uhitm.c:2734:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2734 | if ((uwep || u.twoweap && uswapwep) && | ~~~~~~~~~~^~~~~~~~~~~ uhitm.c:2735:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2735 | (mhit == HIT_UWEP && !uwep || | ~~~~~~~~~~~~~~~~~^~~~~~~~ uhitm.c:2779:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2779 | barehanded_hit = (dhit & HIT_UWEP) && !uwep || | ~~~~~~~~~~~~~~~~~~^~~~~~~~ uhitm.c:2815:4: warning: "/*" within comment [-Wcomment] 2815 | /* succubi/incubi are humanoid, but their _second_ | uhitm.c:2825:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2825 | if ((uwep || u.twoweap && uswapwep) && | ~~~~~~~~~~^~~~~~~~~~~ uhitm.c:2835:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2835 | if ((uwep || u.twoweap && uswapwep) && | ~~~~~~~~~~^~~~~~~~~~~ uhitm.c: In function 'passive': uhitm.c:3071:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3071 | mhit & HIT_UWEP && !uwep || | ~~~~~~~~~~~~~~~~^~~~~~~~ uhitm.c:3072:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3072 | mhit & HIT_USWAPWEP && !uswapwep; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o vault.o vault.c In file included from vault.c:6: vault.c: In function 'clear_fcorr': ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:29:18: note: in expansion of macro 'EGD' 29 | if (!on_level(&(EGD(grd)->gdlevel), &u.uz)) return TRUE; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:31:17: note: in expansion of macro 'EGD' 31 | while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) { | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:31:36: note: in expansion of macro 'EGD' 31 | while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) { | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:32:9: note: in expansion of macro 'EGD' 32 | fcx = EGD(grd)->fakecorr[fcbeg].fx; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:33:9: note: in expansion of macro 'EGD' 33 | fcy = EGD(grd)->fakecorr[fcbeg].fy; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:35:8: note: in expansion of macro 'EGD' 35 | EGD(grd)->gddone) | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:50:24: note: in expansion of macro 'EGD' 50 | levl[fcx][fcy].typ = EGD(grd)->fakecorr[fcbeg].ftyp; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:53:3: note: in expansion of macro 'EGD' 53 | EGD(grd)->fcbeg++; | ^~~ vault.c: In function 'grddead': ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:81:3: note: in expansion of macro 'EGD' 81 | EGD(grd)->ogx = grd->mx; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:82:3: note: in expansion of macro 'EGD' 82 | EGD(grd)->ogy = grd->my; | ^~~ vault.c: In function 'in_fcorridor': ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:95:12: note: in expansion of macro 'EGD' 95 | for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++) | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:95:35: note: in expansion of macro 'EGD' 95 | for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++) | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:96:11: note: in expansion of macro 'EGD' 96 | if(x == EGD(grd)->fakecorr[fci].fx && | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:97:10: note: in expansion of macro 'EGD' 97 | y == EGD(grd)->fakecorr[fci].fy) | ^~~ vault.c: In function 'findgd': ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:109:56: note: in expansion of macro 'EGD' 109 | if(mtmp->isgd && !DEADMONSTER(mtmp) && on_level(&(EGD(mtmp)->gdlevel), &u.uz)) | ^~~ vault.c: In function 'invault': ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:230:2: note: in expansion of macro 'EGD' 230 | EGD(guard)->gddone = 0; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:231:2: note: in expansion of macro 'EGD' 231 | EGD(guard)->ogx = x; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:232:2: note: in expansion of macro 'EGD' 232 | EGD(guard)->ogy = y; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:233:17: note: in expansion of macro 'EGD' 233 | assign_level(&(EGD(guard)->gdlevel), &u.uz); | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:234:2: note: in expansion of macro 'EGD' 234 | EGD(guard)->vroom = vaultroom; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:235:2: note: in expansion of macro 'EGD' 235 | EGD(guard)->warncnt = 0; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:316:2: note: in expansion of macro 'EGD' 316 | EGD(guard)->gdx = gx; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:317:2: note: in expansion of macro 'EGD' 317 | EGD(guard)->gdy = gy; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:318:2: note: in expansion of macro 'EGD' 318 | EGD(guard)->fcbeg = 0; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:319:2: note: in expansion of macro 'EGD' 319 | EGD(guard)->fakecorr[0].fx = x; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:320:2: note: in expansion of macro 'EGD' 320 | EGD(guard)->fakecorr[0].fy = y; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:322:6: note: in expansion of macro 'EGD' 322 | EGD(guard)->fakecorr[0].ftyp = levl[x][y].typ; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:324:16: note: in expansion of macro 'EGD' 324 | int vlt = EGD(guard)->vroom; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:329:3: note: in expansion of macro 'EGD' 329 | EGD(guard)->fakecorr[0].ftyp = TLCORNER; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:331:3: note: in expansion of macro 'EGD' 331 | EGD(guard)->fakecorr[0].ftyp = TRCORNER; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:333:3: note: in expansion of macro 'EGD' 333 | EGD(guard)->fakecorr[0].ftyp = BLCORNER; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:335:3: note: in expansion of macro 'EGD' 335 | EGD(guard)->fakecorr[0].ftyp = BRCORNER; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:337:3: note: in expansion of macro 'EGD' 337 | EGD(guard)->fakecorr[0].ftyp = HWALL; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:339:3: note: in expansion of macro 'EGD' 339 | EGD(guard)->fakecorr[0].ftyp = VWALL; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:344:2: note: in expansion of macro 'EGD' 344 | EGD(guard)->fcend = 1; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:345:2: note: in expansion of macro 'EGD' 345 | EGD(guard)->warncnt = 1; | ^~~ vault.c: In function 'wallify_vault': ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:373:12: note: in expansion of macro 'EGD' 373 | int vlt = EGD(grd)->vroom; | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:394:20: note: in expansion of macro 'EGD' 394 | move_gold(gold, EGD(grd)->vroom); | ^~~ vault.c: In function 'paygd': ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:778:17: note: in expansion of macro 'EGD' 778 | gx = rooms[EGD(grd)->vroom].lx + rn2(2); | ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 25 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:779:17: note: in expansion of macro 'EGD' 779 | gy = rooms[EGD(grd)->vroom].ly + rn2(2); | ^~~ make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' ./makedefs -z close: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 _far_: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o vision.o vision.c vision.c: In function 'vision_recalc': vision.c:600:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 600 | 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' 600 | if (row < 0) continue; if (row >= ROWNO) break; | ^~ vision.c:621:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 621 | 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' 621 | if (row < 0) continue; if (row >= ROWNO) break; | ^~ vision.c:659:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 659 | 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' 659 | if (row < 0) continue; if (row >= ROWNO) break; | ^~ vision.c: In function 'close_shadow': vision.c:1596:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1596 | if ((sdy = (start_row-block_row)) < 0) sdy = -sdy; --sdy; /* src dy */ | ^~ vision.c:1596:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1596 | if ((sdy = (start_row-block_row)) < 0) sdy = -sdy; --sdy; /* src dy */ | ^~ vision.c: In function 'far_shadow': vision.c:1632:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1632 | if ((sdx = (start_col-block_col)) < 0) sdx = -sdx; --sdx; /* src dx */ | ^~ vision.c:1632:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1632 | if ((sdx = (start_col-block_col)) < 0) sdx = -sdx; --sdx; /* src dx */ | ^~ vision.c:1633:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1633 | if ((pdy = (block_row-this_row)) < 0) pdy = -pdy; --pdy; /* point dy */ | ^~ vision.c:1633:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1633 | if ((pdy = (block_row-this_row)) < 0) pdy = -pdy; --pdy; /* point dy */ | ^~ vision.c: In function 'right_side': vision.c:1099:49: warning: 'row_max' may be used uninitialized in this function [-Wmaybe-uninitialized] 1099 | #define set_max(z) if (*row_max < (z)) *row_max = (z) | ^ vision.c:1669:11: note: 'row_max' was declared here 1669 | char *row_max; /* right most */ | ^~~~~~~ vision.c:1098:49: warning: 'row_min' may be used uninitialized in this function [-Wmaybe-uninitialized] 1098 | #define set_min(z) if (*row_min > (z)) *row_min = (z) | ^ vision.c:1668:11: note: 'row_min' was declared here 1668 | char *row_min; /* left most */ | ^~~~~~~ vision.c:1096:31: warning: 'rowp' may be used uninitialized in this function [-Wmaybe-uninitialized] 1096 | #define set_cs(rowp,col) (rowp[col] = COULD_SEE) | ^ vision.c:1663:20: note: 'rowp' was declared here 1663 | register char *rowp; | ^~~~ vision.c: In function 'left_side': vision.c:1099:49: warning: 'row_max' may be used uninitialized in this function [-Wmaybe-uninitialized] 1099 | #define set_max(z) if (*row_max < (z)) *row_max = (z) | ^ vision.c:1928:11: note: 'row_max' was declared here 1928 | char *row_max; /* right most */ | ^~~~~~~ vision.c:1098:49: warning: 'row_min' may be used uninitialized in this function [-Wmaybe-uninitialized] 1098 | #define set_min(z) if (*row_min > (z)) *row_min = (z) | ^ vision.c:1927:11: note: 'row_min' was declared here 1927 | char *row_min; /* left most */ | ^~~~~~~ vision.c:1096:31: warning: 'rowp' may be used uninitialized in this function [-Wmaybe-uninitialized] 1096 | #define set_cs(rowp,col) (rowp[col] = COULD_SEE) | ^ vision.c:1922:20: note: 'rowp' was declared here 1922 | register char *rowp; | ^~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o vis_tab.o vis_tab.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o weapon.o weapon.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o were.o were.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o wield.o wield.c In file included from ../include/youprop.h:10, 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] 126 | P_MAX_SKILL(P_TWO_WEAPON_COMBAT) >= P_BASIC && \ wield.c:507:7: note: in expansion of macro 'could_twoweap' 507 | if (!could_twoweap(youmonst.data) && (uwep || uswapwep)) { | ^~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o windows.o windows.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o wizard.o wizard.c In file included from wizard.c:12: wizard.c: In function 'cuss': ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:37:7: note: in expansion of macro 'EPRI' 37 | EPRI(mon)->shralign > 0)) | ^~~~ wizard.c:627:12: note: in expansion of macro 'is_lminion' 627 | } else if(is_lminion(mtmp)) { | ^~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o worm.o worm.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o worn.o worn.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o write.o write.c In file included from /usr/include/string.h:508, from ../include/system.h:299, from ../include/unixconf.h:351, from ../include/global.h:171, from ../include/config.h:501, from ../include/hack.h:9, from write.c:4: In function 'strncpy', inlined from 'dowrite' at write.c:123:9: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o zap.o zap.c zap.c: In function 'poly_obj': zap.c:1395:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1395 | if (!otmp) | ^ In file included from ../include/decl.h:265, from ../include/hack.h:92, from zap.c:5: zap.c: In function 'bhito': ../include/obj.h:279:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 279 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) zap.c:1815:7: note: in expansion of macro 'Is_container' 1815 | if (Is_container(obj) || obj->otyp == STATUE) { | ^~~~~~~~~~~~ zap.c: In function 'weffects': zap.c:2273:6: warning: 'expl_type' may be used uninitialized in this function [-Wmaybe-uninitialized] 2273 | explode(u.dx, u.dy, type, u.ulevel/4 + 1 + skilldmg, 0, expl_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:2216:6: note: 'expl_type' was declared here 2216 | int expl_type; | ^~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o gypsy.o gypsy.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o tech.o tech.c tech.c: In function 'aborttech': tech.c:240:1: warning: type of 'tech' defaults to 'int' [-Wimplicit-int] 240 | aborttech(tech) | ^~~~~~~~~ tech.c: In function 'techeffects': tech.c:852:18: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 852 | if (!Blind) | ^~ tech.c:856:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 856 | uncurse(obj); | ^~~~~~~ tech.c:1251:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1251 | || obj->oinvis && !See_invisible tech.c: In function 'doblitzlist': tech.c:1975:9: warning: variable 'n' set but not used [-Wunused-but-set-variable] 1975 | int i, n; | ^ tech.c: In function 'techeffects': tech.c:1362:6: warning: 'mtmp' may be used uninitialized in this function [-Wmaybe-uninitialized] 1362 | if (!mtmp || !canseemon(mtmp)) { | ^ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/share/ioctl.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/unix/unixmain.c ../sys/unix/unixmain.c: In function 'whoami': ../sys/unix/unixmain.c:501:17: warning: unused variable 's' [-Wunused-variable] 501 | register char *s; | ^ ../sys/unix/unixmain.c: In function 'chdirx': ../sys/unix/unixmain.c:442:13: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 442 | (void) setgid(getgid()); | ^~~~~~~~~~~~~~~~ ../sys/unix/unixmain.c:443:13: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 443 | (void) setuid(getuid()); /* Ron Wessels */ | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, from ../include/system.h:299, from ../include/unixconf.h:351, from ../include/global.h:171, from ../include/config.h:501, from ../include/hack.h:9, from ../sys/unix/unixmain.c:7: In function 'strncat', inlined from 'main' at ../sys/unix/unixmain.c:185:10: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/share/unixtty.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/unix/unixunix.c ../sys/unix/unixunix.c: In function 'child': ../sys/unix/unixunix.c:332:10: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 332 | (void) setgid(getgid()); | ^~~~~~~~~~~~~~~~ ../sys/unix/unixunix.c:333:10: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 333 | (void) setuid(getuid()); | ^~~~~~~~~~~~~~~~ ../sys/unix/unixunix.c:335:10: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 335 | (void) chdir(getenv("HOME")); | ^~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ../sys/unix/unixres.c ../sys/unix/unixres.c:17: warning: "_GNU_SOURCE" redefined 17 | #define _GNU_SOURCE | : note: this is the location of the previous definition ../util/makedefs -v make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/vultures' compiling vultures_gen.c compiling vultures_gfl.c compiling vultures_gra.c compiling vultures_init.c compiling vultures_main.c compiling vultures_map.c vultures_map.c: In function 'vultures_map_square_description': vultures_map.c:1740:41: warning: ' (+' directive output may be truncated writing 3 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 1740 | snprintf(out_str, BUFSZ, "%s (+%d other object%s)", look_buf, n_objs - 1, (n_objs > 2) ? "s" : ""); | ^~~ vultures_map.c:1740:38: note: directive argument in the range [0, 2147483646] 1740 | snprintf(out_str, BUFSZ, "%s (+%d other object%s)", look_buf, n_objs - 1, (n_objs > 2) ? "s" : ""); | ^~~~~~~~~~~~~~~~~~~~~~~~~ vultures_map.c:1740:13: note: 'snprintf' output between 19 and 284 bytes into a destination of size 256 1740 | snprintf(out_str, BUFSZ, "%s (+%d other object%s)", look_buf, n_objs - 1, (n_objs > 2) ? "s" : ""); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vultures_map.c:1718:44: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 1718 | sprintf(temp_buf, " [seen: %s]", monbuf); | ^~ ~~~~~~ vultures_map.c:1718:17: note: 'sprintf' output between 10 and 265 bytes into a destination of size 256 1718 | sprintf(temp_buf, " [seen: %s]", monbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compiling vultures_mou.c compiling vultures_nhplayerselection.c vultures_nhplayerselection.c: In function 'vultures_player_selection_race': vultures_nhplayerselection.c:182:46: warning: '%s' directive writing up to 255 bytes into a region of size 234 [-Wformat-overflow=] 182 | sprintf(selection,"Pick the race of your %s", strlen(rolename) ? rolename : "character"); | ^~ vultures_nhplayerselection.c:182:5: note: 'sprintf' output between 23 and 278 bytes into a destination of size 256 182 | sprintf(selection,"Pick the race of your %s", strlen(rolename) ? rolename : "character"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vultures_nhplayerselection.c: In function 'vultures_player_selection_gender': vultures_nhplayerselection.c:257:48: warning: '%s' directive writing up to 255 bytes into a region of size 232 [-Wformat-overflow=] 257 | sprintf(selection,"Pick the gender of your %s", strlen(rolename) ? rolename : "character"); | ^~ vultures_nhplayerselection.c:257:5: note: 'sprintf' output between 25 and 280 bytes into a destination of size 256 257 | sprintf(selection,"Pick the gender of your %s", strlen(rolename) ? rolename : "character"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vultures_nhplayerselection.c: In function 'vultures_player_selection_alignment': vultures_nhplayerselection.c:332:51: warning: '%s' directive writing up to 255 bytes into a region of size 229 [-Wformat-overflow=] 332 | sprintf(selection,"Pick the alignment of your %s", strlen(rolename) ? rolename : "character"); | ^~ vultures_nhplayerselection.c:332:5: note: 'sprintf' output between 28 and 283 bytes into a destination of size 256 332 | sprintf(selection,"Pick the alignment of your %s", strlen(rolename) ? rolename : "character"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compiling vultures_opt.c compiling vultures_pcmusic.c compiling vultures_sdl.c compiling vultures_sound.c compiling vultures_tile.c compiling vultures_tileconfig.c vultures_tileconfig.c: In function 'init_objnames': vultures_tileconfig.c:644:21: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 644 | else | ^~~~ vultures_tileconfig.c:645:92: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 645 | snprintf(tilenames[TT_OBJECT][i], 40, "%s", obj_descr[i].oc_name); break; | ^~~~~ vultures_tileconfig.c:663:21: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 663 | else | ^~~~ vultures_tileconfig.c:664:79: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 664 | snprintf(tilenames[TT_OBJECT][i], 40, "%s", nameptr); break; | ^~~~~ compiling vultures_txt.c compiling vultures_win.c In file included from vultures_win.c:18: vultures_win.c: In function 'vultures_draw_objitem': vultures_tile.h:22:42: warning: 'tile_y' may be used uninitialized in this function [-Wmaybe-uninitialized] 22 | #define vultures_put_tile(x, y, tile_id) vultures_put_tile_shaded(x, y, tile_id, 0) | ^~~~~~~~~~~~~~~~~~~~~~~~ vultures_win.c:1481:17: note: 'tile_y' was declared here 1481 | int tile_x, tile_y; | ^~~~~~ In file included from vultures_win.c:18: vultures_tile.h:22:42: warning: 'tile_x' may be used uninitialized in this function [-Wmaybe-uninitialized] 22 | #define vultures_put_tile(x, y, tile_id) vultures_put_tile_shaded(x, y, tile_id, 0) | ^~~~~~~~~~~~~~~~~~~~~~~~ vultures_win.c:1481:9: note: 'tile_x' was declared here 1481 | int tile_x, tile_y; | ^~~~~~ compiling vultures_win_event.c generating parser compiling build_s/vultures_tileconfig.parser.c generating lexer compiling build_s/vultures_tileconfig.lexer.c build_s/vultures_tileconfig.lexer.c:1213:16: warning: 'input' defined but not used [-Wunused-function] 1213 | static int input (void) | ^~~~~ build_s/vultures_tileconfig.lexer.c:1170:17: warning: 'yyunput' defined but not used [-Wunused-function] 1170 | static void yyunput (int c, char * yy_bp ) | ^~~~~~~ combining objects to build_s/vultures.o finished building the files for the vultures interface make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/vultures' make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESCLAW -o tilemap ../win/share/tilemap.c ./tilemap make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o tile.o tile.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I ../win/vultures -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o version.o version.c Loading ... vulturesclaw is up to date. make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/src' make: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem' + make -C slashem/util recover dlb dgn_comp lev_comp make: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/src' make[1]: '../include/date.h' is up to date. make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESCLAW -c -o recover.o recover.c recover.c: In function 'main': recover.c:114:10: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 114 | (void) setgid(getgid()); | ^~~~~~~~~~~~~~~~ recover.c:115:10: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 115 | (void) setuid(getuid()); | ^~~~~~~~~~~~~~~~ recover.c: In function 'restore_savefile': recover.c:308:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 308 | write(sfd, (genericptr_t) &levc, sizeof(levc)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o recover recover.o cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESCLAW -c dlb_main.c cc -o dlb dlb_main.o ../src/dlb.o ../src/alloc.o panic.o yacc -d dgn_comp.y mv y.tab.c dgn_yacc.c mv y.tab.h ../include/dgn_comp.h cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESCLAW -c -o dgn_yacc.o dgn_yacc.c dgn_comp.y: In function 'check_branch': dgn_comp.y:622:6: warning: unused variable 'i' [-Wunused-variable] 622 | int i; | ^ lex dgn_comp.l mv lex.yy.c dgn_lex.c cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESCLAW dgn_lex.c lex.yy.c:1510:16: warning: 'input' defined but not used [-Wunused-function] lex.yy.c:1467:17: warning: 'yyunput' defined but not used [-Wunused-function] cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESCLAW -c -o dgn_main.o dgn_main.c cc -o dgn_comp dgn_yacc.o dgn_lex.o dgn_main.o ../src/alloc.o panic.o yacc -d lev_comp.y mv y.tab.c lev_yacc.c mv y.tab.h ../include/lev_comp.h cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESCLAW -c -o lev_yacc.o lev_yacc.c lev_comp.y: In function 'yyparse': lev_comp.y:600:24: warning: assignment to 'room_door *' from incompatible pointer type 'struct room_door *' [-Wincompatible-pointer-types] 600 | tmprdoor[ndoor] = (struct room_door *)0; | ^ lex lev_comp.l mv lex.yy.c lev_lex.c cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESCLAW lev_lex.c lex.yy.c:2258:16: warning: 'input' defined but not used [-Wunused-function] lex.yy.c:2215:17: warning: 'yyunput' defined but not used [-Wunused-function] cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -I../win/vultures -DVULTURESCLAW -c -o lev_main.o lev_main.c cc -o lev_comp lev_yacc.o lev_lex.o lev_main.o ../src/alloc.o panic.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o make: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' + make -C slashem/dat spec_levs quest_levs make: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/dat' ../util/lev_comp beholder.des ../util/lev_comp bigroom.des ../util/lev_comp blkmar.des ../util/lev_comp castle.des ../util/lev_comp grund.des ../util/lev_comp dragons.des ../util/lev_comp endgame.des ../util/lev_comp frnknstn.des ../util/lev_comp gehennom.des ../util/lev_comp giants.des ../util/lev_comp guild.des ../util/lev_comp knox.des ../util/lev_comp kobold-1.des ../util/lev_comp kobold-2.des ../util/lev_comp lich.des ../util/lev_comp mall-1.des ../util/lev_comp mall-2.des ../util/lev_comp medusa.des ../util/lev_comp mines.des ../util/lev_comp mtemple.des ../util/lev_comp newmall.des ../util/lev_comp nightmar.des ../util/lev_comp nymph.des ../util/lev_comp oracle.des ../util/lev_comp rats.des ../util/lev_comp sea.des ../util/lev_comp sokoban.des ../util/lev_comp spiders.des ../util/lev_comp stor-1.des ../util/lev_comp stor-2.des ../util/lev_comp stor-3.des ../util/lev_comp tomb.des ../util/lev_comp tower.des ../util/lev_comp yendor.des touch spec_levs ../util/lev_comp Arch.des ../util/lev_comp Barb.des ../util/lev_comp Caveman.des ../util/lev_comp Flame.des ../util/lev_comp Healer.des ../util/lev_comp Ice.des ../util/lev_comp Knight.des ../util/lev_comp Monk.des ../util/lev_comp Necro.des ../util/lev_comp Priest.des ../util/lev_comp Ranger.des ../util/lev_comp Rogue.des ../util/lev_comp Samurai.des ../util/lev_comp Tourist.des ../util/lev_comp Slayer.des ../util/lev_comp Valkyrie.des ../util/lev_comp Wizard.des ../util/lev_comp Yeoman.des touch quest_levs make: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/dat' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.76927 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/nethack-vultures-buildroot + : + /bin/rm -rf -- /usr/src/tmp/nethack-vultures-buildroot + cd vultures-2.1.2 + make -C nethack install CHGRP=: CHOWN=: GAMEDIR=/usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye VARDIR=/usr/src/tmp/nethack-vultures-buildroot/var/games/vultureseye SHELLDIR=/usr/src/tmp/nethack-vultures-buildroot/usr/bin make: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack' ( cd src ; make ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/src' make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/vultures' finished building the files for the vultures interface make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/vultures' vultureseye is up to date. make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/src' ( cd util ; make recover ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' ( cd dat ; make data ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/dat' ../util/makedefs -d make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/dat' ( cd dat ; make oracles ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/dat' ../util/makedefs -h make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/dat' ( cd dat ; make options ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/dat' make[1]: 'options' is up to date. make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/dat' ( cd dat ; make quest.dat ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/dat' ../util/makedefs -q make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/dat' ( cd dat ; make rumors ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/dat' ../util/makedefs -r make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/dat' ( cd util ; make dgn_comp ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' ( cd dat ; make dungeon ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/dat' ../util/makedefs -e ../util/dgn_comp dungeon.pdf make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/dat' ( cd util ; make lev_comp ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' ( cd dat ; make spec_levs ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/dat' make[1]: 'spec_levs' is up to date. make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/dat' ( cd dat ; make quest_levs ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/dat' make[1]: 'quest_levs' is up to date. make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/dat' mkdir -p /usr/src/tmp/nethack-vultures-buildroot/usr/bin rm -rf /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye /usr/src/tmp/nethack-vultures-buildroot/var/games/vultureseye mkdir -p /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye /usr/src/tmp/nethack-vultures-buildroot/var/games/vultureseye /usr/src/tmp/nethack-vultures-buildroot/var/games/vultureseye/save rmdir ./-p 2>/dev/null || true : games /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye /usr/src/tmp/nethack-vultures-buildroot/var/games/vultureseye /usr/src/tmp/nethack-vultures-buildroot/var/games/vultureseye/save : bin /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye /usr/src/tmp/nethack-vultures-buildroot/var/games/vultureseye /usr/src/tmp/nethack-vultures-buildroot/var/games/vultureseye/save chmod 0755 /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye /usr/src/tmp/nethack-vultures-buildroot/var/games/vultureseye /usr/src/tmp/nethack-vultures-buildroot/var/games/vultureseye/save ( make dofiles ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack' target=`sed -n \ -e '/librarian/{' \ -e 's/.*/dlb/p' \ -e 'q' \ -e '}' \ -e '$s/.*/nodlb/p' < dat/options` ; \ make dofiles-${target-nodlb} make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack' ( cd src ; make ) make[3]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/src' make[4]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/vultures' finished building the files for the vultures interface make[4]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/vultures' vultureseye is up to date. make[3]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/src' ( cd dat ; make options ) make[3]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/dat' make[3]: 'options' is up to date. make[3]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/dat' color, data file compression, data librarian, debug mode, Elbereth, make[3]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack' ( cd util ; make dlb ) make[4]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' make[5]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/src' make[5]: '../include/date.h' is up to date. make[5]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/src' make[4]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack/util' ( cd dat ; ../util/dlb cf nhdat help hh cmdhelp history opthelp wizhelp dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev data oracles options quest.dat rumors ) make[3]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack' ( cd dat ; cp nhdat license /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye ) ( cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye ; : games nhdat license ; \ : bin nhdat license ; \ chmod 0644 nhdat license ) make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack' make dofiles-jtp make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack' mkdir -p /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/config /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/graphics /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/sound /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/music /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/fonts /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/manual /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/manual/img /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/tiles rmdir ./-p 2>/dev/null || true : games /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/config /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/graphics /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/sound /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/music /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/fonts /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/manual : bin /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/config /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/graphics /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/sound /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/music /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/fonts /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/manual /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/manual/img /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/tiles chmod 0755 /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/config /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/graphics /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/sound /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/music /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/fonts /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/manual /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/manual/img /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/tiles ( cd win/vultures/gamedata; cp nh_icon.ico nh_icon.png defaults.nh /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye ; \ cd config; cp vultures_intro.txt vultures.conf vultures_sounds.conf vultures_tiles.conf /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/config ; \ cd ../tiles; cp *.png /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/tiles ; \ cd ../graphics; cp *.png /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/graphics ; \ cd ../manual; cp *.html *.css /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/manual ; \ cd img; cp *.jpg *.png /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/manual/img ; cd .. ; \ cd ../fonts; cp *.ttf /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/fonts ) (rm -f /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/se_*) (rm -f /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/graphics/se_*) ( cd win/vultures/gamedata/sound; cp *.ogg /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/sound ) ( cd win/vultures/gamedata/music; cp *.ogg *.xm /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/music ) ( cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye ; : games nh_icon.ico nh_icon.png defaults.nh ; \ : bin nh_icon.ico nh_icon.png defaults.nh ; \ chmod 0644 nh_icon.ico nh_icon.png defaults.nh ; \ cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/config ; : games vultures_intro.txt vultures.conf vultures_sounds.conf vultures_tiles.conf ; \ : bin vultures_intro.txt vultures.conf vultures_sounds.conf vultures_tiles.conf ; \ chmod 0644 vultures_intro.txt vultures.conf vultures_sounds.conf vultures_tiles.conf ; \ cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/tiles ; : games *.png ; \ : bin *.png ; \ chmod 0644 *.png ; \ cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/graphics ; : games *.png ; \ : bin *.png ; \ chmod 0644 *.png ; \ cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/sound ; : games *.ogg ; \ cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/music ; : games *.ogg *.xm ; \ : bin *.ogg ; \ chmod 0644 *.ogg ; \ cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/fonts ; : games *.ttf; \ : bin *.ttf ; \ chmod 0644 *.ttf ; \ cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/manual ; : games *.html *.css ; \ : bin *.html *.css ; \ chmod 0644 *.html *.css ; \ cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/manual/img ; : games *.jpg *.png ; \ : bin *.jpg *.png ; \ chmod 0644 *.jpg *.png ) mv /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/nh_icon.ico /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/vultureseye.ico mv /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/nh_icon.png /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/vultureseye.png make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack' cp src/vultureseye /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye cp util/recover /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye rm -f /usr/src/tmp/nethack-vultures-buildroot/usr/bin/vultureseye sed -e 's;/usr/games/lib/nethackdir;/usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye;' \ -e 's;HACKDIR/nethack;HACKDIR/vultureseye;' \ < sys/unix/nethack.sh \ > /usr/src/tmp/nethack-vultures-buildroot/usr/bin/vultureseye ( cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye ; : games vultureseye recover ; \ : bin vultureseye recover ) chmod 04755 /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/vultureseye chmod 0755 /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/recover : games /usr/src/tmp/nethack-vultures-buildroot/usr/bin/vultureseye : bin /usr/src/tmp/nethack-vultures-buildroot/usr/bin/vultureseye chmod 0755 /usr/src/tmp/nethack-vultures-buildroot/usr/bin/vultureseye make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack' touch /usr/src/tmp/nethack-vultures-buildroot/var/games/vultureseye/perm /usr/src/tmp/nethack-vultures-buildroot/var/games/vultureseye/record /usr/src/tmp/nethack-vultures-buildroot/var/games/vultureseye/logfile ( cd /usr/src/tmp/nethack-vultures-buildroot/var/games/vultureseye ; : games perm record logfile ; \ : bin perm record logfile ; \ chmod 0644 perm record logfile ) You may also want to reinstall the man pages via the doc Makefile. make: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/nethack' + make -C slashem install CHGRP=: CHOWN=: GAMEDIR=/usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw VARDIR=/usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw SHELLDIR=/usr/src/tmp/nethack-vultures-buildroot/usr/bin make: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem' ( cd src ; make ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/src' vulturesclaw is up to date. make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/src' ( cd util ; make recover ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' ( cd dat ; make data ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/dat' ../util/makedefs -d make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/dat' ( cd dat ; make oracles ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/dat' ../util/makedefs -h make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/dat' ( cd dat ; make options ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/dat' make[1]: 'options' is up to date. make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/dat' ( cd dat ; make quest.dat ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/dat' ../util/makedefs -q make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/dat' ( cd dat ; make rumors ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/dat' ../util/makedefs -r make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/dat' ( cd util ; make dgn_comp ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' ( cd dat ; make dungeon ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/dat' ../util/makedefs -e ../util/dgn_comp dungeon.pdf make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/dat' ( cd util ; make lev_comp ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' ( cd dat ; make spec_levs ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/dat' make[1]: 'spec_levs' is up to date. make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/dat' ( cd dat ; make quest_levs ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/dat' make[1]: 'quest_levs' is up to date. make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/dat' ( cd doc; make Guidebook.txt ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/doc' tbl tmac.n Guidebook.mn | nroff -c -Tascii | col -bx | cat > Guidebook.txt /bin/sh: nroff: command not found /bin/sh: tbl: command not found make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/doc' mkdir -p /usr/src/tmp/nethack-vultures-buildroot/usr/bin rm -rf /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw/save rm -rf /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw rm -rf /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw mkdir -p /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw/save mkdir -p /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw mkdir -p /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw rmdir ./-p 2>/dev/null || true : games /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw/save /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw : bin /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw/save /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw chmod 0755 /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw/save /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw : games /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw : bin /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw chmod 0755 /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw ( make dofiles ) make[1]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem' target=`sed -n \ -e '/librarian/{' \ -e 's/.*/dlb/p' \ -e 'q' \ -e '}' \ -e '$s/.*/nodlb/p' < dat/options` ; \ make dofiles-${target-nodlb} make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem' ( cd src ; make ) make[3]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/src' vulturesclaw is up to date. make[3]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/src' ( cd dat ; make options ) make[3]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/dat' make[3]: 'options' is up to date. make[3]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/dat' blackmarket level, color, data file compression, data librarian, make[3]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem' ( cd util ; make dlb ) make[4]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' make[5]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/src' make[5]: '../include/date.h' is up to date. make[5]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/src' make[4]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem/util' ( cd dat ; ../util/dlb cf nhshare help hh cmdhelp history opthelp wizhelp gypsy.txt data oracles options quest.dat rumors ) ( cd dat ; ../util/dlb cf nhushare dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev beholder.lev blkmar.lev cav2fill.lev grund-?.lev demogorg.lev dispater.lev dragons.lev geryon.lev guild.lev kobold-?.lev lich.lev mall-?.lev mall.lev mineking.lev mtemple.lev nymph.lev rats.lev sea.lev spiders.lev stor-?.lev tomb.lev yeenoghu.lev frnknstn.lev nightmar.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev ) make[3]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem' ( cd dat ; cp nhshare /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw ) ( cd dat ; cp nhushare /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw ) ( cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw ; \ : games nhshare ; \ : bin nhshare ; \ chmod 0644 nhshare ) ( cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw ; \ : games nhushare ; \ : bin nhushare ; \ chmod 0644 nhushare ) make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem' make dofiles-jtp make[2]: Entering directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem' echo mkdir -p /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/config /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/graphics /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/sound /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/music /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/fonts /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/manual /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/manual/img /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/tiles mkdir -p /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/config /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/graphics /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/sound /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/music /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/fonts /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/manual /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/manual/img /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/tiles mkdir -p /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/config /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/graphics /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/sound /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/music /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/fonts /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/manual /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/manual/img /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/tiles rmdir ./-p 2>/dev/null || true : games /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/config /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/graphics /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/sound /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/music /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/fonts /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/manual /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/manual/img /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/tiles : bin /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/config /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/graphics /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/sound /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/music /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/fonts /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/manual /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/manual/img /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/tiles chmod 0755 /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/config /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/graphics /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/sound /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/music /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/fonts /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/manual /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/manual/img /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/tiles ( cd win/vultures/gamedata; cp se_icon.ico se_icon.png defaults.nh /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw ; \ cd config; cp vultures_intro.txt vultures.conf vultures_sounds.conf vultures_tiles.conf /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/config ; \ cd ../tiles; cp *.png /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/tiles ; \ cd ../graphics; cp *.png /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/graphics ; \ cd ../manual; cp *.html *.css /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/manual ; \ cd img; cp *.jpg *.png /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/manual/img ; cd .. ; \ cd ../fonts; cp *.ttf /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/fonts ) (rm -f /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/nh_*) (rm -f /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/graphics/nh_*) ( cd win/vultures/gamedata/sound; cp *.ogg /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/sound ) ( cd win/vultures/gamedata/music; cp *.ogg *.xm /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/music ) ( cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw ; : games se_icon.ico se_icon.png defaults.nh ; \ : bin se_icon.ico se_icon.png defaults.nh ; \ chmod 0644 se_icon.ico se_icon.png defaults.nh ; \ cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/config ; : games vultures_intro.txt vultures.conf vultures_sounds.conf vultures_tiles.conf ; \ : bin vultures_intro.txt vultures.conf vultures_sounds.conf vultures_tiles.conf ; \ chmod 0644 vultures_intro.txt vultures.conf vultures_sounds.conf vultures_tiles.conf ; \ cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/tiles ; : games *.png ; \ : bin *.png ; \ chmod 0644 *.png ; \ cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/graphics ; : games *.png ; \ : bin *.png ; \ chmod 0644 *.png ; \ cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/sound ; : games *.ogg ; \ : bin *.ogg ; \ chmod 0644 *.ogg ; \ cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/music ; : games *.ogg *.xm ; \ : bin *.ogg *.xm ; \ chmod 0644 *.ogg *.xm ; \ cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/fonts ; : games *.ttf ; \ : bin *.ttf ; \ chmod 0644 *.ttf ; \ cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/manual ; : games *.html *.css ; \ : bin *.html *.css ; \ chmod 0644 *.html *.css ; \ cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/manual/img ; : games *.jpg *.png ; \ : bin *.jpg *.png ; \ chmod 0644 *.jpg *.png ) mv /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/se_icon.ico /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/vulturesclaw.ico mv /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/se_icon.png /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/vulturesclaw.png make[2]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem' cp src/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw cp util/recover /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw cp dat/license doc/Guidebook.txt /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw rm -f /usr/src/tmp/nethack-vultures-buildroot/usr/bin/vulturesclaw sed -e 's;/usr/games/lib/nethackdir;/usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw;' \ -e 's;HACKDIR/nethack;HACKDIR/vulturesclaw;' \ < sys/unix/nethack.sh \ > /usr/src/tmp/nethack-vultures-buildroot/usr/bin/vulturesclaw ( cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw ; : games vulturesclaw recover ; \ : bin vulturesclaw recover ) chmod 04755 /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/vulturesclaw chmod 0755 /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/recover ( cd /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw ; \ : games license Guidebook.txt ; \ : bin license Guidebook.txt ; \ chmod 0644 license Guidebook.txt ) : games /usr/src/tmp/nethack-vultures-buildroot/usr/bin/vulturesclaw : bin /usr/src/tmp/nethack-vultures-buildroot/usr/bin/vulturesclaw chmod 0755 /usr/src/tmp/nethack-vultures-buildroot/usr/bin/vulturesclaw make[1]: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem' touch /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw/perm /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw/record /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw/logfile ( cd /usr/src/tmp/nethack-vultures-buildroot/var/games/vulturesclaw ; : games perm record logfile ; \ : bin perm record logfile ; \ chmod 0644 perm record logfile ) You may also want to reinstall the man pages via the doc Makefile. make: Leaving directory '/usr/src/RPM/BUILD/vultures-2.1.2/slashem' + install -dm 755 /usr/src/tmp/nethack-vultures-buildroot/usr/share/man/man6 + install -pm 644 nethack/doc/nethack.6 /usr/src/tmp/nethack-vultures-buildroot/usr/share/man/man6/vultureseye.6 + install -pm 644 nethack/doc/recover.6 /usr/src/tmp/nethack-vultures-buildroot/usr/share/man/man6/vultureseye-recover.6 + install -pm 644 slashem/doc/nethack.6 /usr/src/tmp/nethack-vultures-buildroot/usr/share/man/man6/vulturesclaw.6 + install -pm 644 slashem/doc/recover.6 /usr/src/tmp/nethack-vultures-buildroot/usr/share/man/man6/vulturesclaw-recover.6 + install -dm 755 /usr/src/tmp/nethack-vultures-buildroot/usr/share/icons/hicolor/48x48/apps + for i in vultureseye vulturesclaw + desktop-file-install --vendor= --dir=/usr/src/tmp/nethack-vultures-buildroot/usr/share/applications --mode=644 dist/unix/desktop/vultureseye.desktop + mv /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/vultureseye.png /usr/src/tmp/nethack-vultures-buildroot/usr/share/icons/hicolor/48x48/apps/vultureseye.png + mv /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/recover /usr/src/tmp/nethack-vultures-buildroot/usr/bin/vultureseye-recover + for i in vultureseye vulturesclaw + desktop-file-install --vendor= --dir=/usr/src/tmp/nethack-vultures-buildroot/usr/share/applications --mode=644 dist/unix/desktop/vulturesclaw.desktop + mv /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/vulturesclaw.png /usr/src/tmp/nethack-vultures-buildroot/usr/share/icons/hicolor/48x48/apps/vulturesclaw.png + mv /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/recover /usr/src/tmp/nethack-vultures-buildroot/usr/bin/vulturesclaw-recover + rm -r /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/manual + rm -r /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/manual + chmod -s /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/vulturesclaw.ico /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/vultureseye /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/vultureseye.ico + sed -i -e 's|/usr/src/tmp/nethack-vultures-buildroot||' /usr/src/tmp/nethack-vultures-buildroot/usr/bin/vultureseye /usr/src/tmp/nethack-vultures-buildroot/usr/bin/vulturesclaw + rm /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/vulturesclaw.ico /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/vultureseye.ico + sed -i -e 's,HACK=$HACKDIR/vulturesclaw,HACK=/usr/bin/vulturesclaw.bin,' /usr/src/tmp/nethack-vultures-buildroot/usr/bin/vulturesclaw + sed -i -e 's,HACK=$HACKDIR/vultureseye,HACK=/usr/bin/vultureseye.bin,' /usr/src/tmp/nethack-vultures-buildroot/usr/bin/vultureseye + mv /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/usr/bin/vulturesclaw.bin + mv /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye/vultureseye /usr/src/tmp/nethack-vultures-buildroot/usr/bin/vultureseye.bin + hardlink -cv /usr/src/tmp/nethack-vultures-buildroot/usr/share/vulturesclaw /usr/src/tmp/nethack-vultures-buildroot/usr/share/vultureseye Directories: 14 Objects: 3788 Regular files: 3774 Comparisons: 1991 Linked: 1991 Saved: 29319168 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/nethack-vultures-buildroot (auto) Verifying and fixing files in /usr/src/tmp/nethack-vultures-buildroot (binconfig,pkgconfig,libtool,desktop) /usr/share/applications/vulturesclaw.desktop: performed minor cleanup: 8d7 < Encoding=UTF-8 /usr/share/applications/vultureseye.desktop: performed minor cleanup: 8d7 < Encoding=UTF-8 Checking contents of files in /usr/src/tmp/nethack-vultures-buildroot/ (default) Compressing files in /usr/src/tmp/nethack-vultures-buildroot (auto) Verifying ELF objects in /usr/src/tmp/nethack-vultures-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/vultureseye.bin: uses non-LFS functions: __fxstat __xstat creat fopen freopen lseek open verify-elf: WARNING: ./usr/bin/vulturesclaw.bin: uses non-LFS functions: __fxstat __xstat creat fopen freopen lseek open verify-elf: WARNING: ./usr/bin/vulturesclaw-recover: uses non-LFS functions: creat open verify-elf: WARNING: ./usr/bin/vultureseye-recover: uses non-LFS functions: creat open Hardlinking identical .pyc and .pyo files Processing files: nethack-vultures-2.1.2-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.sldLhZ find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hApj3Z find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Finding Requires(pre) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tI6XdW find-scriptlet-requires: FINDPACKAGE-COMMANDS: rm Requires: nethack-vultures-data = 2.1.2-alt3, /bin/sh, /lib/ld-linux.so.2, libSDL-1.2.so.0 >= set:lfG0r1a3zi1u9RTueZwykteZitom96t9sQIvPHcDrv8VBzMNDwxEzPRm48eO2hDZFVk6brpNm7X0cmNw7xSVRwdluyosstIOj, libSDL_mixer-1.2.so.0 >= set:kgIdSR7alvpQY3wHb7WxkxEyJ0OZke, libSDL_ttf-2.0.so.0 >= set:jfwdKRpdaKPK4SAqOXWUr, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libpng16.so.16 >= set:lgOKIQUBTYN4uI4410sBOrPzc7odyyM24gemxBtqnfb71AlPGVdb0, libpng16.so.16(PNG16_0), libpthread.so.0(GLIBC_2.0), rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(pre): /bin/sh, /usr/sbin/groupadd, coreutils Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zLciEY Creating nethack-vultures-debuginfo package Processing files: nethack-vultures-data-2.1.2-alt3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.54126 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd vultures-2.1.2 + DOCDIR=/usr/src/tmp/nethack-vultures-buildroot/usr/share/doc/nethack-vultures-data-2.1.2 + export DOCDIR + rm -rf /usr/src/tmp/nethack-vultures-buildroot/usr/share/doc/nethack-vultures-data-2.1.2 + /bin/mkdir -p /usr/src/tmp/nethack-vultures-buildroot/usr/share/doc/nethack-vultures-data-2.1.2 + cp -prL nethack/README nethack/dat/license nethack/dat/history nethack/dat/cmdhelp nethack/dat/help nethack/dat/opthelp nethack/dat/wizhelp /usr/src/tmp/nethack-vultures-buildroot/usr/share/doc/nethack-vultures-data-2.1.2 + chmod -R go-w /usr/src/tmp/nethack-vultures-buildroot/usr/share/doc/nethack-vultures-data-2.1.2 + chmod -R a+rX /usr/src/tmp/nethack-vultures-buildroot/usr/share/doc/nethack-vultures-data-2.1.2 + cp -prL slashem/readme.txt slashem/history.txt slashem/slamfaq.txt vultures/gamedata/manual/ /usr/src/tmp/nethack-vultures-buildroot/usr/share/doc/nethack-vultures-data-2.1.2 + chmod -R go-w /usr/src/tmp/nethack-vultures-buildroot/usr/share/doc/nethack-vultures-data-2.1.2 + chmod -R a+rX /usr/src/tmp/nethack-vultures-buildroot/usr/share/doc/nethack-vultures-data-2.1.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XPzwyW find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4eK5uW find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Processing files: nethack-vultures-debuginfo-2.1.2-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gK5r3X find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZfFMCY find-requires: running scripts (debuginfo) Requires: nethack-vultures = 2.1.2-alt3, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libSDL-1.2.so.0), debug(libSDL_mixer-1.2.so.0), debug(libSDL_ttf-2.0.so.0), debug(libc.so.6), debug(libpng16.so.16), debug(libpthread.so.0) Adding to nethack-vultures a strict dependency on nethack-vultures-data Adding to nethack-vultures-debuginfo a strict dependency on nethack-vultures Wrote: /usr/src/RPM/RPMS/i586/nethack-vultures-2.1.2-alt3.i586.rpm Wrote: /usr/src/RPM/RPMS/noarch/nethack-vultures-data-2.1.2-alt3.noarch.rpm Wrote: /usr/src/RPM/RPMS/i586/nethack-vultures-debuginfo-2.1.2-alt3.i586.rpm 184.63user 8.82system 3:38.50elapsed 88%CPU (0avgtext+0avgdata 58036maxresident)k 0inputs+0outputs (0major+3089341minor)pagefaults 0swaps /.out/nethack-vultures-data-2.1.2-alt3.noarch.rpm: license not found in '/usr/share/license' directory: NetHack /.out/nethack-vultures-data-2.1.2-alt3.noarch.rpm: license not found in '/usr/share/license' directory: General /.out/nethack-vultures-data-2.1.2-alt3.noarch.rpm: license not found in '/usr/share/license' directory: Public /.out/nethack-vultures-data-2.1.2-alt3.noarch.rpm: license not found in '/usr/share/license' directory: License /.out/nethack-vultures-2.1.2-alt3.i586.rpm: license not found in '/usr/share/license' directory: NetHack /.out/nethack-vultures-2.1.2-alt3.i586.rpm: license not found in '/usr/share/license' directory: General /.out/nethack-vultures-2.1.2-alt3.i586.rpm: license not found in '/usr/share/license' directory: Public /.out/nethack-vultures-2.1.2-alt3.i586.rpm: license not found in '/usr/share/license' directory: License /.out/nethack-vultures-debuginfo-2.1.2-alt3.i586.rpm: license not found in '/usr/share/license' directory: NetHack /.out/nethack-vultures-debuginfo-2.1.2-alt3.i586.rpm: license not found in '/usr/share/license' directory: General /.out/nethack-vultures-debuginfo-2.1.2-alt3.i586.rpm: license not found in '/usr/share/license' directory: Public /.out/nethack-vultures-debuginfo-2.1.2-alt3.i586.rpm: license not found in '/usr/share/license' directory: License 193.75user 12.13system 3:50.61elapsed 89%CPU (0avgtext+0avgdata 109152maxresident)k 120inputs+0outputs (0major+3484923minor)pagefaults 0swaps --- nethack-vultures-2.1.2-alt3.i586.rpm.repo 2019-03-02 06:54:22.000000000 +0000 +++ nethack-vultures-2.1.2-alt3.i586.rpm.hasher 2020-12-04 18:59:51.606847047 +0000 @@ -29,2 +29,3 @@ Requires: libc.so.6(GLIBC_2.4) +Requires: libc.so.6(GLIBC_2.7) Requires: libpng16.so.16 >= set:lgOKIQUBTYN4uI4410sBOrPzc7odyyM24gemxBtqnfb71AlPGVdb0 --- nethack-vultures-debuginfo-2.1.2-alt3.i586.rpm.repo 2019-03-02 06:54:22.000000000 +0000 +++ nethack-vultures-debuginfo-2.1.2-alt3.i586.rpm.hasher 2020-12-04 18:59:51.642846705 +0000 @@ -55,3 +55,2 @@ /usr/src/debug/vultures-2.1.2/nethack/include/system.h 100644 -/usr/src/debug/vultures-2.1.2/nethack/include/tcap.h 100644 /usr/src/debug/vultures-2.1.2/nethack/include/timeout.h 100644 @@ -143,3 +142,2 @@ /usr/src/debug/vultures-2.1.2/nethack/src/restore.c 100644 -/usr/src/debug/vultures-2.1.2/nethack/src/rip.c 100644 /usr/src/debug/vultures-2.1.2/nethack/src/rnd.c 100644 @@ -240,3 +238,2 @@ /usr/src/debug/vultures-2.1.2/slashem/include/system.h 100644 -/usr/src/debug/vultures-2.1.2/slashem/include/tcap.h 100644 /usr/src/debug/vultures-2.1.2/slashem/include/tech.h 100644 @@ -329,3 +326,2 @@ /usr/src/debug/vultures-2.1.2/slashem/src/restore.c 100644 -/usr/src/debug/vultures-2.1.2/slashem/src/rip.c 100644 /usr/src/debug/vultures-2.1.2/slashem/src/rnd.c 100644