=> Building games/tomenet Started : Friday, 8 MAR 2019 at 09:38:00 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for tomenet-4.6.0: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/games/tomenet XDG_CONFIG_HOME=/construction/games/tomenet HOME=/construction/games/tomenet TMPDIR="/tmp" PATH=/construction/games/tomenet/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/games/tomenet XDG_CONFIG_HOME=/construction/games/tomenet HOME=/construction/games/tomenet TMPDIR="/tmp" PATH=/construction/games/tomenet/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -DDEFAULT_PATH="\"/usr/local/share/tomenet/lib/\"" -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 -DDEFAULT_PATH="\"/usr/local/share/tomenet/lib/\"" -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 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/games/tomenet/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/tomenet" EXAMPLESDIR="share/examples/tomenet" DATADIR="share/tomenet" WWWDIR="www/tomenet" ETCDIR="etc/tomenet" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/tomenet DOCSDIR=/usr/local/share/doc/tomenet EXAMPLESDIR=/usr/local/share/examples/tomenet WWWDIR=/usr/local/www/tomenet ETCDIR=/usr/local/etc/tomenet -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.2 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> tomenet-4.6.0 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> tomenet-4.6.0 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of tomenet-4.6.0 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by tomenet-4.6.0 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by tomenet-4.6.0 for building => SHA256 Checksum OK for tomenet-4.6.0.tar.bz2. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by tomenet-4.6.0 for building ===> Extracting for tomenet-4.6.0 => SHA256 Checksum OK for tomenet-4.6.0.tar.bz2. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for tomenet-4.6.0 ===> Applying ports patches for tomenet-4.6.0 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> tomenet-4.6.0 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... `-- Installing gettext-runtime-0.19.8.1_2... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.19.8.1_2: .......... done Extracting gmake-4.2.1_3: .......... done ===> tomenet-4.6.0 depends on executable: gmake - found ===> Returning to build of tomenet-4.6.0 ===> tomenet-4.6.0 depends on file: /usr/local/lib/libncurses.so.6 - not found ===> Installing existing package /packages/All/ncurses-6.1.20190112.txz Installing ncurses-6.1.20190112... Extracting ncurses-6.1.20190112: .......... done ===> tomenet-4.6.0 depends on file: /usr/local/lib/libncurses.so.6 - found ===> Returning to build of tomenet-4.6.0 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for tomenet-4.6.0 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for tomenet-4.6.0 gmake[1]: Entering directory '/construction/games/tomenet/tomenet-4.6.0/src' cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o common/z-util.o -c common/z-util.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o common/z-virt.o -c common/z-virt.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o common/z-form.o -c common/z-form.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o common/z-rand.o -c common/z-rand.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o common/net-unix.o -c common/net-unix.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o common/sockbuf.o -c common/sockbuf.c In file included from common/sockbuf.c:59: common/const.h:102: warning: "NELEM" redefined #define NELEM(a) ((int)(sizeof(a) / sizeof((a)[0]))) In file included from common/../common/h-define.h:7, from common/../common/h-basic.h:22, from common/angband.h:22, from common/sockbuf.c:57: /usr/include/sys/param.h:338: note: this is the location of the previous definition #define NELEM(ary) (sizeof(ary) / sizeof((ary)[0])) cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o common/net-ibm.o -c common/net-ibm.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o common/common.o -c common/common.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/z-term.o -c client/z-term.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/c-util.o -c client/c-util.c client/c-util.c: In function 'do_cmd_options': client/c-util.c:7122:47: warning: '%s' directive writing up to 1023 bytes into a region of size 998 [-Wformat-overflow=] sprintf(out_val, "cp --recursive -f sound/* %s/", path); ^~ ~~~~ client/c-util.c:7122:3: note: 'sprintf' output between 28 and 1051 bytes into a destination of size 1024 sprintf(out_val, "cp --recursive -f sound/* %s/", path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-util.c:7114:47: warning: '%s' directive writing up to 1023 bytes into a region of size 998 [-Wformat-overflow=] sprintf(out_val, "cp --recursive -f sound/* %s/", path); ^~ ~~~~ client/c-util.c:7114:3: note: 'sprintf' output between 28 and 1051 bytes into a destination of size 1024 sprintf(out_val, "cp --recursive -f sound/* %s/", path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-util.c:7204:47: warning: '%s' directive writing up to 1023 bytes into a region of size 998 [-Wformat-overflow=] sprintf(out_val, "cp --recursive -f music/* %s/", path); ^~ ~~~~ client/c-util.c:7204:3: note: 'sprintf' output between 28 and 1051 bytes into a destination of size 1024 sprintf(out_val, "cp --recursive -f music/* %s/", path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-util.c:7186:47: warning: '%s' directive writing up to 1023 bytes into a region of size 998 [-Wformat-overflow=] sprintf(out_val, "cp --recursive -f music/* %s/", path); ^~ ~~~~ client/c-util.c:7186:3: note: 'sprintf' output between 28 and 1051 bytes into a destination of size 1024 sprintf(out_val, "cp --recursive -f music/* %s/", path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/c-cmd.o -c client/c-cmd.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/c-inven.o -c client/c-inven.c client/c-inven.c: In function 'c_get_item': client/c-inven.c:500:24: warning: ') ' directive writing 2 bytes into a region of size between 0 and 159 [-Wformat-overflow=] sprintf(tmp_val, "(%s) %s", out_val, pmt); ^~ client/c-inven.c:500:3: note: 'sprintf' output 4 or more bytes (assuming 163) into a destination of size 160 sprintf(tmp_val, "(%s) %s", out_val, pmt); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-inven.c:500:24: warning: ') ' directive writing 2 bytes into a region of size between 0 and 159 [-Wformat-overflow=] sprintf(tmp_val, "(%s) %s", out_val, pmt); ^~ client/c-inven.c:500:3: note: 'sprintf' output 4 or more bytes (assuming 163) into a destination of size 160 sprintf(tmp_val, "(%s) %s", out_val, pmt); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/c-files.o -c client/c-files.c client/c-files.c: In function 'xhtml_screenshot': client/c-files.c:1616:29: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 256 [-Wformat-truncation=] snprintf(file_name, 256, "%s%04d.xhtml", buf, max + 1); ^~ ~~~ client/c-files.c:1616:3: note: 'snprintf' output between 11 and 1041 bytes into a destination of size 256 snprintf(file_name, 256, "%s%04d.xhtml", buf, max + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/c-tables.o -c client/c-tables.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/c-store.o -c client/c-store.c client/c-store.c: In function 'store_paste_where': client/c-store.c:326:34: warning: ') ÿ' directive output may be truncated writing 3 bytes into a region of size between 1 and 11 [-Wformat-truncation=] snprintf(where, 17, "\377s(%d,%d) \377%c%c\377s:", ^~~~~~ client/c-store.c:326:2: note: 'snprintf' output between 15 and 25 bytes into a destination of size 17 snprintf(where, 17, "\377s(%d,%d) \377%c%c\377s:", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_ptr->wpos.wx, p_ptr->wpos.wy, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ color_attr_to_char(c_store.store_attr), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c_store.store_char); ~~~~~~~~~~~~~~~~~~~ client/c-store.c: In function 'store_chat': client/c-store.c:396:33: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 238 and 254 [-Wformat-truncation=] snprintf(buf, MSG_LEN - 1, "%s %s", where, out_val); ^~ ~~~~~~~ client/c-store.c:396:2: note: 'snprintf' output between 2 and 273 bytes into a destination of size 255 snprintf(buf, MSG_LEN - 1, "%s %s", where, out_val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/c-init.o -c client/c-init.c client/c-init.c: In function 'monster_stats_aux': client/c-init.c:1199:8: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncat(paste_lines[pl], p1, strlen(p1) - strlen(p3)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-init.c:1185:36: note: length computed here if (strlen(paste_lines[pl]) + strlen(p1) < MSG_LEN - 1 - strlen(cname) - 8 - 4 - 7) {//7 = world server tax (pure paranoia here) ^~~~~~~~~~ client/c-init.c: In function 'artifact_stats_aux': client/c-init.c:2317:8: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncat(paste_lines[pl], p1, strlen(p1) - strlen(p3)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-init.c:2303:36: note: length computed here if (strlen(paste_lines[pl]) + strlen(p1) < MSG_LEN - 1 - strlen(cname) - 8 - 4 - 7) {//7 = world server tax (pure paranoia here) ^~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/variable.o -c client/variable.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/main-ibm.o -c client/main-ibm.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/main-cap.o -c client/main-cap.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/main-gcu.o -c client/main-gcu.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/main-x11.o -c client/main-x11.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/main-xaw.o -c client/main-xaw.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/nclient.o -c client/nclient.c client/nclient.c: In function 'Receive_file': client/nclient.c:201:51: warning: '%s' directive writing up to 79 bytes into a region of size 55 [-Wformat-overflow=] sprintf(outbuf, "\377oReceiving updated file %s [%d]", fname, fnum); ^~ ~~~~~ client/nclient.c:201:22: note: directive argument in the range [0, 65535] sprintf(outbuf, "\377oReceiving updated file %s [%d]", fname, fnum); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/nclient.c:201:6: note: 'sprintf' output between 30 and 113 bytes into a destination of size 80 sprintf(outbuf, "\377oReceiving updated file %s [%d]", fname, fnum); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/nclient.c:194:53: warning: '%s' directive writing up to 79 bytes into a region of size 53 [-Wformat-overflow=] sprintf(outbuf, "\377yIgnoring update for file %s [%d]", fname, fnum); ^~ ~~~~~ client/nclient.c:194:22: note: directive argument in the range [0, 65535] sprintf(outbuf, "\377yIgnoring update for file %s [%d]", fname, fnum); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/nclient.c:194:6: note: 'sprintf' output between 32 and 115 bytes into a destination of size 80 sprintf(outbuf, "\377yIgnoring update for file %s [%d]", fname, fnum); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/nclient.c: In function 'Receive_inven': client/nclient.c:1383:2: warning: 'strncpy' output may be truncated copying 159 bytes from a string of length 159 [-Wstringop-truncation] strncpy(inventory_name[pos - 'a'], name, ONAME_LEN - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/nclient.c: In function 'Receive_inven_wide': client/nclient.c:1450:2: warning: 'strncpy' output may be truncated copying 159 bytes from a string of length 159 [-Wstringop-truncation] strncpy(inventory_name[pos - 'a'], name, ONAME_LEN - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/nclient.c: In function 'Receive_equip': client/nclient.c:1526:3: warning: 'strncpy' output may be truncated copying 159 bytes from a string of length 159 [-Wstringop-truncation] strncpy(inventory_name[pos - 'a' + INVEN_WIELD], name, ONAME_LEN - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/nclient.c: In function 'Receive_store': client/nclient.c:2645:2: warning: 'strncpy' output may be truncated copying 159 bytes from a string of length 159 [-Wstringop-truncation] strncpy(store_names[(int) pos], name, ONAME_LEN - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/nclient.c: In function 'Receive_store_wide': client/nclient.c:2678:2: warning: 'strncpy' output may be truncated copying 159 bytes from a string of length 159 [-Wstringop-truncation] strncpy(store_names[(int) pos], name, ONAME_LEN - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/nclient.c: In function 'Receive_store_action': client/nclient.c:2615:2: warning: 'strncpy' output may be truncated copying 40 bytes from a string of length 79 [-Wstringop-truncation] strncpy(c_store.action_name[(int) pos], name, 40); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/nclient.c: In function 'Receive_store_info': client/nclient.c:2773:2: warning: 'strncpy' output may be truncated copying 40 bytes from a string of length 79 [-Wstringop-truncation] strncpy(c_store.owner_name, owner_name, 40); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/nclient.c:2774:2: warning: 'strncpy' output may be truncated copying 40 bytes from a string of length 79 [-Wstringop-truncation] strncpy(c_store.store_name, store_name, 40); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/nclient.c: In function 'Receive_login': client/nclient.c:461:23: warning: '%s' directive writing up to 79 bytes into a region of size between 78 and 80 [-Wformat-overflow=] sprintf(tmp, "%c) %s%s the level %d %s %s", 'a' + i, colour_sequence, c_name, level, race_info[c_race].title, class_info[c_class].title); ^~ ~~~~~~ client/nclient.c:461:16: note: directive argument in the range [-32768, 32767] sprintf(tmp, "%c) %s%s the level %d %s %s", 'a' + i, colour_sequence, c_name, level, race_info[c_race].title, class_info[c_class].title); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/nclient.c:461:3: note: 'sprintf' output 18 or more bytes (assuming 104) into a destination of size 83 sprintf(tmp, "%c) %s%s the level %d %s %s", 'a' + i, colour_sequence, c_name, level, race_info[c_race].title, class_info[c_class].title); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/c-birth.o -c client/c-birth.c client/c-birth.c: In function 'choose_stat_order': client/c-birth.c:914:26: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(buf3, "(%2d)", dna_stat_order[i]); ^ client/c-birth.c:914:6: note: 'sprintf' output between 5 and 9 bytes into a destination of size 8 sprintf(buf3, "(%2d)", dna_stat_order[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/c-xtra1.o -c client/c-xtra1.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/c-xtra2.o -c client/c-xtra2.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/c-spell.o -c client/c-spell.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/client.o -c client/client.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/skills.o -c client/skills.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o common/files.o -c common/files.c common/files.c: In function 'local_file_init': common/files.c:319:3: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] strncpy(c_fd->tname, tname, 255); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o common/SFMT.o -c common/SFMT.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/snd-sdl.o -c client/snd-sdl.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o common/tables.o -c common/tables.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/c-script.o -c client/c-script.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/lua_bind.o -c client/lua_bind.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o preproc/preproc.o -c preproc/preproc.c preproc/preproc.c: In function 'main': preproc/preproc.c:262:29: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(line_mod, "%s%s\n", seq, line); ^ preproc/preproc.c:262:4: note: 'sprintf' output between 2 and 328 bytes into a destination of size 327 sprintf(line_mod, "%s%s\n", seq, line); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ preproc/preproc.c:184:56: warning: '%s' directive writing up to 162 bytes into a region of size 130 [-Wformat-overflow=] sprintf(tmp_file, "/* ------------ end of #include '%s'. ------------ */\n", included_file); ^~ ~~~~~~~~~~~~~ preproc/preproc.c:184:4: note: 'sprintf' output between 53 and 215 bytes into a destination of size 163 sprintf(tmp_file, "/* ------------ end of #include '%s'. ------------ */\n", included_file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o preproc/preproc preproc/preproc.o cd client; ../preproc/preproc player.pre player.pkg cpp -C -P; cd .. cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/lapi.o -c server/lua/lapi.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/lcode.o -c server/lua/lcode.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/ldebug.o -c server/lua/ldebug.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/ldo.o -c server/lua/ldo.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/lfunc.o -c server/lua/lfunc.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/lgc.o -c server/lua/lgc.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/llex.o -c server/lua/llex.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/lmem.o -c server/lua/lmem.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/lobject.o -c server/lua/lobject.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/lparser.o -c server/lua/lparser.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/lstate.o -c server/lua/lstate.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/lstring.o -c server/lua/lstring.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/ltable.o -c server/lua/ltable.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/ltests.o -c server/lua/ltests.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/ltm.o -c server/lua/ltm.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/lundump.o -c server/lua/lundump.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/lvm.o -c server/lua/lvm.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/lzio.o -c server/lua/lzio.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/lauxlib.o -c server/lua/lauxlib.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/lbaselib.o -c server/lua/lbaselib.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/ldblib.o -c server/lua/ldblib.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/liolib.o -c server/lua/liolib.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/lstrlib.o -c server/lua/lstrlib.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/tolua_lb.o -c server/lua/tolua_lb.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/tolua_rg.o -c server/lua/tolua_rg.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/tolua_tt.o -c server/lua/tolua_tt.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/tolua_tm.o -c server/lua/tolua_tm.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/tolua_gp.o -c server/lua/tolua_gp.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/tolua_eh.o -c server/lua/tolua_eh.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/tolua_bd.o -c server/lua/tolua_bd.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o server/lua/lmathlib.o -c server/lua/lmathlib.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -L/usr/local/lib -Wl,-rpath=/usr/local/lib -o server/tolua server/lua/lapi.o server/lua/lcode.o server/lua/ldebug.o server/lua/ldo.o server/lua/lfunc.o server/lua/lgc.o server/lua/llex.o server/lua/lmem.o server/lua/lobject.o server/lua/lparser.o server/lua/lstate.o server/lua/lstring.o server/lua/ltable.o server/lua/ltests.o server/lua/ltm.o server/lua/lundump.o server/lua/lvm.o server/lua/lzio.o server/lua/lauxlib.o server/lua/lbaselib.o server/lua/ldblib.o server/lua/liolib.o server/lua/lstrlib.o server/lua/tolua_lb.o server/lua/tolua_rg.o server/lua/tolua_tt.o server/lua/tolua_tm.o server/lua/tolua_gp.o server/lua/tolua_eh.o server/lua/tolua_bd.o server/lua/lmathlib.o server/lua/tolua.c server/lua/tolualua.c -lncurses -lcrypt -lm -lexecinfo server/lua/liolib.c:519: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() cd client; ../server/tolua -n player -o w_play.c player.pkg; cd .. cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/w_play.o -c client/w_play.c cd client; ../preproc/preproc util.pre util.pkg cpp -C -P; cd .. cd client; ../server/tolua -n util -o w_util.c util.pkg; cd .. cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/w_util.o -c client/w_util.c cd client; ../preproc/preproc spells.pre spells.pkg cpp -C -P; cd .. cd client; ../server/tolua -n spells -o w_spells.c spells.pkg; cd .. cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -o client/w_spells.o -c client/w_spells.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -O2 -L/usr/local/lib -Wl,-rpath=/usr/local/lib -o tomenet common/z-util.o common/z-virt.o common/z-form.o common/z-rand.o common/net-unix.o common/sockbuf.o common/net-ibm.o common/common.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/variable.o client/main-ibm.o client/main-cap.o client/main-gcu.o client/main-x11.o client/main-xaw.o client/nclient.o client/c-birth.o client/c-xtra1.o client/c-xtra2.o client/c-spell.o client/client.o client/skills.o common/files.o common/SFMT.o client/snd-sdl.o common/tables.o client/c-script.o client/lua_bind.o client/w_play.o client/w_util.o client/w_spells.o server/lua/lapi.o server/lua/lcode.o server/lua/ldebug.o server/lua/ldo.o server/lua/lfunc.o server/lua/lgc.o server/lua/llex.o server/lua/lmem.o server/lua/lobject.o server/lua/lparser.o server/lua/lstate.o server/lua/lstring.o server/lua/ltable.o server/lua/ltests.o server/lua/ltm.o server/lua/lundump.o server/lua/lvm.o server/lua/lzio.o server/lua/lauxlib.o server/lua/lbaselib.o server/lua/ldblib.o server/lua/liolib.o server/lua/lstrlib.o server/lua/tolua_lb.o server/lua/tolua_rg.o server/lua/tolua_tt.o server/lua/tolua_tm.o server/lua/tolua_gp.o server/lua/tolua_eh.o server/lua/tolua_bd.o server/lua/lmathlib.o -lncurses -lcrypt -lm -lexecinfo server/lua/liolib.c:519: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/variable.o -c server/variable.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/control.o -c server/control.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/hooks.o -c server/hooks.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/party.o -c server/party.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/tables.o -c server/tables.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/util.o -c server/util.c server/util.c: In function 'get_month_name': server/util.c:5810:47: warning: '%s' directive output may be truncated writing up to 19 bytes into a region of size between 11 and 30 [-Wformat-truncation=] if (full) snprintf(buf, 40, "%s day of %s (%s day)", buf2, month_name[i], buf3); ^~ ~~~~ server/util.c:5810:14: note: 'snprintf' output 16 or more bytes (assuming 54) into a destination of size 40 if (full) snprintf(buf, 40, "%s day of %s (%s day)", buf2, month_name[i], buf3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/util.c: In function 'toggle_afk': server/util.c:4742:39: warning: '%s' directive output may be truncated writing up to 79 bytes into a region of size 78 [-Wformat-truncation=] snprintf(afk, sizeof(afk), "\377%c%s has returned from AFK. (%s\377%c)", COLOUR_AFK, p_ptr->name, p_ptr->afk_msg, COLOUR_AFK); ^~ server/util.c:4742:5: note: 'snprintf' output between 31 and 189 bytes into a destination of size 80 snprintf(afk, sizeof(afk), "\377%c%s has returned from AFK. (%s\377%c)", COLOUR_AFK, p_ptr->name, p_ptr->afk_msg, COLOUR_AFK); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/util.c:4740:39: warning: '%s' directive output may be truncated writing up to 79 bytes into a region of size 78 [-Wformat-truncation=] snprintf(afk, sizeof(afk), "\377%c%s has returned from AFK.", COLOUR_AFK, p_ptr->name); ^~ server/util.c:4740:5: note: 'snprintf' output between 26 and 105 bytes into a destination of size 80 snprintf(afk, sizeof(afk), "\377%c%s has returned from AFK.", COLOUR_AFK, p_ptr->name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/util.c:4768:39: warning: '%s' directive output may be truncated writing up to 79 bytes into a region of size 78 [-Wformat-truncation=] snprintf(afk, sizeof(afk), "\377%c%s seems to be AFK now. (%s\377%c)", COLOUR_AFK, p_ptr->name, p_ptr->afk_msg, COLOUR_AFK); ^~ server/util.c:4768:5: note: 'snprintf' output between 29 and 187 bytes into a destination of size 80 snprintf(afk, sizeof(afk), "\377%c%s seems to be AFK now. (%s\377%c)", COLOUR_AFK, p_ptr->name, p_ptr->afk_msg, COLOUR_AFK); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/util.c:4766:39: warning: '%s' directive output may be truncated writing up to 79 bytes into a region of size 78 [-Wformat-truncation=] snprintf(afk, sizeof(afk), "\377%c%s seems to be AFK now.", COLOUR_AFK, p_ptr->name); ^~ server/util.c:4766:5: note: 'snprintf' output between 24 and 103 bytes into a destination of size 80 snprintf(afk, sizeof(afk), "\377%c%s seems to be AFK now.", COLOUR_AFK, p_ptr->name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/util.c: In function 'player_talk_aux': server/util.c:3880:2: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy(last_chat_line, message, MSG_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'console_talk_aux', inlined from 'player_talk_aux' at server/util.c:3858:3: server/util.c:4595:2: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy(last_chat_line, message, MSG_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/cave.o -c server/cave.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/object1.o -c server/object1.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/object2.o -c server/object2.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/monster2.o -c server/monster2.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/xtra1.o -c server/xtra1.c server/xtra1.c: In function 'calc_boni': server/xtra1.c:3214:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!p_ptr->body_monster) p_ptr->pass_trees = TRUE; csheet_boni[14].cb[12] |= CB13_XTREE; ^~ server/xtra1.c:3214:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!p_ptr->body_monster) p_ptr->pass_trees = TRUE; csheet_boni[14].cb[12] |= CB13_XTREE; ^~~~~~~~~~~ server/xtra1.c: In function 'process_global_event': server/xtra1.c:8365:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (zcave[y][x].feat != FEAT_PERM_INNER) ^~ server/xtra1.c:8368:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' everyone_lite_spot(&wpos, y, x); ^~~~~~~~~~~~~~~~~~ server/xtra1.c: In function 'global_event_signup': server/xtra1.c:7182:6: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(parm2e, p2p, strlen(p2p) - strlen(c)); /* then ego power starts at the beginning of the monster name */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/xtra1.c:7182:27: note: length computed here strncpy(parm2e, p2p, strlen(p2p) - strlen(c)); /* then ego power starts at the beginning of the monster name */ ^~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/xtra2.o -c server/xtra2.c server/xtra2.c: In function 'prepare_xorder': server/xtra2.c:8203:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (j == Ind) ^~ server/xtra2.c:8207:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' msg_format(Ind, "\376\377oThe remaining time to carry it out is \377y%d\377o minutes.", (MAX_XORDER_TURNS - (turn - xorders[i].turn)) / (cfg.fps * 60)); ^~~~~~~~~~ server/xtra2.c: In function 'panel_calculate': server/xtra2.c:9008:6: warning: type of 'Ind' defaults to 'int' [-Wimplicit-int] void panel_calculate(Ind) { ^~~~~~~~~~~~~~~ server/xtra2.c: In function 'tradpanel_calculate': server/xtra2.c:9031:6: warning: type of 'Ind' defaults to 'int' [-Wimplicit-int] void tradpanel_calculate(Ind) { ^~~~~~~~~~~~~~~~~~~ server/xtra2.c: In function 'monster_death': server/xtra2.c:4890:58: warning: ' inflicts' directive output may be truncated writing 9 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s inflicts", m_name); ^~~~~~~~~ server/xtra2.c:4890:4: note: 'snprintf' output between 10 and 89 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s inflicts", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/spells1.o -c server/spells1.c server/spells1.c: In function 'project_f': server/spells1.c:4448:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (c_ptr->feat == FEAT_DIRT) ^~ server/spells1.c:4452:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' p2 = 15; f2 = FEAT_MUD; ^~ server/spells1.c: In function 'project_p': server/spells1.c:9129:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (p_ptr->resist_shard) ^~ server/spells1.c:9130:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' dam *= 6; dam /= (randint(6) + 6); ^~~ server/spells1.c:9369:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (p_ptr->resist_shard) k *= 6; k /= (randint(6) + 6); ^~ server/spells1.c:9369:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (p_ptr->resist_shard) k *= 6; k /= (randint(6) + 6); ^ server/spells1.c: In function 'project_m': server/spells1.c:5202:43: warning: '%s' directive writing up to 79 bytes into a region of size 78 [-Wformat-overflow=] sprintf(hit_desc, "\377%c%s blocks.", COLOUR_BLOCK_MON, m_name); ^~ ~~~~~~ server/spells1.c:5202:18: note: 'sprintf' output between 11 and 90 bytes into a destination of size 80 sprintf(hit_desc, "\377%c%s blocks.", COLOUR_BLOCK_MON, m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/spells1.c: In function 'project': server/spells1.c:8323:29: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(m_name_gen, "%s'", Players[0 - who]->name); ^ server/spells1.c:8323:5: note: 'sprintf' output between 2 and 81 bytes into a destination of size 80 sprintf(m_name_gen, "%s'", Players[0 - who]->name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/spells1.c:8321:28: warning: ''s' directive writing 2 bytes into a region of size between 1 and 80 [-Wformat-overflow=] sprintf(m_name_gen, "%s's", Players[0 - who]->name); ^~ server/spells1.c:8321:5: note: 'sprintf' output between 3 and 82 bytes into a destination of size 80 sprintf(m_name_gen, "%s's", Players[0 - who]->name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/spells2.o -c server/spells2.c server/spells2.c: In function 'do_dec_stat_time': server/spells2.c:990:21: warning: array subscript [0, 5] is outside array bounds of 's16b[6]' {aka 'short int[6]'} [-Warray-bounds] if (p_ptr->stat_cur[stat] <= 3) return(FALSE); ~~~~~~~~~~~~~~~^~~~~~ server/spells2.c: In function 'heal_monster': server/spells2.c:6682:70: warning: ' heals you for' directive output may be truncated writing 14 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(Players[Ind]->attacker, sizeof(Players[Ind]->attacker), "%s heals you for", Players[Ind]->name); ^~~~~~~~~~~~~~ server/spells2.c:6682:2: note: 'snprintf' output between 15 and 94 bytes into a destination of size 80 snprintf(Players[Ind]->attacker, sizeof(Players[Ind]->attacker), "%s heals you for", Players[Ind]->name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/spells2.c: In function 'cure_light_wounds_proj': server/spells2.c:6741:70: warning: ' heals you for' directive output may be truncated writing 14 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(Players[Ind]->attacker, sizeof(Players[Ind]->attacker), "%s heals you for", Players[Ind]->name); ^~~~~~~~~~~~~~ server/spells2.c:6741:2: note: 'snprintf' output between 15 and 94 bytes into a destination of size 80 snprintf(Players[Ind]->attacker, sizeof(Players[Ind]->attacker), "%s heals you for", Players[Ind]->name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/spells2.c: In function 'cure_serious_wounds_proj': server/spells2.c:6748:69: warning: ' heals you for' directive output may be truncated writing 14 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(Players[Ind]->attacker, sizeof(Players[Ind]->attacker),"%s heals you for", Players[Ind]->name); ^~~~~~~~~~~~~~ server/spells2.c:6748:2: note: 'snprintf' output between 15 and 94 bytes into a destination of size 80 snprintf(Players[Ind]->attacker, sizeof(Players[Ind]->attacker),"%s heals you for", Players[Ind]->name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/spells2.c: In function 'cure_critical_wounds_proj': server/spells2.c:6755:69: warning: ' heals you for' directive output may be truncated writing 14 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(Players[Ind]->attacker, sizeof(Players[Ind]->attacker),"%s heals you for", Players[Ind]->name); ^~~~~~~~~~~~~~ server/spells2.c:6755:2: note: 'snprintf' output between 15 and 94 bytes into a destination of size 80 snprintf(Players[Ind]->attacker, sizeof(Players[Ind]->attacker),"%s heals you for", Players[Ind]->name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/spells2.c: In function 'heal_other_proj': server/spells2.c:6762:69: warning: ' heals you for' directive output may be truncated writing 14 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(Players[Ind]->attacker, sizeof(Players[Ind]->attacker),"%s heals you for", Players[Ind]->name); ^~~~~~~~~~~~~~ server/spells2.c:6762:2: note: 'snprintf' output between 15 and 94 bytes into a destination of size 80 snprintf(Players[Ind]->attacker, sizeof(Players[Ind]->attacker),"%s heals you for", Players[Ind]->name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/melee1.o -c server/melee1.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/melee2.o -c server/melee2.c server/melee2.c: In function 'make_attack_spell': server/melee2.c:3060:57: warning: ' casts a magic missile of' directive output may be truncated writing 25 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a magic missile of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:3060:3: note: 'snprintf' output between 26 and 105 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a magic missile of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:3050:57: warning: ' casts an ice bolt of' directive output may be truncated writing 21 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts an ice bolt of", m_name); ^~~~~~~~~~~~~~~~~~~~~ server/melee2.c:3050:3: note: 'snprintf' output between 22 and 101 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts an ice bolt of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:3041:57: warning: ' casts a plasma bolt of' directive output may be truncated writing 23 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a plasma bolt of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:3041:3: note: 'snprintf' output between 24 and 103 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a plasma bolt of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:3032:57: warning: ' casts a mana bolt of' directive output may be truncated writing 21 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a mana bolt of", m_name); ^~~~~~~~~~~~~~~~~~~~~ server/melee2.c:3032:3: note: 'snprintf' output between 22 and 101 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a mana bolt of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:3023:57: warning: ' casts a water bolt of' directive output may be truncated writing 22 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a water bolt of", m_name); ^~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:3023:3: note: 'snprintf' output between 23 and 102 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a water bolt of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:3013:57: warning: ' casts a nether bolt of' directive output may be truncated writing 23 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a nether bolt of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:3013:3: note: 'snprintf' output between 24 and 103 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a nether bolt of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2998:57: warning: ' casts a frost bolt of' directive output may be truncated writing 22 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a frost bolt of", m_name); ^~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2998:3: note: 'snprintf' output between 23 and 102 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a frost bolt of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2988:57: warning: ' casts a fire bolt of' directive output may be truncated writing 21 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a fire bolt of", m_name); ^~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2988:3: note: 'snprintf' output between 22 and 101 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a fire bolt of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2978:57: warning: ' casts a lightning bolt of' directive output may be truncated writing 26 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a lightning bolt of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2978:3: note: 'snprintf' output between 27 and 106 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a lightning bolt of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2968:57: warning: ' casts an acid bolt of' directive output may be truncated writing 22 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts an acid bolt of", m_name); ^~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2968:3: note: 'snprintf' output between 23 and 102 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts an acid bolt of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2958:57: warning: ' invokes a raw chaos for' directive output may be truncated writing 24 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s invokes a raw chaos for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2958:3: note: 'snprintf' output between 25 and 104 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s invokes a raw chaos for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2948:57: warning: ' casts a ball of radiation o' directive output may be truncated writing 29 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a ball of radiation of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2948:3: note: 'snprintf' output between 30 and 109 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a ball of radiation of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2669:57: warning: ' invokes a darkness storm fo' directive output may be truncated writing 29 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s invokes a darkness storm for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2669:3: note: 'snprintf' output between 30 and 109 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s invokes a darkness storm for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2660:57: warning: ' invokes a mana storm for' directive output may be truncated writing 25 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s invokes a mana storm for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2660:3: note: 'snprintf' output between 26 and 105 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s invokes a mana storm for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2640:57: warning: ' casts an nether ball of' directive output may be truncated writing 24 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts an nether ball of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2640:3: note: 'snprintf' output between 25 and 104 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts an nether ball of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2630:57: warning: ' casts a stinking cloud for' directive output may be truncated writing 27 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a stinking cloud for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2630:3: note: 'snprintf' output between 28 and 107 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a stinking cloud for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2620:57: warning: ' casts a frost ball of' directive output may be truncated writing 22 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a frost ball of", m_name); ^~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2620:3: note: 'snprintf' output between 23 and 102 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a frost ball of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2610:57: warning: ' casts a fire ball of' directive output may be truncated writing 21 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a fire ball of", m_name); ^~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2610:3: note: 'snprintf' output between 22 and 101 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a fire ball of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2600:57: warning: ' casts a lightning ball of' directive output may be truncated writing 26 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a lightning ball of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2600:3: note: 'snprintf' output between 27 and 106 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts a lightning ball of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2590:57: warning: ' casts an acid ball of' directive output may be truncated writing 22 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts an acid ball of", m_name); ^~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2590:3: note: 'snprintf' output between 23 and 102 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s casts an acid ball of", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2581:57: warning: ' hurls a boulder at you for' directive output may be truncated writing 27 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s hurls a boulder at you for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2581:3: note: 'snprintf' output between 28 and 107 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s hurls a boulder at you for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2548:57: warning: ' breathes toxic waste for' directive output may be truncated writing 25 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes toxic waste for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2548:3: note: 'snprintf' output between 26 and 105 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes toxic waste for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2539:57: warning: ' breathes disintegration for' directive output may be truncated writing 28 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes disintegration for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2539:3: note: 'snprintf' output between 29 and 108 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes disintegration for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2530:57: warning: ' breathes magical energy' directive output may be truncated writing 24 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes magical energy", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2530:3: note: 'snprintf' output between 25 and 104 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes magical energy", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2522:57: warning: ' breathes force for' directive output may be truncated writing 19 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes force for", m_name); ^~~~~~~~~~~~~~~~~~~ server/melee2.c:2522:3: note: 'snprintf' output between 20 and 99 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes force for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2514:57: warning: ' breathes plasma for' directive output may be truncated writing 20 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes plasma for", m_name); ^~~~~~~~~~~~~~~~~~~~ server/melee2.c:2514:3: note: 'snprintf' output between 21 and 100 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes plasma for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2505:57: warning: ' breathes shards for' directive output may be truncated writing 20 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes shards for", m_name); ^~~~~~~~~~~~~~~~~~~~ server/melee2.c:2505:3: note: 'snprintf' output between 21 and 100 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes shards for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2497:57: warning: ' breathes gravity for' directive output may be truncated writing 21 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes gravity for", m_name); ^~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2497:3: note: 'snprintf' output between 22 and 101 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes gravity for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2489:57: warning: ' breathes inertia for' directive output may be truncated writing 21 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes inertia for", m_name); ^~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2489:3: note: 'snprintf' output between 22 and 101 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes inertia for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2481:57: warning: ' breathes time for' directive output may be truncated writing 18 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes time for", m_name); ^~~~~~~~~~~~~~~~~~ server/melee2.c:2481:3: note: 'snprintf' output between 19 and 98 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes time for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2472:57: warning: ' breathes nexus for' directive output may be truncated writing 19 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes nexus for", m_name); ^~~~~~~~~~~~~~~~~~~ server/melee2.c:2472:3: note: 'snprintf' output between 20 and 99 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes nexus for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2463:57: warning: ' breathes disenchantment for' directive output may be truncated writing 28 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes disenchantment for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2463:3: note: 'snprintf' output between 29 and 108 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes disenchantment for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2454:57: warning: ' breathes chaos for' directive output may be truncated writing 19 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes chaos for", m_name); ^~~~~~~~~~~~~~~~~~~ server/melee2.c:2454:3: note: 'snprintf' output between 20 and 99 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes chaos for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2445:57: warning: ' breathes sound for' directive output may be truncated writing 19 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes sound for", m_name); ^~~~~~~~~~~~~~~~~~~ server/melee2.c:2445:3: note: 'snprintf' output between 20 and 99 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes sound for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2436:57: warning: ' breathes confusion for' directive output may be truncated writing 23 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes confusion for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2436:3: note: 'snprintf' output between 24 and 103 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes confusion for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2427:57: warning: ' breathes darkness for' directive output may be truncated writing 22 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes darkness for", m_name); ^~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2427:3: note: 'snprintf' output between 23 and 102 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes darkness for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2418:57: warning: ' breathes light for' directive output may be truncated writing 19 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes light for", m_name); ^~~~~~~~~~~~~~~~~~~ server/melee2.c:2418:3: note: 'snprintf' output between 20 and 99 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes light for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2409:57: warning: ' breathes nether for' directive output may be truncated writing 20 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes nether for", m_name); ^~~~~~~~~~~~~~~~~~~~ server/melee2.c:2409:3: note: 'snprintf' output between 21 and 100 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes nether for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2400:57: warning: ' breathes gas for' directive output may be truncated writing 17 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes gas for", m_name); ^~~~~~~~~~~~~~~~~ server/melee2.c:2400:3: note: 'snprintf' output between 18 and 97 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes gas for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2391:57: warning: ' breathes frost for' directive output may be truncated writing 19 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes frost for", m_name); ^~~~~~~~~~~~~~~~~~~ server/melee2.c:2391:3: note: 'snprintf' output between 20 and 99 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes frost for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2382:57: warning: ' breathes fire for' directive output may be truncated writing 18 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes fire for", m_name); ^~~~~~~~~~~~~~~~~~ server/melee2.c:2382:3: note: 'snprintf' output between 19 and 98 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes fire for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2373:57: warning: ' breathes lightning for' directive output may be truncated writing 23 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes lightning for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2373:3: note: 'snprintf' output between 24 and 103 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes lightning for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2364:57: warning: ' breathes acid for' directive output may be truncated writing 18 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes acid for", m_name); ^~~~~~~~~~~~~~~~~~ server/melee2.c:2364:3: note: 'snprintf' output between 19 and 98 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s breathes acid for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2355:57: warning: ' fires a missile for' directive output may be truncated writing 20 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s fires a missile for", m_name); ^~~~~~~~~~~~~~~~~~~~ server/melee2.c:2355:3: note: 'snprintf' output between 21 and 100 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s fires a missile for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2339:57: warning: ' fires a bolt for' directive output may be truncated writing 17 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s fires a bolt for", m_name); ^~~~~~~~~~~~~~~~~ server/melee2.c:2339:3: note: 'snprintf' output between 18 and 97 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s fires a bolt for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2322:57: warning: ' fires a shot for' directive output may be truncated writing 17 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s fires a shot for", m_name); ^~~~~~~~~~~~~~~~~ server/melee2.c:2322:3: note: 'snprintf' output between 18 and 97 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s fires a shot for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2301:58: warning: ' fires an arrow for' directive output may be truncated writing 19 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s fires an arrow for", m_name); ^~~~~~~~~~~~~~~~~~~ server/melee2.c:2301:4: note: 'snprintf' output between 20 and 99 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s fires an arrow for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/melee2.c:2245:57: warning: ' fires a rocket for' directive output may be truncated writing 19 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s fires a rocket for", m_name); ^~~~~~~~~~~~~~~~~~~ server/melee2.c:2245:3: note: 'snprintf' output between 20 and 99 bytes into a destination of size 80 snprintf(p_ptr->attacker, sizeof(p_ptr->attacker), "%s fires a rocket for", m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/save.o -c server/save.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/files.o -c server/files.c server/files.c: In function 'top_twenty': server/files.c:2011:29: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(the_score.p_r, "%2d", p_ptr->prace); ^ server/files.c:2011:2: note: 'sprintf' output between 3 and 4 bytes into a destination of size 3 sprintf(the_score.p_r, "%2d", p_ptr->prace); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/files.c:2012:29: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(the_score.p_c, "%2d", p_ptr->pclass); ^ server/files.c:2012:2: note: 'sprintf' output between 3 and 4 bytes into a destination of size 3 sprintf(the_score.p_c, "%2d", p_ptr->pclass); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/files.c:2015:30: warning: '%3d' directive writing between 3 and 6 bytes into a region of size 4 [-Wformat-overflow=] sprintf(the_score.cur_lev, "%3d", p_ptr->lev); ^~~ server/files.c:2015:29: note: directive argument in the range [-32768, 32767] sprintf(the_score.cur_lev, "%3d", p_ptr->lev); ^~~~~ server/files.c:2015:2: note: 'sprintf' output between 4 and 7 bytes into a destination of size 4 sprintf(the_score.cur_lev, "%3d", p_ptr->lev); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/files.c:2016:30: warning: '%3d' directive writing between 3 and 6 bytes into a region of size 4 [-Wformat-overflow=] sprintf(the_score.cur_dun, "%3d", p_ptr->died_from_depth); ^~~ server/files.c:2016:29: note: directive argument in the range [-32768, 32767] sprintf(the_score.cur_dun, "%3d", p_ptr->died_from_depth); ^~~~~ server/files.c:2016:2: note: 'sprintf' output between 4 and 7 bytes into a destination of size 4 sprintf(the_score.cur_dun, "%3d", p_ptr->died_from_depth); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/files.c:2017:30: warning: '%3d' directive writing between 3 and 6 bytes into a region of size 4 [-Wformat-overflow=] sprintf(the_score.max_lev, "%3d", p_ptr->max_plv); ^~~ server/files.c:2017:29: note: directive argument in the range [-32768, 32767] sprintf(the_score.max_lev, "%3d", p_ptr->max_plv); ^~~~~ server/files.c:2017:2: note: 'sprintf' output between 4 and 7 bytes into a destination of size 4 sprintf(the_score.max_lev, "%3d", p_ptr->max_plv); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/files.c:2018:30: warning: '%3d' directive writing between 3 and 6 bytes into a region of size 4 [-Wformat-overflow=] sprintf(the_score.max_dun, "%3d", p_ptr->max_dlv); ^~~ server/files.c:2018:29: note: directive argument in the range [-32768, 32767] sprintf(the_score.max_dun, "%3d", p_ptr->max_dlv); ^~~~~ server/files.c:2018:2: note: 'sprintf' output between 4 and 7 bytes into a destination of size 4 sprintf(the_score.max_dun, "%3d", p_ptr->max_dlv); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/files.c: In function 'display_scores': server/files.c:2098:29: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(the_score.p_r, "%2d", p_ptr->prace); ^ server/files.c:2098:2: note: 'sprintf' output between 3 and 4 bytes into a destination of size 3 sprintf(the_score.p_r, "%2d", p_ptr->prace); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/files.c:2099:29: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(the_score.p_c, "%2d", p_ptr->pclass); ^ server/files.c:2099:2: note: 'sprintf' output between 3 and 4 bytes into a destination of size 3 sprintf(the_score.p_c, "%2d", p_ptr->pclass); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/files.c:2102:30: warning: '%3d' directive writing between 3 and 6 bytes into a region of size 4 [-Wformat-overflow=] sprintf(the_score.cur_lev, "%3d", p_ptr->lev); ^~~ server/files.c:2102:29: note: directive argument in the range [-32768, 32767] sprintf(the_score.cur_lev, "%3d", p_ptr->lev); ^~~~~ server/files.c:2102:2: note: 'sprintf' output between 4 and 7 bytes into a destination of size 4 sprintf(the_score.cur_lev, "%3d", p_ptr->lev); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/files.c:2104:30: warning: '%3d' directive writing between 3 and 6 bytes into a region of size 4 [-Wformat-overflow=] sprintf(the_score.max_lev, "%3d", p_ptr->max_plv); ^~~ server/files.c:2104:29: note: directive argument in the range [-32768, 32767] sprintf(the_score.max_lev, "%3d", p_ptr->max_plv); ^~~~~ server/files.c:2104:2: note: 'sprintf' output between 4 and 7 bytes into a destination of size 4 sprintf(the_score.max_lev, "%3d", p_ptr->max_plv); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/files.c:2105:30: warning: '%3d' directive writing between 3 and 6 bytes into a region of size 4 [-Wformat-overflow=] sprintf(the_score.max_dun, "%3d", p_ptr->max_dlv); ^~~ server/files.c:2105:29: note: directive argument in the range [-32768, 32767] sprintf(the_score.max_dun, "%3d", p_ptr->max_dlv); ^~~~~ server/files.c:2105:2: note: 'sprintf' output between 4 and 7 bytes into a destination of size 4 sprintf(the_score.max_dun, "%3d", p_ptr->max_dlv); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/cmd1.o -c server/cmd1.c server/cmd1.c: In function 'tot_dam_aux': server/cmd1.c:372:31: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] if (pr_ptr->blow[i].d_dice * pr_ptr->blow[i].d_side) { ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ server/cmd1.c: In function 'tot_dam_aux_player': server/cmd1.c:927:38: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] if (pr_ptr->blow[i].d_dice * pr_ptr->blow[i].d_side) { ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ server/cmd1.c: In function 'py_attack_player': server/cmd1.c:3260:8: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else sound(Ind, "hit_blunt", "hit_weapon", SFX_TYPE_ATTACK, FALSE); break; ^~~~ server/cmd1.c:3260:76: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else sound(Ind, "hit_blunt", "hit_weapon", SFX_TYPE_ATTACK, FALSE); break; ^~~~~ server/cmd1.c:3683:33: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] if (pr_ptr->blow[i].d_dice * pr_ptr->blow[i].d_side) { ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ server/cmd1.c: In function 'py_attack_mon': server/cmd1.c:4236:8: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else sound(Ind, "hit_blunt", "hit_weapon", SFX_TYPE_ATTACK, FALSE); break; ^~~~ server/cmd1.c:4236:76: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' else sound(Ind, "hit_blunt", "hit_weapon", SFX_TYPE_ATTACK, FALSE); break; ^~~~~ server/cmd1.c:4715:33: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] if (pr_ptr->blow[i].d_dice * pr_ptr->blow[i].d_side) { ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ server/cmd1.c: In function 'py_attack_player': server/cmd1.c:3014:36: warning: '%s' directive output may be truncated writing up to 79 bytes into a region of size 20 [-Wformat-truncation=] snprintf(string, 30, "attacking %s", q_ptr->name); ^~ server/cmd1.c:3014:4: note: 'snprintf' output between 11 and 90 bytes into a destination of size 30 snprintf(string, 30, "attacking %s", q_ptr->name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/cmd2.o -c server/cmd2.c server/cmd2.c: In function 'do_cmd_tunnel': server/cmd2.c:2511:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (o2_ptr->sval == SV_SCYTHE || ^~ server/cmd2.c:2514:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fibre_power = 40; break; ^~~~~ server/cmd2.c:2527:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (o2_ptr->sval == SV_SCYTHE || ^~ server/cmd2.c:2530:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fibre_power = 40; break; ^~~~~ server/cmd2.c: In function 'do_cmd_own': server/cmd2.c:7037:47: warning: '%d' directive output may be truncated writing between 1 and 6 bytes into a region of size between 4 and 84 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "%s %s now owns (%d,%d).", (p_ptr->male)?"King":"Queen", p_ptr->name, p_ptr->wpos.wx, p_ptr->wpos.wy); ^~ server/cmd2.c:7037:30: note: directive argument in the range [-32768, 32767] snprintf(buf, sizeof(buf), "%s %s now owns (%d,%d).", (p_ptr->male)?"King":"Queen", p_ptr->name, p_ptr->wpos.wx, p_ptr->wpos.wy); ^~~~~~~~~~~~~~~~~~~~~~~~~ server/cmd2.c:7037:30: note: directive argument in the range [-32768, 32767] server/cmd2.c:7037:3: note: 'snprintf' output between 22 and 112 bytes into a destination of size 100 snprintf(buf, sizeof(buf), "%s %s now owns (%d,%d).", (p_ptr->male)?"King":"Queen", p_ptr->name, p_ptr->wpos.wx, p_ptr->wpos.wy); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/cmd2.c:7035:47: warning: '%d' directive output may be truncated writing between 1 and 6 bytes into a region of size between 2 and 81 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "%s %s now owns (%d,%d).", (p_ptr->male)?"Emperor":"Empress", p_ptr->name, p_ptr->wpos.wx, p_ptr->wpos.wy); ^~ server/cmd2.c:7035:30: note: directive argument in the range [-32768, 32767] snprintf(buf, sizeof(buf), "%s %s now owns (%d,%d).", (p_ptr->male)?"Emperor":"Empress", p_ptr->name, p_ptr->wpos.wx, p_ptr->wpos.wy); ^~~~~~~~~~~~~~~~~~~~~~~~~ server/cmd2.c:7035:30: note: directive argument in the range [-32768, 32767] server/cmd2.c:7035:3: note: 'snprintf' output between 25 and 114 bytes into a destination of size 100 snprintf(buf, sizeof(buf), "%s %s now owns (%d,%d).", (p_ptr->male)?"Emperor":"Empress", p_ptr->name, p_ptr->wpos.wx, p_ptr->wpos.wy); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/cmd2.c: In function 'do_cmd_fire': server/cmd2.c:5416:54: warning: '%s' directive writing up to 79 bytes into a region of size 78 [-Wformat-overflow=] sprintf(hit_desc, "\377%c%s blocks.", COLOUR_BLOCK_MON, m_name); ^~ ~~~~~~ server/cmd2.c:5416:29: note: 'sprintf' output between 11 and 90 bytes into a destination of size 80 sprintf(hit_desc, "\377%c%s blocks.", COLOUR_BLOCK_MON, m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/cmd2.c: In function 'do_cmd_throw': server/cmd2.c:6530:53: warning: '%s' directive writing up to 79 bytes into a region of size 78 [-Wformat-overflow=] sprintf(hit_desc, "\377%c%s blocks.", COLOUR_BLOCK_MON, m_name); ^~ ~~~~~~ server/cmd2.c:6530:28: note: 'sprintf' output between 11 and 90 bytes into a destination of size 80 sprintf(hit_desc, "\377%c%s blocks.", COLOUR_BLOCK_MON, m_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/cmd3.o -c server/cmd3.c server/cmd3.c: In function 'do_cmd_look': server/cmd3.c:3232:50: warning: '%s' directive output may be truncated writing up to 159 bytes into a region of size between 150 and 152 [-Wformat-truncation=] snprintf(out_val, sizeof(out_val), "%sYou see %s%s", ^~ compat_pomode(Ind, o_ptr) ? "\377D" : "", o_name, o_ptr->next_o_idx ? " on a pile" : ""); ~~~~~~ server/cmd3.c:3232:4: note: 'snprintf' output between 9 and 180 bytes into a destination of size 160 snprintf(out_val, sizeof(out_val), "%sYou see %s%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compat_pomode(Ind, o_ptr) ? "\377D" : "", o_name, o_ptr->next_o_idx ? " on a pile" : ""); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/cmd3.c:3224:56: warning: '%s' directive output may be truncated writing up to 159 bytes into a region of size between 148 and 150 [-Wformat-truncation=] snprintf(out_val, sizeof(out_val), "\377%c%sYou see %s%s", ^~ server/cmd3.c:3226:8: o_name, o_ptr->next_o_idx ? " on a pile" : ""); ~~~~~~ server/cmd3.c:3224:4: note: 'snprintf' output between 11 and 182 bytes into a destination of size 160 snprintf(out_val, sizeof(out_val), "\377%c%sYou see %s%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ o_ptr->questor_invincible ? 'G' : 'G', compat_pomode(Ind, o_ptr) ? "\377D" : "", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ o_name, o_ptr->next_o_idx ? " on a pile" : ""); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/cmd3.c: In function 'do_cmd_locate': server/cmd3.c:3408:42: warning: ',' directive writing 1 byte into a region of size between 0 and 5 [-Wformat-overflow=] sprintf(trad_val, ", traditionally [%d,%d]", p_ptr->tradpanel_row, p_ptr->tradpanel_col); ^ server/cmd3.c:3408:22: note: directive argument in the range [-32768, 32767] sprintf(trad_val, ", traditionally [%d,%d]", p_ptr->tradpanel_row, p_ptr->tradpanel_col); ^~~~~~~~~~~~~~~~~~~~~~~~~ server/cmd3.c:3408:4: note: 'sprintf' output between 22 and 32 bytes into a destination of size 23 sprintf(trad_val, ", traditionally [%d,%d]", p_ptr->tradpanel_row, p_ptr->tradpanel_col); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/cmd3.c:3418:55: warning: '. Direction (or ESC)?' directive writing 21 bytes into a region of size between 11 and 122 [-Wformat-overflow=] "Map sector [%d,%d], which is%s your sector%s. Direction (or ESC)?", ^~~~~~~~~~~~~~~~~~~~~ server/cmd3.c:3417:2: note: 'sprintf' output between 60 and 171 bytes into a destination of size 160 sprintf(out_val, ^~~~~~~~~~~~~~~~ "Map sector [%d,%d], which is%s your sector%s. Direction (or ESC)?", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ y2, x2, tmp_val, trad_val); ~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/cmd4.o -c server/cmd4.c server/cmd4.c: In function 'do_cmd_check_server_settings': server/cmd4.c:2158:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((k = cfg.newbies_cannot_drop)) ^~ server/cmd4.c:2163:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fprintf(fff, " making the item unusable by any other character than this player.\n"); ^~~~~~~ server/cmd4.c: In function 'do_cmd_check_artifacts': server/cmd4.c:252:38: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] else sprintf(timeleft, "\377G%3dd", timeout / 60 / 24); /* indicate very recently found arts */ ^ server/cmd4.c:252:10: note: 'sprintf' output between 7 and 11 bytes into a destination of size 10 else sprintf(timeleft, "\377G%3dd", timeout / 60 / 24); /* indicate very recently found arts */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/cmd4.c:251:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(timeleft, "\377s%3dd", timeout / 60 / 24); ^ server/cmd4.c:251:6: note: 'sprintf' output between 7 and 11 bytes into a destination of size 10 sprintf(timeleft, "\377s%3dd", timeout / 60 / 24); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/cmd4.c:273:31: warning: 's ' directive writing 2 bytes into a region of size between 1 and 4 [-Wformat-overflow=] sprintf(fmt, "%%%ds\377w%%s\n", (int)(45 - strlen(base_name))); ^~~ server/cmd4.c:273:5: note: 'sprintf' output between 9 and 12 bytes into a destination of size 10 sprintf(fmt, "%%%ds\377w%%s\n", (int)(45 - strlen(base_name))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/cmd5.o -c server/cmd5.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/cmd6.o -c server/cmd6.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/store.o -c server/store.c server/store.c: In function 'display_special_store': server/store.c:2136:13: warning: type of 'Ind' defaults to 'int' [-Wimplicit-int] static void display_special_store(Ind) { ^~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/birth.o -c server/birth.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/load2.o -c server/load2.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/randart.o -c server/randart.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/sched.o -c server/sched.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/generate.o -c server/generate.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/wild.o -c server/wild.c server/wild.c: In function 'determine_wilderness_type': server/wild.c:2058:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rand_int(100) < 80) w_ptr->type = WILD_GRASSLAND; break; ^~ server/wild.c:2058:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (rand_int(100) < 80) w_ptr->type = WILD_GRASSLAND; break; ^~~~~ server/wild.c:2061:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rand_int(100) < 50) w_ptr->type = WILD_GRASSLAND; break; ^~ server/wild.c:2061:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (rand_int(100) < 50) w_ptr->type = WILD_GRASSLAND; break; ^~~~~ server/wild.c:2064:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rand_int(100) < 30) w_ptr->type = WILD_GRASSLAND; break; ^~ server/wild.c:2064:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (rand_int(100) < 30) w_ptr->type = WILD_GRASSLAND; break; ^~~~~ server/wild.c: In function 'fill_house': server/wild.c:3219:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(h_ptr->flags & HF_NOFLOOR)) ^~ server/wild.c:3221:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' c_ptr->info |= (CAVE_ROOM | CAVE_ICKY); ^~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/dungeon.o -c server/dungeon.c server/dungeon.c: In function 'cloud_create': server/dungeon.c:9165:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (in_bounds_wild(y, x) && ^~ server/dungeon.c:9170:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' x = 9999; ^ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/init1.o -c server/init1.c server/init1.c: In function 'init_f_info_txt': server/init1.c:2404:8: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while (d_info_dtypes[j].name != NULL) ^~~~~ server/init1.c:2412:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' if (d_info_dtypes[j].name == NULL) return(1); ^~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/init2.o -c server/init2.c server/init2.c: In function 'show_news': server/init2.c:231:43: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(why, 1024, "Cannot access the '%s' file!", buf); ^~ ~~~ server/init2.c:231:3: note: 'snprintf' output between 27 and 1050 bytes into a destination of size 1024 snprintf(why, 1024, "Cannot access the '%s' file!", buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/init2.c:287:44: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(why, 1024, "Cannot create the '%s' file!", buf); ^~ ~~~ server/init2.c:287:4: note: 'snprintf' output between 27 and 1050 bytes into a destination of size 1024 snprintf(why, 1024, "Cannot create the '%s' file!", buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/nserver.o -c server/nserver.c In file included from server/angband.h:49, from server/nserver.c:82: server/nserver.c: In function 'Send_depth': server/../common/defines.h:6055:43: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] #define TURNS_FOR_EXTRA_FEELING (cfg.fps * 120) ~~~~~~~~~^~~~~~ server/nserver.c:5554:7: note: in expansion of macro 'TURNS_FOR_EXTRA_FEELING' TURNS_FOR_EXTRA_FEELING && p_ptr->turns_on_floor >= TURNS_FOR_EXTRA_FEELING) ^~~~~~~~~~~~~~~~~~~~~~~ server/../common/defines.h:6055:43: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] #define TURNS_FOR_EXTRA_FEELING (cfg.fps * 120) ~~~~~~~~~^~~~~~ server/nserver.c:5569:6: note: in expansion of macro 'TURNS_FOR_EXTRA_FEELING' TURNS_FOR_EXTRA_FEELING && p_ptr->turns_on_floor >= TURNS_FOR_EXTRA_FEELING) ^~~~~~~~~~~~~~~~~~~~~~~ server/nserver.c: In function 'Send_depth_hack': server/../common/defines.h:6055:43: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] #define TURNS_FOR_EXTRA_FEELING (cfg.fps * 120) ~~~~~~~~~^~~~~~ server/nserver.c:5627:13: note: in expansion of macro 'TURNS_FOR_EXTRA_FEELING' else if (TURNS_FOR_EXTRA_FEELING && (p_ptr2->turns_on_floor >= TURNS_FOR_EXTRA_FEELING)) colour2 = TERM_L_BLUE; ^~~~~~~~~~~~~~~~~~~~~~~ server/../common/defines.h:6055:43: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] #define TURNS_FOR_EXTRA_FEELING (cfg.fps * 120) ~~~~~~~~~^~~~~~ server/nserver.c:5655:12: note: in expansion of macro 'TURNS_FOR_EXTRA_FEELING' else if (TURNS_FOR_EXTRA_FEELING && (p_ptr->turns_on_floor >= TURNS_FOR_EXTRA_FEELING)) colour = TERM_L_BLUE; ^~~~~~~~~~~~~~~~~~~~~~~ server/nserver.c: In function 'Init_setup': server/nserver.c:415:4: warning: 'strncpy' output may be truncated copying 120 bytes from a string of length 1023 [-Wstringop-truncation] strncpy(&Setup.motd[n * 120], buf, 120); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/printout.o -c server/printout.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/main.o -c server/main.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/traps.o -c server/traps.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/csfunc.o -c server/csfunc.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/skills.o -c server/skills.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/bldg.o -c server/bldg.c cd common; ../server/tolua -n z_pack -o w_z_pack.c z_pack.pkg; cd .. cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o common/w_z_pack.o -c common/w_z_pack.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/world.o -c server/world.c server/world.c: In function 'world_player': server/world.c:516:2: warning: 'strncpy' specified bound 30 equals destination size [-Wstringop-truncation] strncpy(spk.d.play.name, name, 30); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/slash.o -c server/slash.c server/slash.c: In function 'do_slash_cmd': server/slash.c:3149:5: warning: 'strncpy' specified bound 80 equals destination size [-Wstringop-truncation] strncpy(to_strip, message2 + 6, MAX_CHARS); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/runecraft.o -c server/runecraft.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/auction.o -c server/auction.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/quests.o -c server/quests.c server/quests.c: In function 'quest_spawn_monsters': server/quests.c:2464:13: warning: type of 'q_idx' defaults to 'int' [-Wimplicit-int] static void quest_spawn_monsters(q_idx, stage) { ^~~~~~~~~~~~~~~~~~~~ server/quests.c:2464:13: warning: type of 'stage' defaults to 'int' [-Wimplicit-int] cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/go.o -c server/go.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/metaclient.o -c server/metaclient.c In function 'meta_init', inlined from 'meta_report' at server/metaclient.c:277:3: server/metaclient.c:61:4: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(meta_local_name, cfg.bind_name, 1024); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/script.o -c server/script.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/lua_bind.o -c server/lua_bind.c cd server; ../preproc/preproc util.pre util.pkg cpp -C -P; cd .. cd server; ./tolua -n util -o w_util.c util.pkg; cd .. cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/w_util.o -c server/w_util.c cd server; ../preproc/preproc player.pre player.pkg cpp -C -P; cd .. cd server; ./tolua -n player -o w_play.c player.pkg; cd .. cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/w_play.o -c server/w_play.c cd server; ../preproc/preproc spells.pre spells.pkg cpp -C -P; cd .. cd server; ./tolua -n spells -o w_spells.c spells.pkg; cd .. cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o server/w_spells.o -c server/w_spells.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -L/usr/local/lib -Wl,-rpath=/usr/local/lib -o tomenet.server common/z-util.o common/z-virt.o common/z-form.o common/z-rand.o common/net-unix.o common/sockbuf.o common/common.o server/variable.o server/control.o server/hooks.o server/party.o server/tables.o server/util.o server/cave.o server/object1.o server/object2.o server/monster2.o server/xtra1.o server/xtra2.o server/spells1.o server/spells2.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/randart.o server/sched.o server/generate.o server/wild.o server/dungeon.o server/init1.o server/init2.o server/nserver.o server/printout.o server/main.o server/traps.o server/csfunc.o server/skills.o server/bldg.o common/files.o common/w_z_pack.o server/world.o server/slash.o server/runecraft.o server/auction.o server/quests.o common/SFMT.o server/go.o server/metaclient.o common/tables.o server/script.o server/lua_bind.o server/w_util.o server/w_play.o server/w_spells.o server/lua/lapi.o server/lua/lcode.o server/lua/ldebug.o server/lua/ldo.o server/lua/lfunc.o server/lua/lgc.o server/lua/llex.o server/lua/lmem.o server/lua/lobject.o server/lua/lparser.o server/lua/lstate.o server/lua/lstring.o server/lua/ltable.o server/lua/ltests.o server/lua/ltm.o server/lua/lundump.o server/lua/lvm.o server/lua/lzio.o server/lua/lauxlib.o server/lua/lbaselib.o server/lua/ldblib.o server/lua/liolib.o server/lua/lstrlib.o server/lua/tolua_lb.o server/lua/tolua_rg.o server/lua/tolua_tt.o server/lua/tolua_tm.o server/lua/tolua_gp.o server/lua/tolua_eh.o server/lua/tolua_bd.o server/lua/lmathlib.o -lncurses -lcrypt -lm -lexecinfo server/util.c:349: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() server/lua/liolib.c:519: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -o account/accedit.o -c account/accedit.c cc -pipe -DDEFAULT_PATH=\"/usr/local/share/tomenet/lib/\" -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -Iserver -Iserver/lua -L/usr/local/lib -Wl,-rpath=/usr/local/lib -o accedit account/accedit.o -lncurses -lcrypt Now you need to copy the binaries out of the src directory or run "make install". gmake[1]: Leaving directory '/construction/games/tomenet/tomenet-4.6.0/src' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> tomenet-4.6.0 depends on file: /usr/local/lib/libncurses.so.6 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for tomenet-4.6.0 ===> Generating temporary packing list install -s -m 555 /construction/games/tomenet/tomenet-4.6.0/src/tomenet /construction/games/tomenet/stage/usr/local/bin install -s -m 555 /construction/games/tomenet/tomenet-4.6.0/src/tomenet.server /construction/games/tomenet/stage/usr/local/bin install -s -m 555 /construction/games/tomenet/tomenet-4.6.0/src/accedit /construction/games/tomenet/stage/usr/local/bin /bin/mkdir -p /construction/games/tomenet/stage/usr/local/share/tomenet (cd /construction/games/tomenet/tomenet-4.6.0 && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE lib /construction/games/tomenet/stage/usr/local/share/tomenet) /bin/mkdir -p /construction/games/tomenet/stage/usr/local/etc/tomenet install -m 0644 /construction/games/tomenet/tomenet-4.6.0/.tomenetrc /construction/games/tomenet/stage/usr/local/etc/tomenet/tomenetrc /bin/mkdir -p /construction/games/tomenet/stage/usr/local/share/doc/tomenet install -m 0644 /construction/games/tomenet/tomenet-4.6.0/TomeNET-Guide.txt /construction/games/tomenet/stage/usr/local/share/doc/tomenet ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for tomenet-4.6.0 file sizes/checksums [155]: .. done packing files [155]: .. done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 MAR 2019 at 09:43:13 UTC Duration: 00:05:13