=> Building games/mangband build started at Wed Oct 5 14:25:07 PDT 2016 port directory: /usr/ports/games/mangband building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: flambard@mangband.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../10//usr/ports/games/mangband/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=mangband-1.1.3 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for mangband-1.1.3: GCU=on: Display module GCU (curses) SDL=on: Display module SDL X11=on: Display module X11 ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --with-gcu --with-sdl --with-x11 --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/games/mangband XDG_CONFIG_HOME=/wrkdirs/games/mangband HOME=/wrkdirs/games/mangband TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/games/mangband XDG_CONFIG_HOME=/wrkdirs/games/mangband HOME=/wrkdirs/games/mangband TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/local/lib" LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/mangband" EXAMPLESDIR="share/examples/mangband" DATADIR="share/mangband" WWWDIR="www/mangband" ETCDIR="etc/mangband" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/mangband DOCSDIR=/usr/local/share/doc/mangband EXAMPLESDIR=/usr/local/share/examples/mangband WWWDIR=/usr/local/www/mangband ETCDIR=/usr/local/etc/mangband --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> License GPLv2 accepted by the user =========================================================================== =================================================== ===> mangband-1.1.3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> mangband-1.1.3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of mangband-1.1.3 =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by mangband-1.1.3 for building =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by mangband-1.1.3 for building => SHA256 Checksum OK for mangband-1.1.3.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by mangband-1.1.3 for building ===> Extracting for mangband-1.1.3 => SHA256 Checksum OK for mangband-1.1.3.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for mangband-1.1.3 ===> Converting DOS text files to UNIX text files ===> Applying ports patches for mangband-1.1.3 =========================================================================== =================================================== ===> mangband-1.1.3 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_1.txz Installing gmake-4.2.1_1... `-- Installing indexinfo-0.2.5... `-- Extracting indexinfo-0.2.5: .... done `-- Installing gettext-runtime-0.19.8.1... `-- Extracting gettext-runtime-0.19.8.1: .......... done Extracting gmake-4.2.1_1: .......... done ===> mangband-1.1.3 depends on executable: gmake - found ===> Returning to build of mangband-1.1.3 ===> mangband-1.1.3 depends on file: /usr/local/lib/libncurses.so.6 - not found ===> Installing existing package /packages/All/ncurses-6.0_5.txz Installing ncurses-6.0_5... Extracting ncurses-6.0_5: .......... done Message from ncurses-6.0_5: ===> NOTICE: The ncurses 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> mangband-1.1.3 depends on file: /usr/local/lib/libncurses.so.6 - found ===> Returning to build of mangband-1.1.3 =========================================================================== =================================================== ===> mangband-1.1.3 depends on shared library: libX11.so - not found ===> Installing existing package /packages/All/libX11-1.6.3,1.txz Installing libX11-1.6.3,1... `-- Installing xproto-7.0.28... `-- Extracting xproto-7.0.28: .......... done `-- Installing kbproto-1.0.7... `-- Extracting kbproto-1.0.7: .......... done `-- Installing libXdmcp-1.1.2... `-- Extracting libXdmcp-1.1.2: ......... done `-- Installing libxcb-1.11.1... | `-- Installing libxml2-2.9.4... | `-- Extracting libxml2-2.9.4: .......... done | `-- Installing libpthread-stubs-0.3_6... | `-- Extracting libpthread-stubs-0.3_6: ..... done | `-- Installing libXau-1.0.8_3... | `-- Extracting libXau-1.0.8_3: .......... done `-- Extracting libxcb-1.11.1: .......... done Extracting libX11-1.6.3,1: .......... done ===> mangband-1.1.3 depends on shared library: libX11.so - found (/usr/local/lib/libX11.so) ===> Returning to build of mangband-1.1.3 ===> mangband-1.1.3 depends on shared library: libX11.so - found (/usr/local/lib/libX11.so) =========================================================================== =================================================== ===> Configuring for mangband-1.1.3 configure: loading site script /usr/ports/Templates/config.site checking build system type... x86_64-portbld-dragonfly4.7 checking host system type... x86_64-portbld-dragonfly4.7 checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for main in -lX11... yes checking for main in -lSDL... no checking for main in -lncurses... yes checking how to run the C preprocessor... cpp checking for egrep... grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for fcntl.h... (cached) yes checking for float.h... (cached) yes checking for limits.h... (cached) yes checking for memory.h... (cached) yes checking for netdb.h... (cached) yes checking for netinet/in.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.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/socket.h... (cached) yes checking for sys/time.h... (cached) yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking termio.h usability... no checking termio.h presence... no checking for termio.h... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking values.h usability... no checking values.h presence... no checking for values.h... no checking for stdbool.h that conforms to C99... (cached) yes checking for _Bool... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working volatile... yes checking whether cc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for sys/select.h... (cached) yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking for strftime... (cached) yes checking for vprintf... (cached) yes checking for _doprnt... no checking for alarm... (cached) yes checking for atexit... (cached) yes checking for floor... no checking for ftruncate... yes checking for gethostbyaddr... yes checking for gethostbyname... (cached) yes checking for gethostname... (cached) yes checking for gettimeofday... (cached) yes checking for inet_ntoa... (cached) yes checking for isascii... (cached) yes checking for memmove... (cached) yes checking for memset... (cached) yes checking for select... (cached) yes checking for socket... yes checking for strcasecmp... (cached) yes checking for strchr... yes checking for strdup... (cached) yes checking for strncasecmp... (cached) yes checking for strpbrk... (cached) yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking for strtol... (cached) yes configure: enabled - GCU X11 configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: Configured. Type 'make' to build. =========================================================================== =================================================== ===> Building for mangband-1.1.3 gmake[1]: Entering directory '/wrkdirs/games/mangband/mangband-1.1.3/src' cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o common/z-util.o -c common/z-util.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o common/z-virt.o -c common/z-virt.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o common/z-form.o -c common/z-form.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o common/z-rand.o -c common/z-rand.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o common/net-unix.o -c common/net-unix.c common/net-unix.c: In function 'GetPortNum': common/net-unix.c:387:51: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&addr, &len) < 0) ^ In file included from common/net-unix.c:69:0: /usr/include/sys/socket.h:491:5: note: expected 'socklen_t * {aka unsigned int *}' but argument is of type 'int *' int getsockname(int, struct sockaddr *, socklen_t *); ^ common/net-unix.c: In function 'GetSockAddr': common/net-unix.c:443:51: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)&addr, &len) < 0) ^ In file included from common/net-unix.c:69:0: /usr/include/sys/socket.h:491:5: note: expected 'socklen_t * {aka unsigned int *}' but argument is of type 'int *' int getsockname(int, struct sockaddr *, socklen_t *); ^ common/net-unix.c: In function 'SLGetPeerName': common/net-unix.c:501:51: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if (getpeername(fd, (struct sockaddr *)&addr, &len) < 0) ^ In file included from common/net-unix.c:69:0: /usr/include/sys/socket.h:490:5: note: expected 'socklen_t * {aka unsigned int *}' but argument is of type 'int *' int getpeername(int, struct sockaddr *, socklen_t *); ^ common/net-unix.c: In function 'GetSocketError': common/net-unix.c:1069:18: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] (char *)&error, &size) == -1) { ^ In file included from common/net-unix.c:69:0: /usr/include/sys/socket.h:492:5: note: expected 'socklen_t * {aka unsigned int *}' but argument is of type 'int *' int getsockopt(int, int, int, void *, socklen_t *); ^ common/net-unix.c: In function 'DgramReceiveAny': common/net-unix.c:1891:2: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] &addrlen); ^ In file included from common/net-unix.c:69:0: /usr/include/sys/socket.h:495:9: note: expected 'socklen_t * {aka unsigned int *}' but argument is of type 'int *' ssize_t recvfrom(int, void *, size_t, int, struct sockaddr *, socklen_t *); ^ common/net-unix.c:1892:60: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] getpeername (fd, (struct sockaddr*)&sl_dgram_lastaddr, &addrlen); ^ In file included from common/net-unix.c:69:0: /usr/include/sys/socket.h:490:5: note: expected 'socklen_t * {aka unsigned int *}' but argument is of type 'int *' int getpeername(int, struct sockaddr *, socklen_t *); ^ common/net-unix.c: At top level: common/net-unix.c:35:13: warning: 'sourceid' defined but not used [-Wunused-variable] static char sourceid[] = ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o common/net-win.o -c common/net-win.c common/net-win.c:2039:10: warning: "/*" within comment [-Wcomment] /*#endif /*SERVER function? */ ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o common/net-ibm.o -c common/net-ibm.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o common/sockbuf.o -c common/sockbuf.c In file included from common/sockbuf.c:48:0: common/const.h:102:0: warning: "NELEM" redefined #define NELEM(a) ((int)(sizeof(a) / sizeof((a)[0]))) ^ In file included from common/../common/h-system.h:84:0, from common/../common/h-basic.h:16, from common/angband.h:22, from common/sockbuf.c:46: /usr/include/sys/param.h:285:0: note: this is the location of the previous definition #define NELEM(ary) (sizeof(ary) / sizeof((ary)[0])) ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o common/md5.o -c common/md5.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/z-term.o -c client/z-term.c common/md5.c: In function 'MD5Password': common/md5.c:343:24: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] MD5Update (&context, string, len); ^ common/md5.c:114:6: note: expected 'unsigned char *' but argument is of type 'char *' void MD5Update (MD5_CTX *context, unsigned char *input, unsigned int inputLen) ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/c-util.o -c client/c-util.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/c-cmd.o -c client/c-cmd.c client/c-cmd.c: In function 'cmd_changepass': client/c-cmd.c:1219:6: warning: unused variable 'done' [-Wunused-variable] int done = 0; ^ client/c-cmd.c: In function 'cmd_character': client/c-cmd.c:1252:6: warning: unused variable 'hist' [-Wunused-variable] int hist = 0, done = 0; ^ client/c-cmd.c: In function 'cmd_master_aux_level': client/c-cmd.c:1695:7: warning: variable 'buf' set but not used [-Wunused-but-set-variable] char buf[80]; ^ client/c-cmd.c: In function 'cmd_master_aux_generate': client/c-cmd.c:1978:7: warning: variable 'buf' set but not used [-Wunused-but-set-variable] char buf[80]; ^ client/c-cmd.c: In function 'cmd_master': client/c-cmd.c:2537:7: warning: variable 'buf' set but not used [-Wunused-but-set-variable] char buf[80]; ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/c-inven.o -c client/c-inven.c client/c-inven.c: In function 'c_get_item': client/c-inven.c:197:11: warning: variable 'n2' set but not used [-Wunused-but-set-variable] char n1, n2, which = ' '; ^ client/c-inven.c:197:7: warning: variable 'n1' set but not used [-Wunused-but-set-variable] char n1, n2, which = ' '; ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/c-files.o -c client/c-files.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/c-tables.o -c client/c-tables.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/c-store.o -c client/c-store.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/c-init.o -c client/c-init.c client/c-init.c: In function 'client_init': client/c-init.c:273:6: warning: variable 'login_port' set but not used [-Wunused-but-set-variable] int login_port, trycount; ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/set_focus.o -c client/set_focus.c client/set_focus.c:16:8: warning: type defaults to 'int' in declaration of 'x_offset' [-Wimplicit-int] static x_offset = 0; ^ client/set_focus.c:16:8: warning: 'x_offset' defined but not used [-Wunused-variable] cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/variable.o -c client/variable.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/readdib.o -c client/readdib.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/main-ibm.o -c client/main-ibm.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/main-cap.o -c client/main-cap.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/main-xaw.o -c client/main-xaw.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/main-gcu.o -c client/main-gcu.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/main-x11.o -c client/main-x11.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/main-sdl.o -c client/main-sdl.c client/main-gcu.c:291:8: warning: type defaults to 'int' in declaration of 'x_offset' [-Wimplicit-int] static x_offset = 0; ^ client/main-gcu.c:291:8: warning: 'x_offset' defined but not used [-Wunused-variable] cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/maim-sdl.o -c client/maim-sdl.c client/main-x11.c: In function 'Infowin_prepare': client/main-x11.c:658:52: warning: pointer targets in passing argument 6 of 'XGetGeometry' differ in signedness [-Wpointer-sign] XGetGeometry(Metadpy->dpy, xid, &tmp_win, &x, &y, &w, &h, &b, &d); ^ In file included from client/main-x11.c:18:0: /usr/local/include/X11/Xlib.h:2620:15: note: expected 'unsigned int *' but argument is of type 'int *' extern Status XGetGeometry( ^ client/main-x11.c:658:56: warning: pointer targets in passing argument 7 of 'XGetGeometry' differ in signedness [-Wpointer-sign] XGetGeometry(Metadpy->dpy, xid, &tmp_win, &x, &y, &w, &h, &b, &d); ^ In file included from client/main-x11.c:18:0: /usr/local/include/X11/Xlib.h:2620:15: note: expected 'unsigned int *' but argument is of type 'int *' extern Status XGetGeometry( ^ client/main-x11.c:658:60: warning: pointer targets in passing argument 8 of 'XGetGeometry' differ in signedness [-Wpointer-sign] XGetGeometry(Metadpy->dpy, xid, &tmp_win, &x, &y, &w, &h, &b, &d); ^ In file included from client/main-x11.c:18:0: /usr/local/include/X11/Xlib.h:2620:15: note: expected 'unsigned int *' but argument is of type 'int *' extern Status XGetGeometry( ^ client/main-x11.c:658:64: warning: pointer targets in passing argument 9 of 'XGetGeometry' differ in signedness [-Wpointer-sign] XGetGeometry(Metadpy->dpy, xid, &tmp_win, &x, &y, &w, &h, &b, &d); ^ In file included from client/main-x11.c:18:0: /usr/local/include/X11/Xlib.h:2620:15: note: expected 'unsigned int *' but argument is of type 'int *' extern Status XGetGeometry( ^ client/main-x11.c: In function 'CheckEvent': client/main-x11.c:1979:20: warning: variable 'h1' set but not used [-Wunused-but-set-variable] int x1, y1, w1, h1; ^ client/main-x11.c:1979:16: warning: variable 'w1' set but not used [-Wunused-but-set-variable] int x1, y1, w1, h1; ^ client/main-x11.c:1979:12: warning: variable 'y1' set but not used [-Wunused-but-set-variable] int x1, y1, w1, h1; ^ client/main-x11.c:1979:8: warning: variable 'x1' set but not used [-Wunused-but-set-variable] int x1, y1, w1, h1; ^ client/main-x11.c:1764:12: warning: variable 'data' set but not used [-Wunused-but-set-variable] int x, y, data; ^ client/main-x11.c:1764:9: warning: variable 'y' set but not used [-Wunused-but-set-variable] int x, y, data; ^ client/main-x11.c:1764:6: warning: variable 'x' set but not used [-Wunused-but-set-variable] int x, y, data; ^ client/main-x11.c:1762:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] int flag = 0; ^ client/main-x11.c: At top level: client/main-x11.c:526:13: warning: 'Metadpy_nuke' defined but not used [-Wunused-function] static errr Metadpy_nuke(void) ^ client/main-x11.c:606:13: warning: 'Infowin_set_icon_name' defined but not used [-Wunused-function] static errr Infowin_set_icon_name(cptr name) ^ client/main-x11.c:624:13: warning: 'Infowin_nuke' defined but not used [-Wunused-function] static errr Infowin_nuke(void) ^ client/main-x11.c:688:13: warning: 'Infowin_init_real' defined but not used [-Wunused-function] static errr Infowin_init_real(Window xid) ^ client/main-x11.c:899:13: warning: 'Infoclr_init_1' defined but not used [-Wunused-function] static errr Infoclr_init_1(GC gc) ^ client/main-x11.c:918:13: warning: 'Infoclr_nuke' defined but not used [-Wunused-function] static errr Infoclr_nuke(void) ^ client/main-x11.c:1029:13: warning: 'Infofnt_nuke' defined but not used [-Wunused-function] static errr Infofnt_nuke (void) ^ client/main-x11.c:1091:13: warning: 'Infofnt_init_real' defined but not used [-Wunused-function] static errr Infofnt_init_real(XFontStruct *info) ^ client/main-x11.c:1207:13: warning: 'Infowin_unmap' defined but not used [-Wunused-function] static errr Infowin_unmap (void) ^ client/main-x11.c:1234:13: warning: 'Infowin_lower' defined but not used [-Wunused-function] static errr Infowin_lower(void) ^ client/main-x11.c:1250:13: warning: 'Infowin_impell' defined but not used [-Wunused-function] static errr Infowin_impell(int x, int y) ^ client/main-x11.c:1277:13: warning: 'Infowin_locate' defined but not used [-Wunused-function] static errr Infowin_locate(int x, int y, int w, int h) ^ client/main-x11.c:1307:13: warning: 'Infowin_fill' defined but not used [-Wunused-function] static errr Infowin_fill(void) ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/sdl-xxx.o -c client/sdl-xxx.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/netclient.o -c client/netclient.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/c-birth.o -c client/c-birth.c client/netclient.c: In function 'Net_verify': client/netclient.c:248:9: warning: variable 'n' set but not used [-Wunused-but-set-variable] int i, n, type, result, data_size; ^ client/netclient.c: In function 'Receive_store': client/netclient.c:2121:13: warning: array subscript has type 'char' [-Wchar-subscripts] store.stock[pos].sval = attr; ^ client/netclient.c:2122:13: warning: array subscript has type 'char' [-Wchar-subscripts] store.stock[pos].weight = wgt; ^ client/netclient.c:2123:13: warning: array subscript has type 'char' [-Wchar-subscripts] store.stock[pos].number = num; ^ client/netclient.c: In function 'Receive_player_store_info': client/netclient.c:2172:7: warning: unused variable 'owner_num' [-Wunused-variable] s16b owner_num, num_items; ^ client/c-birth.c: In function 'choose_race': client/c-birth.c:154:25: warning: variable 'k' set but not used [-Wunused-but-set-variable] int j, k, l, m; ^ client/c-birth.c: In function 'choose_class': client/c-birth.c:211:18: warning: variable 'k' set but not used [-Wunused-but-set-variable] int j, k, l, m; ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/c-xtra1.o -c client/c-xtra1.c client/c-xtra1.c: In function 'prt_lag': client/c-xtra1.c:512:13: warning: unused variable 'flipper' [-Wunused-variable] static int flipper =0; ^ client/c-xtra1.c: In function 'fix_message': client/c-xtra1.c:1042:24: warning: unused variable 'pmh' [-Wunused-variable] int w, h, pmw, pmh; ^ client/c-xtra1.c:1042:19: warning: unused variable 'pmw' [-Wunused-variable] int w, h, pmw, pmh; ^ client/c-xtra1.c:1041:33: warning: unused variable 'mdone' [-Wunused-variable] int j, c, i,ii, pmdone, mdone; ^ client/c-xtra1.c:1041:25: warning: unused variable 'pmdone' [-Wunused-variable] int j, c, i,ii, pmdone, mdone; ^ client/c-xtra1.c:1041:21: warning: unused variable 'ii' [-Wunused-variable] int j, c, i,ii, pmdone, mdone; ^ client/c-xtra1.c: In function 'display_player': client/c-xtra1.c:1588:7: warning: unused variable 'buf' [-Wunused-variable] char buf[80]; ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/c-xtra2.o -c client/c-xtra2.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/c-spell.o -c client/c-spell.c client/c-xtra1.c: In function 'prt_basic': client/c-xtra1.c:502:2: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] prt_field(c, ROW_CLASS, COL_CLASS); ^ client/c-xtra1.c:501:2: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] prt_field(r, ROW_RACE, COL_RACE); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o client/client.o -c client/client.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/variable.o -c server/variable.c In file included from server/angband.h:51:0, from server/variable.c:16: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/control.o -c server/control.c server/control.c: In function 'console_whois': server/control.c:66:7: warning: unused variable 'output' [-Wunused-variable] char output[1024], brave[15]; ^ server/control.c: In function 'console_rng_test': server/control.c:177:16: warning: unused variable 'value' [-Wunused-variable] u32b outcome, value; ^ server/control.c: In function 'NewConsole': server/control.c:376:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(params = strstr(buf," ")) ^ server/control.c:268:19: warning: variable 'buflen' set but not used [-Wunused-but-set-variable] int i, j, bytes, buflen; ^ server/control.c:268:9: warning: unused variable 'j' [-Wunused-variable] int i, j, bytes, buflen; ^ server/control.c:268:6: warning: unused variable 'i' [-Wunused-variable] int i, j, bytes, buflen; ^ server/control.c:266:7: warning: unused variable 'ch' [-Wunused-variable] char ch, passwd[80], buf[1024]; ^ In file included from server/angband.h:51:0, from server/control.c:7: server/control.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/party.o -c server/party.c In file included from server/angband.h:51:0, from server/party.c:5: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/tables.o -c server/tables.c In file included from server/angband.h:51:0, from server/tables.c:13: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/util.o -c server/util.c server/util.c: In function 'msg_broadcast': server/util.c:2540:16: warning: passing argument 1 of 'console_print' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] console_print(msg); ^ In file included from server/util.c:9:0: server/externs.h:579:13: note: expected 'char *' but argument is of type 'cptr {aka const char *}' extern void console_print(char *msg); ^ server/util.c: In function 'text_out': server/util.c:3114:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (buf[i] == ' ') ^ In file included from server/util.c:9:0: server/util.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/cave.o -c server/cave.c server/cave.c: In function 'map_info': server/cave.c:648:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] f_attr_ptr = &f_attr_s; ^ server/cave.c:649:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] f_char_ptr = &f_char_s; ^ server/cave.c:650:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] r_attr_ptr = &r_attr_s; ^ server/cave.c:651:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] r_char_ptr = &r_char_s; ^ server/cave.c:655:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] f_attr_ptr = &p_ptr->f_attr; ^ server/cave.c:656:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] f_char_ptr = &p_ptr->f_char; ^ server/cave.c:657:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] r_attr_ptr = &p_ptr->r_attr; ^ server/cave.c:658:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] r_char_ptr = &p_ptr->r_char; ^ server/cave.c:987:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf((unsigned char *)&kludge,"%d", ((Players[0 - c_ptr->m_idx]->chp * 95) / (Players[0 - c_ptr->m_idx]->mhp*10))); ^ In file included from server/../common/h-system.h:20:0, from server/../common/h-basic.h:16, from server/angband.h:22, from server/cave.c:7: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...); ^ server/cave.c:633:16: warning: variable 'f_ptr' set but not used [-Wunused-but-set-variable] feature_type *f_ptr; ^ server/cave.c: In function 'lite_spot': server/cave.c:1172:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf((unsigned char *)&kludge,"%d",pre_kludge); ^ In file included from server/../common/h-system.h:20:0, from server/../common/h-basic.h:16, from server/angband.h:22, from server/cave.c:7: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'unsigned char *' int sprintf(char * __restrict, const char * __restrict, ...); ^ server/cave.c: In function 'display_map': server/cave.c:1417:9: warning: unused variable 'j' [-Wunused-variable] int i, j, x, y; ^ server/cave.c:1417:6: warning: unused variable 'i' [-Wunused-variable] int i, j, x, y; ^ server/cave.c: In function 'wild_display_map': server/cave.c:1575:6: warning: unused variable 'row' [-Wunused-variable] int row, col; ^ server/cave.c:1570:9: warning: unused variable 'j' [-Wunused-variable] int i, j; ^ server/cave.c:1570:6: warning: unused variable 'i' [-Wunused-variable] int i, j; ^ server/cave.c: In function 'do_cmd_view_map': server/cave.c:1736:10: warning: unused variable 'cx' [-Wunused-variable] int cy, cx; ^ server/cave.c:1736:6: warning: unused variable 'cy' [-Wunused-variable] int cy, cx; ^ server/cave.c: At top level: server/cave.c:3619:1: warning: "/*" within comment [-Wcomment] /* Used by monsters... otherwise player ghosts would be safe from monster spells! */ ^ In file included from server/angband.h:51:0, from server/cave.c:7: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/object1.o -c server/object1.c server/object1.c: In function 'display_inven': server/object1.c:2776:18: warning: variable 'n' set but not used [-Wunused-but-set-variable] register int i, n, z = 0; ^ server/object1.c: In function 'display_equip': server/object1.c:2833:18: warning: variable 'n' set but not used [-Wunused-but-set-variable] register int i, n; ^ server/object1.c: At top level: server/object1.c:46:13: warning: 'ring_adj' defined but not used [-Wunused-variable] static cptr ring_adj[MAX_ROCKS] = ^ server/object1.c:77:13: warning: 'amulet_adj' defined but not used [-Wunused-variable] static cptr amulet_adj[MAX_AMULETS] = ^ server/object1.c:102:13: warning: 'staff_adj' defined but not used [-Wunused-variable] static cptr staff_adj[MAX_WOODS] = ^ server/object1.c:129:13: warning: 'wand_adj' defined but not used [-Wunused-variable] static cptr wand_adj[MAX_METALS] = ^ server/object1.c:157:13: warning: 'rod_adj' defined but not used [-Wunused-variable] static cptr rod_adj[MAX_METALS]; ^ server/object1.c:166:13: warning: 'food_adj' defined but not used [-Wunused-variable] static cptr food_adj[MAX_SHROOM] = ^ server/object1.c:189:13: warning: 'potion_adj' defined but not used [-Wunused-variable] static cptr potion_adj[MAX_COLORS] = ^ server/object1.c:269:13: warning: 'object_has_flavor' defined but not used [-Wunused-function] static bool object_has_flavor(int i) ^ server/object1.c:336:13: warning: 'object_easy_know' defined but not used [-Wunused-function] static bool object_easy_know(int i) ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/object2.o -c server/object2.c server/object2.c: In function 'delete_object_ptr': server/object2.c:28:6: warning: unused variable 'Depth' [-Wunused-variable] int Depth = o_ptr->dun_depth; ^ server/object2.c:27:6: warning: unused variable 'x' [-Wunused-variable] int x = o_ptr->ix; ^ server/object2.c:26:6: warning: unused variable 'y' [-Wunused-variable] int y = o_ptr->iy; ^ server/object2.c:24:8: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ server/object2.c:24:6: warning: unused variable 'i' [-Wunused-variable] int i,j; ^ server/object2.c: In function 'compact_objects': server/object2.c:417:27: warning: variable 'm_ptr' set but not used [-Wunused-but-set-variable] monster_type *m_ptr; ^ server/object2.c: In function 'wipe_o_list': server/object2.c:470:15: warning: unused variable 'house_depth' [-Wunused-variable] int i, x, y, house_depth; ^ server/object2.c:470:12: warning: unused variable 'y' [-Wunused-variable] int i, x, y, house_depth; ^ server/object2.c:470:9: warning: unused variable 'x' [-Wunused-variable] int i, x, y, house_depth; ^ server/object2.c: In function 'acquirement': server/object2.c:3395:10: warning: variable 'ok' set but not used [-Wunused-but-set-variable] bool ok = FALSE; ^ In file included from server/angband.h:51:0, from server/object2.c:15: server/object2.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ server/object1.c: In function 'object_desc': server/object1.c:1648:19: warning: array subscript is below array bounds [-Warray-bounds] if (chest_traps[o_ptr->pval]) ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/obj-info.o -c server/obj-info.c server/obj-info.c: In function 'describe_item_activation': server/obj-info.c:80:15: warning: passing argument 1 of 'object_flags' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] object_flags(o_ptr, &f1, &f2, &f3); ^ In file included from server/angband.h:51:0, from server/obj-info.c:11: server/externs.h:769:13: note: expected 'object_type * {aka struct object_type *}' but argument is of type 'const object_type * {aka const struct object_type *}' extern void object_flags(object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/monster1.o -c server/monster1.c server/obj-info.c: In function 'object_info_out': server/obj-info.c:827:37: warning: passing argument 2 of 'object_flags_known' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] object_flags_known(player_textout, o_ptr, &f1, &f2, &f3); ^ In file included from server/angband.h:51:0, from server/obj-info.c:11: server/externs.h:770:13: note: expected 'object_type * {aka struct object_type *}' but argument is of type 'const object_type * {aka const struct object_type *}' extern void object_flags_known(int Ind, object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ server/obj-info.c: In function 'screen_out_head': server/obj-info.c:881:38: warning: passing argument 3 of 'object_desc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] object_desc(player_textout, o_name, o_ptr, TRUE, 3); ^ In file included from server/angband.h:51:0, from server/obj-info.c:11: server/externs.h:772:13: note: expected 'object_type * {aka struct object_type *}' but argument is of type 'const object_type * {aka const struct object_type *}' extern void object_desc(int Ind, char *buf, object_type *o_ptr, int pref, int mode); ^ server/obj-info.c:873:6: warning: unused variable 'name_size' [-Wunused-variable] int name_size = 80;//Term->wid; ^ In file included from server/angband.h:51:0, from server/obj-info.c:11: server/obj-info.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ In file included from server/angband.h:51:0, from server/monster1.c:15: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/monster2.o -c server/monster2.c server/monster2.c: In function 'compact_monsters': server/monster2.c:228:19: warning: unused variable 'next_o_idx' [-Wunused-variable] s16b this_o_idx, next_o_idx = 0; ^ server/monster2.c:228:7: warning: unused variable 'this_o_idx' [-Wunused-variable] s16b this_o_idx, next_o_idx = 0; ^ server/monster2.c:224:20: warning: unused variable 'Ind' [-Wunused-variable] int i, num, cnt, Ind; ^ server/monster2.c: In function 'race_index_fuzzy': server/monster2.c:2749:7: warning: unused variable 'match' [-Wunused-variable] char match[MAX_CHARS]; ^ In file included from server/angband.h:51:0, from server/monster2.c:15: server/monster2.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/xtra1.o -c server/xtra1.c server/xtra1.c: In function 'prt_player_sust_info': server/xtra1.c:515:9: warning: variable 'row' set but not used [-Wunused-but-set-variable] int i, row, col, stat, boost; ^ server/xtra1.c: In function 'prt_player_flag_info': server/xtra1.c:640:11: warning: variable 'col' set but not used [-Wunused-but-set-variable] int row, col; ^ server/xtra1.c: In function 'cursor_redraw': server/xtra1.c:930:41: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] else if (!m_list[p_ptr->health_who].hp < 0) ^ server/xtra1.c: In function 'health_redraw': server/xtra1.c:1081:41: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] else if (!m_list[p_ptr->health_who].hp < 0) ^ In file included from server/angband.h:51:0, from server/xtra1.c:15: server/xtra1.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/xtra2.o -c server/xtra2.c server/xtra2.c: In function 'get_player': server/xtra2.c:45:29: warning: pointer targets in passing argument 1 of 'find_player_name' differ in signedness [-Wpointer-sign] Ind2 = find_player_name(inscription); ^ In file included from server/angband.h:51:0, from server/xtra2.c:15: server/externs.h:587:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int find_player_name(char *name); ^ server/xtra2.c:19:22: warning: unused variable 'p_ptr' [-Wunused-variable] player_type *p_ptr = Players[Ind]; ^ server/xtra2.c: In function 'check_experience': server/xtra2.c:1751:7: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i; ^ server/xtra2.c: In function 'player_death': server/xtra2.c:2305:6: warning: unused variable 'pkill' [-Wunused-variable] int pkill=0; /* verifies we have a pkill */ ^ server/xtra2.c:2304:6: warning: unused variable 'tmp' [-Wunused-variable] int tmp; /* used to check for pkills */ ^ server/xtra2.c:2302:7: warning: unused variable 'num_keys' [-Wunused-variable] s16b num_keys = 0; ^ server/xtra2.c: In function 'resurrect_player': server/xtra2.c:2670:18: warning: unused variable 'level' [-Wunused-variable] int exp, lives, level; ^ server/xtra2.c:2670:11: warning: unused variable 'lives' [-Wunused-variable] int exp, lives, level; ^ server/xtra2.c:2670:6: warning: unused variable 'exp' [-Wunused-variable] int exp, lives, level; ^ server/xtra2.c: In function 'target_set': server/xtra2.c:3634:14: warning: variable 'c_ptr' set but not used [-Wunused-but-set-variable] cave_type *c_ptr; ^ server/xtra2.c:3627:6: warning: unused variable 'cave_flag' [-Wunused-variable] int cave_flag; ^ server/xtra2.c: In function 'target_set_friendly': server/xtra2.c:3882:14: warning: variable 'c_ptr' set but not used [-Wunused-but-set-variable] cave_type *c_ptr; ^ server/xtra2.c: In function 'master_generate': server/xtra2.c:4614:19: warning: the address of 'dm_obj' will always evaluate as 'true' [-Waddress] if (last_k_idx && &dm_obj) { ^ server/xtra2.c:4526:17: warning: variable 'k_ptr' set but not used [-Wunused-but-set-variable] object_kind *k_ptr = NULL; ^ In file included from server/angband.h:51:0, from server/xtra2.c:15: server/xtra2.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/spells1.o -c server/spells1.c server/spells1.c: In function 'project': server/spells1.c:4285:7: warning: variable 'drawn' set but not used [-Wunused-but-set-variable] bool drawn = FALSE; ^ In file included from server/angband.h:51:0, from server/spells1.c:15: server/spells1.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ server/object2.c: In function 'drop_near': server/object2.c:3705:17: warning: 'c_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] o_idx = c_ptr->o_idx; ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/spells2.o -c server/spells2.c server/spells2.c: In function 'set_recall': server/spells2.c:1057:27: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] recall_depth = atoi(inscription); ^ In file included from server/../common/h-system.h:27:0, from server/../common/h-basic.h:16, from server/angband.h:22, from server/spells2.c:15: /usr/include/stdlib.h:89:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^ server/spells2.c: In function 'detect_treasure': server/spells2.c:1111:15: warning: variable 'o_ptr' set but not used [-Wunused-but-set-variable] object_type *o_ptr; ^ server/spells2.c: In function 'create_artifact_aux': server/spells2.c:2009:7: warning: unused variable 'o_name' [-Wunused-variable] char o_name[80]; /* Only used by randart() */ ^ server/spells2.c: In function 'clone_monster': server/spells2.c:4030:11: warning: unused variable 'i' [-Wunused-variable] int num, i; ^ server/spells2.c:4030:6: warning: unused variable 'num' [-Wunused-variable] int num, i; ^ In file included from server/angband.h:51:0, from server/spells2.c:15: server/spells2.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/x-spell.o -c server/x-spell.c server/x-spell.c: In function 'get_spell_index': server/x-spell.c:580:6: warning: unused variable 'num' [-Wunused-variable] int num = 0; ^ server/x-spell.c:579:6: warning: unused variable 'spell' [-Wunused-variable] int spell; ^ In file included from server/angband.h:51:0, from server/x-spell.c:11: server/x-spell.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/melee1.o -c server/melee1.c In file included from server/angband.h:51:0, from server/melee1.c:15: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ server/spells1.c: In function 'project': server/spells1.c:1410:33: warning: 'm_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] teleport_player_to(Ind, m_ptr->fy, m_ptr->fx); ^ server/spells1.c:3573:16: note: 'm_ptr' was declared here monster_type *m_ptr; ^ server/spells1.c:2298:32: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!quiet && p_ptr->obj_vis[c_ptr->o_idx]) ^ server/spells1.c:2082:15: note: 'p_ptr' was declared here player_type *p_ptr; ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/melee2.o -c server/melee2.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/save.o -c server/save.c server/melee2.c: In function 'process_monsters': server/melee2.c:3320:12: warning: variable 'fy' set but not used [-Wunused-but-set-variable] int fx, fy; ^ server/melee2.c:3320:8: warning: variable 'fx' set but not used [-Wunused-but-set-variable] int fx, fy; ^ In file included from server/angband.h:51:0, from server/melee2.c:15: server/melee2.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ server/save.c: In function 'write_binary': server/save.c:85:22: warning: too many arguments for format [-Wformat-extra-args] fprintf(file_handle,"\n",name); ^ server/save.c: In function 'wr_item': server/save.c:143:27: warning: passing argument 2 of 'write_str' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] write_str("inscription",quark_str(o_ptr->note)); ^ server/save.c:63:13: note: expected 'char *' but argument is of type 'cptr {aka const char *}' static void write_str(char* name, char* value) ^ server/save.c: In function 'wr_player_names': server/save.c:536:20: warning: passing argument 2 of 'write_str' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] write_str("name",lookup_player_name(id_list[i])); ^ server/save.c:63:13: note: expected 'char *' but argument is of type 'cptr {aka const char *}' static void write_str(char* name, char* value) ^ server/save.c: In function 'wr_dungeon': server/save.c:569:16: warning: unused variable 'runlength' [-Wunused-variable] unsigned char runlength; ^ server/save.c:568:21: warning: unused variable 'prev_info' [-Wunused-variable] byte prev_feature, prev_info; ^ server/save.c:568:7: warning: unused variable 'prev_feature' [-Wunused-variable] byte prev_feature, prev_info; ^ server/save.c: In function 'wr_cave_memory': server/save.c:633:6: warning: type of 'Ind' defaults to 'int' [-Wimplicit-int] void wr_cave_memory(Ind) ^ server/save.c:638:16: warning: unused variable 'runlength' [-Wunused-variable] unsigned char runlength = 0; ^ server/save.c:637:7: warning: unused variable 'prev_flag' [-Wunused-variable] char prev_flag; ^ server/save.c: In function 'wr_savefile_new': server/save.c:674:8: warning: unused variable 'tmp8u' [-Wunused-variable] byte tmp8u; ^ server/save.c: In function 'wr_server_savefile': server/save.c:1207:25: warning: unused variable 'tmp8u' [-Wunused-variable] byte tmp8u; ^ In file included from server/angband.h:51:0, from server/save.c:7: server/save.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ server/save.c:68:13: warning: 'write_float' defined but not used [-Wunused-function] static void write_float(char* name, float value) ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/files.o -c server/files.c server/files.c: In function 'display_player_server': server/files.c:948:7: warning: unused variable 'hist' [-Wunused-variable] bool hist = FALSE; ^ server/files.c: In function 'file_character_server': server/files.c:1192:8: warning: unused variable 'out_val' [-Wunused-variable] char out_val[160]; ^ server/files.c:1161:15: warning: unused variable 'st_ptr' [-Wunused-variable] store_type *st_ptr = &store[7]; ^ server/files.c: In function 'do_cmd_help_aux': server/files.c:1612:7: warning: variable 'menu' set but not used [-Wunused-but-set-variable] bool menu = FALSE; ^ server/files.c: In function 'display_scores_aux': server/files.c:2529:23: warning: variable 'attr' set but not used [-Wunused-but-set-variable] int i, j, from, to, attr, place; ^ server/files.c: In function 'top_twenty': server/files.c:2687:15: warning: variable 'j' set but not used [-Wunused-but-set-variable] int j; ^ server/files.c: In function 'get_rnd_line': server/files.c:3097:10: warning: variable 'found' set but not used [-Wunused-but-set-variable] bool found = FALSE; ^ In file included from server/angband.h:51:0, from server/files.c:15: server/files.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ server/files.c: In function 'do_cmd_help_aux': server/files.c:1927:5: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] if (k == ESCAPE) return (FALSE); ^ server/files.c: In function 'display_player': server/files.c:831:2: warning: array subscript is above array bounds [-Warray-bounds] Send_history(Ind, i, p_ptr->history[i]); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/cmd1.o -c server/cmd1.c server/cmd1.c: In function 'move_player': server/cmd1.c:1501:16: warning: variable 'm_ptr' set but not used [-Wunused-but-set-variable] monster_type *m_ptr; ^ server/cmd1.c:1500:16: warning: variable 'o_ptr' set but not used [-Wunused-but-set-variable] object_type *o_ptr; ^ server/cmd1.c: In function 'run_step': server/cmd1.c:2657:13: warning: unused variable 'c_ptr' [-Wunused-variable] cave_type *c_ptr; ^ In file included from server/angband.h:51:0, from server/cmd1.c:15: server/cmd1.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/cmd2.o -c server/cmd2.c server/cmd2.c: In function 'do_cmd_disarm': server/cmd2.c:1375:10: warning: variable 'w_ptr' set but not used [-Wunused-but-set-variable] byte *w_ptr; ^ server/cmd2.c: In function 'do_cmd_purchase_house': server/cmd2.c:3124:14: warning: unused variable 'key' [-Wunused-variable] object_type key; ^ server/cmd2.c:3122:15: warning: unused variable 'j' [-Wunused-variable] int y, x, i, j, factor, price; ^ In file included from server/angband.h:51:0, from server/cmd2.c:15: server/cmd2.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/cmd3.o -c server/cmd3.c server/cmd3.c: In function 'do_cmd_destroy': server/cmd3.c:719:8: warning: variable 'force' set but not used [-Wunused-but-set-variable] bool force = FALSE; ^ server/cmd3.c: In function 'do_cmd_inscribe': server/cmd3.c:964:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = strstr(inscription,"for sale")) ^ server/cmd3.c: In function 'describe_floor_tile': server/cmd3.c:1573:11: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sprintf(out_val, "%s the %s %s", q_ptr->name, p_name + p_info[q_ptr->prace].name, c_name + c_info[q_ptr->pclass].name); ^ In file included from server/../common/h-system.h:20:0, from server/../common/h-basic.h:16, from server/angband.h:22, from server/cmd3.c:15: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'cptr {aka const char *}' int sprintf(char * __restrict, const char * __restrict, ...); ^ server/cmd3.c:1595:11: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sprintf(out_val, "%s (%s)", r_name + r_ptr->name, look_mon_desc(c_ptr->m_idx)); ^ In file included from server/../common/h-system.h:20:0, from server/../common/h-basic.h:16, from server/angband.h:22, from server/cmd3.c:15: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'cptr {aka const char *}' int sprintf(char * __restrict, const char * __restrict, ...); ^ server/cmd3.c:1612:12: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sprintf(out_val, "You see %s", o_name); ^ In file included from server/../common/h-system.h:20:0, from server/../common/h-basic.h:16, from server/angband.h:22, from server/cmd3.c:15: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'cptr {aka const char *}' int sprintf(char * __restrict, const char * __restrict, ...); ^ server/cmd3.c:1639:11: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sprintf(out_val, "%s%s", p1, name); ^ In file included from server/../common/h-system.h:20:0, from server/../common/h-basic.h:16, from server/angband.h:22, from server/cmd3.c:15: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'cptr {aka const char *}' int sprintf(char * __restrict, const char * __restrict, ...); ^ server/cmd3.c:1550:16: warning: unused variable 'm_ptr' [-Wunused-variable] monster_type *m_ptr; ^ server/cmd3.c: In function 'do_cmd_look': server/cmd3.c:1665:7: warning: unused variable 'o_name' [-Wunused-variable] char o_name[80]; ^ server/cmd3.c:1663:15: warning: unused variable 'o_ptr' [-Wunused-variable] object_type *o_ptr; ^ In file included from server/angband.h:51:0, from server/cmd3.c:15: server/cmd3.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/cmd4.o -c server/cmd4.c In file included from server/angband.h:51:0, from server/cmd4.c:15: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/cmd5.o -c server/cmd5.c server/cmd5.c: In function 'do_cmd_browse': server/cmd5.c:335:11: warning: unused variable 'j' [-Wunused-variable] int i, j, item, sval; ^ server/cmd5.c: In function 'do_cmd_study': server/cmd5.c:492:11: warning: comparison with string literal results in unspecified behavior [-Waddress] if (p == "spell") ^ server/cmd5.c:517:8: warning: comparison with string literal results in unspecified behavior [-Waddress] if (p == "prayer") ^ server/cmd5.c: In function 'brand_ammo': server/cmd5.c:690:19: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] item_tester_hook = item_tester_hook_ammo; ^ server/cmd5.c:685:10: warning: unused variable 's' [-Wunused-variable] cptr q, s; ^ server/cmd5.c:685:7: warning: unused variable 'q' [-Wunused-variable] cptr q, s; ^ server/cmd5.c: In function 'do_cmd_cast': server/cmd5.c:771:16: warning: variable 'beam' set but not used [-Wunused-but-set-variable] int chance, beam; ^ In file included from server/angband.h:51:0, from server/cmd5.c:15: server/cmd5.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/cmd6.o -c server/cmd6.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/store.o -c server/store.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/birth.o -c server/birth.c server/cmd6.c: In function 'do_cmd_read_scroll': server/cmd6.c:1067:27: warning: variable 'lev' set but not used [-Wunused-but-set-variable] int k, used_up, ident, lev; ^ In file included from server/angband.h:51:0, from server/cmd6.c:15: server/cmd6.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ server/store.c: In function 'store_create': server/store.c:794:14: warning: unused variable 'c_ptr' [-Wunused-variable] cave_type *c_ptr; ^ server/store.c:791:35: warning: unused variable 'y' [-Wunused-variable] int i, tries, level, stocked,x,y; ^ server/store.c:791:33: warning: unused variable 'x' [-Wunused-variable] int i, tries, level, stocked,x,y; ^ server/store.c:791:25: warning: unused variable 'stocked' [-Wunused-variable] int i, tries, level, stocked,x,y; ^ server/store.c: In function 'display_inventory': server/store.c:1036:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(c = strstr(quark_str(o_ptr->note),"for sale")) ^ server/store.c:985:11: warning: unused variable 'i' [-Wunused-variable] int k,i,x,y,stocked; ^ server/store.c: In function 'display_store': server/store.c:1097:3: warning: implicit declaration of function 'Send_player_store_info' [-Wimplicit-function-declaration] Send_player_store_info(Ind, p_ptr->store_num, ^ server/store.c: In function 'sell_haggle': server/store.c:1122:8: warning: variable 'pmt' set but not used [-Wunused-but-set-variable] cptr pmt = "Offer"; ^ server/store.c:1120:8: warning: variable 'final' set but not used [-Wunused-but-set-variable] int final = FALSE; ^ server/store.c:1117:28: warning: variable 'cur_ask' set but not used [-Wunused-but-set-variable] s32b purse, cur_ask, final_ask; ^ server/store.c: In function 'sell_player_item': server/store.c:1235:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(c = strstr(quark_str(o_ptr->note),"for sale")) ^ server/store.c:1186:9: warning: unused variable 'price_each' [-Wunused-variable] s32b price_each = gold / number; ^ server/store.c:1181:8: warning: unused variable 'i' [-Wunused-variable] int i,x,y,sold,spacex,spacey,spacedepth; ^ server/store.c: In function 'get_store_item': server/store.c:1370:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(c = strstr(quark_str(o_ptr->note),"for sale")) ^ server/store.c:1343:15: warning: unused variable 'tmp_obj' [-Wunused-variable] object_type tmp_obj; ^ server/store.c: In function 'store_sell': server/store.c:1660:8: warning: variable 'choice' set but not used [-Wunused-but-set-variable] int choice; ^ server/store.c: In function 'store_confirm': server/store.c:1765:24: warning: variable 'value' set but not used [-Wunused-but-set-variable] int item, amt, price, value; ^ server/store.c: In function 'store_shuffle': server/store.c:1939:14: warning: variable 'ot_ptr' set but not used [-Wunused-but-set-variable] owner_type *ot_ptr; ^ server/store.c: In function 'store_maint': server/store.c:2009:14: warning: variable 'ot_ptr' set but not used [-Wunused-but-set-variable] owner_type *ot_ptr; ^ server/store.c: In function 'store_init': server/store.c:2100:14: warning: variable 'ot_ptr' set but not used [-Wunused-but-set-variable] owner_type *ot_ptr; ^ In file included from server/angband.h:51:0, from server/store.c:15: server/store.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ In file included from server/angband.h:51:0, from server/birth.c:15: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ server/store.c: In function 'get_store_item': server/store.c:1402:11: warning: 'o_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] *(i_ptr) = *(o_ptr); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/load2.o -c server/load2.c server/load2.c: In function 'read_str': server/load2.c:192:7: warning: unused variable 'matched' [-Wunused-variable] bool matched = FALSE; ^ server/load2.c:191:6: warning: unused variable 'params' [-Wunused-variable] int params; ^ server/load2.c: In function 'read_binary': server/load2.c:242:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ server/load2.c: In function 'skip_value': server/load2.c:277:7: warning: unused variable 'value' [-Wunused-variable] char value[160]; ^ server/load2.c:276:7: warning: unused variable 'matched' [-Wunused-variable] bool matched = FALSE; ^ server/load2.c: In function 'value_exists': server/load2.c:301:7: warning: unused variable 'value' [-Wunused-variable] char value[160]; ^ server/load2.c: In function 'rd_item': server/load2.c:575:19: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!o_ptr->pval < 0) o_ptr->ident |= ID_BROKEN; ^ server/load2.c:428:7: warning: unused variable 'tmp16u' [-Wunused-variable] u16b tmp16u; ^ server/load2.c: In function 'rd_monster': server/load2.c:648:7: warning: unused variable 'tmp8u' [-Wunused-variable] byte tmp8u; ^ server/load2.c: In function 'rd_lore': server/load2.c:686:7: warning: unused variable 'tmp16u' [-Wunused-variable] u16b tmp16u; ^ server/load2.c:685:7: warning: unused variable 'tmp8u' [-Wunused-variable] byte tmp8u; ^ server/load2.c: In function 'rd_wild': server/load2.c:864:7: warning: unused variable 'tmp32u' [-Wunused-variable] u32b tmp32u; ^ server/load2.c: In function 'rd_extra': server/load2.c:886:7: warning: unused variable 'tmp8u' [-Wunused-variable] byte tmp8u; ^ server/load2.c:884:9: warning: unused variable 'save_flag' [-Wunused-variable] int i, save_flag = 0; ^ server/load2.c: In function 'rd_dungeon': server/load2.c:1241:36: warning: unused variable 'flags' [-Wunused-variable] unsigned char runlength, feature, flags; ^ server/load2.c:1241:27: warning: unused variable 'feature' [-Wunused-variable] unsigned char runlength, feature, flags; ^ server/load2.c:1241:16: warning: unused variable 'runlength' [-Wunused-variable] unsigned char runlength, feature, flags; ^ server/load2.c:1237:6: warning: unused variable 'i' [-Wunused-variable] int i, y, x; ^ server/load2.c: In function 'rd_cave_memory': server/load2.c:1385:27: warning: unused variable 'cur_flag' [-Wunused-variable] unsigned char runlength, cur_flag; ^ server/load2.c:1385:16: warning: unused variable 'runlength' [-Wunused-variable] unsigned char runlength, cur_flag; ^ server/load2.c:1383:6: warning: unused variable 'i' [-Wunused-variable] int i, y, x; ^ server/load2.c: In function 'rd_server_savefile': server/load2.c:1671:17: warning: variable 'r_ptr' set but not used [-Wunused-but-set-variable] monster_race *r_ptr; ^ server/load2.c:1620:6: warning: variable 'major' set but not used [-Wunused-but-set-variable] int major; ^ In file included from server/angband.h:51:0, from server/load2.c:7: server/load2.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/sched.o -c server/sched.c In file included from server/angband.h:51:0, from server/sched.c:27: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/sched-win.o -c server/sched-win.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/generate.o -c server/generate.c server/generate.c: In function 'place_rubble': server/generate.c:386:13: warning: unused variable 'c_ptr' [-Wunused-variable] cave_type *c_ptr = &cave[Depth][y][x]; ^ server/generate.c: In function 'build_type5': server/generate.c:1969:8: warning: variable 'name' set but not used [-Wunused-but-set-variable] cptr name; ^ server/generate.c: In function 'build_type6': server/generate.c:2187:8: warning: variable 'name' set but not used [-Wunused-but-set-variable] cptr name; ^ In file included from server/angband.h:51:0, from server/generate.c:15: server/generate.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/wilderness.o -c server/wilderness.c cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/dungeon.o -c server/dungeon.c server/dungeon.c: In function 'process_player_end': In file included from server/angband.h:51:0, from server/wilderness.c:17: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ server/dungeon.c:1009:9: warning: variable 'minus' set but not used [-Wunused-but-set-variable] int minus; ^ server/dungeon.c: In function 'process_various': server/dungeon.c:1649:7: warning: unused variable 'buf' [-Wunused-variable] char buf[1024]; ^ In file included from server/dungeon.c:14:0: server/dungeon.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/init1.o -c server/init1.c server/init1.c: In function 'grab_one_class_flag': server/init1.c:1134:13: warning: passing argument 1 of 'msg_format' makes integer from pointer without a cast [-Wint-conversion] msg_format("Unknown player class flag '%s'.", what); ^ In file included from server/angband.h:51:0, from server/init1.c:7: server/externs.h:1019:13: note: expected 'int' but argument is of type 'char *' extern void msg_format(int Ind, cptr fmt, ...); ^ server/init1.c: In function 'grab_one_racial_flag': server/init1.c:1753:13: warning: passing argument 1 of 'msg_format' makes integer from pointer without a cast [-Wint-conversion] msg_format("Unknown player flag '%s'.", what); ^ In file included from server/angband.h:51:0, from server/init1.c:7: server/externs.h:1019:13: note: expected 'int' but argument is of type 'char *' extern void msg_format(int Ind, cptr fmt, ...); ^ server/init1.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/init2.o -c server/init2.c In file included from server/angband.h:29:0, from server/init2.c:7: server/init2.c: In function 'init_info': server/../common/z-virt.h:153:24: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] (FREE(P,T), (P)=(T*)NULL) ^ server/init2.c:717:4: note: in expansion of macro 'KILL' KILL(head->name_ptr, cptr); ^ server/../common/z-virt.h:153:24: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] (FREE(P,T), (P)=(T*)NULL) ^ server/init2.c:718:4: note: in expansion of macro 'KILL' KILL(head->text_ptr, cptr); ^ In file included from server/angband.h:51:0, from server/init2.c:7: server/init2.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ server/init2.c:224:13: warning: 'show_news_aux' defined but not used [-Wunused-function] static void show_news_aux(cptr why) ^ server/init2.c:756:13: warning: 'free_info' defined but not used [-Wunused-function] static errr free_info(header *head) ^ server/wilderness.c: In function 'wild_add_dwelling': server/wilderness.c:1138:14: warning: 'drawbridge_y[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] cave[Depth][drawbridge_y[2]][drawbridge_x[2]].feat = FEAT_DRAWBRIDGE; ^ server/wilderness.c:1136:14: warning: 'drawbridge_y[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] cave[Depth][drawbridge_y[1]][drawbridge_x[1]].feat = FEAT_DRAWBRIDGE; ^ server/wilderness.c:1134:14: warning: 'drawbridge_y[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] cave[Depth][drawbridge_y[0]][drawbridge_x[0]].feat = FEAT_DRAWBRIDGE; ^ server/wilderness.c:1138:31: warning: 'drawbridge_x[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] cave[Depth][drawbridge_y[2]][drawbridge_x[2]].feat = FEAT_DRAWBRIDGE; ^ server/wilderness.c:1136:31: warning: 'drawbridge_x[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] cave[Depth][drawbridge_y[1]][drawbridge_x[1]].feat = FEAT_DRAWBRIDGE; ^ server/wilderness.c:1134:31: warning: 'drawbridge_x[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] cave[Depth][drawbridge_y[0]][drawbridge_x[0]].feat = FEAT_DRAWBRIDGE; ^ server/dungeon.c: In function 'dungeon': server/dungeon.c:2070:4: warning: 'starty' may be used uninitialized in this function [-Wmaybe-uninitialized] scatter(Depth, &y, &x, starty, startx, d, 1); ^ server/dungeon.c:2070:4: warning: 'startx' may be used uninitialized in this function [-Wmaybe-uninitialized] cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/netserver.o -c server/netserver.c server/netserver.c: In function 'Contact': server/netserver.c:716:6: warning: implicit declaration of function 'getpeername' [-Wimplicit-function-declaration] if (getpeername(fd, (struct sockaddr *) &sin, &len) >= 0) ^ server/netserver.c:662:3: warning: variable 'reply_to' set but not used [-Wunused-but-set-variable] reply_to, status; ^ server/netserver.c: In function 'Delete_player': server/netserver.c:845:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ server/netserver.c: In function 'Handle_input': server/netserver.c:1785:9: warning: variable 'receive_tbl' set but not used [-Wunused-but-set-variable] int (**receive_tbl)(int ind); ^ server/netserver.c: In function 'Receive_quit': server/netserver.c:2143:17: warning: variable 'depth' set but not used [-Wunused-but-set-variable] int player, n, depth = 0; ^ server/netserver.c: In function 'Receive_stand': server/netserver.c:3625:18: warning: variable 'p_ptr' set but not used [-Wunused-but-set-variable] player_type *p_ptr; ^ server/netserver.c: In function 'Receive_look': server/netserver.c:3738:18: warning: variable 'p_ptr' set but not used [-Wunused-but-set-variable] player_type *p_ptr; ^ server/netserver.c: In function 'Receive_target': server/netserver.c:4210:18: warning: variable 'p_ptr' set but not used [-Wunused-but-set-variable] player_type *p_ptr; ^ server/netserver.c: In function 'Receive_target_friendly': server/netserver.c:4239:18: warning: variable 'p_ptr' set but not used [-Wunused-but-set-variable] player_type *p_ptr; ^ server/netserver.c: In function 'Receive_inscribe': server/netserver.c:4273:18: warning: variable 'p_ptr' set but not used [-Wunused-but-set-variable] player_type *p_ptr; ^ server/netserver.c: In function 'Receive_uninscribe': server/netserver.c:4303:18: warning: variable 'p_ptr' set but not used [-Wunused-but-set-variable] player_type *p_ptr; ^ server/netserver.c: In function 'Receive_locate': server/netserver.c:4517:18: warning: variable 'p_ptr' set but not used [-Wunused-but-set-variable] player_type *p_ptr; ^ server/netserver.c: In function 'Receive_map': server/netserver.c:4545:18: warning: variable 'p_ptr' set but not used [-Wunused-but-set-variable] player_type *p_ptr; ^ server/netserver.c: In function 'Receive_search_mode': server/netserver.c:4573:18: warning: variable 'p_ptr' set but not used [-Wunused-but-set-variable] player_type *p_ptr; ^ server/netserver.c: In function 'Receive_direction': server/netserver.c:4748:18: warning: variable 'p_ptr' set but not used [-Wunused-but-set-variable] player_type *p_ptr; ^ server/netserver.c: In function 'Receive_item': server/netserver.c:4779:18: warning: variable 'p_ptr' set but not used [-Wunused-but-set-variable] player_type *p_ptr; ^ server/netserver.c: In function 'Receive_sell': server/netserver.c:4902:18: warning: variable 'p_ptr' set but not used [-Wunused-but-set-variable] player_type *p_ptr; ^ server/netserver.c: In function 'Receive_steal': server/netserver.c:5044:15: warning: variable 'p_ptr' set but not used [-Wunused-but-set-variable] player_type *p_ptr; ^ In file included from server/angband.h:51:0, from server/netserver.c:81: server/netserver.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ server/netserver.c:594:13: warning: 'Console' defined but not used [-Wunused-function] static void Console(int fd, int arg) ^ In file included from server/netserver.c:82:0: server/netserver.h:147:12: warning: 'Receive_mind' declared 'static' but never defined [-Wunused-function] static int Receive_mind(int ind); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/main.o -c server/main.c server/main.c: In function 'main': server/main.c:201:7: warning: unused variable 'buf' [-Wunused-variable] char buf[1024]; ^ In file included from server/angband.h:51:0, from server/main.c:15: server/main.c: At top level: server/externs.h:771:13: warning: 'object_flags_aux' declared 'static' but never defined [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o mangclient common/z-util.o common/z-virt.o common/z-form.o common/z-rand.o common/net-unix.o common/net-win.o common/net-ibm.o common/sockbuf.o common/md5.o client/z-term.o client/c-util.o client/c-cmd.o client/c-inven.o client/c-files.o client/c-tables.o client/c-store.o client/c-init.o client/set_focus.o client/variable.o client/readdib.o client/main-ibm.o client/main-cap.o client/main-xaw.o client/main-gcu.o client/main-x11.o client/main-sdl.o client/maim-sdl.o client/sdl-xxx.o client/netclient.o client/c-birth.o client/c-xtra1.o client/c-xtra2.o client/c-spell.o client/client.o -L/usr/local/lib -Wl,-rpath=/usr/local/lib -lncurses -lX11 server/netserver.c: In function 'Receive_steal': server/netserver.c:5063:2: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] do_cmd_spike(player, dir); ^ server/netserver.c: In function 'Receive_ghost': server/netserver.c:3906:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:3901:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_drop_gold': server/netserver.c:5032:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:5027:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_go_down': server/netserver.c:4735:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:4730:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_go_up': server/netserver.c:4699:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:4694:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_gain': server/netserver.c:4663:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:4658:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_close': server/netserver.c:4625:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:4620:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_search_mode': server/netserver.c:4593:3: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] do_cmd_toggle_search(player); ^ server/netserver.c: In function 'Receive_map': server/netserver.c:4565:3: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] do_cmd_view_map(player); ^ server/netserver.c: In function 'Receive_locate': server/netserver.c:4537:3: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] do_cmd_locate(player, dir); ^ server/netserver.c: In function 'Receive_fill': server/netserver.c:4505:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:4500:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_eat': server/netserver.c:4467:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:4462:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_disarm': server/netserver.c:4430:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:4425:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_bash': server/netserver.c:4393:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:4388:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_activate': server/netserver.c:4357:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:4352:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_uninscribe': server/netserver.c:4323:3: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] do_cmd_uninscribe(player, item); ^ server/netserver.c: In function 'Receive_inscribe': server/netserver.c:4293:3: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] do_cmd_inscribe(player, item, inscription); ^ server/netserver.c: In function 'Receive_target_friendly': server/netserver.c:4260:3: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] do_cmd_target_friendly(player, dir); ^ server/netserver.c: In function 'Receive_target': server/netserver.c:4231:3: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] do_cmd_target(player, dir); ^ server/netserver.c: In function 'Receive_zap': server/netserver.c:4198:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:4193:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_wield': server/netserver.c:4161:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:4156:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_throw': server/netserver.c:4123:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:4118:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_use': server/netserver.c:4086:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:4081:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_take_off': server/netserver.c:4049:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:4044:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_search': server/netserver.c:4013:3: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] do_cmd_search(player); ^ server/netserver.c:4011:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_read': server/netserver.c:3980:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:3975:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_quaff': server/netserver.c:3943:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:3938:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_pray': server/netserver.c:3867:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:3862:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_open': server/netserver.c:3829:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:3824:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_observe': server/netserver.c:3726:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:3721:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_spell': server/netserver.c:3792:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:3787:62: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_look': server/netserver.c:3758:9: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] do_cmd_look(player, dir); ^ server/netserver.c: In function 'Receive_destroy': server/netserver.c:3682:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:3677:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_stand': server/netserver.c:3646:3: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] do_cmd_stay(player, 1); ^ server/netserver.c: In function 'Receive_fire': server/netserver.c:3613:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:3608:30: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= (level_speed(p_ptr->dun_depth) / p_ptr->num_fire)) ^ server/netserver.c: In function 'Receive_drop': server/netserver.c:3568:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:3563:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_aim_wand': server/netserver.c:3531:10: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (player) ^ server/netserver.c:3526:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_tunnel': server/netserver.c:3496:3: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] do_cmd_tunnel(player, dir); ^ server/netserver.c:3494:59: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (connp->id != -1 && p_ptr->energy >= level_speed(p_ptr->dun_depth)) ^ server/netserver.c: In function 'Receive_walk': server/netserver.c:3361:29: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (p_ptr->running || p_ptr->resting) ^ server/netserver.c: In function 'Receive_run': server/netserver.c:3451:5: warning: 'player' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((n = do_cmd_run(player,dir)) == 2) ^ server/netserver.c:3462:67: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (((!connp->q.len) && (dir != p_ptr->find_current)) || (!p_ptr->running)) ^ server/netserver.c: In function 'Handle_input': server/netserver.c:1914:3: warning: 'p_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] Send_reliable(p_ptr->conn); ^ server/netserver.c:1404:14: warning: 'old_max_r' may be used uninitialized in this function [-Wmaybe-uninitialized] block_size = old_max_r; ^ server/netserver.c:1198:39: note: 'old_max_r' was declared here s16b old_max_tv, old_max_f,old_max_k,old_max_r; ^ cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -g -pipe -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o mangband common/z-util.o common/z-virt.o common/z-form.o common/z-rand.o common/net-unix.o common/net-win.o common/sockbuf.o server/variable.o server/control.o server/party.o server/tables.o server/util.o server/cave.o server/object1.o server/object2.o server/obj-info.o server/monster1.o server/monster2.o server/xtra1.o server/xtra2.o server/spells1.o server/spells2.o server/x-spell.o server/melee1.o server/melee2.o server/save.o server/files.o server/cmd1.o server/cmd2.o server/cmd3.o server/cmd4.o server/cmd5.o server/cmd6.o server/store.o server/birth.o server/load2.o server/sched.o server/sched-win.o server/generate.o server/wilderness.o server/dungeon.o server/init1.o server/init2.o server/netserver.o server/main.o common/md5.o -L/usr/local/lib -Wl,-rpath=/usr/local/lib -lncurses -lX11 gmake[1]: Leaving directory '/wrkdirs/games/mangband/mangband-1.1.3/src' =========================================================================== =================================================== ===> mangband-1.1.3 depends on file: /usr/local/lib/libncurses.so.6 - found =========================================================================== =================================================== ===> Staging for mangband-1.1.3 ===> Generating temporary packing list install -s -m 555 /wrkdirs/games/mangband/mangband-1.1.3/src/mangband /wrkdirs/games/mangband/stage/usr/local/bin/ install -s -m 555 /wrkdirs/games/mangband/mangband-1.1.3/src/mangclient /wrkdirs/games/mangband/stage/usr/local/bin/ install -m 0644 /wrkdirs/games/mangband/mangband-1.1.3/mangband.cfg /wrkdirs/games/mangband/stage/usr/local/etc/mangband.cfg.sample ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for mangband-1.1.3 file sizes/checksums [92]: . done packing files [92]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for mangband-1.1.3 build of games/mangband ended at Wed Oct 5 14:25:57 PDT 2016 build time: 00:00:50