>>> zangband: Building community/zangband 2.7.5.1-r2 (using abuild 3.13.0-r3) started Sat, 27 Apr 2024 00:10:12 +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/50) Installing ncurses (6.4_p20240330-r0) (2/50) Installing libbz2 (1.0.8-r6) (3/50) Installing perl (5.38.2-r0) (4/50) Installing automake (1.16.5-r2) (5/50) Installing m4 (1.4.19-r3) (6/50) Installing autoconf (2.72-r0) (7/50) Installing sqlite-libs (3.45.3-r0) (8/50) Installing util-linux (2.40-r2) (9/50) Installing setarch (2.40-r2) (10/50) Installing libeconf (0.6.2-r0) (11/50) Installing libblkid (2.40-r2) (12/50) Installing libuuid (2.40-r2) (13/50) Installing libfdisk (2.40-r2) (14/50) Installing libmount (2.40-r2) (15/50) Installing libsmartcols (2.40-r2) (16/50) Installing util-linux-misc (2.40-r2) (17/50) Installing skalibs (2.14.1.1-r0) (18/50) Installing utmps-libs (0.1.2.2-r1) (19/50) Installing linux-pam (1.6.0-r0) (20/50) Installing runuser (2.40-r2) (21/50) Installing mount (2.40-r2) (22/50) Installing losetup (2.40-r2) (23/50) Installing hexdump (2.40-r2) (24/50) Installing uuidgen (2.40-r2) (25/50) Installing blkid (2.40-r2) (26/50) Installing sfdisk (2.40-r2) (27/50) Installing mcookie (2.40-r2) (28/50) Installing agetty (2.40-r2) (29/50) Installing wipefs (2.40-r2) (30/50) Installing cfdisk (2.40-r2) (31/50) Installing umount (2.40-r2) (32/50) Installing flock (2.40-r2) (33/50) Installing lsblk (2.40-r2) (34/50) Installing libcap-ng (0.8.4-r0) (35/50) Installing setpriv (2.40-r2) (36/50) Installing logger (2.40-r2) (37/50) Installing partx (2.40-r2) (38/50) Installing fstrim (2.40-r2) (39/50) Installing findmnt (2.40-r2) (40/50) Installing libformw (6.4_p20240330-r0) (41/50) Installing libmenuw (6.4_p20240330-r0) (42/50) Installing libpanelw (6.4_p20240330-r0) (43/50) Installing libncurses++ (6.4_p20240330-r0) (44/50) Installing ncurses-dev (6.4_p20240330-r0) (45/50) Installing .makedepends-zangband (20240427.001019) (46/50) Installing util-linux-openrc (2.40-r2) (47/50) Installing agetty-openrc (0.54-r1) (48/50) Installing perl-error (0.17029-r2) (49/50) Installing perl-git (2.44.0-r2) (50/50) Installing git-perl (2.44.0-r2) Executing busybox-1.36.1-r26.trigger OK: 496 MiB in 155 packages >>> zangband: Cleaning up srcdir >>> zangband: Cleaning up pkgdir >>> zangband: Cleaning up tmpdir >>> zangband: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/zangband-2.7.5pre1.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> zangband: Fetching https://downloads.sourceforge.net/zangband/zangband-2.7.5pre1.tar.gz Connecting to downloads.sourceforge.net (204.68.111.105:443) Connecting to downloads.sourceforge.net (204.68.111.105:443) Connecting to liquidtelecom.dl.sourceforge.net (197.155.77.8:443) saving to '/var/cache/distfiles/zangband-2.7.5pre1.tar.gz.part' zangband-2.7.5pre1.t 3% |* | 98062 0:00:27 ETA zangband-2.7.5pre1.t 100% |********************************| 2768k 0:00:00 ETA '/var/cache/distfiles/zangband-2.7.5pre1.tar.gz.part' saved >>> zangband: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/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... 4 checking for error_at_line... no checking build system type... armv8l-unknown-linux-musleabihf checking host system type... armv8l-unknown-linux-musleabihf 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... 4 checking for error_at_line... no checking build system type... armv8l-unknown-linux-musleabihf checking host system type... armv8l-unknown-linux-musleabihf 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 CC src/zborg3.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/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 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/tables.o CC src/util.o CC src/cave.o CC src/object1.o CC src/object2.o CC src/monster1.o CC src/monster2.o CC src/xtra1.o CC src/xtra2.o CC src/spells1.o CC src/spells2.o CC src/melee1.o CC src/melee2.o CC src/save.o CC src/files.o CC src/fields.o CC src/cmd1.o CC src/cmd2.o CC src/cmd3.o CC src/cmd4.o CC src/cmd5.o CC src/cmd6.o CC src/store.o CC src/birth.o CC src/load.o CC src/ui.o CC src/wizard1.o CC src/wizard2.o 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 CC src/effects.o CC src/quest.o CC src/racial.o CC src/run.o CC src/script.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/artifact.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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) 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/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/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 && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cave.c: In function 'vinfo_init': src/util.c: In function 'message_add': src/cave.c:1669:29: warning: variable 'p' set but not used [-Wunused-but-set-variable] 1669 | vinfo_type *p; | ^ 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/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/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/birth.c: In function 'player_birth_aux_3': src/util.c: In function 'msg_print_aux': src/birth.c:1286:14: warning: variable 'stat_match' set but not used [-Wunused-but-set-variable] 1286 | s32b stat_match[A_MAX]; | ^~~~~~~~~~ src/util.c:3074:13: warning: the address of 'message__color' will always evaluate as 'true' [-Waddress] 3074 | if (message__color) | ^~~~~~~~~~~~~~ CC src/mutation.o CC src/flavor.o CC src/spells3.o CC src/mspells1.o CC src/mspells2.o src/melee2.c: In function 'get_moves': src/zborg3.c: In function 'borg_power_check': src/melee2.c:1411:39: warning: variable 'fr_ptr' set but not used [-Wunused-but-set-variable] 1411 | monster_race *fr_ptr; | ^~~~~~ src/store.c: In function 'store_purchase': src/zborg3.c:2987:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2987 | else | ^~~~ src/store.c:1388:21: warning: variable 'best' set but not used [-Wunused-but-set-variable] 1388 | s32b price, best; | ^~~~ 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) | ^~ 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/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/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/object2.c:1269:39: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 1269 | if (k_ptr->dd * k_ptr->ds) | ~~~~~~~~~~^~~~~~~~~~~ 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/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/init1.c: In function 'parse_e_info': src/init1.c:1916:20: warning: variable 'cur_t' set but not used [-Wunused-but-set-variable] 1916 | static int cur_t = 0; | ^~~~~ 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/scores.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/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/racial.c: In function 'racial_aux': src/zborg7.c:179:41: note: here 179 | case SV_POTION_AUGMENTATION: | ^~~~ 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/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/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/files.c: In function 'display_player_stat_info': src/zborg7.c:2040:59: warning: this statement may fall through [-Wimplicit-fallthrough=] 2040 | case TV_STAFF: v += 2000; | ~~^~~~~~~ src/files.c:1896:14: warning: variable 'k_idx' set but not used [-Wunused-but-set-variable] 1896 | s16b k_idx; | ^~~~~ 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/zborg7.c:2041:41: note: here 2041 | case TV_POTION: | ^~~~ src/cmd4.c:967:25: note: here 967 | case 'y': | ^~~~ src/zborg7.c:2042:59: warning: this statement may fall through [-Wimplicit-fallthrough=] 2042 | case TV_SCROLL: v += 10; | ~~^~~~~ CC src/mind.o CC src/bldg.o CC src/obj_kind.o src/zborg7.c:2043:41: note: here 2043 | case TV_FOOD: v += 1; | ^~~~ src/files.c: In function 'display_player_skill_info': CC src/wild1.o src/files.c:2167:14: warning: variable 'k_idx' set but not used [-Wunused-but-set-variable] 2167 | s16b k_idx; | ^~~~~ CC src/wild2.o CC src/wild3.o src/zborg6.c: In function 'borg_flow_dark_5': src/xtra2.c: In function 'target_set': src/zborg6.c:3646:20: warning: variable 'mb_ptr' set but not used [-Wunused-but-set-variable] 3646 | map_block *mb_ptr; | ^~~~~~ src/xtra2.c:2640:43: warning: this statement may fall through [-Wimplicit-fallthrough=] 2640 | x = p_ptr->px; | ~~^~~~~~~~~~~ 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/xtra2.c:2645:33: note: here 2645 | case 'o': | ^~~~ src/init2.c:1133:31: note: within this loop 1133 | for (i = 0; i < 32; i++) | ~~^~~~ 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/monster2.c: In function 'test_monster_square': src/quest.c:1076:25: note: here 1076 | case QX_FIND_SHOP: | ^~~~ 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/spells2.c: In function 'activate_ty_curse': CC src/avatar.o src/spells2.c:3589:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3589 | if (!(*count)) | ^ src/quest.c: In function 'quest_status_string': src/spells2.c:3598:25: note: here 3598 | case 30: case 31: | ^~~~ 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/notes.o src/spells2.c:3600:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3600 | if (!(*count)) | ^ src/files.c: In function 'show_file': src/spells2.c:3610:25: note: here 3610 | case 32: case 33: | ^~~~ src/files.c:3533:29: warning: the address of 'finder' will always evaluate as 'true' [-Waddress] 3533 | if (finder) | ^~~~~~ 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/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/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; | ^ 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; | ^ CC src/maid-x11.o src/spells2.c:3721:25: note: here 3721 | default: | ^~~~~~~ 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/rooms.c: In function 'build_recursive_room': 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/rooms.c:3225:31: warning: this statement may fall through [-Wimplicit-fallthrough=] 3225 | power += 2; | ~~~~~~^~~~ 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/rooms.c:3230:17: note: here 3230 | case 4: | ^~~~ src/zbmagic2.c:1384:17: note: here 1384 | case GF_MANA: | ^~~~ 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) | ^ CC src/main-cap.o src/zbmagic2.c:2501:33: note: here 2501 | default: | ^~~~~~~ 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: | ^~~~ CC src/main-gcu.o 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/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/zborg4.c: In function 'borg_notice_artify_item': 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; | ^~ 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/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/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/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/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/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/artifact.c: In function 'create_artifact': 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/artifact.c:2226:21: warning: variable 'act' set but not used [-Wunused-but-set-variable] 2226 | int act; | ^~~ src/zborg4.c:2151:17: note: here 2151 | case SV_ROD_FIRE_BALL: | ^~~~ CC src/main-x11.o src/artifact.c:2368:21: warning: variable 'act' set but not used [-Wunused-but-set-variable] 2368 | int act = 0; | ^~~ 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/zborg5.c:1339:25: note: here 1339 | case 128 + 0: | ^~~~ 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-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 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/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; | ^~~~~~ 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; | ^~ LINK src/lua/tolua src/ui.c: In function 'display_menu': 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; | ^~~~~~ 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 CC src/l-misc.o CC src/l-ui.o CC src/l-field.o CC src/l-monst.o CC src/l-object.o CC src/l-spell.o CC src/l-player.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-armv7.so.1 so:libncursesw.so.6 >>> zangband*: Package size: 5.8 MB >>> zangband*: Compressing data... >>> zangband*: Create checksum... >>> zangband*: Create zangband-2.7.5.1-r2.apk >>> zangband: Build complete at Sat, 27 Apr 2024 00:10:39 +0000 elapsed time 0h 0m 27s >>> zangband: Cleaning up srcdir >>> zangband: Cleaning up pkgdir >>> zangband: Uninstalling dependencies... (1/50) Purging .makedepends-zangband (20240427.001019) (2/50) Purging ncurses (6.4_p20240330-r0) (3/50) Purging automake (1.16.5-r2) (4/50) Purging autoconf (2.72-r0) (5/50) Purging m4 (1.4.19-r3) (6/50) Purging ncurses-dev (6.4_p20240330-r0) (7/50) Purging libncurses++ (6.4_p20240330-r0) (8/50) Purging libpanelw (6.4_p20240330-r0) (9/50) Purging agetty-openrc (0.54-r1) (10/50) Purging agetty (2.40-r2) (11/50) Purging blkid (2.40-r2) (12/50) Purging cfdisk (2.40-r2) (13/50) Purging findmnt (2.40-r2) (14/50) Purging flock (2.40-r2) (15/50) Purging fstrim (2.40-r2) (16/50) Purging git-perl (2.44.0-r2) (17/50) Purging perl-git (2.44.0-r2) (18/50) Purging perl-error (0.17029-r2) (19/50) Purging perl (5.38.2-r0) (20/50) Purging hexdump (2.40-r2) (21/50) Purging libbz2 (1.0.8-r6) (22/50) Purging libformw (6.4_p20240330-r0) (23/50) Purging libmenuw (6.4_p20240330-r0) (24/50) Purging logger (2.40-r2) (25/50) Purging losetup (2.40-r2) (26/50) Purging lsblk (2.40-r2) (27/50) Purging mcookie (2.40-r2) (28/50) Purging mount (2.40-r2) (29/50) Purging partx (2.40-r2) (30/50) Purging runuser (2.40-r2) (31/50) Purging setpriv (2.40-r2) (32/50) Purging sfdisk (2.40-r2) (33/50) Purging umount (2.40-r2) (34/50) Purging util-linux-misc (2.40-r2) (35/50) Purging setarch (2.40-r2) (36/50) Purging util-linux-openrc (2.40-r2) (37/50) Purging uuidgen (2.40-r2) (38/50) Purging wipefs (2.40-r2) (39/50) Purging libfdisk (2.40-r2) (40/50) Purging libmount (2.40-r2) (41/50) Purging libblkid (2.40-r2) (42/50) Purging libcap-ng (0.8.4-r0) (43/50) Purging libeconf (0.6.2-r0) (44/50) Purging libsmartcols (2.40-r2) (45/50) Purging libuuid (2.40-r2) (46/50) Purging linux-pam (1.6.0-r0) (47/50) Purging utmps-libs (0.1.2.2-r1) (48/50) Purging skalibs (2.14.1.1-r0) (49/50) Purging util-linux (2.40-r2) (50/50) Purging sqlite-libs (3.45.3-r0) Executing busybox-1.36.1-r26.trigger OK: 454 MiB in 105 packages >>> zangband: Updating the community/armv7 repository index... >>> zangband: Signing the index...