>>> zangband: Building community/zangband 2.7.5.1-r2 (using abuild 3.12.0-r3) started Sat, 02 Mar 2024 02:36:24 +0000 >>> zangband: Checking sanity of /home/buildozer/aports/community/zangband/APKBUILD... >>> zangband: Analyzing dependencies... >>> zangband: Installing for build: build-base ncurses automake autoconf util-linux ncurses-dev (1/49) Installing ncurses (6.4_p20231125-r0) (2/49) Installing libbz2 (1.0.8-r6) (3/49) Installing perl (5.38.2-r0) (4/49) Installing automake (1.16.5-r2) (5/49) Installing m4 (1.4.19-r3) (6/49) Installing autoconf (2.72-r0) (7/49) Installing util-linux (2.39.3-r0) (8/49) Installing setarch (2.39.3-r0) (9/49) Installing libblkid (2.39.3-r0) (10/49) Installing libuuid (2.39.3-r0) (11/49) Installing libfdisk (2.39.3-r0) (12/49) Installing libmount (2.39.3-r0) (13/49) Installing libsmartcols (2.39.3-r0) (14/49) Installing util-linux-misc (2.39.3-r0) (15/49) Installing libeconf (0.5.2-r2) (16/49) Installing skalibs (2.14.1.1-r0) (17/49) Installing utmps-libs (0.1.2.2-r0) (18/49) Installing linux-pam (1.5.3-r7) (19/49) Installing runuser (2.39.3-r0) (20/49) Installing mount (2.39.3-r0) (21/49) Installing losetup (2.39.3-r0) (22/49) Installing hexdump (2.39.3-r0) (23/49) Installing uuidgen (2.39.3-r0) (24/49) Installing blkid (2.39.3-r0) (25/49) Installing sfdisk (2.39.3-r0) (26/49) Installing mcookie (2.39.3-r0) (27/49) Installing agetty (2.39.3-r0) (28/49) Installing wipefs (2.39.3-r0) (29/49) Installing cfdisk (2.39.3-r0) (30/49) Installing umount (2.39.3-r0) (31/49) Installing flock (2.39.3-r0) (32/49) Installing lsblk (2.39.3-r0) (33/49) Installing libcap-ng (0.8.4-r0) (34/49) Installing setpriv (2.39.3-r0) (35/49) Installing logger (2.39.3-r0) (36/49) Installing partx (2.39.3-r0) (37/49) Installing fstrim (2.39.3-r0) (38/49) Installing findmnt (2.39.3-r0) (39/49) Installing libformw (6.4_p20231125-r0) (40/49) Installing libmenuw (6.4_p20231125-r0) (41/49) Installing libpanelw (6.4_p20231125-r0) (42/49) Installing libncurses++ (6.4_p20231125-r0) (43/49) Installing ncurses-dev (6.4_p20231125-r0) (44/49) Installing .makedepends-zangband (20240302.023625) (45/49) Installing util-linux-openrc (2.39.3-r0) (46/49) Installing agetty-openrc (0.53-r0) (47/49) Installing perl-error (0.17029-r2) (48/49) Installing perl-git (2.44.0-r0) (49/49) Installing git-perl (2.44.0-r0) Executing busybox-1.36.1-r19.trigger OK: 441 MiB in 153 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... aarch64-unknown-linux-musl checking host system type... aarch64-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... aarch64-unknown-linux-musl checking host system type... aarch64-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 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 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/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/zbmagic2.o CC src/zbmagic1.o CC src/zbmagic3.o 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/util.o CC src/tables.o CC src/cave.o CC src/object1.o CC src/object2.o CC src/monster1.o CC src/monster2.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': src/zborg2.c:1932:13: warning: variable 't' set but not used [-Wunused-but-set-variable] 1932 | int t, e; | ^ CC src/xtra1.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/xtra2.o CC src/spells1.o CC src/spells2.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 | ^~~~ 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/melee1.o CC src/melee2.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; | ^~~~~~ CC src/save.o CC src/files.o CC src/fields.o CC src/cmd1.o CC src/cmd2.o CC src/cmd3.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: | ^~~~ src/cave.c: In function 'vinfo_init': src/cave.c:1669:29: warning: variable 'p' set but not used [-Wunused-but-set-variable] 1669 | vinfo_type *p; | ^ 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)) | ^~~ CC src/cmd4.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); | ^~~~~~~~~~~~~~~~ src/zborg8.c:142:17: note: here 142 | case TV_BOLT: | ^~~~ 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/util.c: In function 'msg_print_aux': src/zborg7.c: In function 'borg_test_stuff': src/util.c:3074:13: warning: the address of 'message__color' will always evaluate as 'true' [-Waddress] 3074 | if (message__color) | ^~~~~~~~~~~~~~ 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; | ^~~~ CC src/cmd5.o CC src/cmd6.o CC src/store.o CC src/birth.o src/zborg6.c: In function 'borg_flow_dark_5': 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/zborg6.c:3646:20: warning: variable 'mb_ptr' set but not used [-Wunused-but-set-variable] 3646 | map_block *mb_ptr; | ^~~~~~ 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/zborg7.c:2043:41: note: here 2043 | case TV_FOOD: v += 1; | ^~~~ 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) | ~~~~~~~~~~^~~~~~~~~~~ CC src/load.o CC src/ui.o 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/wizard1.o CC src/wizard2.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/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]; | ^~~~~ CC src/grid.o CC src/streams.o CC src/rooms.o CC src/generate.o CC src/dungeon.o CC src/init1.o CC src/init2.o 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/zbmagic2.c:1381:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1381 | if (k_ptr->tval == TV_POTION) return (-200); | ^ 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/zbmagic2.c:1384:17: note: here 1384 | case GF_MANA: | ^~~~ src/melee2.c: In function 'get_moves': 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/melee2.c:1411:39: warning: variable 'fr_ptr' set but not used [-Wunused-but-set-variable] 1411 | monster_race *fr_ptr; | ^~~~~~ 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: 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/zbmagic2.c:2501:33: note: here 2501 | default: | ^~~~~~~ src/spells2.c: In function 'cave_temp_room_unlite': src/spells2.c:2805:37: warning: variable 'pc_ptr' set but not used [-Wunused-but-set-variable] 2805 | pcave_type *pc_ptr; | ^~~~~~ src/store.c: In function 'display_entry': src/zborg4.c: In function 'borg_notice_artify_item': 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/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/xtra2.c: In function 'target_set': src/zborg4.c:1313:33: note: here 1313 | case SV_SHORT_BOW: | ^~~~ 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]; | ^~~~~~~~~~ src/xtra2.c:2640:43: warning: this statement may fall through [-Wimplicit-fallthrough=] 2640 | x = p_ptr->px; | ~~^~~~~~~~~~~ src/xtra2.c:2645:33: note: here 2645 | case 'o': | ^~~~ src/store.c: In function 'store_purchase': CC src/effects.o src/store.c:1388:21: warning: variable 'best' set but not used [-Wunused-but-set-variable] 1388 | s32b price, best; | ^~~~ src/zborg4.c: In function 'borg_notice_potions': src/zborg4.c:1676:40: warning: this statement may fall through [-Wimplicit-fallthrough=] 1676 | amt_pot_curing += number; | ~~~~~~~~~~~~~~~^~~~~~~~~ src/files.c: In function 'display_player_stat_info': src/zborg4.c:1680:17: note: here 1680 | case SV_POTION_CURE_CRITICAL: | ^~~~ src/files.c:1896:14: warning: variable 'k_idx' set but not used [-Wunused-but-set-variable] 1896 | s16b k_idx; | ^~~~~ 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/files.c: In function 'display_player_skill_info': src/zborg4.c:2147:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 2147 | if (bp_ptr->lev > 25) break; | ^ src/files.c:2167:14: warning: variable 'k_idx' set but not used [-Wunused-but-set-variable] 2167 | s16b k_idx; | ^~~~~ src/zborg4.c:2151:17: note: here 2151 | case SV_ROD_FIRE_BALL: | ^~~~ 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/spells2.c: In function 'activate_ty_curse': CC src/quest.o 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/spells2.c:3589:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3589 | if (!(*count)) | ^ src/object2.c:1562:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 1562 | || !object_known_p(j_ptr)) return (FALSE); src/object2.c:1566:17: note: here 1566 | case TV_BOLT: | ^~~~ 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/files.c: In function 'show_file': src/spells2.c:3612:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3612 | if (!(*count)) | ^ src/files.c:3533:29: warning: the address of 'finder' will always evaluate as 'true' [-Waddress] 3533 | if (finder) | ^~~~~~ 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/spells2.c:3637:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3637 | if (!one_in_(6)) break; | ^ src/spells2.c:3641:25: note: here 3641 | case 4: case 5: case 6: | ^~~~ 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; | ^~~~~~ 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/cmd4.c: In function 'do_cmd_options_win': src/spells2.c:3657:25: note: here 3657 | case 10: case 11: case 12: | ^~~~ 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': | ^~~~ 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/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; | ^~~~ src/init1.c: In function 'parse_e_info': src/spells2.c:3687:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3687 | if (!one_in_(6)) break; | ^ src/init1.c:1916:20: warning: variable 'cur_t' set but not used [-Wunused-but-set-variable] 1916 | static int cur_t = 0; | ^~~~~ 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; | ^ CC src/racial.o src/spells2.c:3698:25: note: here 3698 | case 24: | ^~~~ 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/spells2.c:3702:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3702 | if (!one_in_(6)) break; | ^ src/zborg5.c:1339:25: note: here 1339 | case 128 + 0: | ^~~~ CC src/run.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: | ^~~~~~~ CC src/script.o CC src/artifact.o CC src/mutation.o CC src/flavor.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; | ^~~~~~ src/rooms.c: In function 'build_recursive_room': 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/rooms.c:3225:31: warning: this statement may fall through [-Wimplicit-fallthrough=] 3225 | power += 2; | ~~~~~~^~~~ src/rooms.c:3230:17: note: here 3230 | case 4: | ^~~~ CC src/spells3.o CC src/mspells1.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; | ^~ CC src/mspells2.o 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"); | ^ src/quest.c:2011:17: note: here 2011 | case QUEST_STATUS_FINISHED: return ("(Completed)\n"); | ^~~~ CC src/scores.o CC src/mind.o CC src/bldg.o CC src/obj_kind.o CC src/wild1.o CC src/wild2.o CC src/wild3.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/avatar.o CC src/notes.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; | ^~ 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/maid-x11.o src/wild2.c: In function 'draw_city': CC src/main-cap.o 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; | ^~~~~ 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: | ^~~~ 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-gcu.o CC src/main-x11.o CC src/main-xaw.o CC src/main-xpj.o CC src/main-lsl.o src/melee2.c: In function 'get_moves.constprop': src/melee2.c:1344:13: warning: 'tx' may be used uninitialized [-Wmaybe-uninitialized] 1344 | int tx, ty; | ^~ src/melee2.c:1344:17: warning: 'ty' may be used uninitialized [-Wmaybe-uninitialized] 1344 | int tx, ty; | ^~ 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) | ^~~~~~~~~~~ src/ui.c: In function 'display_menu': src/ui.c:651:46: 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; | ^~~~~~ TOLUA src/l-monst.c TOLUA src/l-object.c TOLUA src/l-player.c src/maid-grf.c: In function 'update_overhead_map': TOLUA src/l-random.c TOLUA src/l-ui.c TOLUA src/l-misc.c src/maid-grf.c:2356:20: warning: variable 'mb_ptr' set but not used [-Wunused-but-set-variable] 2356 | map_block *mb_ptr; | ^~~~~~ TOLUA src/l-spell.c TOLUA src/l-field.c CC src/l-random.o CC src/l-ui.o CC src/l-misc.o CC src/l-monst.o CC src/l-field.o CC src/l-object.o CC src/l-player.o CC src/l-spell.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; | ^~~ 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; | ^ 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-aarch64.so.1 so:libncursesw.so.6 >>> zangband*: Package size: 6.3 MB >>> zangband*: Compressing data... >>> zangband*: Create checksum... >>> zangband*: Create zangband-2.7.5.1-r2.apk >>> zangband: Build complete at Sat, 02 Mar 2024 02:36:44 +0000 elapsed time 0h 0m 20s >>> zangband: Cleaning up srcdir >>> zangband: Cleaning up pkgdir >>> zangband: Uninstalling dependencies... (1/49) Purging .makedepends-zangband (20240302.023625) (2/49) Purging ncurses (6.4_p20231125-r0) (3/49) Purging automake (1.16.5-r2) (4/49) Purging autoconf (2.72-r0) (5/49) Purging m4 (1.4.19-r3) (6/49) Purging runuser (2.39.3-r0) (7/49) Purging uuidgen (2.39.3-r0) (8/49) Purging blkid (2.39.3-r0) (9/49) Purging mcookie (2.39.3-r0) (10/49) Purging hexdump (2.39.3-r0) (11/49) Purging sfdisk (2.39.3-r0) (12/49) Purging mount (2.39.3-r0) (13/49) Purging cfdisk (2.39.3-r0) (14/49) Purging losetup (2.39.3-r0) (15/49) Purging util-linux-openrc (2.39.3-r0) (16/49) Purging flock (2.39.3-r0) (17/49) Purging setpriv (2.39.3-r0) (18/49) Purging logger (2.39.3-r0) (19/49) Purging partx (2.39.3-r0) (20/49) Purging fstrim (2.39.3-r0) (21/49) Purging lsblk (2.39.3-r0) (22/49) Purging umount (2.39.3-r0) (23/49) Purging agetty-openrc (0.53-r0) (24/49) Purging agetty (2.39.3-r0) (25/49) Purging findmnt (2.39.3-r0) (26/49) Purging util-linux-misc (2.39.3-r0) (27/49) Purging setarch (2.39.3-r0) (28/49) Purging wipefs (2.39.3-r0) (29/49) Purging util-linux (2.39.3-r0) (30/49) Purging ncurses-dev (6.4_p20231125-r0) (31/49) Purging libncurses++ (6.4_p20231125-r0) (32/49) Purging libpanelw (6.4_p20231125-r0) (33/49) Purging git-perl (2.44.0-r0) (34/49) Purging perl-git (2.44.0-r0) (35/49) Purging perl-error (0.17029-r2) (36/49) Purging perl (5.38.2-r0) (37/49) Purging libbz2 (1.0.8-r6) (38/49) Purging libcap-ng (0.8.4-r0) (39/49) Purging libeconf (0.5.2-r2) (40/49) Purging libfdisk (2.39.3-r0) (41/49) Purging libformw (6.4_p20231125-r0) (42/49) Purging libmenuw (6.4_p20231125-r0) (43/49) Purging libmount (2.39.3-r0) (44/49) Purging libsmartcols (2.39.3-r0) (45/49) Purging libuuid (2.39.3-r0) (46/49) Purging linux-pam (1.5.3-r7) (47/49) Purging utmps-libs (0.1.2.2-r0) (48/49) Purging libblkid (2.39.3-r0) (49/49) Purging skalibs (2.14.1.1-r0) Executing busybox-1.36.1-r19.trigger OK: 381 MiB in 104 packages >>> zangband: Updating the community/aarch64 repository index... >>> zangband: Signing the index...