------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- ===> The following configuration options are available for zangband-2.7.5.p1: ====> GUI (Graphical User Interface) support TK=off: Tk GUI toolkit support X11=off: X11 (graphics) support ===> Use 'make config' to modify these settings SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/games/zangband XDG_CONFIG_HOME=/construction/games/zangband XDG_CACHE_HOME=/construction/games/zangband/.cache HOME=/construction/games/zangband TMPDIR="/tmp" PATH=/construction/games/zangband/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/zangband/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 DEFAULT_AUTOCONF=2.71 CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- --datadir=/usr/local/lib --with-gtk=no --with-tcltk=no --with-x11=no --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- VERBOSE=1 PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/games/zangband XDG_CONFIG_HOME=/construction/games/zangband XDG_CACHE_HOME=/construction/games/zangband/.cache HOME=/construction/games/zangband TMPDIR="/tmp" PATH=/construction/games/zangband/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/zangband/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 DEFAULT_AUTOCONF=2.71 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/local/lib " LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS=" -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- DESTDIR=/construction/games/zangband/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- ANGBANDBIN="bin/zangband" ANGBANDLIB="lib/zangband" OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1 PERL_VER=5.32 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.32 PROFILE="@comment " DOCSDIR="share/doc/zangband" EXAMPLESDIR="share/examples/zangband" DATADIR="share/zangband" WWWDIR="www/zangband" ETCDIR="etc/zangband" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: SUB_LIST ------------------------------------------------------------------------------- ANGBANDBIN="bin/zangband" ANGBANDLIB="lib/zangband" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/zangband DOCSDIR=/usr/local/share/doc/zangband EXAMPLESDIR=/usr/local/share/examples/zangband WWWDIR=/usr/local/www/zangband ETCDIR=/usr/local/etc/zangband SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.pkg Installing /packages/All/gettext-runtime-0.21.1.pkg Installing /packages/All/gmake-4.3_2.pkg Installing /packages/All/ncurses-6.4.pkg ===== Message from ncurses-6.4: -- To get the terminfo database please install the terminfo-db package: pkg install terminfo-db Installing /packages/All/autoconf-switch-20220527.pkg Installing /packages/All/m4-1.4.19,1.pkg Installing /packages/All/perl5-5.32.1_3.pkg Installing /packages/All/autoconf-2.71.pkg Installing /packages/All/automake-1.16.5.pkg Installing /packages/All/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. SUCCEEDED 00:00:05 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- ===> NOTICE: The zangband port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> zangband-2.7.5.p1 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> NOTICE: The zangband port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> zangband-2.7.5.p1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by zangband-2.7.5.p1 for building SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> NOTICE: The zangband port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> zangband-2.7.5.p1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by zangband-2.7.5.p1 for building => SHA256 Checksum OK for zangband/zangband-2.7.5pre1.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> NOTICE: The zangband port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> zangband-2.7.5.p1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by zangband-2.7.5.p1 for building ===> Extracting for zangband-2.7.5.p1 => SHA256 Checksum OK for zangband/zangband-2.7.5pre1.tar.gz. Extracted Memory Use: 12.13M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for zangband-2.7.5.p1 ===> Applying ports patches for zangband-2.7.5.p1 from /xports/games/zangband/files SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> zangband-2.7.5.p1 depends on package: gmake>=4.3 - found ===> zangband-2.7.5.p1 depends on file: /usr/local/lib/libncurses.so.6 - found ===> zangband-2.7.5.p1 depends on package: autoconf>=2.71 - found ===> zangband-2.7.5.p1 depends on package: automake>=1.16.5 - found ===> zangband-2.7.5.p1 depends on package: perl5>=5.32.r0<5.33 - found ===> zangband-2.7.5.p1 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> zangband-2.7.5.p1 depends on package: gmake>=4.3 - found ===> zangband-2.7.5.p1 depends on file: /usr/local/lib/libncurses.so.6 - found ===> zangband-2.7.5.p1 depends on package: autoconf>=2.71 - found ===> zangband-2.7.5.p1 depends on package: automake>=1.16.5 - found ===> zangband-2.7.5.p1 depends on package: perl5>=5.32.r0<5.33 - found ===> zangband-2.7.5.p1 depends on file: /usr/local/bin/ccache - found ===> Configuring for zangband-2.7.5.p1 autoreconf2.71: warning: autoconf input should be named 'configure.ac', not 'configure.in' 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 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:2847: 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:704: 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:743: AC_HEADER_TIME is expanded from... configure.in:218: 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:776: AC_TYPE_SIGNAL is expanded from... configure.in:230: the top level autoheader2.71: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure: loading site script /xports/Templates/config.site checking for gcc... cc 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 cc accepts -g... yes checking for cc option to enable C11 features... none needed checking how to run the C preprocessor... cpp checking for library containing initscr... -lncurses 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... yes checking for main in -lsun... no checking for main in -lvideo... no checking for main in -lwinmm... no checking for main in -lz... yes checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for locale.h... (cached) yes checking for memory.h... (cached) yes checking for netdb.h... (cached) yes checking for stddef.h... (cached) yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/file.h... (cached) yes checking for sys/ioctl.h... (cached) 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... (cached) 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 whether cc needs -traditional... no checking build system type... x86_64-portbld-dragonfly6.5 checking host system type... x86_64-portbld-dragonfly6.5 checking for GNU libc compatible malloc... (cached) 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... (cached) yes checking whether stat accepts an empty string... yes checking for working strcoll... yes checking for strftime... (cached) yes checking for vprintf... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... yes checking for floor... no checking for ftruncate... yes checking for gethostname... (cached) yes checking for memchr... (cached) yes checking for memmove... (cached) yes checking for memset... (cached) yes checking for mkdir... yes checking for modf... yes checking for select... (cached) yes checking for setlocale... (cached) yes checking for strchr... (cached) yes checking for strcspn... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strpbrk... (cached) yes checking for strrchr... (cached) yes checking for strstr... (cached) yes checking for strtol... (cached) yes checking for strtoul... (cached) yes checking for Tk_SetClassProcs... no checking for TkpSync... no checking for mkstemp... (cached) yes checking for usleep... (cached) yes checking for getpwuid... yes checking for getpwnam... yes checking for shmget... (cached) yes checking whether cc accepts -pedantic... yes checking whether cc accepts -W... yes checking whether cc accepts -Wall... yes checking whether cc accepts -Wmissing-prototypes... yes checking whether cc accepts -Wmissing-declarations... yes checking whether cc accepts -Wno-long-long... yes checking whether cc accepts -Wwrite-strings... yes checking whether cc accepts -Wpointer-arith... yes checking whether cc accepts -Wbad-function-cast... yes checking whether cc accepts -Waggregate-return... yes checking whether cc accepts -Wstrict-prototypes... yes checking whether cc accepts -Wredundant-decls... yes checking whether cc accepts -Wchar-subscripts... yes checking whether cc accepts -Wimplicit... yes checking whether cc accepts -Wparentheses... yes checking whether cc accepts -Wsequence-point... yes checking whether cc accepts -Wreturn-type... yes checking whether cc accepts -Wswitch... yes checking whether cc accepts -Wunused... yes checking whether cc accepts -Wuninitialized... yes checking whether cc accepts -Wundef... yes checking whether cc accepts -Wnested-externs... yes checking whether cc accepts -Wdeclaration-after-statement... yes checking whether cc 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 SUCCEEDED 00:00:09 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for zangband-2.7.5.p1 gmake[1]: Entering directory '/construction/games/zangband/zangband' 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 autoheader2.71: 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:2847: 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:704: 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:743: AC_HEADER_TIME is expanded from... configure.in:218: 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:776: 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 --datadir=/usr/local/lib --with-gtk=no --with-tcltk=no --with-x11=no --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/share/info/ --build=x86_64-portbld-dragonfly6.5 build_alias=x86_64-portbld-dragonfly6.5 CC=cc CFLAGS=-pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing LDFLAGS= -L/usr/local/lib -Wl,-rpath=/usr/local/lib LIBS=-L/usr/local/lib CPPFLAGS=-isystem /usr/local/include CPP=cpp --no-create --no-recursion checking for gcc... cc 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 cc accepts -g... yes checking for cc option to enable C11 features... none needed checking how to run the C preprocessor... cpp checking for library containing initscr... -lncurses 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... yes checking for main in -lsun... no checking for main in -lvideo... no checking for main in -lwinmm... no checking for main in -lz... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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... yes checking for stdlib.h... yes checking for string.h... yes checking for sys/file.h... yes checking for sys/ioctl.h... yes checking for sys/param.h... yes checking for sys/time.h... yes checking for sys/timeb.h... yes checking for termio.h... no checking for unistd.h... 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 whether cc needs -traditional... no checking build system type... x86_64-portbld-dragonfly6.5 checking host system type... x86_64-portbld-dragonfly6.5 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... no checking whether stat accepts an empty string... yes 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... no 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 cc accepts -pedantic... yes checking whether cc accepts -W... yes checking whether cc accepts -Wall... yes checking whether cc accepts -Wmissing-prototypes... yes checking whether cc accepts -Wmissing-declarations... yes checking whether cc accepts -Wno-long-long... yes checking whether cc accepts -Wwrite-strings... yes checking whether cc accepts -Wpointer-arith... yes checking whether cc accepts -Wbad-function-cast... yes checking whether cc accepts -Waggregate-return... yes checking whether cc accepts -Wstrict-prototypes... yes checking whether cc accepts -Wredundant-decls... yes checking whether cc accepts -Wchar-subscripts... yes checking whether cc accepts -Wimplicit... yes checking whether cc accepts -Wparentheses... yes checking whether cc accepts -Wsequence-point... yes checking whether cc accepts -Wreturn-type... yes checking whether cc accepts -Wswitch... yes checking whether cc accepts -Wunused... yes checking whether cc accepts -Wuninitialized... yes checking whether cc accepts -Wundef... yes checking whether cc accepts -Wnested-externs... yes checking whether cc accepts -Wdeclaration-after-statement... yes checking whether cc 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 cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/tolua.c -c -o src/lua/tolua.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/tolualua.c -c -o src/lua/tolualua.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/liolib.c -c -o src/lua/liolib.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/lapi.c -c -o src/lua/lapi.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/ldebug.c -c -o src/lua/ldebug.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/lmem.c -c -o src/lua/lmem.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/lstrlib.c -c -o src/lua/lstrlib.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/lvm.c -c -o src/lua/lvm.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/tolua_lb.c -c -o src/lua/tolua_lb.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/lauxlib.c -c -o src/lua/lauxlib.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/ldo.c -c -o src/lua/ldo.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/lobject.c -c -o src/lua/lobject.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/ltable.c -c -o src/lua/ltable.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/lzio.c -c -o src/lua/lzio.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/tolua_rg.c -c -o src/lua/tolua_rg.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/lbaselib.c -c -o src/lua/lbaselib.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/lfunc.c -c -o src/lua/lfunc.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/lparser.c -c -o src/lua/lparser.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/ltests.c -c -o src/lua/ltests.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/tolua_bd.c -c -o src/lua/tolua_bd.o src/lua/lparser.c: In function 'constructor_part': src/lua/lparser.c:555:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if (ls->lookahead.token != '=') /* expression? */ ^ src/lua/lparser.c:559:5: note: here case '[': { /* constructor_part -> recfields */ ^~~~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/tolua_tm.c -c -o src/lua/tolua_tm.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/lcode.c -c -o src/lua/lcode.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/lgc.c -c -o src/lua/lgc.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/lstate.c -c -o src/lua/lstate.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/ltm.c -c -o src/lua/ltm.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/tolua_eh.c -c -o src/lua/tolua_eh.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/tolua_tt.c -c -o src/lua/tolua_tt.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/ldblib.c -c -o src/lua/ldblib.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/llex.c -c -o src/lua/llex.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/lstring.c -c -o src/lua/lstring.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/lundump.c -c -o src/lua/lundump.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/lua/tolua_gp.c -c -o src/lua/tolua_gp.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/z-util.c -c -o src/z-util.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/z-virt.c -c -o src/z-virt.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/z-form.c -c -o src/z-form.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/z-rand.c -c -o src/z-rand.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/z-term.c -c -o src/z-term.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/zborg1.c -c -o src/zborg1.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/zborg2.c -c -o src/zborg2.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/zborg3.c -c -o src/zborg3.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/zborg4.c -c -o src/zborg4.o src/zborg3.c: In function 'borg_read_scroll_fail': src/zborg3.c:1629:6: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if (!map_loc(c_x, c_y)->flags & MAP_GLOW && ^~~~~~~~~~~~~~~~~~~~~~~~~ src/zborg3.c: In function 'borg_power_check': src/zborg3.c:2987:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ src/zborg3.c:2991:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' if (bp_ptr->status.stun) ^~ src/zborg2.c: In function 'borg_vinfo_init': src/zborg2.c:333:15: warning: variable 'p' set but not used [-Wunused-but-set-variable] vinfo_type *p; ^ src/zborg2.c: In function 'borg_update_kill': src/zborg2.c:1932:6: warning: variable 't' set but not used [-Wunused-but-set-variable] int t, e; ^ In function 'borg_add_town.part.4', inlined from 'borg_add_town' at src/zborg2.c:2545:5: src/zborg2.c:2592:2: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(borg_towns[i].name, town_name, strlen(town_name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/zborg5.c -c -o src/zborg5.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/zborg6.c -c -o src/zborg6.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/zborg7.c -c -o src/zborg7.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/zborg8.c -c -o src/zborg8.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/zborg9.c -c -o src/zborg9.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/zbmagic1.c -c -o src/zbmagic1.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/ussrc/zborg4.c: In function 'borg_notice_artify_item': src/zborg4.c:1310:31: warning: this statement may fall through [-Wimplicit-fallthrough=] case SV_HEAVY_XBOW: value += 2; ~~~~~~^~~~ src/zborg4.c:1311:5: note: here case SV_LIGHT_XBOW: value += 2; ^~~~ src/zborg4.c:1311:31: warning: this statement may fall through [-Wimplicit-fallthrough=] case SV_LIGHT_XBOW: value += 2; ~~~~~~^~~~ src/zborg4.c:1312:5: note: here case SV_LONG_BOW: value += 2; ^~~~ src/zborg4.c:1312:31: warning: this statement may fall through [-Wimplicit-fallthrough=] case SV_LONG_BOW: value += 2; ~~~~~~^~~~ src/zborg4.c:1313:5: note: here case SV_SHORT_BOW: ^~~~ src/zborg4.c: In function 'borg_notice_potions': src/zborg4.c:1676:19: warning: this statement may fall through [-Wimplicit-fallthrough=] amt_pot_curing += number; ~~~~~~~~~~~~~~~^~~~~~~~~ src/zborg4.c:1680:3: note: here case SV_POTION_CURE_CRITICAL: ^~~~ src/zborg4.c: In function 'borg_notice_scrolls': src/zborg4.c:1901:3: warning: this statement may fall through [-Wimplicit-fallthrough=] { ^ src/zborg4.c:1925:3: note: here case SV_SCROLL_ENCHANT_WEAPON_TO_DAM: ^~~~ src/zborg4.c: In function 'borg_notice_rods': src/zborg4.c:2147:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (bp_ptr->lev > 25) break; ^ src/zborg4.c:2151:3: note: here case SV_ROD_FIRE_BALL: ^~~~ r/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/zbmagic2.c -c -o src/zbmagic2.o src/zborg5.c: In function 'borg_danger_aux2': src/zborg5.c:1335:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!borg_full_damage) ^ src/zborg5.c:1339:4: note: here case 128 + 0: ^~~~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/zbmagic3.c -c -o src/zbmagic3.o src/zborg7.c: In function 'borg_use_things': src/zborg7.c:174:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!bp_ptr->depth) break; ^ src/zborg7.c:179:6: note: here case SV_POTION_AUGMENTATION: ^~~~ src/zborg7.c: In function 'borg_consume': src/zborg7.c:1549:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (borg_eat_food(sval)) return (TRUE);; ^ src/zborg7.c:1552:3: note: here case TV_LITE: ^~~~ src/zborg7.c: In function 'borg_test_stuff': src/zborg7.c:2037:24: warning: this statement may fall through [-Wimplicit-fallthrough=] case TV_AMULET: v += 2000; ~~^~~~~~~ src/zborg7.c:2038:6: note: here case TV_ROD: v += 1000; ^~~~ src/zborg7.c:2038:21: warning: this statement may fall through [-Wimplicit-fallthrough=] case TV_ROD: v += 1000; ~~^~~~~~~ src/zborg7.c:2039:6: note: here case TV_WAND: ^~~~ src/zborg7.c:2040:23: warning: this statement may fall through [-Wimplicit-fallthrough=] case TV_STAFF: v += 2000; ~~^~~~~~~ src/zborg7.c:2041:6: note: here case TV_POTION: ^~~~ src/zborg7.c:2042:24: warning: this statement may fall through [-Wimplicit-fallthrough=] case TV_SCROLL: v += 10; ~~^~~~~ src/zborg7.c:2043:6: note: here case TV_FOOD: v += 1; ^~~~ 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 -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/variable.c -c -o src/variable.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/tables.c -c -o src/tables.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/util.c -c -o src/util.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=] ((k_info[(T)->k_idx].easy_know && k_info[(T)->k_idx].aware) || \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/zborg8.c:137:6: note: in expansion of macro 'borg_obj_known_p' !borg_obj_known_p(q_ptr)) return (FALSE); ^~~~~~~~~~~~~~~~ src/zborg8.c:142:3: note: here case TV_BOLT: ^~~~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/cave.c -c -o src/cave.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/object1.c -c -o src/object1.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/object2.c -c -o src/object2.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/monster1.c -c -o src/monster1.o src/cave.c: In function 'vinfo_init': src/cave.c:1669:15: warning: variable 'p' set but not used [-Wunused-but-set-variable] vinfo_type *p; ^ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/monster2.c -c -o src/monster2.o src/util.c: In function 'message_add': src/util.c:2755:7: warning: the address of 'buf' will always evaluate as 'true' [-Waddress] if (buf && streq(buf, str) && (j < 1000)) ^~~ src/util.c: In function 'msg_print_aux': src/util.c:3074:6: warning: the address of 'message__color' will always evaluate as 'true' [-Waddress] if (message__color) ^~~~~~~~~~~~~~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/xtra1.c -c -o src/xtra1.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/xtra2.c -c -o src/xtra2.o src/xtra1.c: In function 'health_redraw': src/xtra1.c:977:41: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] else if (!m_list[p_ptr->health_who].hp < 0) ^ src/xtra1.c:977:41: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] src/xtra1.c:977:11: note: add parentheses around left hand side expression to silence this warning else if (!m_list[p_ptr->health_who].hp < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ( ) src/monster2.c: In function 'test_monster_square': src/monster2.c:500:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!(FLAG(r_ptr, RF_WILD_OCEAN))) return (FALSE); ^ src/monster2.c:505:3: note: here case FEAT_DEEP_WATER: ^~~~ src/monster2.c:507:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!((FLAG(r_ptr, RF_AQUATIC)) || ^ src/monster2.c:517:3: note: here case FEAT_SHAL_WATER: ^~~~ src/xtra2.c: In function 'target_set': src/xtra2.c:2640:8: warning: this statement may fall through [-Wimplicit-fallthrough=] x = p_ptr->px; ~~^~~~~~~~~~~ src/xtra2.c:2645:5: note: here case 'o': ^~~~ src/object1.c: In function 'get_item': src/object1.c:3118:13: warning: 'command_wrk' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (command_wrk == (USE_EQUIP)) ^ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/spells1.c -c -o src/spells1.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/spells2.c -c -o src/spells2.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/melee1.c -c -o src/melee1.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/melee2.c -c -o src/melee2.o src/spells1.c: In function 'project_o': src/spells1.c:596:6: warning: variable 'k_idx' set but not used [-Wunused-but-set-variable] int k_idx = 0; ^~~~~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/save.c -c -o src/save.o src/melee2.c: In function 'get_moves': src/melee2.c:1411:18: warning: variable 'fr_ptr' set but not used [-Wunused-but-set-variable] monster_race *fr_ptr; ^~~~~~ src/melee2.c:1344:10: warning: 'ty' may be used uninitialized in this function [-Wmaybe-uninitialized] int tx, ty; ^~ src/melee2.c:1344:6: warning: 'tx' may be used uninitialized in this function [-Wmaybe-uninitialized] int tx, ty; ^~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/files.c -c -o src/files.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/fields.c -c -o src/fields.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/cmd1.c -c -o src/cmd1.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/cmd2.c -c -o src/cmd2.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/cmd3.c -c -o src/cmd3.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/cmd4.c -c -o src/cmd4.o src/spells2.c: In function 'self_knowledge': src/spells2.c:42:7: warning: variable 'Dummy' set but not used [-Wunused-but-set-variable] char Dummy[80], Liferating[80]; ^~~~~ src/spells2.c: In function 'cave_temp_room_unlite': src/spells2.c:2805:16: warning: variable 'pc_ptr' set but not used [-Wunused-but-set-variable] pcave_type *pc_ptr; ^~~~~~ src/spells2.c: In function 'activate_ty_curse': src/spells2.c:3589:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!(*count)) ^ src/spells2.c:3598:4: note: here case 30: case 31: ^~~~ src/spells2.c:3600:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!(*count)) ^ src/spells2.c:3610:4: note: here case 32: case 33: ^~~~ src/spells2.c:3612:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!(*count)) ^ src/spells2.c:3622:4: note: here case 34: ^~~~ src/spells2.c:3630:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!one_in_(6)) break; ^ src/spells2.c:3634:4: note: here case 1: case 2: case 3: case 16: case 17: ^~~~ src/spells2.c:3637:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!one_in_(6)) break; ^ src/spells2.c:3641:4: note: here case 4: case 5: case 6: ^~~~ src/spells2.c:3644:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!one_in_(6)) break; ^ src/spells2.c:3648:4: note: here case 7: case 8: case 9: case 18: ^~~~ src/spells2.c:3653:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!one_in_(6)) break; ^ src/spells2.c:3657:4: note: here case 10: case 11: case 12: ^~~~ src/spells2.c:3661:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!one_in_(6)) break; ^ src/spells2.c:3665:4: note: here case 13: case 14: case 15: case 19: case 20: ^~~~ src/spells2.c:3687:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!one_in_(6)) break; ^ src/spells2.c:3691:4: note: here case 21: case 22: case 23: ^~~~ src/spells2.c:3694:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!one_in_(6)) break; ^ src/spells2.c:3698:4: note: here case 24: ^~~~ src/spells2.c:3702:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!one_in_(6)) break; ^ src/spells2.c:3706:4: note: here case 25: ^~~~ src/spells2.c:3717:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!one_in_(6)) break; ^ src/spells2.c:3721:4: note: here default: ^~~~~~~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/cmd5.c -c -o src/cmd5.o src/files.c: In function 'display_player_stat_info': src/files.c:1896:7: warning: variable 'k_idx' set but not used [-Wunused-but-set-variable] s16b k_idx; ^~~~~ src/files.c: In function 'display_player_skill_info': src/files.c:2167:7: warning: variable 'k_idx' set but not used [-Wunused-bucc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/cmd6.c -c -o src/cmd6.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/store.c -c -o src/store.o t-set-variable] s16b k_idx; ^~~~~ src/files.c: In function 'show_file': src/files.c:3533:8: warning: the address of 'finder' will always evaluate as 'true' [-Waddress] if (finder) ^~~~~~ src/cmd4.c: In function 'do_cmd_options_win': src/cmd4.c:959:5: warning: this statement may fall through [-Wimplicit-fallthrough=] for (i = 0; i < WINDOW_CHOICE_MAX; i++) ^~~ src/cmd4.c:967:4: note: here case 'y': ^~~~ src/cmd4.c: In function 'do_cmd_knowledge_notes': src/cmd4.c:3877:2: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(fname, notes_file(), 1024); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/birth.c -c -o src/birth.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/load.c -c -o src/load.o src/object2.c: In function 'object_value_real': src/object2.c:1250:18: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] if (k_ptr->dd * k_ptr->ds) ~~~~~~~~~~^~~~~~~~~~~ src/object2.c:1269:18: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] if (k_ptr->dd * k_ptr->ds) ~~~~~~~~~~^~~~~~~~~~~ src/object2.c: In function 'object_similar': src/object2.c:1542:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!(FLAG(o_ptr, TR_THROW))) return (FALSE); ^ src/object2.c:1547:3: note: here case TV_LITE: ^~~~ src/object2.c:1550:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (o_ptr->timeout != j_ptr->timeout) return (FALSE); ^ src/object2.c:1555:3: note: here case TV_RING: ^~~~ src/object2.c:1562:5: warning: this statement may fall through [-Wimplicit-fallthrough=] || !object_known_p(j_ptr)) return (FALSE); src/object2.c:1566:3: note: here case TV_BOLT: ^~~~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/ui.c -c -o src/ui.o src/ui.c: In function 'display_menu': src/ui.c:690:12: warning: 'choice' may be used uninitialized in this function [-Wmaybe-uninitialized] else if ((choice == '2') && scroll) ^ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/wizard1.c -c -o src/wizard1.o src/cmd5.c: In function 'get_spell': src/cmd5.c:35:20: warning: variable 's_ptr' set but not used [-Wunused-but-set-variable] const magic_type *s_ptr; ^~~~~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/wizard2.c -c -o src/wizard2.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/grid.c -c -o src/grid.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/streams.c -c -o src/streams.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/rooms.c -c -o src/rooms.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/generate.c -c -o src/generate.o src/rooms.c: In function 'build_recursive_room': src/rooms.c:3225:10: warning: this statement may fall through [-Wimplicit-fallthrough=] power += 2; ~~~~~~^~~~ src/rooms.c:3230:3: note: here case 4: ^~~~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/dungeon.c -c -o src/dungeon.o src/load.c: In function 'rd_item': src/load.c:725:7: warning: 'xtra2' may be used uninitialized in this function [-Wmaybe-uninitialized] if (xtra2) ^ src/load.c:654:34: warning: 'name2' may be used uninitialized in this function [-Wmaybe-uninitialized] ego_item_type *e_ptr = &e_info[name2]; ^ src/load.c:686:19: warning: 'name1' may be used uninitialsrc/generate.c: In function 'cave_gen': src/generate.c:575:7: warning: variable 'cavern' set but not used [-Wunused-but-set-variable] bool cavern = FALSE; ^~~~~~ ized in this function [-Wmaybe-uninitialized] a_ptr = &a_info[name1]; ^ src/load.c: In function 'rd_store': src/load.c:1015:17: warning: 'greed' may be used uninitialized in this function [-Wmaybe-uninitialized] st_ptr->greed = greed; ~~~~~~~~~~~~~~^~~~~~~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/init1.c -c -o src/init1.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/init2.c -c -o src/init2.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/effects.c -c -o src/effects.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/quest.c -c -o src/quest.o src/dungeon.c: In function 'sense_item': src/dungeon.c:114:7: warning: variable 'okay' set but not used [-Wunused-but-set-variable] bool okay = FALSE; ^~~~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/racial.c -c -o src/racial.o src/quest.c: In function 'activate_quests': src/quest.c:685:17: warning: variable 'pl_ptr' set but not used [-Wunused-but-set-variable] place_type *pl_ptr; ^~~~~~ src/quest.c:702:17: warning: variable 'pl_ptr' set but not used [-Wunused-but-set-variable] place_type *pl_ptr; ^~~~~~ src/quest.c:678:18: warning: this statement may fall through [-Wimplicit-fallthrough=] q_ptr->flags |= QUEST_FLAG_ACTIVE; src/quest.c:681:4: note: here case QUEST_TYPE_MESSAGE: ^~~~ src/quest.c:695:18: warning: this statement may fall through [-Wimplicit-fallthrough=] q_ptr->flags |= QUEST_FLAG_ACTIVE; src/quest.c:698:4: note: here case QUEST_TYPE_FIND_PLACE: ^~~~ src/quest.c: In function 'trigger_quest_complete': src/quest.c:1065:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (*((int *) data) == q_ptr->data.fit.a_idx) ^ src/quest.c:1076:4: note: here case QX_FIND_SHOP: ^~~~ src/quest.c: In function 'quest_status_string': src/quest.c:2007:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (q_ptr->type == QUEST_TYPE_FIND_PLACE) return ("(Found)\n\n"); ^ src/quest.c:2011:3: note: here case QUEST_STATUS_FINISHED: return ("(Completed)\n"); ^~~~ src/init1.c: In function 'parse_e_info': src/init1.c:1916:13: warning: variable 'cur_t' set but not used [-Wunused-but-set-variable] static int cur_t = 0; ^~~~~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/run.c -c -o src/run.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/script.c -c -o src/script.o src/init2.c: In function 'init_other': src/init2.c:1136:24: warning: iteration 15 invokes undefined behavior [-Waggressive-loop-optimizations] if (window_flag_desc[i]) ~~~~~~~~~~~~~~~~^~~ src/init2.c:1133:3: note: within this loop for (i = 0; i < 32; i++) ^~~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/artifact.c -c -o src/artifact.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/mutation.c -c -o src/mutation.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/flavor.c -c -o src/flavor.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/spells3.c -c -o src/spells3.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/mspells1.c -c -o src/mspells1.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/mspells2.c -c -o src/mspells2.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/scores.c -c -o src/scores.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/mind.c -c -o src/mind.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/bldg.c -c -o src/bldg.o src/artifact.c: In function 'create_artifact': src/artifact.c:2226:7: warning: variable 'act' set but not used [-Wunused-but-set-variable] int act; ^~~ src/artifact.c:2368:7: warning: variable 'act' set but not used [-Wunused-but-set-variable] int act = 0; ^~~ src/scores.c: In function 'show_highclass': src/scores.c:823:10: warning: variable 'pc' set but not used [-Wunused-but-set-variable] int pr, pc, clev /*, al */ ; ^~ src/scores.c: In function 'race_score': src/scores.c:881:10: warning: variable 'pc' set but not used [-Wunused-but-set-variable] int pr, pc, clev, lastlev; ^~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/obj_kind.c -c -o src/obj_kind.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/wild1.c -c -o src/wild1.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/wild2.c -c -o src/wild2.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/wild3.c -c -o src/wild3.o src/wild1.c: In function 'create_rivers': src/wild1.c:2207:30: warning: variable 'dh' set but not used [-Wunused-but-set-variable] int i, cur_posn, high_posn, dh, river_start; ^~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/avatar.c -c -o src/avatar.o src/wild2.c: In function 'draw_city': src/wild2.c:1151:7: warning: variable 'magic' set but not used [-Wunused-but-set-variable] byte magic; ^~~~~ src/wild2.c: In function 'open_clearing': src/wild2.c:1400:19: warning: variable 'disty' set but not used [-Wunused-but-set-variable] int dist, distx, disty; ^~~~~ src/wild2.c:1400:12: warning: variable 'distx' set but not used [-Wunused-but-set-variable] int dist, distx, disty; ^~~~~ src/wild2.c: In function 'draw_dun_cave': src/wild2.c:1599:6: warning: this statement may fall through [-Wimplicit-fallthrocc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/notes.c -c -o src/notes.o ugh=] j = 0; ~~^~~ src/wild2.c:1602:3: note: here case 1: ^~~~ src/wild2.c:1605:6: warning: this statement may fall through [-Wimplicit-fallthrough=] j = 0; ~~^~~ src/wild2.c:1608:3: note: here case 2: ^~~~ src/wild2.c:1611:6: warning: this statement may fall through [-Wicc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/maid-x11.c -c -o src/maid-x11.o mplicit-fallthrough=] j = -1; ~~^~~~ src/wild2.c:1614:3: note: here 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:21: warning: this statement may fall through [-Wimplicit-fallthrough=] (cave_p(X, Y)->feat=(F)) ~~~~~~~~~~~~~~~~~~~^~~~~ src/wild2.c:1696:4: note: in expansion of macro 'set_feat_bold' set_feat_bold(x0 - x + 1, y0 - y + 1, FEAT_MORE); ^~~~~~~~~~~~~ src/wild2.c:1699:3: note: here case 1: ^~~~ In file included from src/wild.h:15, from src/wild2.c:16: src/grid.h:34:21: warning: this statement may fall through [-Wimplicit-fallthrough=] (cave_p(X, Y)->feat=(F)) ~~~~~~~~~~~~~~~~~~~^~~~~ src/wild2.c:1701:4: note: in expansion of macro 'set_feat_bold' set_feat_bold(x0 - x + 1, y0 + y - 1, FEAT_MORE); ^~~~~~~~~~~~~ src/wild2.c:1704:3: note: here case 2: ^~~~ In file included from src/wild.h:15, from src/wild2.c:16: src/grid.h:34:21: warning: this statement may fall through [-Wimplicit-fallthrough=] (cave_p(X, Y)->feat=(F)) ~~~~~~~~~~~~~~~~~~~^~~~~ src/wild2.c:1706:4: note: in expansion of macro 'set_feat_bold' set_feat_bold(x0 + x - 1, y0 - y + 1, FEAT_MORE); ^~~~~~~~~~~~~ src/wild2.c:1709:3: note: here case 3: ^~~~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/main-cap.c -c -o src/main-cap.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/main-gcu.c -c -o src/main-gcu.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/main-x11.c -c -o src/main-x11.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/main-xaw.c -c -o src/main-xaw.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/main-xpj.c -c -o src/main-xpj.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/main-lsl.c -c -o src/main-lsl.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/main-vcs.c -c -o src/main-vcs.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/main-gtk.c -c -o src/main-gtk.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/main-win.c -c -o src/main-win.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/main.c -c -o src/main.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/maid-grf.c -c -o src/maid-grf.o src/maid-grf.c: In function 'update_overhead_map': src/maid-grf.c:2356:13: warning: variable 'mb_ptr' set but not used [-Wunused-but-set-variable] map_block *mb_ptr; ^~~~~~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/main-dos.c -c -o src/main-dos.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/main-ibm.c -c -o src/main-ibm.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/main-emx.c -c -o src/main-emx.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/main-ami.c -c -o src/main-ami.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/main-tnb.c -c -o src/main-tnb.o src/racial.c: In function 'racial_chance': src/racial.c:29:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ src/racial.c:33:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 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] else ^~~~ src/racial.ccc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -o src/lua/tolua src/lua/tolua.o src/lua/tolualua.o src/lua/liolib.o src/lua/lapi.o src/lua/ldebug.o src/lua/lmem.o src/lua/lstrlib.o src/lua/lvm.o src/lua/tolua_lb.o src/lua/lauxlib.o src/lua/ldo.o src/lua/lobject.o src/lua/ltable.o src/lua/lzio.o src/lua/tolua_rg.o src/lua/lbaselib.o src/lua/lfunc.o src/lua/lparser.o src/lua/ltests.o src/lua/tolua_bd.o src/lua/tolua_tm.o src/lua/lcode.o src/lua/lgc.o src/lua/lstate.o src/lua/ltm.o src/lua/tolua_eh.o src/lua/tolua_tt.o src/lua/ldb:133:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' if (p_ptr->csp < cost) use_hp = TRUE; ^~ lib.o src/lua/llex.o src/lua/lstring.o src/lua/lundump.o src/lua/tolua_gp.o -L/usr/local/lib -Wl,-rpath=/usr/local/lib -lz -lrpcsvc -lncurses -L/usr/local/lib src/lua/tolua -n monst -o src/l-monst.c src/l-monst.pkg src/lua/tolua -n object -o src/l-object.c src/l-object.pkg src/lua/tolua -n player -o src/l-player.c src/l-player.pkg src/lua/tolua -n random -o src/l-random.c src/l-random.pkg src/lua/tolua -n ui -o src/l-ui.c src/l-ui.pkg src/lua/tolua -n misc -o src/l-misc.c src/l-misc.pkg src/lua/tolua -n spell -o src/l-spell.c src/l-spell.pkg src/lua/tolua -n field -o src/l-field.c src/l-field.pkg In file included from src/h-basic.h:16, from src/angband.h:31, from src/main.c:11: src/h-system.h:230:19: 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] { #P, help_##P, (errr (*)(int, char **, unsigned char *)) init_##P } ^ src/main.c:29:2: note: in expansion of macro 'INIT_MODULE' INIT_MODULE(gcu), ^~~~~~~~~~~ src/h-system.h:230:19: 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] { #P, help_##P, (errr (*)(int, char **, unsigned char *)) init_##P } ^ src/main.c:85:2: note: in expansion of macro 'INIT_MODULE' INIT_MODULE(vcs) ^~~~~~~~~~~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/l-monst.c -c -o src/l-monst.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/l-random.c -c -o src/l-random.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/l-ui.c -c -o src/l-ui.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/l-misc.c -c -o src/l-misc.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/l-field.c -c -o src/l-field.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/l-player.c -c -o src/l-player.o cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/l-spell.c -c -o src/l-spell.o src/birth.c: In function 'player_birth_aux_3': src/birth.c:1286:7: warning: variable 'stat_match' set but not used [-Wunused-but-set-variable] s32b stat_match[A_MAX]; ^~~~~~~~~~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -isystem /usr/local/include src/l-object.c -c -o src/l-object.o src/store.c: In function 'display_entry': src/store.c:957:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (object_aware_p(o_ptr)) ^~ src/store.c:961:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (st_ptr->type == BUILD_STORE_HOME) ^~ src/store.c: In function 'store_purchase': src/store.c:1388:14: warning: variable 'best' set but not used [-Wunused-but-set-variable] s32b price, best; ^~~~ src/zborg6.c: In function 'borg_find_dungeon': src/zborg6.c:1718:33: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] borg_dungeons[b_i].min_depth < 5 + borg_dungeons[b_i].max_depth != 0 && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/zborg6.c: In function 'borg_flow_dark_5': src/zborg6.c:3646:13: warning: variable 'mb_ptr' set but not used [-Wunused-but-set-variable] map_block *mb_ptr; ^~~~~~ src/zbmagic2.c: In function 'borg_launch_aux_hack': src/zbmagic2.c:1151:13: warning: variable 'mb_ptr' set but not used [-Wunused-but-set-variable] map_block *mb_ptr; ^~~~~~ src/zbmagic2.c: In function 'borg_launch_damage_one': src/zbmagic2.c:428:8: warning: this statement may fall through [-Wimplicit-fallthrough=] dam += 100; ~~~~^~~~~~ src/zbmagic2.c:432:3: note: here case GF_ARROW_FLAME: ^~~~ src/zbmagic2.c: In function 'borg_ball_item': src/zbmagic2.c:1363:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (k_ptr->tval == TV_BOOTS) return (-200); ^ src/zbmagic2.c:1366:3: note: here case GF_ELEC: ^~~~ src/zbmagic2.c:1369:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (k_ptr->tval == TV_RING) return (-200); ^ src/zbmagic2.c:1372:3: note: here case GF_FIRE: ^~~~ src/zbmagic2.c:1375:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (k_ptr->tval == TV_BOOTS) return (-200); ^ src/zbmagic2.c:1378:3: note: here case GF_COLD: ^~~~ src/zbmagic2.c:1381:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (k_ptr->tval == TV_POTION) return (-200); ^ src/zbmagic2.c:1384:3: note: here case GF_MANA: ^~~~ src/zbmagic2.c: In function 'borg_throw_damage': src/zbmagic2.c:2494:9: warning: this statement may fall through [-Wimplicit-fallthrough=] if (borg_class == CLASS_WARRIOR) ^ src/zbmagic2.c:2501:5: note: here default: ^~~~~~~ cc -Wsign-compare -Wdeclaration-after-statement -Wnested-externs -Wundef -Wuninitialized -Wunused -Wswitch -Wreturn-type -Wsequence-point -Wparentheses -Wimplicit -Wchar-subscripts -Wredundant-decls -Wstrict-prototypes -Waggregate-return -Wbad-function-cast -Wpointer-arith -Wwrite-strings -Wno-long-long -Wmissing-declarations -Wmissing-prototypes -Wall -W -pedantic -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -isystem /usr/local/include -fno-strict-aliasing -DHAVE_CONFIG_H -DDEFAULT_PATH=\"/usr/local/lib/zangband/\" -o zangband src/variable.o src/tables.o src/util.o src/cave.o src/object1.o src/object2.o src/monster1.o src/monster2.o src/xtra1.o src/xtra2.o src/spells1.o src/spells2.o src/melee1.o src/melee2.o src/save.o src/files.o src/fields.o src/cmd1.o src/cmd2.o src/cmd3.o src/cmd4.o src/cmd5.o src/cmd6.o src/store.o src/birth.o src/load.o src/ui.o src/wizard1.o src/wizard2.o src/grid.o src/streams.o src/rooms.o src/generate.o src/dungeon.o src/init1.o src/init2.o src/effects.o src/quest.o src/racial.o src/run.o src/script.o src/artifact.o src/mutation.o src/flavor.o src/spells3.o src/mspells1.o src/mspells2.o src/scores.o src/mind.o src/bldg.o src/obj_kind.o src/wild1.o src/wild2.o src/wild3.o src/avatar.o src/notes.o src/maid-x11.o src/main-cap.o src/main-gcu.o src/main-x11.o src/main-xaw.o src/main-xpj.o src/main-lsl.o src/main-vcs.o src/main-gtk.o src/main-win.o src/main.o src/maid-grf.o src/main-dos.o src/main-ibm.o src/main-emx.o src/main-ami.o src/main-tnb.o src/l-monst.o src/l-object.o src/l-player.o src/l-random.o src/l-ui.o src/l-misc.o src/l-spell.o src/l-field.o src/z-util.o src/z-virt.o src/z-form.o src/z-rand.o src/z-term.o src/zborg1.o src/zborg2.o src/zborg3.o src/zborg4.o src/zborg5.o src/zborg6.o src/zborg7.o src/zborg8.o src/zborg9.o src/zbmagic1.o src/zbmagic2.o src/zbmagic3.o src/lua/lapi.o src/lua/ldebug.o src/lua/lmem.o src/lua/lstrlib.o src/lua/lvm.o src/lua/tolua_lb.o src/lua/lauxlib.o src/lua/ldo.o src/lua/lobject.o src/lua/ltable.o src/lua/lzio.o src/lua/tolua_rg.o src/lua/lbaselib.o src/lua/lfunc.o src/lua/lparser.o src/lua/ltests.o src/lua/tolua_bd.o src/lua/tolua_tm.o src/lua/lcode.o src/lua/lgc.o src/lua/lstate.o src/lua/ltm.o src/lua/tolua_eh.o src/lua/tolua_tt.o src/lua/ldblib.o src/lua/llex.o src/lua/lstring.o src/lua/lundump.o src/lua/tolua_gp.o -L/usr/local/lib -Wl,-rpath=/usr/local/lib -lz -lrpcsvc -lncurses -L/usr/local/lib gmake[1]: Leaving directory '/construction/games/zangband/zangband' SUCCEEDED 00:00:11 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> zangband-2.7.5.p1 depends on file: /usr/local/lib/libncurses.so.6 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for zangband-2.7.5.p1 ===> zangband-2.7.5.p1 depends on file: /usr/local/lib/libncurses.so.6 - found ===> Generating temporary packing list (cd /construction/games/zangband/zangband && install -s -m 555 zangband /construction/games/zangband/stage/usr/local/bin) (cd /construction/games/zangband/zangband/lib && /usr/bin/find . ! -name "makefile.zb" -a ! -name "*.bak" -a ! -name "*.orig" | /usr/bin/cpio -dump -L /construction/games/zangband/stage/usr/local/lib/zangband) 8085 blocks ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for zangband-2.7.5.p1 pkg-static: Use of '@unexec' is deprecated: Use @preunexec/@postunexec instead pkg-static: Use of '@unexec' is deprecated: Use @preunexec/@postunexec instead pkg-static: Use of '@exec' is deprecated: Use @preexec/@postexec instead file sizes/checksums [261]: 0% file sizes/checksums [261]: 38% file sizes/checksums [261]: 76% file sizes/checksums [261]: 100% Service unavailablepacking files [261]: 0% packing files [261]: 38% packing files [261]: 76% packing files [261]: 100% packing directories [22]: 0% packing directories [22]: 100% SUCCEEDED 00:00:01 TOTAL TIME 00:00:32