Running phase: unpackPhase
unpacking source archive /nix/store/nlyclp3mjxckam1rrkscrwq43imf01fx-UnNetHack
source root is UnNetHack
Running phase: patchPhase
applying patch /nix/store/ymr14qzh4pcpz25140jsphw0lrvnfkmr-fix-bison.patch
patching file ChangeLog
Hunk #1 succeeded at 26 with fuzz 1 (offset -43 lines).
Hunk #2 succeeded at 29 with fuzz 2 (offset -53 lines).
patching file sys/autoconf/Makefile.utl
Running phase: updateAutotoolsGnuConfigScriptsPhase
Updating Autotools / GNU config script to a newer upstream version: ./sys/autoconf/config.sub
Updating Autotools / GNU config script to a newer upstream version: ./sys/autoconf/config.guess
Running phase: configurePhase
patching script interpreter paths in ./configure
./configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/sh"
configure flags: --prefix=/nix/store/750vjp7fda80659ipdrrl7if6774xy6r-unnethack-5.3.2 --enable-curses-graphics --disable-tty-graphics --with-owner=no --with-group=no --with-gamesdir=/tmp/unnethack
checking whether ln -s works... yes
checking for gawk... gawk
checking dummy-graphics... no
checking lisp-graphics... no
checking curses-graphics... yes
checking tty-graphics... no
checking x11-graphics... no
checking mswin-graphics... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for chown... chown
checking for chgrp... chgrp
checking for chmod... chmod
checking for windres... no
checking for bzip2... /nix/store/8n4p2v4kqy97qjfwg4hdrcjl9qjailqy-bzip2-1.0.8-bin/bin/bzip2
checking for compression support... /nix/store/8n4p2v4kqy97qjfwg4hdrcjl9qjailqy-bzip2-1.0.8-bin/bin/bzip2
checking for suffix of compressed files... .bz2
checking ncurses.h usability... yes
checking ncurses.h presence... no
configure: WARNING: ncurses.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: ncurses.h: proceeding with the compiler's result
checking for ncurses.h... yes
checking curses.h usability... yes
checking curses.h presence... no
configure: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: curses.h: proceeding with the compiler's result
checking for curses.h... yes
checking termcap.h usability... yes
checking termcap.h presence... no
configure: WARNING: termcap.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: termcap.h: proceeding with the compiler's result
checking for termcap.h... yes
checking for library containing tparm... -lncurses
checking for library containing has_colors... none required
checking for valid window system configuration... yes
checking for ANSI C header files... no
checking inttypes.h usability... yes
checking inttypes.h presence... no
configure: WARNING: inttypes.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: inttypes.h: proceeding with the compiler's result
checking for inttypes.h... yes
checking stdint.h usability... yes
checking stdint.h presence... no
configure: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: stdint.h: proceeding with the compiler's result
checking for stdint.h... yes
checking unistd.h usability... yes
checking unistd.h presence... no
configure: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: unistd.h: proceeding with the compiler's result
checking for unistd.h... yes
checking string.h usability... yes
checking string.h presence... no
configure: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: string.h: proceeding with the compiler's result
checking for string.h... yes
checking utime.h usability... yes
checking utime.h presence... no
configure: WARNING: utime.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: utime.h: proceeding with the compiler's result
checking for utime.h... yes
checking for regex.h... yes
checking for regex_t... yes
checking for void... yes
checking whether strncmpi is declared... no
checking whether strnicmp is declared... no
checking for msleep... no
checking for usleep... yes
checking for fcntl... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for nroff... no
checking for tbl... no
checking for col... yes
checking for pseudo random number device... /dev/urandom
checking whether to enable data-librarian... yes
checking whether to enable sinks... yes
checking whether to enable wallified-maze... yes
checking whether to enable reincarnation... yes
checking whether to enable blackmarket... yes
checking whether to enable kops... yes
checking whether to enable seduce... yes
checking whether to enable randomized-planes... yes
checking whether to enable steed... yes
checking whether to enable tourist... yes
checking whether to enable convict... yes
checking whether to enable redo... yes
checking whether to enable clipping... yes
checking whether to enable menu-color... yes
checking whether to enable auto-open... yes
checking whether to enable elbereth... yes
checking whether to enable bones-pool... yes
checking whether to enable user-sounds... no
checking whether to enable exp-on-botl... yes
checking whether to enable score-on-botl... no
checking whether to enable realtime-on-botl... no
checking whether to enable high-score-comparison-by-uid... no
checking whether to enable paranoid... yes
checking whether to enable shell... no
checking whether to enable show-born... yes
checking whether to enable show-extinct... yes
checking whether to enable sortloot... yes
checking whether to enable dungeon-growth... yes
checking whether to enable goldobj... no
checking whether to enable autopickup-exceptions... yes
checking whether to enable quiver-fired... yes
checking whether to enable qwertz... yes
checking whether to enable simple-mail... no
checking whether to enable xlogfile... yes (file xlogfile)
checking whether to enable livelog... no
checking whether to enable dump... yes
checking whether to enable dump file... no
checking whether to enable dump messages... yes (number 30)
checking whether to enable dump-text... yes
checking whether to enable dump-html... no
checking whether to enable whereis file... no
checking whether to enable wizmode... yes (user wizard)
checking for owner of installed files... not set
checking for group of installed files... not set
checking whether to enable file-areas... yes
checking which directory is gamesdir... /tmp/unnethack
checking which directory is bonesdir... /tmp/unnethack/bones
checking which directory is savesdir... /tmp/unnethack/saves
checking which directory is leveldir... /tmp/unnethack/level
checking which directory is sharedir... ${datarootdir}/unnethack
checking which directory is unsharedir... ${datarootdir}/unnethack
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating dat/Makefile
config.status: creating util/Makefile
config.status: creating sys/autoconf/depend.awk
config.status: creating include/autoconf.h
config.status: linking sys/winnt/win32api.h to include/win32api.h
Running phase: buildPhase
build flags: SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash GAMEPERM=744
echo '#ifndef AUTOCONF_PATH_H' >include/autoconf_paths.h
echo '#undef AUTOCONF_PATH_H' >>include/autoconf_paths.h
echo '#define AUTOCONF_PATH_H' >>include/autoconf_paths.h
echo '#define AUTOCONF_PREFIX "/nix/store/750vjp7fda80659ipdrrl7if6774xy6r-unnethack-5.3.2"' >>include/autoconf_paths.h
echo '#define AUTOCONF_LOCALSTATEDIR "/nix/store/750vjp7fda80659ipdrrl7if6774xy6r-unnethack-5.3.2/var"' >>include/autoconf_paths.h
echo '#define AUTOCONF_DATADIR "/nix/store/750vjp7fda80659ipdrrl7if6774xy6r-unnethack-5.3.2/share"' >>include/autoconf_paths.h
echo '#define AUTOCONF_DATAROOTDIR "/nix/store/750vjp7fda80659ipdrrl7if6774xy6r-unnethack-5.3.2/share"' >>include/autoconf_paths.h
echo '#define AUTOCONF_DOCDIR "/nix/store/750vjp7fda80659ipdrrl7if6774xy6r-unnethack-5.3.2/share/doc/"' >>include/autoconf_paths.h
echo '#endif' >>include/autoconf_paths.h
( cd src ; make )
make[1]: Entering directory '/build/UnNetHack/src'
touch ../src/config.h-t
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c ./monst.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c ./objects.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o alloc.o alloc.c
make[2]: Entering directory '/build/UnNetHack/util'
gcc -DAUTOCONF -O2 -I../include -I./../include -g -O2 -c -o makedefs.o makedefs.c
gcc -DAUTOCONF -O2 -I../include -I./../include -g -O2 -c ./../src/monst.c -o ../src/monst_util.o
gcc -DAUTOCONF -O2 -I../include -I./../include -g -O2 -c ./../src/objects.c -o ../src/objects_util.o
gcc -DAUTOCONF -O2 -I../include -I./../include -g -O2 -c ./../src/alloc.c -o ../src/alloc_util.o
gcc -DAUTOCONF -O2 -I../include -I./../include -g -O2 -c -o panic.o panic.c
gcc -DAUTOCONF -o makedefs makedefs.o ../src/monst_util.o ../src/objects_util.o ../src/alloc_util.o panic.o
make[2]: Leaving directory '/build/UnNetHack/util'
make[2]: Entering directory '/build/UnNetHack/util'
./makedefs -p
make[2]: Leaving directory '/build/UnNetHack/util'
make[2]: Entering directory '/build/UnNetHack/util'
./makedefs -o
make[2]: Leaving directory '/build/UnNetHack/util'
touch ../src/hack.h-t
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o allmain.o allmain.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o apply.o apply.c
apply.c: In function 'use_mirror':
apply.c:749:17: warning: this 'if' clause does not guard... [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation8;;]
749 | if (vis)
| ^~
apply.c:751:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
751 | mtmp->mcanmove = 0;
| ^~~~
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o artifact.o artifact.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o attrib.o attrib.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o ball.o ball.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o base32.o base32.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o bones.o bones.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o botl.o botl.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o cmd.o cmd.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o dbridge.o dbridge.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o decl.o decl.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o detect.o detect.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o dig.o dig.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o display.o display.c
display.c: In function 'dump_screen':
display.c:1496:84: warning: '%s' directive writing up to 255 bytes into a region of size between 145 and 155 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1496 | Sprintf(tmpbuf, "%s", color, html_c);
| ^~ ~~~~~~
In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/stdio.h:970,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
In function 'sprintf',
inlined from 'dump_screen' at display.c:1496:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 53 and 318 bytes into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1540:57: warning: '%s' directive writing up to 255 bytes into a region of size 179 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1540 | Sprintf(tmpbuf, "%s", html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1540:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 29 and 284 bytes into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1538:71: warning: '%s' directive writing up to 255 bytes into a region of size 169 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1538 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1538:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1536:72: warning: '%s' directive writing up to 255 bytes into a region of size 168 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1536 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1536:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 40 or more bytes (assuming 295) into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1534:72: warning: '%s' directive writing up to 255 bytes into a region of size 168 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1534 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1534:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 40 or more bytes (assuming 295) into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1532:71: warning: '%s' directive writing up to 255 bytes into a region of size 169 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1532 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1532:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1530:73: warning: '%s' directive writing up to 255 bytes into a region of size 167 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1530 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1530:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 41 or more bytes (assuming 296) into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1528:75: warning: '%s' directive writing up to 255 bytes into a region of size 165 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1528 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1528:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 43 or more bytes (assuming 298) into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1526:73: warning: '%s' directive writing up to 255 bytes into a region of size 167 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1526 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1526:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 41 or more bytes (assuming 296) into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1524:75: warning: '%s' directive writing up to 255 bytes into a region of size 166 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1524 | Sprintf(tmpbuf, "%s", dfeature, color, html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1524:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 42 or more bytes (assuming 297) into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1522:62: warning: '%s' directive writing up to 255 bytes into a region of size 174 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1522 | Sprintf(tmpbuf, "%s", html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1522:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 34 and 289 bytes into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1520:75: warning: '%s' directive writing up to 255 bytes into a region of size 165 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1520 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1520:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 43 or more bytes (assuming 298) into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1518:71: warning: '%s' directive writing up to 255 bytes into a region of size 169 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1518 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1518:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1516:72: warning: '%s' directive writing up to 255 bytes into a region of size 168 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1516 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1516:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 40 or more bytes (assuming 295) into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1514:72: warning: '%s' directive writing up to 255 bytes into a region of size 168 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1514 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1514:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 40 or more bytes (assuming 295) into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1512:71: warning: '%s' directive writing up to 255 bytes into a region of size 169 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1512 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1512:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1510:71: warning: '%s' directive writing up to 255 bytes into a region of size 169 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1510 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1510:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1508:77: warning: '%s' directive writing up to 255 bytes into a region of size 163 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1508 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1508:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 45 or more bytes (assuming 300) into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1506:71: warning: '%s' directive writing up to 255 bytes into a region of size 169 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1506 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1506:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1546:75: warning: '%s' directive writing up to 255 bytes into a region of size between 162 and 166 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1546 | Sprintf(tmpbuf, "%s",
| ^~
1547 | t ? defsyms[trap_to_defsym(t->ttyp)].explanation : "trap",
1548 | color, html_c);
| ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1546:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 42 or more bytes (assuming 301) into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1554:70: warning: '%s' directive writing up to 255 bytes into a region of size between 165 and 175 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1554 | Sprintf(tmpbuf, "%s", color, html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1554:4:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 33 and 298 bytes into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1504:60: warning: '%s' directive writing up to 255 bytes into a region of size between 167 and 177 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1504 | Sprintf(tmpbuf, "%s", color, html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1504:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 31 and 296 bytes into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1502:73: warning: '%s' directive writing up to 255 bytes into a region of size 168 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1502 | Sprintf(tmpbuf, "%s", dfeature, color, html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1502:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 40 or more bytes (assuming 295) into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1500:60: warning: '%s' directive writing up to 255 bytes into a region of size between 167 and 177 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1500 | Sprintf(tmpbuf, "%s", color, html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1500:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 31 and 296 bytes into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
display.c: In function 'dump_screen':
display.c:1498:67: warning: '%s' directive writing up to 255 bytes into a region of size between 160 and 170 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
1498 | Sprintf(tmpbuf, "%s", color, html_c);
| ^~ ~~~~~~
In function 'sprintf',
inlined from 'dump_screen' at display.c:1498:3:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 38 and 303 bytes into a destination of size 200
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o dlb.o dlb.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o do.o do.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o do_name.o do_name.c
do_name.c: In function 'do_mname':
do_name.c:393:49: warning: '%s' directive writing up to 255 bytes into a region of size 103 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-overflow-Wformat-overflow=8;;]
393 | Sprintf(qbuf, "What do you want to call %s?", buf);
| ^~ ~~~
In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/stdio.h:970,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from do_name.c:5:
In function 'sprintf',
inlined from 'do_mname' at do_name.c:393:2:
/nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 27 and 282 bytes into a destination of size 128
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o do_wear.o do_wear.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o dog.o dog.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o dogmove.o dogmove.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o dokick.o dokick.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o dothrow.o dothrow.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o drawing.o drawing.c
drawing.c:939:20: warning: 'IBM_r_oc_syms' defined but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-const-variable-Wunused-const-variable=8;;]
939 | static const uchar IBM_r_oc_syms[MAXOCLASSES] = { /* a la EPYX Rogue */
| ^~~~~~~~~~~~~
drawing.c:911:22: warning: 'r_oc_syms' defined but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-const-variable-Wunused-const-variable=8;;]
911 | static const glyph_t r_oc_syms[MAXOCLASSES] = {
| ^~~~~~~~~
make[2]: Entering directory '/build/UnNetHack/util'
./makedefs -m
make[2]: Leaving directory '/build/UnNetHack/util'
make[2]: Entering directory '/build/UnNetHack/util'
./makedefs -z
make[2]: Leaving directory '/build/UnNetHack/util'
../util/makedefs -v
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o dump.o dump.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o dungeon.o dungeon.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o eat.o eat.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o end.o end.c
end.c: In function 'done':
end.c:721:23: warning: the comparison will always evaluate as 'true' for the address of 'msgs' will never be NULL [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Waddress-Waddress8;;]
721 | if (msgs[i] && strcmp(msgs[i], "") ) {
| ^~~~
end.c:44:13: note: 'msgs' declared here
44 | extern char msgs[][BUFSZ];
| ^~~~
end.c: In function 'list_genocided':
end.c:1450:8: warning: this 'else' clause does not guard... [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation8;;]
1450 | else
| ^~~~
end.c:1454:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
1454 | if (c == 'q') done_stopprint++;
| ^~
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o engrave.o engrave.c
engrave.c: In function 'engrave':
engrave.c:1292:16: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation8;;]
1292 | (void) strncat(buf, ebuf, (BUFSZ - (int)strlen(buf) - 1));
| ^
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o exper.o exper.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o explode.o explode.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o extralev.o extralev.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o files.o files.c
files.c: In function 'save_savefile_name':
files.c:1038:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;]
1038 | (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
files.c: In function 'docompress_file':
files.c:1401:24: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;]
1401 | (void) setgid(getgid());
| ^~~~~~~~~~~~~~~~
files.c:1402:24: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;]
1402 | (void) setuid(getuid());
| ^~~~~~~~~~~~~~~~
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o fountain.o fountain.c
gcc -DAUTOCONF -Wall -I../include -I./../include -g -O2 -c -o hack.o hack.c
hack.c: In function 'moverock':
hack.c:586:11: warning: this 'else' clause does not guard... [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation8;;]
586 | else
| ^~~~
hack.c:589:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
589 | if (Blind) feel_location(sx, sy);
| ^~
hack.c: In function 'interesting_to_explore':
hack.c:1378:1: error: type of 'x' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
1378 | interesting_to_explore(x,y) {
| ^~~~~~~~~~~~~~~~~~~~~~
hack.c:1378:1: error: type of 'y' defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;]
make[1]: *** [: hack.o] Error 1
make[1]: Leaving directory '/build/UnNetHack/src'
make: *** [Makefile:143: unnethack] Error 2