>>> zangband: Building community/zangband 2.7.5.1-r2 (using abuild 3.14.1-r0) started Thu, 24 Oct 2024 01:37:38 +0000 >>> zangband: Validating /home/buildozer/aports/community/zangband/APKBUILD... >>> zangband: Analyzing dependencies... >>> zangband: Installing for build: build-base ncurses automake autoconf util-linux ncurses-dev (1/52) Installing ncurses (6.5_p20241006-r0) (2/52) Installing libbz2 (1.0.8-r6) (3/52) Installing perl (5.40.0-r3) (4/52) Installing automake (1.17-r0) (5/52) Installing m4 (1.4.19-r3) (6/52) Installing autoconf (2.72-r0) (7/52) Installing skalibs-libs (2.14.3.0-r0) (8/52) Installing sqlite-libs (3.47.0-r0) (9/52) Installing util-linux (2.40.2-r3) (10/52) Installing dmesg (2.40.2-r3) (11/52) Installing setarch (2.40.2-r3) (12/52) Installing libeconf (0.6.3-r0) (13/52) Installing libblkid (2.40.2-r3) (14/52) Installing libuuid (2.40.2-r3) (15/52) Installing libfdisk (2.40.2-r3) (16/52) Installing libmount (2.40.2-r3) (17/52) Installing libsmartcols (2.40.2-r3) (18/52) Installing util-linux-misc (2.40.2-r3) (19/52) Installing utmps-libs (0.1.2.3-r2) (20/52) Installing linux-pam (1.6.1-r1) (21/52) Installing runuser (2.40.2-r3) (22/52) Installing mount (2.40.2-r3) (23/52) Installing losetup (2.40.2-r3) (24/52) Installing hexdump (2.40.2-r3) (25/52) Installing uuidgen (2.40.2-r3) (26/52) Installing blkid (2.40.2-r3) (27/52) Installing sfdisk (2.40.2-r3) (28/52) Installing mcookie (2.40.2-r3) (29/52) Installing agetty (2.40.2-r3) (30/52) Installing wipefs (2.40.2-r3) (31/52) Installing cfdisk (2.40.2-r3) (32/52) Installing umount (2.40.2-r3) (33/52) Installing flock (2.40.2-r3) (34/52) Installing lsblk (2.40.2-r3) (35/52) Installing libcap-ng (0.8.5-r0) (36/52) Installing setpriv (2.40.2-r3) (37/52) Installing lscpu (2.40.2-r3) (38/52) Installing logger (2.40.2-r3) (39/52) Installing partx (2.40.2-r3) (40/52) Installing fstrim (2.40.2-r3) (41/52) Installing findmnt (2.40.2-r3) (42/52) Installing libformw (6.5_p20241006-r0) (43/52) Installing libmenuw (6.5_p20241006-r0) (44/52) Installing libpanelw (6.5_p20241006-r0) (45/52) Installing libncurses++ (6.5_p20241006-r0) (46/52) Installing ncurses-dev (6.5_p20241006-r0) (47/52) Installing .makedepends-zangband (20241024.013810) (48/52) Installing util-linux-openrc (2.40.2-r3) (49/52) Installing agetty-openrc (0.55.1-r2) (50/52) Installing perl-error (0.17029-r2) (51/52) Installing perl-git (2.46.2-r0) (52/52) Installing git-perl (2.46.2-r0) Executing busybox-1.37.0-r3.trigger OK: 291 MiB in 151 packages >>> zangband: Cleaning up srcdir >>> zangband: Cleaning up pkgdir >>> zangband: Cleaning up tmpdir >>> zangband: Fetching https://distfiles.alpinelinux.org/distfiles/edge/zangband-2.7.5pre1.tar.gz >>> zangband: Fetching https://distfiles.alpinelinux.org/distfiles/edge/zangband-2.7.5pre1.tar.gz >>> zangband: Checking sha512sums... zangband-2.7.5pre1.tar.gz: OK fix-bad-substitution.patch: OK fix-bad-configure.patch: OK fix-random-num-gen.patch: OK fix-explosive-rune-error.patch: OK fix-spear-of-hagen-error.patch: OK >>> zangband: Unpacking /var/cache/distfiles/zangband-2.7.5pre1.tar.gz... >>> zangband: fix-bad-substitution.patch patching file configure.in >>> zangband: fix-bad-configure.patch patching file configure >>> zangband: fix-random-num-gen.patch patch unexpectedly ends in middle of line patching file src/h-type.h patch unexpectedly ends in middle of line Hunk #1 succeeded at 103 with fuzz 2. >>> zangband: fix-explosive-rune-error.patch patching file lib/edit/t_info.txt >>> zangband: fix-spear-of-hagen-error.patch patching file lib/edit/a_info.txt autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:127: warning: underquoted definition of AC_SEARCH_HEADERS configure.in:127: run info Automake 'Extending aclocal' configure.in:127: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal autoreconf: configure.in: tracing autoreconf: configure.in: not using Libtool autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.in:7: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.in:7: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.in:7: the top level configure.in:162: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:162: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:162: the top level configure.in:209: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:209: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.in:209: the top level configure.in:218: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.in:218: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.in:218: the top level configure.in:225: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.in:225: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... configure.in:225: the top level configure.in:230: warning: The macro 'AC_TYPE_SIGNAL' is obsolete. configure.in:230: You should run autoupdate. ./lib/autoconf/types.m4:805: AC_TYPE_SIGNAL is expanded from... configure.in:230: the top level autoreconf: running: /usr/bin/autoheader --force autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: not using Automake autoreconf: './config.sub' is created autoreconf: './config.guess' is created autoreconf: Leaving directory '.' 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking how to run the C preprocessor... gcc -E checking for X... no checking for library containing XCreateImage... no checking for main in -lXext... no checking for main in -lXm... no checking for main in -lXmu... no checking for main in -lXt... no checking for main in -lSM... no checking for main in -lXpm... no checking for main in -lGn... no checking for main in -lICE... no checking for library containing XawInitializeWidgetSet... no checking for library containing initscr... -lncurses checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/param.h... yes checking for library containing Tcl_Init... no checking for main in -lbsd... no checking for main in -lcposix... no checking for main in -linet... no checking for main in -lnsl_s... no checking for main in -lrpcsvc... no checking for main in -lsun... no checking for main in -lvideo... no checking for main in -lwinmm... no checking for main in -lz... no checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fcntl.h... yes checking for limits.h... yes checking for locale.h... yes checking for memory.h... yes checking for netdb.h... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/file.h... yes checking for sys/ioctl.h... yes checking for sys/param.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/timeb.h... yes checking for termio.h... no checking for unistd.h... (cached) yes checking for sys/ipc.h... yes checking for sys/shm.h... yes checking for termios.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking size of long int... 8 checking for error_at_line... no checking build system type... loongarch64-unknown-linux-musl checking host system type... loongarch64-unknown-linux-musl checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for GNU libc compatible realloc... yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for working strcoll... yes checking for strftime... yes checking for vprintf... yes checking for getpagesize... yes checking for working mmap... yes checking for floor... yes checking for ftruncate... yes checking for gethostname... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for modf... yes checking for select... yes checking for setlocale... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strpbrk... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for Tk_SetClassProcs... no checking for TkpSync... no checking for mkstemp... yes checking for usleep... yes checking for getpwuid... yes checking for getpwnam... yes checking for shmget... yes checking whether gcc accepts -pedantic... yes checking whether gcc accepts -W... yes checking whether gcc accepts -Wall... yes checking whether gcc accepts -Wmissing-prototypes... yes checking whether gcc accepts -Wmissing-declarations... yes checking whether gcc accepts -Wno-long-long... yes checking whether gcc accepts -Wwrite-strings... yes checking whether gcc accepts -Wpointer-arith... yes checking whether gcc accepts -Wbad-function-cast... yes checking whether gcc accepts -Waggregate-return... yes checking whether gcc accepts -Wstrict-prototypes... yes checking whether gcc accepts -Wredundant-decls... yes checking whether gcc accepts -Wchar-subscripts... yes checking whether gcc accepts -Wimplicit... yes checking whether gcc accepts -Wparentheses... yes checking whether gcc accepts -Wsequence-point... yes checking whether gcc accepts -Wreturn-type... yes checking whether gcc accepts -Wswitch... yes checking whether gcc accepts -Wunused... yes checking whether gcc accepts -Wuninitialized... yes checking whether gcc accepts -Wundef... yes checking whether gcc accepts -Wnested-externs... yes checking whether gcc accepts -Wdeclaration-after-statement... yes checking whether gcc accepts -Wsign-compare... yes configure: creating ./config.status config.status: creating makefile config.status: WARNING: 'makefile.in' seems to ignore the --datarootdir setting config.status: creating src/autoconf.h cat configure.in | sed -e "s/AC_INIT.*$/AC_INIT\(Zangband,\ `cat .version`,\ bugs@zangband.org\)/" > configure.new mv configure.new configure.in aclocal aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:127: warning: underquoted definition of AC_SEARCH_HEADERS configure.in:127: run info Automake 'Extending aclocal' configure.in:127: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal autoheader autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoconf configure.in:7: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.in:7: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.in:7: the top level configure.in:162: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:162: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:162: the top level configure.in:209: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:209: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.in:209: the top level configure.in:218: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.in:218: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.in:218: the top level configure.in:225: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.in:225: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... configure.in:225: the top level configure.in:230: warning: The macro 'AC_TYPE_SIGNAL' is obsolete. configure.in:230: You should run autoupdate. ./lib/autoconf/types.m4:805: AC_TYPE_SIGNAL is expanded from... configure.in:230: the top level if [ -x ./config.status ] ; then ./config.status --recheck && ./config.status; else ./configure; fi running CONFIG_SHELL=/bin/sh /bin/sh ./configure --prefix=/usr/lib --with-gtk=no CC=gcc CFLAGS=-Os -fstack-clash-protection -Wformat -Werror=format-security LDFLAGS=-Wl,--as-needed,-O1,--sort-common --no-create --no-recursion 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking how to run the C preprocessor... gcc -E checking for X... no checking for library containing XCreateImage... no checking for main in -lXext... no checking for main in -lXm... no checking for main in -lXmu... no checking for main in -lXt... no checking for main in -lSM... no checking for main in -lXpm... no checking for main in -lGn... no checking for main in -lICE... no checking for library containing XawInitializeWidgetSet... no checking for library containing initscr... -lncurses checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/param.h... yes checking for library containing Tcl_Init... no checking for main in -lbsd... no checking for main in -lcposix... no checking for main in -linet... no checking for main in -lnsl_s... no checking for main in -lrpcsvc... no checking for main in -lsun... no checking for main in -lvideo... no checking for main in -lwinmm... no checking for main in -lz... no checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fcntl.h... yes checking for limits.h... yes checking for locale.h... yes checking for memory.h... yes checking for netdb.h... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/file.h... yes checking for sys/ioctl.h... yes checking for sys/param.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/timeb.h... yes checking for termio.h... no checking for unistd.h... (cached) yes checking for sys/ipc.h... yes checking for sys/shm.h... yes checking for termios.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking size of long int... 8 checking for error_at_line... no checking build system type... loongarch64-unknown-linux-musl checking host system type... loongarch64-unknown-linux-musl checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for GNU libc compatible realloc... yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for working strcoll... yes checking for strftime... yes checking for vprintf... yes checking for getpagesize... yes checking for working mmap... yes checking for floor... yes checking for ftruncate... yes checking for gethostname... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for modf... yes checking for select... yes checking for setlocale... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strpbrk... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for Tk_SetClassProcs... no checking for TkpSync... no checking for mkstemp... yes checking for usleep... yes checking for getpwuid... yes checking for getpwnam... yes checking for shmget... yes checking whether gcc accepts -pedantic... yes checking whether gcc accepts -W... yes checking whether gcc accepts -Wall... yes checking whether gcc accepts -Wmissing-prototypes... yes checking whether gcc accepts -Wmissing-declarations... yes checking whether gcc accepts -Wno-long-long... yes checking whether gcc accepts -Wwrite-strings... yes checking whether gcc accepts -Wpointer-arith... yes checking whether gcc accepts -Wbad-function-cast... yes checking whether gcc accepts -Waggregate-return... yes checking whether gcc accepts -Wstrict-prototypes... yes checking whether gcc accepts -Wredundant-decls... yes checking whether gcc accepts -Wchar-subscripts... yes checking whether gcc accepts -Wimplicit... yes checking whether gcc accepts -Wparentheses... yes checking whether gcc accepts -Wsequence-point... yes checking whether gcc accepts -Wreturn-type... yes checking whether gcc accepts -Wswitch... yes checking whether gcc accepts -Wunused... yes checking whether gcc accepts -Wuninitialized... yes checking whether gcc accepts -Wundef... yes checking whether gcc accepts -Wnested-externs... yes checking whether gcc accepts -Wdeclaration-after-statement... yes checking whether gcc accepts -Wsign-compare... yes configure: creating ./config.status config.status: creating makefile config.status: WARNING: 'makefile.in' seems to ignore the --datarootdir setting config.status: creating src/autoconf.h config.status: src/autoconf.h is unchanged CC src/lua/tolua.o CC src/lua/tolualua.o CC src/lua/liolib.o CC src/lua/lapi.o CC src/lua/ldebug.o CC src/lua/lmem.o CC src/lua/lstrlib.o CC src/lua/lvm.o CC src/lua/tolua_lb.o CC src/lua/lauxlib.o CC src/lua/ldo.o CC src/lua/lobject.o CC src/lua/ltable.o CC src/lua/lzio.o CC src/lua/tolua_rg.o CC src/lua/lbaselib.o CC src/lua/lfunc.o CC src/lua/lparser.o CC src/lua/ltests.o CC src/lua/tolua_bd.o CC src/lua/tolua_tm.o CC src/lua/lcode.o CC src/lua/lgc.o CC src/lua/lstate.o CC src/lua/ltm.o CC src/lua/tolua_eh.o CC src/lua/tolua_tt.o CC src/lua/ldblib.o CC src/lua/llex.o CC src/lua/lstring.o CC src/lua/lundump.o CC src/lua/tolua_gp.o src/lua/lparser.c: In function 'constructor_part': src/lua/lparser.c:555:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 555 | if (ls->lookahead.token != '=') /* expression? */ | ^ src/lua/lparser.c:559:5: note: here 559 | case '[': { /* constructor_part -> recfields */ | ^~~~ CC src/z-util.o CC src/z-virt.o CC src/z-form.o CC src/z-rand.o CC src/z-term.o CC src/zborg1.o CC src/zborg2.o CC src/zborg3.o CC src/zborg4.o CC src/zborg5.o CC src/zborg6.o CC src/zborg7.o CC src/zborg8.o CC src/zborg9.o CC src/zbmagic1.o CC src/zbmagic2.o src/zborg2.c: In function 'borg_vinfo_init': src/zborg2.c:333:29: warning: variable 'p' set but not used [-Wunused-but-set-variable] 333 | vinfo_type *p; | ^ src/zborg3.c: In function 'borg_read_scroll_fail': src/zborg3.c:1629:13: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 1629 | if (!map_loc(c_x, c_y)->flags & MAP_GLOW && | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/zborg2.c: In function 'borg_update_kill': CC src/zbmagic3.o src/zborg2.c:1932:13: warning: variable 't' set but not used [-Wunused-but-set-variable] 1932 | int t, e; | ^ for i in variable.o tables.o util.o cave.o object1.o object2.o monster1.o monster2.o xtra1.o xtra2.o spells1.o spells2.o melee1.o melee2.o save.o files.o fields.o cmd1.o cmd2.o cmd3.o cmd4.o cmd5.o cmd6.o store.o birth.o load.o ui.o wizard1.o wizard2.o grid.o streams.o rooms.o generate.o dungeon.o init1.o init2.o effects.o quest.o racial.o run.o script.o artifact.o mutation.o flavor.o spells3.o mspells1.o mspells2.o scores.o mind.o bldg.o obj_kind.o wild1.o wild2.o wild3.o avatar.o notes.o ; do \ for j in src/makefile.bcc src/makefile.ros src/makefile.std ; do \ if [ x"`grep $i $j | sed 1q`" == x ]; then \ echo "Error: makefile $j has $i missing"; \ k="stop"; \ fi; \ done; \ done; \ if [ "x$k" == "xstop" ]; then \ exit 1; \ fi; \ touch .makefiles; CC src/variable.o CC src/tables.o CC src/util.o src/zborg3.c: In function 'borg_power_check': src/zborg3.c:2987:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2987 | else | ^~~~ CC src/cave.o src/zborg3.c:2991:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2991 | if (bp_ptr->status.stun) | ^~ CC src/object1.o CC src/object2.o src/zborg6.c: In function 'borg_find_dungeon': src/zborg6.c:1718:54: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] 1718 | borg_dungeons[b_i].min_depth < 5 + borg_dungeons[b_i].max_depth != 0 && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC src/monster1.o In file included from src/zborg8.c:10: src/zborg8.c: In function 'borg_object_similar': src/zborg3.h:40:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 40 | ((k_info[(T)->k_idx].easy_know && k_info[(T)->k_idx].aware) || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/zborg8.c:137:34: note: in expansion of macro 'borg_obj_known_p' 137 | !borg_obj_known_p(q_ptr)) return (FALSE); | ^~~~~~~~~~~~~~~~ CC src/monster2.o src/zborg8.c:142:17: note: here 142 | case TV_BOLT: | ^~~~ CC src/xtra1.o src/zborg7.c: In function 'borg_use_things': src/zborg7.c:174:52: warning: this statement may fall through [-Wimplicit-fallthrough=] 174 | if (!bp_ptr->depth) break; | ^ src/zborg7.c:179:41: note: here 179 | case SV_POTION_AUGMENTATION: | ^~~~ CC src/xtra2.o src/zbmagic2.c: In function 'borg_launch_aux_hack': src/zbmagic2.c:1151:20: warning: variable 'mb_ptr' set but not used [-Wunused-but-set-variable] 1151 | map_block *mb_ptr; | ^~~~~~ src/zborg7.c: In function 'borg_consume': src/zborg7.c:1549:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1549 | if (borg_eat_food(sval)) return (TRUE);; | ^ src/zborg7.c:1552:17: note: here 1552 | case TV_LITE: | ^~~~ src/zborg7.c: In function 'borg_test_stuff': src/zborg7.c:2037:59: warning: this statement may fall through [-Wimplicit-fallthrough=] 2037 | case TV_AMULET: v += 2000; | ~~^~~~~~~ src/zborg7.c:2038:41: note: here 2038 | case TV_ROD: v += 1000; | ^~~~ src/zborg7.c:2038:59: warning: this statement may fall through [-Wimplicit-fallthrough=] 2038 | case TV_ROD: v += 1000; | ~~^~~~~~~ src/zborg7.c:2039:41: note: here 2039 | case TV_WAND: | ^~~~ src/zborg7.c:2040:59: warning: this statement may fall through [-Wimplicit-fallthrough=] 2040 | case TV_STAFF: v += 2000; | ~~^~~~~~~ src/cave.c: In function 'vinfo_init': src/zborg7.c:2041:41: note: here 2041 | case TV_POTION: | ^~~~ src/zborg7.c:2042:59: warning: this statement may fall through [-Wimplicit-fallthrough=] 2042 | case TV_SCROLL: v += 10; | ~~^~~~~ src/cave.c:1669:29: warning: variable 'p' set but not used [-Wunused-but-set-variable] 1669 | vinfo_type *p; | ^ src/zborg7.c:2043:41: note: here 2043 | case TV_FOOD: v += 1; | ^~~~ src/util.c: In function 'message_add': src/util.c:2755:21: warning: the address of 'buf' will always evaluate as 'true' [-Waddress] 2755 | if (buf && streq(buf, str) && (j < 1000)) | ^~~ src/zborg6.c: In function 'borg_flow_dark_5': CC src/spells1.o src/zborg6.c:3646:20: warning: variable 'mb_ptr' set but not used [-Wunused-but-set-variable] 3646 | map_block *mb_ptr; | ^~~~~~ src/util.c: In function 'msg_print_aux': src/util.c:3074:13: warning: the address of 'message__color' will always evaluate as 'true' [-Waddress] 3074 | if (message__color) | ^~~~~~~~~~~~~~ src/object2.c: In function 'object_value_real': src/object2.c:1250:39: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 1250 | if (k_ptr->dd * k_ptr->ds) | ~~~~~~~~~~^~~~~~~~~~~ src/object2.c:1269:39: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 1269 | if (k_ptr->dd * k_ptr->ds) | ~~~~~~~~~~^~~~~~~~~~~ src/xtra1.c: In function 'health_redraw': src/xtra1.c:977:48: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] 977 | else if (!m_list[p_ptr->health_who].hp < 0) | ^ src/xtra1.c:977:48: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] src/xtra1.c:977:18: note: add parentheses around left hand side expression to silence this warning 977 | else if (!m_list[p_ptr->health_who].hp < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) CC src/spells2.o CC src/melee1.o CC src/melee2.o CC src/save.o CC src/files.o CC src/fields.o src/spells1.c: In function 'project_o': src/spells1.c:596:13: warning: variable 'k_idx' set but not used [-Wunused-but-set-variable] 596 | int k_idx = 0; | ^~~~~ src/zborg4.c: In function 'borg_notice_artify_item': src/zborg4.c:1310:59: warning: this statement may fall through [-Wimplicit-fallthrough=] 1310 | case SV_HEAVY_XBOW: value += 2; | ~~~~~~^~~~ src/zborg4.c:1311:33: note: here 1311 | case SV_LIGHT_XBOW: value += 2; | ^~~~ src/zborg4.c:1311:59: warning: this statement may fall through [-Wimplicit-fallthrough=] 1311 | case SV_LIGHT_XBOW: value += 2; | ~~~~~~^~~~ src/zborg4.c:1312:33: note: here 1312 | case SV_LONG_BOW: value += 2; | ^~~~ src/zborg4.c:1312:59: warning: this statement may fall through [-Wimplicit-fallthrough=] 1312 | case SV_LONG_BOW: value += 2; | ~~~~~~^~~~ src/zborg4.c:1313:33: note: here 1313 | case SV_SHORT_BOW: | ^~~~ src/zbmagic2.c: In function 'borg_launch_damage_one': src/zbmagic2.c:428:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 428 | dam += 100; | ~~~~^~~~~~ src/zbmagic2.c:432:17: note: here 432 | case GF_ARROW_FLAME: | ^~~~ src/zbmagic2.c: In function 'borg_ball_item': src/zbmagic2.c:1363:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1363 | if (k_ptr->tval == TV_BOOTS) return (-200); | ^ src/zbmagic2.c:1366:17: note: here 1366 | case GF_ELEC: | ^~~~ src/zbmagic2.c:1369:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1369 | if (k_ptr->tval == TV_RING) return (-200); | ^ src/zbmagic2.c:1372:17: note: here 1372 | case GF_FIRE: | ^~~~ src/zbmagic2.c:1375:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1375 | if (k_ptr->tval == TV_BOOTS) return (-200); | ^ src/zbmagic2.c:1378:17: note: here 1378 | case GF_COLD: | ^~~~ src/zborg4.c: In function 'borg_notice_potions': src/zbmagic2.c:1381:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1381 | if (k_ptr->tval == TV_POTION) return (-200); | ^ src/zborg4.c:1676:40: warning: this statement may fall through [-Wimplicit-fallthrough=] 1676 | amt_pot_curing += number; | ~~~~~~~~~~~~~~~^~~~~~~~~ src/zbmagic2.c:1384:17: note: here 1384 | case GF_MANA: | ^~~~ src/zborg4.c:1680:17: note: here 1680 | case SV_POTION_CURE_CRITICAL: | ^~~~ src/zborg4.c: In function 'borg_notice_scrolls': src/zborg4.c:1901:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 1901 | { | ^ src/zborg4.c:1925:17: note: here 1925 | case SV_SCROLL_ENCHANT_WEAPON_TO_DAM: | ^~~~ src/zborg4.c: In function 'borg_notice_rods': src/zborg4.c:2147:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 2147 | if (bp_ptr->lev > 25) break; | ^ src/zborg4.c:2151:17: note: here 2151 | case SV_ROD_FIRE_BALL: | ^~~~ src/zbmagic2.c: In function 'borg_throw_damage': src/zbmagic2.c:2494:44: warning: this statement may fall through [-Wimplicit-fallthrough=] 2494 | if (borg_class == CLASS_WARRIOR) | ^ src/monster2.c: In function 'test_monster_square': src/monster2.c:500:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 500 | if (!(FLAG(r_ptr, RF_WILD_OCEAN))) return (FALSE); | ^ src/monster2.c:505:17: note: here 505 | case FEAT_DEEP_WATER: | ^~~~ src/monster2.c:507:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 507 | if (!((FLAG(r_ptr, RF_AQUATIC)) || | ^ src/monster2.c:517:17: note: here 517 | case FEAT_SHAL_WATER: | ^~~~ src/zbmagic2.c:2501:33: note: here 2501 | default: | ^~~~~~~ src/spells2.c: In function 'self_knowledge': src/spells2.c:42:14: warning: variable 'Dummy' set but not used [-Wunused-but-set-variable] 42 | char Dummy[80], Liferating[80]; | ^~~~~ src/xtra2.c: In function 'target_set': src/zborg5.c: In function 'borg_danger_aux2': src/zborg5.c:1335:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 1335 | if (!borg_full_damage) | ^ src/xtra2.c:2640:43: warning: this statement may fall through [-Wimplicit-fallthrough=] 2640 | x = p_ptr->px; | ~~^~~~~~~~~~~ src/zborg5.c:1339:25: note: here 1339 | case 128 + 0: | ^~~~ src/xtra2.c:2645:33: note: here 2645 | case 'o': | ^~~~ src/melee2.c: In function 'get_moves': src/melee2.c:1411:39: warning: variable 'fr_ptr' set but not used [-Wunused-but-set-variable] 1411 | monster_race *fr_ptr; | ^~~~~~ CC src/cmd1.o CC src/cmd2.o src/object2.c: In function 'object_similar': src/object2.c:1542:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1542 | if (!(FLAG(o_ptr, TR_THROW))) return (FALSE); | ^ src/object2.c:1547:17: note: here 1547 | case TV_LITE: | ^~~~ src/object2.c:1550:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1550 | if (o_ptr->timeout != j_ptr->timeout) return (FALSE); | ^ src/object2.c:1555:17: note: here 1555 | case TV_RING: | ^~~~ src/object2.c:1562:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 1562 | || !object_known_p(j_ptr)) return (FALSE); src/spells2.c: In function 'cave_temp_room_unlite': src/object2.c:1566:17: note: here 1566 | case TV_BOLT: | ^~~~ src/spells2.c:2805:37: warning: variable 'pc_ptr' set but not used [-Wunused-but-set-variable] 2805 | pcave_type *pc_ptr; | ^~~~~~ CC src/cmd3.o src/files.c: In function 'display_player_stat_info': src/files.c:1896:14: warning: variable 'k_idx' set but not used [-Wunused-but-set-variable] 1896 | s16b k_idx; | ^~~~~ src/files.c: In function 'display_player_skill_info': src/files.c:2167:14: warning: variable 'k_idx' set but not used [-Wunused-but-set-variable] 2167 | s16b k_idx; | ^~~~~ src/spells2.c: In function 'activate_ty_curse': src/spells2.c:3589:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3589 | if (!(*count)) | ^ src/spells2.c:3598:25: note: here 3598 | case 30: case 31: | ^~~~ src/spells2.c:3600:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3600 | if (!(*count)) | ^ src/spells2.c:3610:25: note: here 3610 | case 32: case 33: | ^~~~ src/spells2.c:3612:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3612 | if (!(*count)) | ^ src/spells2.c:3622:25: note: here 3622 | case 34: | ^~~~ src/spells2.c:3630:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3630 | if (!one_in_(6)) break; | ^ src/spells2.c:3634:25: note: here 3634 | case 1: case 2: case 3: case 16: case 17: | ^~~~ src/files.c: In function 'show_file': src/spells2.c:3637:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3637 | if (!one_in_(6)) break; | ^ src/files.c:3533:29: warning: the address of 'finder' will always evaluate as 'true' [-Waddress] 3533 | if (finder) | ^~~~~~ src/spells2.c:3641:25: note: here 3641 | case 4: case 5: case 6: | ^~~~ src/spells2.c:3644:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3644 | if (!one_in_(6)) break; | ^ src/spells2.c:3648:25: note: here 3648 | case 7: case 8: case 9: case 18: | ^~~~ src/spells2.c:3653:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3653 | if (!one_in_(6)) break; | ^ src/spells2.c:3657:25: note: here 3657 | case 10: case 11: case 12: | ^~~~ src/spells2.c:3661:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3661 | if (!one_in_(6)) break; | ^ src/spells2.c:3665:25: note: here 3665 | case 13: case 14: case 15: case 19: case 20: | ^~~~ src/spells2.c:3687:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3687 | if (!one_in_(6)) break; | ^ src/spells2.c:3691:25: note: here 3691 | case 21: case 22: case 23: | ^~~~ src/spells2.c:3694:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3694 | if (!one_in_(6)) break; | ^ src/spells2.c:3698:25: note: here 3698 | case 24: | ^~~~ src/spells2.c:3702:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3702 | if (!one_in_(6)) break; | ^ CC src/cmd4.o src/spells2.c:3706:25: note: here 3706 | case 25: | ^~~~ src/spells2.c:3717:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3717 | if (!one_in_(6)) break; | ^ src/spells2.c:3721:25: note: here 3721 | default: | ^~~~~~~ src/cmd4.c: In function 'do_cmd_options_win': src/cmd4.c:959:47: warning: this statement may fall through [-Wimplicit-fallthrough=] 959 | for (i = 0; i < WINDOW_CHOICE_MAX; i++) src/cmd4.c:967:25: note: here 967 | case 'y': | ^~~~ CC src/cmd5.o src/cmd5.c: In function 'get_spell': src/cmd5.c:35:27: warning: variable 's_ptr' set but not used [-Wunused-but-set-variable] 35 | const magic_type *s_ptr; | ^~~~~ src/melee2.c: In function 'get_moves.constprop': src/melee2.c:1499:20: warning: 'tx' may be used uninitialized [-Wmaybe-uninitialized] 1499 | if (!tx && !ty) return (FALSE); | ^ src/melee2.c:1344:13: note: 'tx' was declared here 1344 | int tx, ty; | ^~ src/melee2.c:1499:25: warning: 'ty' may be used uninitialized [-Wmaybe-uninitialized] 1499 | if (!tx && !ty) return (FALSE); | ~~~~^~~~~~ src/melee2.c:1344:17: note: 'ty' was declared here 1344 | int tx, ty; | ^~ CC src/cmd6.o CC src/store.o CC src/birth.o src/fields.c: In function 'print_building_options': src/fields.c:1811:35: warning: 'len' may be used uninitialized [-Wmaybe-uninitialized] 1811 | put_fstr(40 - len / 2, 20 - num + i, CLR_YELLOW "%s", strings[i]); | ~~~~^~~ src/fields.c:1793:22: note: 'len' was declared here 1793 | int max = 0, len; | ^~~ CC src/load.o CC src/ui.o src/store.c: In function 'display_entry': src/store.c:957:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 957 | if (object_aware_p(o_ptr)) | ^~ src/store.c:961:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 961 | if (st_ptr->type == BUILD_STORE_HOME) | ^~ src/store.c: In function 'store_purchase': src/store.c:1388:21: warning: variable 'best' set but not used [-Wunused-but-set-variable] 1388 | s32b price, best; | ^~~~ src/birth.c: In function 'player_birth_aux_3': src/birth.c:1286:14: warning: variable 'stat_match' set but not used [-Wunused-but-set-variable] 1286 | s32b stat_match[A_MAX]; | ^~~~~~~~~~ CC src/wizard1.o CC src/wizard2.o CC src/grid.o src/zborg6.c: In function 'borg_flow_non_hurt': src/zborg6.c:2468:9: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] 2468 | borg_flow_enqueue_grid(x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/zborg6.c:2419:13: note: 'x' was declared here 2419 | int x, y; | ^ src/zborg6.c:2468:9: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] 2468 | borg_flow_enqueue_grid(x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/zborg6.c:2419:16: note: 'y' was declared here 2419 | int x, y; | ^ CC src/streams.o CC src/rooms.o CC src/generate.o src/generate.c: In function 'cave_gen': src/generate.c:575:14: warning: variable 'cavern' set but not used [-Wunused-but-set-variable] 575 | bool cavern = FALSE; | ^~~~~~ CC src/dungeon.o CC src/init1.o CC src/init2.o src/dungeon.c: In function 'sense_item': src/dungeon.c:114:14: warning: variable 'okay' set but not used [-Wunused-but-set-variable] 114 | bool okay = FALSE; | ^~~~ CC src/effects.o src/ui.c: In function 'display_menu': src/init1.c: In function 'parse_e_info': src/ui.c:651:28: warning: 'choice' may be used uninitialized [-Wmaybe-uninitialized] 651 | if ((choice == '\r') || (choice == ' ')) | ^ src/ui.c:600:14: note: 'choice' was declared here 600 | char choice; | ^~~~~~ src/init1.c:1916:20: warning: variable 'cur_t' set but not used [-Wunused-but-set-variable] 1916 | static int cur_t = 0; | ^~~~~ src/rooms.c: In function 'build_recursive_room': src/rooms.c:3225:31: warning: this statement may fall through [-Wimplicit-fallthrough=] 3225 | power += 2; | ~~~~~~^~~~ CC src/quest.o src/rooms.c:3230:17: note: here 3230 | case 4: | ^~~~ src/load.c: In function 'rd_item': src/load.c:681:25: warning: 'name1' may be used uninitialized [-Wmaybe-uninitialized] 681 | else if (name1) | ^ src/load.c:339:14: note: 'name1' was declared here 339 | byte name1, name2, xtra1, xtra2; | ^~~~~ src/load.c:651:20: warning: 'name2' may be used uninitialized [-Wmaybe-uninitialized] 651 | if (name2) | ^ src/load.c:339:21: note: 'name2' was declared here 339 | byte name1, name2, xtra1, xtra2; | ^~~~~ src/load.c:725:28: warning: 'xtra2' may be used uninitialized [-Wmaybe-uninitialized] 725 | if (xtra2) | ^ src/load.c:339:35: note: 'xtra2' was declared here 339 | byte name1, name2, xtra1, xtra2; | ^~~~~ CC src/racial.o src/init2.c: In function 'init_other': src/init2.c:1136:45: warning: iteration 15 invokes undefined behavior [-Waggressive-loop-optimizations] 1136 | if (window_flag_desc[i]) | ~~~~~~~~~~~~~~~~^~~ src/init2.c:1133:31: note: within this loop 1133 | for (i = 0; i < 32; i++) | ~~^~~~ src/load.c: In function 'rd_store': src/load.c:1015:31: warning: 'greed' may be used uninitialized [-Wmaybe-uninitialized] 1015 | st_ptr->greed = greed; | ~~~~~~~~~~~~~~^~~~~~~ src/load.c:967:14: note: 'greed' was declared here 967 | byte greed; | ^~~~~ CC src/run.o src/quest.c: In function 'activate_quests': src/quest.c:685:45: warning: variable 'pl_ptr' set but not used [-Wunused-but-set-variable] 685 | place_type *pl_ptr; | ^~~~~~ src/quest.c:702:45: warning: variable 'pl_ptr' set but not used [-Wunused-but-set-variable] 702 | place_type *pl_ptr; | ^~~~~~ CC src/script.o CC src/artifact.o src/racial.c: In function 'racial_chance': src/racial.c:29:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 29 | else | ^~~~ src/racial.c:33:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 33 | if ((p_ptr->lev < min_level) || p_ptr->tim.confused) | ^~ src/racial.c: In function 'racial_aux': src/racial.c:129:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 129 | else | ^~~~ src/racial.c:133:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 133 | if (p_ptr->csp < cost) use_hp = TRUE; | ^~ src/quest.c:678:46: warning: this statement may fall through [-Wimplicit-fallthrough=] 678 | q_ptr->flags |= QUEST_FLAG_ACTIVE; src/quest.c:681:25: note: here 681 | case QUEST_TYPE_MESSAGE: | ^~~~ src/quest.c:695:46: warning: this statement may fall through [-Wimplicit-fallthrough=] 695 | q_ptr->flags |= QUEST_FLAG_ACTIVE; src/quest.c:698:25: note: here 698 | case QUEST_TYPE_FIND_PLACE: | ^~~~ src/quest.c: In function 'trigger_quest_complete': src/quest.c:1065:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 1065 | if (*((int *) data) == q_ptr->data.fit.a_idx) | ^ src/quest.c:1076:25: note: here 1076 | case QX_FIND_SHOP: | ^~~~ src/quest.c: In function 'quest_status_string': src/quest.c:2007:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 2007 | if (q_ptr->type == QUEST_TYPE_FIND_PLACE) return ("(Found)\n\n"); | ^ CC src/mutation.o src/quest.c:2011:17: note: here 2011 | case QUEST_STATUS_FINISHED: return ("(Completed)\n"); | ^~~~ CC src/flavor.o CC src/spells3.o CC src/mspells1.o src/artifact.c: In function 'create_artifact': src/artifact.c:2226:21: warning: variable 'act' set but not used [-Wunused-but-set-variable] 2226 | int act; | ^~~ src/artifact.c:2368:21: warning: variable 'act' set but not used [-Wunused-but-set-variable] 2368 | int act = 0; | ^~~ CC src/mspells2.o CC src/scores.o CC src/mind.o CC src/bldg.o CC src/obj_kind.o CC src/wild1.o src/scores.c: In function 'show_highclass': src/scores.c:823:17: warning: variable 'pc' set but not used [-Wunused-but-set-variable] 823 | int pr, pc, clev /*, al */ ; | ^~ src/scores.c: In function 'race_score': src/scores.c:881:17: warning: variable 'pc' set but not used [-Wunused-but-set-variable] 881 | int pr, pc, clev, lastlev; | ^~ CC src/wild2.o CC src/wild3.o CC src/avatar.o src/wild1.c: In function 'create_rivers': src/wild1.c:2207:37: warning: variable 'dh' set but not used [-Wunused-but-set-variable] 2207 | int i, cur_posn, high_posn, dh, river_start; | ^~ CC src/notes.o CC src/maid-x11.o src/wild2.c: In function 'draw_city': src/wild2.c:1151:14: warning: variable 'magic' set but not used [-Wunused-but-set-variable] 1151 | byte magic; | ^~~~~ src/wild2.c: In function 'open_clearing': src/wild2.c:1400:26: warning: variable 'disty' set but not used [-Wunused-but-set-variable] 1400 | int dist, distx, disty; | ^~~~~ src/wild2.c:1400:19: warning: variable 'distx' set but not used [-Wunused-but-set-variable] 1400 | int dist, distx, disty; | ^~~~~ CC src/main-cap.o CC src/main-gcu.o src/wild2.c: In function 'draw_dun_cave': src/wild2.c:1599:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1599 | j = 0; | ~~^~~ src/wild2.c:1602:17: note: here 1602 | case 1: | ^~~~ CC src/main-x11.o src/wild2.c:1605:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1605 | j = 0; | ~~^~~ src/wild2.c:1608:17: note: here 1608 | case 2: | ^~~~ src/wild2.c:1611:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1611 | j = -1; | ~~^~~~ src/wild2.c:1614:17: note: here 1614 | case 3: | ^~~~ In file included from src/wild.h:15, from src/wild2.c:16: src/wild2.c: In function 'draw_dun_temple': src/grid.h:34:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 34 | (cave_p(X, Y)->feat=(F)) | ~~~~~~~~~~~~~~~~~~~^~~~~ src/wild2.c:1696:25: note: in expansion of macro 'set_feat_bold' 1696 | set_feat_bold(x0 - x + 1, y0 - y + 1, FEAT_MORE); | ^~~~~~~~~~~~~ src/wild2.c:1699:17: note: here 1699 | case 1: | ^~~~ src/grid.h:34:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 34 | (cave_p(X, Y)->feat=(F)) | ~~~~~~~~~~~~~~~~~~~^~~~~ src/wild2.c:1701:25: note: in expansion of macro 'set_feat_bold' 1701 | set_feat_bold(x0 - x + 1, y0 + y - 1, FEAT_MORE); | ^~~~~~~~~~~~~ src/wild2.c:1704:17: note: here 1704 | case 2: | ^~~~ src/grid.h:34:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 34 | (cave_p(X, Y)->feat=(F)) | ~~~~~~~~~~~~~~~~~~~^~~~~ src/wild2.c:1706:25: note: in expansion of macro 'set_feat_bold' 1706 | set_feat_bold(x0 + x - 1, y0 - y + 1, FEAT_MORE); | ^~~~~~~~~~~~~ src/wild2.c:1709:17: note: here 1709 | case 3: | ^~~~ CC src/main-xaw.o CC src/main-xpj.o CC src/main-lsl.o CC src/main-vcs.o CC src/main-gtk.o CC src/main-win.o CC src/main.o CC src/maid-grf.o CC src/main-dos.o CC src/main-ibm.o CC src/main-emx.o CC src/main-ami.o CC src/main-tnb.o LINK src/lua/tolua In file included from src/h-basic.h:16, from src/angband.h:31, from src/main.c:11: src/h-system.h:230:33: warning: cast between incompatible function types from 'errr (*)(void)' {aka 'int (*)(void)'} to 'errr (*)(int, char **, unsigned char *)' {aka 'int (*)(int, char **, unsigned char *)'} [-Wcast-function-type] 230 | { #P, help_##P, (errr (*)(int, char **, unsigned char *)) init_##P } | ^ src/main.c:49:9: note: in expansion of macro 'INIT_MODULE' 49 | INIT_MODULE(gcu), | ^~~~~~~~~~~ src/h-system.h:230:33: warning: cast between incompatible function types from 'errr (*)(int, char **)' {aka 'int (*)(int, char **)'} to 'errr (*)(int, char **, unsigned char *)' {aka 'int (*)(int, char **, unsigned char *)'} [-Wcast-function-type] 230 | { #P, help_##P, (errr (*)(int, char **, unsigned char *)) init_##P } | ^ src/main.c:85:9: note: in expansion of macro 'INIT_MODULE' 85 | INIT_MODULE(vcs) | ^~~~~~~~~~~ TOLUA src/l-monst.c TOLUA src/l-object.c TOLUA src/l-player.c TOLUA src/l-random.c TOLUA src/l-ui.c TOLUA src/l-misc.c TOLUA src/l-spell.c TOLUA src/l-field.c CC src/l-random.o src/maid-grf.c: In function 'update_overhead_map': src/maid-grf.c:2356:20: warning: variable 'mb_ptr' set but not used [-Wunused-but-set-variable] 2356 | map_block *mb_ptr; | ^~~~~~ CC src/l-misc.o CC src/l-ui.o CC src/l-monst.o CC src/l-field.o CC src/l-object.o CC src/l-spell.o CC src/l-player.o LINK zangband >>> zangband: Entering fakeroot... >>> zangband*: Running postcheck for zangband >>> zangband*: Preparing package zangband... >>> zangband*: Stripping binaries >>> zangband*: Scanning shared objects >>> zangband*: Tracing dependencies... ncurses so:libc.musl-loongarch64.so.1 so:libncursesw.so.6 >>> zangband*: Package size: 5.6 MB >>> zangband*: Compressing data... >>> zangband*: Create checksum... >>> zangband*: Create zangband-2.7.5.1-r2.apk >>> zangband: Build complete at Thu, 24 Oct 2024 01:38:32 +0000 elapsed time 0h 0m 54s >>> zangband: Cleaning up srcdir >>> zangband: Cleaning up pkgdir >>> zangband: Uninstalling dependencies... (1/52) Purging .makedepends-zangband (20241024.013810) (2/52) Purging ncurses (6.5_p20241006-r0) (3/52) Purging automake (1.17-r0) (4/52) Purging autoconf (2.72-r0) (5/52) Purging m4 (1.4.19-r3) (6/52) Purging ncurses-dev (6.5_p20241006-r0) (7/52) Purging libncurses++ (6.5_p20241006-r0) (8/52) Purging libpanelw (6.5_p20241006-r0) (9/52) Purging agetty-openrc (0.55.1-r2) (10/52) Purging agetty (2.40.2-r3) (11/52) Purging blkid (2.40.2-r3) (12/52) Purging cfdisk (2.40.2-r3) (13/52) Purging dmesg (2.40.2-r3) (14/52) Purging findmnt (2.40.2-r3) (15/52) Purging flock (2.40.2-r3) (16/52) Purging fstrim (2.40.2-r3) (17/52) Purging git-perl (2.46.2-r0) (18/52) Purging perl-git (2.46.2-r0) (19/52) Purging perl-error (0.17029-r2) (20/52) Purging perl (5.40.0-r3) (21/52) Purging hexdump (2.40.2-r3) (22/52) Purging libbz2 (1.0.8-r6) (23/52) Purging libformw (6.5_p20241006-r0) (24/52) Purging libmenuw (6.5_p20241006-r0) (25/52) Purging logger (2.40.2-r3) (26/52) Purging losetup (2.40.2-r3) (27/52) Purging lsblk (2.40.2-r3) (28/52) Purging lscpu (2.40.2-r3) (29/52) Purging mcookie (2.40.2-r3) (30/52) Purging mount (2.40.2-r3) (31/52) Purging partx (2.40.2-r3) (32/52) Purging runuser (2.40.2-r3) (33/52) Purging setpriv (2.40.2-r3) (34/52) Purging sfdisk (2.40.2-r3) (35/52) Purging umount (2.40.2-r3) (36/52) Purging util-linux-misc (2.40.2-r3) (37/52) Purging setarch (2.40.2-r3) (38/52) Purging util-linux-openrc (2.40.2-r3) (39/52) Purging uuidgen (2.40.2-r3) (40/52) Purging wipefs (2.40.2-r3) (41/52) Purging libfdisk (2.40.2-r3) (42/52) Purging libmount (2.40.2-r3) (43/52) Purging libblkid (2.40.2-r3) (44/52) Purging libcap-ng (0.8.5-r0) (45/52) Purging libeconf (0.6.3-r0) (46/52) Purging libsmartcols (2.40.2-r3) (47/52) Purging libuuid (2.40.2-r3) (48/52) Purging linux-pam (1.6.1-r1) (49/52) Purging utmps-libs (0.1.2.3-r2) (50/52) Purging util-linux (2.40.2-r3) (51/52) Purging skalibs-libs (2.14.3.0-r0) (52/52) Purging sqlite-libs (3.47.0-r0) Executing busybox-1.37.0-r3.trigger OK: 243 MiB in 99 packages >>> zangband: Updating the community/loongarch64 repository index... >>> zangband: Signing the index...