=> Building games/dungeoncrawl Started : Thursday, 7 MAR 2019 at 07:40:51 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 dungeoncrawl-4.0.0.b26: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/games/dungeoncrawl XDG_CONFIG_HOME=/construction/games/dungeoncrawl HOME=/construction/games/dungeoncrawl TMPDIR="/tmp" PATH=/construction/games/dungeoncrawl/.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/dungeoncrawl XDG_CONFIG_HOME=/construction/games/dungeoncrawl HOME=/construction/games/dungeoncrawl TMPDIR="/tmp" PATH=/construction/games/dungeoncrawl/.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 -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 " 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/dungeoncrawl/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/dungeoncrawl" EXAMPLESDIR="share/examples/dungeoncrawl" DATADIR="share/dungeoncrawl" WWWDIR="www/dungeoncrawl" ETCDIR="etc/dungeoncrawl" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/dungeoncrawl DOCSDIR=/usr/local/share/doc/dungeoncrawl EXAMPLESDIR=/usr/local/share/examples/dungeoncrawl WWWDIR=/usr/local/www/dungeoncrawl ETCDIR=/usr/local/etc/dungeoncrawl -------------------------------------------------- -- /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 -------------------------------------------------------------------------------- ===> NOTICE: The dungeoncrawl port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> dungeoncrawl-4.0.0.b26 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 ===> dungeoncrawl-4.0.0.b26 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of dungeoncrawl-4.0.0.b26 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The dungeoncrawl port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by dungeoncrawl-4.0.0.b26 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The dungeoncrawl port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by dungeoncrawl-4.0.0.b26 for building => SHA256 Checksum OK for dc400b26-src.tbz2. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The dungeoncrawl port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by dungeoncrawl-4.0.0.b26 for building ===> Extracting for dungeoncrawl-4.0.0.b26 => SHA256 Checksum OK for dc400b26-src.tbz2. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for dungeoncrawl-4.0.0.b26 ===> Applying ports patches for dungeoncrawl-4.0.0.b26 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> dungeoncrawl-4.0.0.b26 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 ===> dungeoncrawl-4.0.0.b26 depends on file: /usr/local/lib/libncurses.so.6 - found ===> Returning to build of dungeoncrawl-4.0.0.b26 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for dungeoncrawl-4.0.0.b26 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for dungeoncrawl-4.0.0.b26 --- acr.o --- --- abl-show.o --- --- abyss.o --- --- beam.o --- --- chardump.o --- --- acr.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c acr.cc --- abl-show.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c abl-show.cc --- abyss.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c abyss.cc --- beam.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c beam.cc --- chardump.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c chardump.cc --- cloud.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c cloud.cc --- chardump.o --- chardump.cc: In function 'bool dump_char(const char*, bool)': chardump.cc:856:16: warning: 'char* strncat(char*, const char*, size_t)' specified bound 256 equals destination size [-Wstringop-overflow=] strncat(file_name, ".txt", kPathLen); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- command.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c command.cc --- acr.o --- acr.cc: In function 'void input()': acr.cc:1438:40: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 189 [-Wformat-truncation=] snprintf( info, INFO_SIZE, "Play time: %s (%ld turns)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~ buff, you.num_turns ); ~~~~ acr.cc:1438:21: note: 'snprintf' output between 22 and 240 bytes into a destination of size 200 snprintf( info, INFO_SIZE, "Play time: %s (%ld turns)", ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buff, you.num_turns ); ~~~~~~~~~~~~~~~~~~~~~ --- chardump.o --- chardump.cc:851:16: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 256 equals destination size [-Wstringop-truncation] strncpy(file_name, SysEnv.crawl_dir, kPathLen); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chardump.cc:853:12: warning: 'char* strncat(char*, const char*, size_t)' specified bound 256 equals destination size [-Wstringop-truncation] strncat(file_name, fname, kPathLen); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- debug.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c debug.cc --- chardump.o --- chardump.cc:853:12: warning: 'char* strncat(char*, const char*, size_t)' specified bound 256 equals destination size [-Wstringop-overflow=] --- beam.o --- beam.cc: In function 'int mons_ench_f2(monsters*, bolt&)': beam.cc:1949:44: warning: ' flickers ' directive output may be truncated writing 10 bytes into a region of size between 1 and 200 [-Wformat-truncation=] snprintf( info, INFO_SIZE, "%s flickers %s", ^~~~~~~~~~~~~~~~ beam.cc:1949:25: note: 'snprintf' output between 24 and 223 bytes into a destination of size 200 snprintf( info, INFO_SIZE, "%s flickers %s", ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buff, player_see_invis() ? "for a moment." ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : "and vanishes!" ); ~~~~~~~~~~~~~~~~~~~ beam.cc:1941:16: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-truncation] strncpy( buff, ptr_monam( monster, DESC_CAP_THE ), sizeof(buff) ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- delay.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c delay.cc --- debug.o --- debug.cc: In function 'int debug_prompt_for_skill(const char*)': debug.cc:458:16: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 80 equals destination size [-Wstringop-truncation] strncpy( sk_name, skill_name(i), sizeof( sk_name ) ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.cc: In function 'void debug_change_species()': debug.cc:500:16: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 80 equals destination size [-Wstringop-truncation] strncpy( sp_name, species_name(i, you.experience_level), sizeof( sp_name ) ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.cc: In function 'void cast_spec_spell_name()': debug.cc:601:16: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 80 equals destination size [-Wstringop-truncation] strncpy( spname, spell_title(i), sizeof( spname ) ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.cc: In function 'bool debug_add_mutation()': debug.cc:1606:16: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 80 equals destination size [-Wstringop-truncation] strncpy( mut_name, mutation_name( i, 1 ), sizeof( mut_name ) ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.cc: In function 'void debug_get_religion()': debug.cc:1675:16: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 80 equals destination size [-Wstringop-truncation] strncpy( name, god_name(i), sizeof( name ) ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- decks.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c decks.cc --- describe.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c describe.cc --- direct.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c direct.cc --- delay.o --- delay.cc: In function 'void handle_delay()': delay.cc:516:48: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 191 [-Wformat-truncation=] snprintf( info, INFO_SIZE, "You drop %s.", str_pass ); ^~~~~~~~~~~~~~ ~~~~~~~~ delay.cc:516:29: note: 'snprintf' output between 11 and 210 bytes into a destination of size 200 snprintf( info, INFO_SIZE, "You drop %s.", str_pass ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delay.cc:342:44: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 178 [-Wformat-truncation=] snprintf( info, INFO_SIZE, "You finish taking off %s.", str_pass ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ delay.cc:342:25: note: 'snprintf' output between 24 and 223 bytes into a destination of size 200 snprintf( info, INFO_SIZE, "You finish taking off %s.", str_pass ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delay.cc:202:44: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 178 [-Wformat-truncation=] snprintf( info, INFO_SIZE, "You finish putting on %s.", str_pass ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ delay.cc:202:25: note: 'snprintf' output between 24 and 223 bytes into a destination of size 200 snprintf( info, INFO_SIZE, "You finish putting on %s.", str_pass ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- dungeon.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c dungeon.cc --- describe.o --- describe.cc: In function 'void print_description(const string&)': describe.cc:82:43: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'unsigned int' changes value from '18446744073709551615' to '4294967295' [-Woverflow] unsigned int nextLine = std::string::npos; ^~~~ --- dungeon.o --- dungeon.cc: In function 'void build_vaults(int, int)': dungeon.cc:5252:29: warning: array subscript has type 'char' [-Wchar-subscripts] romx1[which_room] = 10 + random2(50); ^ dungeon.cc:5253:29: warning: array subscript has type 'char' [-Wchar-subscripts] romy1[which_room] = 10 + random2(40); ^ dungeon.cc:5254:29: warning: array subscript has type 'char' [-Wchar-subscripts] romx2[which_room] = romx1[which_room] + 2 + random2(8); ^ dungeon.cc:5254:49: warning: array subscript has type 'char' [-Wchar-subscripts] romx2[which_room] = romx1[which_room] + 2 + random2(8); ^ dungeon.cc:5255:29: warning: array subscript has type 'char' [-Wchar-subscripts] romy2[which_room] = romy1[which_room] + 2 + random2(8); ^ dungeon.cc:5255:49: warning: array subscript has type 'char' [-Wchar-subscripts] romy2[which_room] = romy1[which_room] + 2 + random2(8); ^ dungeon.cc:5257:33: warning: array subscript has type 'char' [-Wchar-subscripts] while ((romx1[which_room] >= v1x && romx1[which_room] <= v2x ^ dungeon.cc:5257:61: warning: array subscript has type 'char' [-Wchar-subscripts] while ((romx1[which_room] >= v1x && romx1[which_room] <= v2x ^ dungeon.cc:5258:39: warning: array subscript has type 'char' [-Wchar-subscripts] && romy1[which_room] >= v1y && romy1[which_room] <= v2y) ^ dungeon.cc:5258:67: warning: array subscript has type 'char' [-Wchar-subscripts] && romy1[which_room] >= v1y && romy1[which_room] <= v2y) ^ dungeon.cc:5259:36: warning: array subscript has type 'char' [-Wchar-subscripts] || (romx2[which_room] >= v1x && romx2[which_room] <= v2x ^ dungeon.cc:5259:64: warning: array subscript has type 'char' [-Wchar-subscripts] || (romx2[which_room] >= v1x && romx2[which_room] <= v2x ^ dungeon.cc:5260:39: warning: array subscript has type 'char' [-Wchar-subscripts] && romy2[which_room] >= v1y && romy2[which_room] <= v2y)); ^ dungeon.cc:5260:67: warning: array subscript has type 'char' [-Wchar-subscripts] && romy2[which_room] >= v1y && romy2[which_room] <= v2y)); ^ dungeon.cc:5264:65: warning: array subscript has type 'char' [-Wchar-subscripts] join_the_dots(initial_x, initial_y, romx1[which_room], romy1[which_room], ^ dungeon.cc:5264:84: warning: array subscript has type 'char' [-Wchar-subscripts] join_the_dots(initial_x, initial_y, romx1[which_room], romy1[which_room], ^ dungeon.cc:5269:40: warning: array subscript has type 'char' [-Wchar-subscripts] for (cnx = romx1[which_room] - 1; cnx < romx2[which_room] + 1; ^ dungeon.cc:5269:69: warning: array subscript has type 'char' [-Wchar-subscripts] for (cnx = romx1[which_room] - 1; cnx < romx2[which_room] + 1; ^ dungeon.cc:5272:44: warning: array subscript has type 'char' [-Wchar-subscripts] for (cny = romy1[which_room] - 1; cny < romy2[which_room] + 1; ^ dungeon.cc:5272:73: warning: array subscript has type 'char' [-Wchar-subscripts] for (cny = romy1[which_room] - 1; cny < romy2[which_room] + 1; ^ dungeon.cc:5281:38: warning: array subscript has type 'char' [-Wchar-subscripts] replace_area(romx1[which_room], romy1[which_room], romx2[which_room], ^ dungeon.cc:5281:57: warning: array subscript has type 'char' [-Wchar-subscripts] replace_area(romx1[which_room], romy1[which_room], romx2[which_room], ^ dungeon.cc:5281:76: warning: array subscript has type 'char' [-Wchar-subscripts] replace_area(romx1[which_room], romy1[which_room], romx2[which_room], ^ dungeon.cc:5282:36: warning: array subscript has type 'char' [-Wchar-subscripts] romy2[which_room], DNGN_ROCK_WALL, DNGN_FLOOR); ^ dungeon.cc:5286:45: warning: array subscript has type 'char' [-Wchar-subscripts] const int rx1 = romx1[which_room]; ^ dungeon.cc:5287:45: warning: array subscript has type 'char' [-Wchar-subscripts] const int rx2 = romx2[which_room]; ^ dungeon.cc:5291:45: warning: array subscript has type 'char' [-Wchar-subscripts] const int ry1 = romy1[which_room]; ^ dungeon.cc:5292:45: warning: array subscript has type 'char' [-Wchar-subscripts] const int ry2 = romy2[which_room]; ^ dungeon.cc: In function 'char plan_3()': dungeon.cc:6961:25: warning: array subscript has type 'char' [-Wchar-subscripts] romx1[which_room] = 10 + random2(50); ^ dungeon.cc:6962:25: warning: array subscript has type 'char' [-Wchar-subscripts] romy1[which_room] = 10 + random2(40); ^ dungeon.cc:6963:25: warning: array subscript has type 'char' [-Wchar-subscripts] romx2[which_room] = romx1[which_room] + 2 + random2(8); ^ dungeon.cc:6963:45: warning: array subscript has type 'char' [-Wchar-subscripts] romx2[which_room] = romx1[which_room] + 2 + random2(8); ^ dungeon.cc:6964:25: warning: array subscript has type 'char' [-Wchar-subscripts] romy2[which_room] = romy1[which_room] + 2 + random2(8); ^ dungeon.cc:6964:45: warning: array subscript has type 'char' [-Wchar-subscripts] romy2[which_room] = romy1[which_room] + 2 + random2(8); ^ dungeon.cc:6968:40: warning: array subscript has type 'char' [-Wchar-subscripts] for (cnx = romx1[which_room] - 1; cnx < romx2[which_room] + 1; ^ dungeon.cc:6968:69: warning: array subscript has type 'char' [-Wchar-subscripts] for (cnx = romx1[which_room] - 1; cnx < romx2[which_room] + 1; ^ dungeon.cc:6971:44: warning: array subscript has type 'char' [-Wchar-subscripts] for (cny = romy1[which_room] - 1; cny < romy2[which_room] + 1; ^ dungeon.cc:6971:73: warning: array subscript has type 'char' [-Wchar-subscripts] for (cny = romy1[which_room] - 1; cny < romy2[which_room] + 1; ^ dungeon.cc:6980:38: warning: array subscript has type 'char' [-Wchar-subscripts] replace_area(romx1[which_room], romy1[which_room], romx2[which_room], ^ dungeon.cc:6980:57: warning: array subscript has type 'char' [-Wchar-subscripts] replace_area(romx1[which_room], romy1[which_room], romx2[which_room], ^ dungeon.cc:6980:76: warning: array subscript has type 'char' [-Wchar-subscripts] replace_area(romx1[which_room], romy1[which_room], romx2[which_room], ^ dungeon.cc:6981:36: warning: array subscript has type 'char' [-Wchar-subscripts] romy2[which_room], DNGN_ROCK_WALL, DNGN_FLOOR); ^ dungeon.cc:6985:45: warning: array subscript has type 'char' [-Wchar-subscripts] const int rx1 = romx1[which_room]; ^ dungeon.cc:6986:45: warning: array subscript has type 'char' [-Wchar-subscripts] const int rx2 = romx2[which_room]; ^ dungeon.cc:6990:45: warning: array subscript has type 'char' [-Wchar-subscripts] const int ry1 = romy1[which_room]; ^ dungeon.cc:6991:45: warning: array subscript has type 'char' [-Wchar-subscripts] const int ry2 = romy2[which_room]; ^ dungeon.cc: In function 'void labyrinth_level(int)': dungeon.cc:7293:19: warning: variable 'traps_put2' set but not used [-Wunused-but-set-variable] unsigned char traps_put2 = 0; ^~~~~~~~~~ --- direct.o --- direct.cc: In function 'void describe_cell(int, int)': direct.cc:742:40: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 188 [-Wformat-truncation=] snprintf( info, INFO_SIZE, "%s is wearing %s.", ^~~~~~~~~~~~~~~~~~~ direct.cc:744:23: str_pass ); ~~~~~~~~ direct.cc:742:21: note: 'snprintf' output 14 or more bytes (assuming 213) into a destination of size 200 snprintf( info, INFO_SIZE, "%s is wearing %s.", ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mons_pronoun( menv[i].type, PRONOUN_CAP ), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ str_pass ); ~~~~~~~~~~ --- effects.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c effects.cc --- fight.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c fight.cc fight.cc: In function 'void you_attack(int, bool)': fight.cc:979:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (hit && damage_done > 0 ~~~~^~~~~~~~~~~~~~~~~~ fight.cc:1722:22: warning: variable 'hit' set but not used [-Wunused-but-set-variable] bool hit = true; ^~~ fight.cc: In function 'bool monsters_fight(int, int)': fight.cc:2913:9: warning: variable 'mmov_x' set but not used [-Wunused-but-set-variable] int mmov_x = 0; ^~~~~~ --- files.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c files.cc files.cc: In function 'void load(unsigned char, int, bool, char, char)': files.cc:285:19: warning: variable 'foll_targ_1_x' set but not used [-Wunused-but-set-variable] unsigned char foll_targ_1_x[8]; ^~~~~~~~~~~~~ files.cc:286:19: warning: variable 'foll_targ_1_y' set but not used [-Wunused-but-set-variable] unsigned char foll_targ_1_y[8]; ^~~~~~~~~~~~~ files.cc: In function 'void make_filename(char*, const char*, int, int, bool, bool)': files.cc:220:29: warning: array subscript 28 is above array bounds of 'char [28]' [-Warray-bounds] finalprefix[kFileNameLen] = '\0'; ~~~~~~~~~~~~~~~~~~~~~~~~^ files.cc: In function 'void restore_game()': files.cc:1126:10: warning: 'minorVersion' may be used uninitialized in this function [-Wmaybe-uninitialized] char minorVersion; ^~~~~~~~~~~~ files.cc:1179:5: warning: 'majorVersion' may be used uninitialized in this function [-Wmaybe-uninitialized] if (majorVersion < 4) ^~ files.cc:1125:10: note: 'majorVersion' was declared here char majorVersion; ^~~~~~~~~~~~ --- food.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c food.cc food.cc: In function 'bool butchery()': food.cc:311:9: warning: variable 'last_item' set but not used [-Wunused-but-set-variable] int last_item = NON_ITEM; ^~~~~~~~~ --- files.o --- files.cc: In function 'void generate_random_demon()': files.cc:1750:67: warning: array subscript 20 is above array bounds of 'unsigned char [20]' [-Warray-bounds] ghost.values[ GVAL_SPELL_1 ] = search_order_conj[i]; ~~~~~~~~~~~~~~~~~~~^ files.cc:1753:40: warning: array subscript 21 is above array bounds of 'unsigned char [20]' [-Warray-bounds] if (search_order_conj[i] == SPELL_NO_SPELL) ~~~~~~~~~~~~~~~~~~~^ files.cc:1765:67: warning: array subscript 20 is above array bounds of 'unsigned char [20]' [-Warray-bounds] ghost.values[ GVAL_SPELL_2 ] = search_order_conj[i]; ~~~~~~~~~~~~~~~~~~~^ files.cc:1779:68: warning: array subscript 20 is above array bounds of 'unsigned char [14]' [-Warray-bounds] ghost.values[ GVAL_SPELL_3 ] = search_order_third[i]; ~~~~~~~~~~~~~~~~~~~~^ files.cc:1782:41: warning: array subscript 21 is above array bounds of 'unsigned char [14]' [-Warray-bounds] if (search_order_third[i] == SPELL_NO_SPELL) ~~~~~~~~~~~~~~~~~~~~^ files.cc:1794:67: warning: array subscript 20 is above array bounds of 'unsigned char [9]' [-Warray-bounds] ghost.values[ GVAL_SPELL_4 ] = search_order_misc[i]; ~~~~~~~~~~~~~~~~~~~^ files.cc:1797:40: warning: array subscript 21 is above array bounds of 'unsigned char [9]' [-Warray-bounds] if (search_order_misc[i] == SPELL_NO_SPELL) ~~~~~~~~~~~~~~~~~~~^ files.cc:1809:67: warning: array subscript 20 is above array bounds of 'unsigned char [9]' [-Warray-bounds] ghost.values[ GVAL_SPELL_5 ] = search_order_misc[i]; ~~~~~~~~~~~~~~~~~~~^ files.cc:1812:40: warning: array subscript 21 is above array bounds of 'unsigned char [9]' [-Warray-bounds] if (search_order_misc[i] == SPELL_NO_SPELL) ~~~~~~~~~~~~~~~~~~~^ files.cc: In function 'void load(unsigned char, int, bool, char, char)': files.cc:464:14: warning: 'majorVersion' may be used uninitialized in this function [-Wmaybe-uninitialized] char majorVersion; ^~~~~~~~~~~~ files.cc:465:14: warning: 'minorVersion' may be used uninitialized in this function [-Wmaybe-uninitialized] char minorVersion; ^~~~~~~~~~~~ --- food.o --- food.cc: In function 'void eat_food()': food.cc:668:36: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size between 189 and 196 [-Wformat-truncation=] snprintf( info, INFO_SIZE, "Eat %s%s?", (mitm[o].quantity > 1) ? "one of " : "", ^~~~~~~~~~~ str_pass ); ~~~~~~~~ food.cc:668:17: note: 'snprintf' output between 6 and 212 bytes into a destination of size 200 snprintf( info, INFO_SIZE, "Eat %s%s?", (mitm[o].quantity > 1) ? "one of " : "", ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ str_pass ); ~~~~~~~~~~ --- hiscores.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c hiscores.cc --- initfile.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c initfile.cc --- hiscores.o --- hiscores.cc: In function 'void hiscores_format_single(char*, scorefile_entry&)': hiscores.cc:401:49: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size between 90 and 99 [-Wformat-truncation=] snprintf( scratch, sizeof(scratch), " %s%s%s", ^~~~~~~~~ hiscores.cc:401:21: note: 'snprintf' output between 2 and 210 bytes into a destination of size 100 snprintf( scratch, sizeof(scratch), " %s%s%s", ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (len + 3 * (need_by) < 30) ? "killed" : "", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (need_by) ? "by " : "", ~~~~~~~~~~~~~~~~~~~~~~~ se.auxkilldata ); ~~~~~~~~~~~~~~~~ hiscores.cc:359:45: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 88 [-Wformat-truncation=] snprintf( scratch, sizeof(scratch), " triggered a%s trap", ^~~~~~~~~~~~~~~~~~~~~ hiscores.cc:359:17: note: 'snprintf' output between 18 and 217 bytes into a destination of size 100 snprintf( scratch, sizeof(scratch), " triggered a%s trap", ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (se.auxkilldata[0] != '\0') ? se.auxkilldata : "" ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hiscores.cc:300:49: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size between 76 and 87 [-Wformat-truncation=] snprintf( scratch, sizeof(scratch), " engulfed by %s%s", ^~~~~~~~~~~~~~~~~~~ hiscores.cc:300:21: note: 'snprintf' output between 14 and 224 bytes into a destination of size 100 snprintf( scratch, sizeof(scratch), " engulfed by %s%s", ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (len < 15) ? "a cloud of " : "", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ se.auxkilldata ); ~~~~~~~~~~~~~~~~ hiscores.cc: In function 'int hiscores_format_single_long(char*, scorefile_entry&, bool)': hiscores.cc:790:49: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size between 190 and 193 [-Wformat-truncation=] snprintf( scratch, sizeof(scratch), "Killed %s%s", ^~~~~~~~~~~~~ hiscores.cc:790:21: note: 'snprintf' output between 8 and 210 bytes into a destination of size 200 snprintf( scratch, sizeof(scratch), "Killed %s%s", ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (strncmp( se.auxkilldata, "by ", 3 ) != 0) ? "by " : "", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ se.auxkilldata ); ~~~~~~~~~~~~~~~~ hiscores.cc:743:45: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 178 [-Wformat-truncation=] snprintf( scratch, sizeof(scratch), "Killed by triggering a%s trap", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hiscores.cc:743:17: note: 'snprintf' output between 28 and 227 bytes into a destination of size 200 snprintf( scratch, sizeof(scratch), "Killed by triggering a%s trap", ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (se.auxkilldata[0] != '\0') ? se.auxkilldata : "" ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hiscores.cc:696:49: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 193 [-Wformat-truncation=] snprintf( scratch, sizeof(scratch), "Killed %s", se.auxkilldata ); ^~~~~~~~~~~ hiscores.cc:696:21: note: 'snprintf' output between 8 and 207 bytes into a destination of size 200 snprintf( scratch, sizeof(scratch), "Killed %s", se.auxkilldata ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hiscores.cc:678:49: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 177 [-Wformat-truncation=] snprintf( scratch, sizeof(scratch), "Engulfed by a cloud of %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~ hiscores.cc:678:21: note: 'snprintf' output between 24 and 223 bytes into a destination of size 200 snprintf( scratch, sizeof(scratch), "Engulfed by a cloud of %s", ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ se.auxkilldata ); ~~~~~~~~~~~~~~~~ hiscores.cc:905:46: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 187 [-Wformat-truncation=] snprintf(scratch, INFO_SIZE, "... wielding %s", se.auxkilldata); ^~~~~~~~~~~~~~~~~ hiscores.cc:905:25: note: 'snprintf' output between 14 and 213 bytes into a destination of size 200 snprintf(scratch, INFO_SIZE, "... wielding %s", se.auxkilldata); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hiscores.cc:557:16: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-truncation] strncpy( scratch, skill_title( se.best_skill, se.best_skill_lvl, ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ se.race, se.str, se.dex, se.god ), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INFO_SIZE ); ~~~~~~~~~~~ --- insult.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c insult.cc --- initfile.o --- initfile.cc: In function 'void read_init_file()': initfile.cc:352:16: warning: 'char* strncat(char*, const char*, size_t)' specified bound 256 equals destination size [-Wstringop-overflow=] strncat(name_buff, "init.txt", kPathLen); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- insult.o --- insult.cc: In function 'void demon_taunt(monsters*)': insult.cc:87:61: warning: array subscript has type 'char' [-Wchar-subscripts] const char *voice = sound_list[ mons_shouts(mons->type) ]; ^ --- invent.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c invent.cc --- it_use2.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c it_use2.cc --- it_use3.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c it_use3.cc --- item_use.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c item_use.cc --- itemname.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c itemname.cc --- items.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c items.cc --- itemname.o --- itemname.cc: In function 'void save_id(char (*)[50])': itemname.cc:2091:21: warning: array subscript has type 'char' [-Wchar-subscripts] identy[x][jx] = id[x][jx]; ^ itemname.cc:2091:25: warning: array subscript has type 'char' [-Wchar-subscripts] identy[x][jx] = id[x][jx]; ^ itemname.cc:2091:33: warning: array subscript has type 'char' [-Wchar-subscripts] identy[x][jx] = id[x][jx]; ^ itemname.cc:2091:37: warning: array subscript has type 'char' [-Wchar-subscripts] identy[x][jx] = id[x][jx]; ^ itemname.cc: In function 'void clear_ids()': itemname.cc:2105:17: warning: array subscript has type 'char' [-Wchar-subscripts] id[i][j] = ID_UNKNOWN_TYPE; ^ itemname.cc:2105:20: warning: array subscript has type 'char' [-Wchar-subscripts] id[i][j] = ID_UNKNOWN_TYPE; ^ itemname.cc: In function 'void set_ident_type(char, char, char, bool)': itemname.cc:2125:30: warning: array subscript has type 'char' [-Wchar-subscripts] id[ IDTYPE_WANDS ][ty] = setting; ^ itemname.cc:2129:32: warning: array subscript has type 'char' [-Wchar-subscripts] id[ IDTYPE_SCROLLS ][ty] = setting; ^ itemname.cc:2133:34: warning: array subscript has type 'char' [-Wchar-subscripts] id[ IDTYPE_JEWELLERY ][ty] = setting; ^ itemname.cc:2137:32: warning: array subscript has type 'char' [-Wchar-subscripts] id[ IDTYPE_POTIONS ][ty] = setting; ^ itemname.cc: In function 'char get_ident_type(char, char)': itemname.cc:2150:37: warning: array subscript has type 'char' [-Wchar-subscripts] return id[ IDTYPE_WANDS ][ty]; ^ itemname.cc:2153:39: warning: array subscript has type 'char' [-Wchar-subscripts] return id[ IDTYPE_SCROLLS ][ty]; ^ itemname.cc:2156:41: warning: array subscript has type 'char' [-Wchar-subscripts] return id[ IDTYPE_JEWELLERY ][ty]; ^ itemname.cc:2159:39: warning: array subscript has type 'char' [-Wchar-subscripts] return id[ IDTYPE_POTIONS ][ty]; ^ itemname.cc: In function 'unsigned char check_item_knowledge()': itemname.cc:2788:67: warning: narrowing conversion of 'ft' from 'int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing] item_def tmp = { ft, j, 0, 0, 0, 1, 0, 0, 0, 0, 0 }; ^ itemname.cc:2788:67: warning: narrowing conversion of 'j' from 'int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing] itemname.cc: In function 'void make_name(unsigned char, unsigned char, unsigned char, char, char*)': itemname.cc:2941:65: warning: array subscript has type 'char' [-Wchar-subscripts] if (nexty == 1 || (i > 0 && !is_random_name_vowel(name[i]))) ^ itemname.cc:2943:19: warning: array subscript has type 'char' [-Wchar-subscripts] name[i] = retvow(numb[j]); ^ itemname.cc:2944:51: warning: array subscript has type 'char' [-Wchar-subscripts] if ((i == 0 || i == len - 1) && name[i] == 32) ^ itemname.cc:2952:73: warning: array subscript has type 'char' [-Wchar-subscripts] if (numb[i / 2] <= 1 && i > 3 && is_random_name_vowel(name[i])) ^ itemname.cc:2955:23: warning: array subscript has type 'char' [-Wchar-subscripts] name[i] = numb[j]; ^ itemname.cc:2961:55: warning: array subscript has type 'char' [-Wchar-subscripts] if ((nexty == 0 && is_random_name_vowel(name[i])) ^ itemname.cc:2962:59: warning: array subscript has type 'char' [-Wchar-subscripts] || (nexty == 1 && !is_random_name_vowel(name[i]))) ^ itemname.cc:2971:41: warning: array subscript has type 'char' [-Wchar-subscripts] if (!is_random_name_vowel(name[i])) ^ itemname.cc:2984:32: warning: array subscript has type 'char' [-Wchar-subscripts] if (i > 3 && name[i] == 0 && name[i + 1] == 0) ^ itemname.cc:2986:23: warning: array subscript has type 'char' [-Wchar-subscripts] name[i] = 0; ^ itemname.cc:2991:23: warning: array subscript has type 'char' [-Wchar-subscripts] if (name[i] != 32 && name[i] < 30) ^ itemname.cc:2991:40: warning: array subscript has type 'char' [-Wchar-subscripts] if (name[i] != 32 && name[i] < 30) ^ itemname.cc:2992:23: warning: array subscript has type 'char' [-Wchar-subscripts] name[i] += 65; ^ itemname.cc:2993:23: warning: array subscript has type 'char' [-Wchar-subscripts] if (name[i] > 96) ^ itemname.cc:2994:23: warning: array subscript has type 'char' [-Wchar-subscripts] name[i] -= 32; ^ itemname.cc:3001:33: warning: array subscript has type 'char' [-Wchar-subscripts] if (i != 0 && name[i] >= 65 && name[i] < 97) ^ itemname.cc:3001:50: warning: array subscript has type 'char' [-Wchar-subscripts] if (i != 0 && name[i] >= 65 && name[i] < 97) ^ itemname.cc:3004:27: warning: array subscript has type 'char' [-Wchar-subscripts] name[i] += 32; ^ itemname.cc:3007:23: warning: array subscript has type 'char' [-Wchar-subscripts] if (name[i] > 97) ^ itemname.cc:3010:27: warning: array subscript has type 'char' [-Wchar-subscripts] name[i] -= 32; ^ itemname.cc:3013:23: warning: array subscript has type 'char' [-Wchar-subscripts] if (name[i] < 30) ^ itemname.cc:3015:38: warning: array subscript has type 'char' [-Wchar-subscripts] if (i == 0 || (name[i] != 32 && name[i - 1] == 32)) ^ itemname.cc:3016:27: warning: array subscript has type 'char' [-Wchar-subscripts] name[i] += 65; ^ itemname.cc:3018:27: warning: array subscript has type 'char' [-Wchar-subscripts] name[i] += 97; ^ itemname.cc:3026:23: warning: array subscript has type 'char' [-Wchar-subscripts] if (name[i] != 32 && name[i] < 30) ^ itemname.cc:3026:40: warning: array subscript has type 'char' [-Wchar-subscripts] if (name[i] != 32 && name[i] < 30) ^ itemname.cc:3027:23: warning: array subscript has type 'char' [-Wchar-subscripts] name[i] += 97; ^ itemname.cc:3032:15: warning: array subscript has type 'char' [-Wchar-subscripts] name[i] += 65; ^ itemname.cc:3036:23: warning: array subscript has type 'char' [-Wchar-subscripts] if (name[i] != 32 && name[i] < 30) ^ itemname.cc:3036:40: warning: array subscript has type 'char' [-Wchar-subscripts] if (name[i] != 32 && name[i] < 30) ^ itemname.cc:3037:23: warning: array subscript has type 'char' [-Wchar-subscripts] name[i] += 97; //97; ^ --- items.o --- items.cc: In function 'int move_item_to_player(int, int, bool)': items.cc:994:10: warning: variable 'brek' set but not used [-Wunused-but-set-variable] char brek = 0; ^~~~ items.cc: In function 'void handle_time(long int)': items.cc:1954:35: warning: conversion from 'SPELL_TYPES' to 'unsigned char' changes value from '(SPELL_TYPES)16384' to '0' [-Woverflow] unsigned char which_miscast = SPTYP_RANDOM; ^~~~~~~~~~~~ items.cc:2017:37: warning: conversion from 'SPELL_TYPES' to 'unsigned char' changes value from '(SPELL_TYPES)1024' to '0' [-Woverflow] which_miscast = SPTYP_EARTH; ^~~~~~~~~~~ --- lev-pand.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c lev-pand.cc --- items.o --- items.cc: In function 'void drop()': items.cc:1396:32: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 191 [-Wformat-truncation=] snprintf( info, INFO_SIZE, "You drop %s.", str_pass ); ^~~~~~~~~~~~~~ ~~~~~~~~ items.cc:1396:13: note: 'snprintf' output between 11 and 210 bytes into a destination of size 200 snprintf( info, INFO_SIZE, "You drop %s.", str_pass ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ items.cc: In function 'void handle_time(long int)': items.cc:2251:40: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 183 [-Wformat-truncation=] snprintf( info, INFO_SIZE, "You are wielding %s.", str_pass ); ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ items.cc:2251:21: note: 'snprintf' output between 19 and 218 bytes into a destination of size 200 snprintf( info, INFO_SIZE, "You are wielding %s.", str_pass ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- libutil.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c libutil.cc --- macro.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c macro.cc --- maps.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c maps.cc --- item_use.o --- item_use.cc: In function 'void shoot_thing()': item_use.cc:1105:32: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 192 [-Wformat-truncation=] snprintf( info, INFO_SIZE, "Firing: %s", str_pass ); ^~~~~~~~~~~~ ~~~~~~~~ item_use.cc:1105:13: note: 'snprintf' output between 9 and 208 bytes into a destination of size 200 snprintf( info, INFO_SIZE, "Firing: %s", str_pass ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- itemname.o --- itemname.cc:3045:16: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 80 bytes from a string of length 199 [-Wstringop-truncation] strncpy( buff, name, 80 ); ~~~~~~~^~~~~~~~~~~~~~~~~~ In function 'char item_name_2(const item_def&, char*, bool)', inlined from 'char item_name(const item_def&, char, char*, bool)' at itemname.cc:386:16: itemname.cc:1951:16: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat( buff, (item_is_rod( item ) ? "rod" : "staff"), ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1951:16: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] itemname.cc:1951:16: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] itemname.cc:1853:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-truncation] strncat(buff, skill_name(it_plus), ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1573:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-truncation] strncat(buff, randart_ring_name(item), ITEMNAME_SIZE); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1479:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-truncation] strncat(buff, randart_ring_name(item), ITEMNAME_SIZE); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1330:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-truncation] strncat(buff, randart_ring_name(item), ITEMNAME_SIZE); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:890:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-truncation] strncat(buff, randart_armour_name(item), ITEMNAME_SIZE); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:626:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-truncation] strncat( buff, randart_name(item), ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:607:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat( buff, tmp_quant , ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:617:28: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat( buff, tmp_quant , ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:626:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat( buff, randart_name(item), ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:634:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, ~~~~~~~^~~~~~ (item.special == SPWPN_SINGING_SWORD) ? "Singing Sword" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_WRATH_OF_TROG) ? "Wrath of Trog" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_SCYTHE_OF_CURSES) ? "Scythe of Curses" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_MACE_OF_VARIABILITY) ? "Mace of Variability" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_GLAIVE_OF_PRUNE) ? "Glaive of Prune" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_SCEPTRE_OF_TORMENT) ? "Sceptre of Torment" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_SWORD_OF_ZONGULDROK) ? "Sword of Zonguldrok" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_SWORD_OF_CEREBOV) ? "Sword of Cerebov" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_STAFF_OF_DISPATER) ? "Staff of Dispater" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_SCEPTRE_OF_ASMODEUS) ? "Sceptre of Asmodeus" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_SWORD_OF_POWER) ? "Sword of Power" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_KNIFE_OF_ACCURACY) ? "Knife of Accuracy" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_STAFF_OF_OLGREB) ? "Staff of Olgreb" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_VAMPIRES_TOOTH) ? "Vampire's Tooth" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_STAFF_OF_WUCAD_MU) ? "Staff of Wucad Mu" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : "Brodale's Buggy Bola", ~~~~~~~~~~~~~~~~~~~~~~~~~ ITEMNAME_SIZE ); ~~~~~~~~~~~~~~~ itemname.cc:655:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, ~~~~~~~^~~~~~ (item.special == SPWPN_SINGING_SWORD) ? "golden long sword" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_WRATH_OF_TROG) ? "bloodstained battleaxe" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_SCYTHE_OF_CURSES) ? "warped scythe" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_MACE_OF_VARIABILITY) ? "shimmering mace" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_GLAIVE_OF_PRUNE) ? "purple glaive" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_SCEPTRE_OF_TORMENT) ? "jeweled golden mace" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_SWORD_OF_ZONGULDROK) ? "bone long sword" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_SWORD_OF_CEREBOV) ? "great serpentine sword" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_STAFF_OF_DISPATER) ? "golden staff" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_SCEPTRE_OF_ASMODEUS) ? "ruby sceptre" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_SWORD_OF_POWER) ? "chunky great sword" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_KNIFE_OF_ACCURACY) ? "thin dagger" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_STAFF_OF_OLGREB) ? "green glowing staff" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_VAMPIRES_TOOTH) ? "ivory dagger" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == SPWPN_STAFF_OF_WUCAD_MU) ? "quarterstaff" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : "buggy bola", ~~~~~~~~~~~~~~~ ITEMNAME_SIZE ); ~~~~~~~~~~~~~~~ itemname.cc:698:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat( buff, (terse) ? "orc " : "orcish ", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:701:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat( buff, (terse) ? "elf " : "elven ", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:704:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat( buff, (terse) ? "dwarf " : "dwarven ", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:717:16: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat( buff, tmp_buff, ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:717:16: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] itemname.cc:726:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? " (flame)" : " of flaming", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:729:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? " (freeze)" : " of freezing", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:732:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? " (holy)" : " of holy wrath", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:735:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? " (elec)" : " of electrocution", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:738:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? " (slay orc)" : " of orc slaying", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:741:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? " (venom)" : " of venom", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:744:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? " (protect)" : " of protection", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:747:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? " (drain)" : " of draining", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:750:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? " (speed)" : " of speed", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:756:28: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? " (crush)" : " of crushing", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:759:28: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? " (slice)" : " of slicing", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:762:28: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? " (pierce)" : " of piercing", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:765:28: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? " (chop)" : " of chopping", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:771:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? " (flame)" : " of flame", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:775:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? " (frost)" : " of frost", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:784:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? " (disrupt)" : " of disruption", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:787:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? " (pain)" : " of pain", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:790:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? " (distort)" : " of distortion", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:794:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? " (reach)" : " of reaching", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:810:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat( buff, (terse) ? "poison " : "poisoned ", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:820:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, tmp_quant, ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:828:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, ~~~~~~~^~~~~~ (dwpn == ISFLAG_ORCISH) ? ((terse) ? "orc " : "orcish ") : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (dwpn == ISFLAG_ELVEN) ? ((terse) ? "elf " : "elven ") : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (dwpn == ISFLAG_DWARVEN) ? ((terse) ? "dwarf " : "dwarven ") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : "buggy ", ~~~~~~~~~~~ ITEMNAME_SIZE); ~~~~~~~~~~~~~~ itemname.cc:836:16: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (item_typ == MI_STONE) ? "stone" : ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == MI_ARROW) ? "arrow" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == MI_BOLT) ? "bolt" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == MI_DART) ? "dart" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == MI_NEEDLE) ? "needle" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == MI_EGGPLANT) ? "eggplant" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == MI_LARGE_ROCK) ? "large rock" : "", ITEMNAME_SIZE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:850:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat( buff, ~~~~~~~^~~~~~~ (brand == SPMSL_FLAME) ? ((terse) ? " (flame)" : " of flame") : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (brand == SPMSL_ICE) ? ((terse) ? " (ice)" : " of ice") : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (brand == SPMSL_NORMAL) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (brand == SPMSL_POISONED) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (brand == SPMSL_POISONED_II) ? "" : " (buggy)", ITEMNAME_SIZE ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:878:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, tmp_quant, ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:890:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, randart_armour_name(item), ITEMNAME_SIZE); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:928:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? "elf " :"elven ", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:931:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? "dwarf " : "dwarven ", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:934:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (terse) ? "orc " : "orcish ", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:939:16: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat( buff, tmp_buff, ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:949:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (sparm == SPARM_RUNNING) ? "running" : ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_FIRE_RESISTANCE) ? "fire resistance" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_COLD_RESISTANCE) ? "cold resistance" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_POISON_RESISTANCE) ? "poison resistance" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_SEE_INVISIBLE) ? "see invisible" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_DARKNESS) ? "darkness" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_STRENGTH) ? "strength" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_DEXTERITY) ? "dexterity" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_INTELLIGENCE) ? "intelligence" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_PONDEROUSNESS) ? "ponderousness" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_LEVITATION) ? "levitation" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_MAGIC_RESISTANCE) ? "magic resistance" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_PROTECTION) ? "protection" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_STEALTH) ? "stealth" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_RESISTANCE) ? "resistance" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_POSITIVE_ENERGY) ? "positive energy" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_ARCHMAGI) ? "the Archmagi" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_PRESERVATION) ? "preservation" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : "bugginess", ~~~~~~~~~~~~~~ ITEMNAME_SIZE); ~~~~~~~~~~~~~~ itemname.cc:972:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (sparm == SPARM_RUNNING) ? " (run)" : ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_FIRE_RESISTANCE) ? " (R-fire)" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_COLD_RESISTANCE) ? " (R-cold)" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_POISON_RESISTANCE) ? " (R-poison)" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_SEE_INVISIBLE) ? " (see invis)" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_DARKNESS) ? " (darkness)" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_STRENGTH) ? " (str)" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_DEXTERITY) ? " (dex)" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_INTELLIGENCE) ? " (int)" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_PONDEROUSNESS) ? " (ponderous)" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_LEVITATION) ? " (levitate)" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_MAGIC_RESISTANCE) ? " (R-magic)" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_PROTECTION) ? " (protect)" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_STEALTH) ? " (stealth)" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_RESISTANCE) ? " (resist)" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_POSITIVE_ENERGY) ? " (R-neg)" : // ha ha ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_ARCHMAGI) ? " (Archmagi)" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (sparm == SPARM_PRESERVATION) ? " (preserve)" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : " (buggy)", ~~~~~~~~~~~~~ ITEMNAME_SIZE); ~~~~~~~~~~~~~~ itemname.cc:1005:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (item_typ == WAND_FLAME) ? "flame" : ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == WAND_FROST) ? "frost" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == WAND_SLOWING) ? "slowing" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == WAND_HASTING) ? "hasting" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == WAND_MAGIC_DARTS) ? "magic darts" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == WAND_HEALING) ? "healing" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == WAND_PARALYSIS) ? "paralysis" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == WAND_FIRE) ? "fire" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == WAND_COLD) ? "cold" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == WAND_CONFUSION) ? "confusion" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == WAND_INVISIBILITY) ? "invisibility" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == WAND_DIGGING) ? "digging" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == WAND_FIREBALL) ? "fireball" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == WAND_TELEPORTATION) ? "teleportation" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == WAND_LIGHTNING) ? "lightning" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == WAND_POLYMORPH_OTHER) ? "polymorph other" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == WAND_ENSLAVEMENT) ? "enslavement" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == WAND_DRAINING) ? "draining" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == WAND_RANDOM_EFFECTS) ? "random effects" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == WAND_DISINTEGRATION) ? "disintegration" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : "bugginess", ~~~~~~~~~~~~~~ ITEMNAME_SIZE ); ~~~~~~~~~~~~~~~ itemname.cc:1053:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (primary == 0) ? "iron" : ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 1) ? "brass" : ~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 2) ? "bone" : ~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 3) ? "wooden" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 4) ? "copper" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 5) ? "gold" : ~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 6) ? "silver" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 7) ? "bronze" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 8) ? "ivory" : ~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 9) ? "glass" : ~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 10) ? "lead" : ~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 11) ? "plastic" : "buggy", ITEMNAME_SIZE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1078:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, tmp_quant, ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1092:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (it_quant == 1) ? " " : "s ", ITEMNAME_SIZE); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1094:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (item_typ == POT_HEALING) ? "healing" : ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_HEAL_WOUNDS) ? "heal wounds" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_SPEED) ? "speed" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_MIGHT) ? "might" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_GAIN_STRENGTH) ? "gain strength" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_GAIN_DEXTERITY) ? "gain dexterity" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_GAIN_INTELLIGENCE) ? "gain intelligence" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_LEVITATION) ? "levitation" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_POISON) ? "poison" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_SLOWING) ? "slowing" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_PARALYSIS) ? "paralysis" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_CONFUSION) ? "confusion" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_INVISIBILITY) ? "invisibility" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_PORRIDGE) ? "porridge" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_DEGENERATION) ? "degeneration" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_DECAY) ? "decay" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_WATER) ? "water" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_EXPERIENCE) ? "experience" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_MAGIC) ? "magic" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_RESTORE_ABILITIES) ? "restore abilities" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_STRONG_POISON) ? "strong poison" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_BERSERK_RAGE) ? "berserk rage" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_CURE_MUTATION) ? "cure mutation" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == POT_MUTATION) ? "mutation" : "bugginess", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ITEMNAME_SIZE); ~~~~~~~~~~~~~~ itemname.cc:1125:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, ~~~~~~~^~~~~~ (primary == 0) ? "" : ~~~~~~~~~~~~~~~~~~~~~~ (primary == 1) ? "bubbling " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 2) ? "lumpy " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 3) ? "fuming " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 4) ? "smoky " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 5) ? "fizzy " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 6) ? "glowing " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 7) ? "sedimented " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 8) ? "metallic " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 9) ? "murky " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 10) ? "gluggy " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 11) ? "viscous " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 12) ? "oily " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 13) ? "slimy " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 14) ? "emulsified " : "buggy ", ITEMNAME_SIZE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1142:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, ~~~~~~~^~~~~~ (secondary == 0) ? "clear" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 1) ? "blue" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 2) ? "black" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 3) ? "silvery" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 4) ? "cyan" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 5) ? "purple" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 6) ? "orange" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 7) ? "inky" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 8) ? "red" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 9) ? "yellow" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 10) ? "green" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 11) ? "brown" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 12) ? "pink" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 13) ? "white" : "buggy", ITEMNAME_SIZE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1250:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, tmp_buff, ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1258:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (it_quant > 1) ? "ie" : "y", ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1264:16: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (it_quant == 1) ? " " : "s ", ITEMNAME_SIZE); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1303:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat( buff, buff3 , ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1270:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (item_typ == SCR_IDENTIFY) ? "identify" : ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_TELEPORTATION) ? "teleportation" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_FEAR) ? "fear" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_NOISE) ? "noise" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_REMOVE_CURSE) ? "remove curse" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_DETECT_CURSE) ? "detect curse" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_SUMMONING) ? "summoning" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_ENCHANT_WEAPON_I) ? "enchant weapon I" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_ENCHANT_ARMOUR) ? "enchant armour" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_TORMENT) ? "torment" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_RANDOM_USELESSNESS) ? "random uselessness" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_CURSE_WEAPON) ? "curse weapon" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_CURSE_ARMOUR) ? "curse armour" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_IMMOLATION) ? "immolation" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_BLINKING) ? "blinking" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_PAPER) ? "paper" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_MAGIC_MAPPING) ? "magic mapping" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_FORGETFULNESS) ? "forgetfulness" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_ACQUIREMENT) ? "acquirement" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_ENCHANT_WEAPON_II) ? "enchant weapon II" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_VORPALISE_WEAPON) ? "vorpalise weapon" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_RECHARGING) ? "recharging" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //(item_typ == 23) ? "portal travel" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == SCR_ENCHANT_WEAPON_III) ? "enchant weapon III" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : "bugginess", ~~~~~~~~~~~~~~ ITEMNAME_SIZE); ~~~~~~~~~~~~~~ itemname.cc:1330:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, randart_ring_name(item), ITEMNAME_SIZE); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1350:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat( buff, tmp_quant , ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1360:28: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat( buff, tmp_quant , ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1479:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, randart_ring_name(item), ITEMNAME_SIZE); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1573:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, randart_ring_name(item), ITEMNAME_SIZE); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1676:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat( buff, (it_plus == RUNE_DIS) ? "iron" : ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (it_plus == RUNE_GEHENNA) ? "obsidian" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (it_plus == RUNE_COCYTUS) ? "icy" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (it_plus == RUNE_TARTARUS) ? "bone" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (it_plus == RUNE_SLIME_PITS) ? "slimy" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (it_plus == RUNE_VAULTS) ? "silver" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (it_plus == RUNE_SNAKE_PIT) ? "serpentine" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (it_plus == RUNE_ELVEN_HALLS) ? "elven" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (it_plus == RUNE_TOMB) ? "golden" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (it_plus == RUNE_SWAMP) ? "decaying" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // pandemonium and abyss runes: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (it_plus == RUNE_DEMONIC) ? "demonic" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (it_plus == RUNE_ABYSSAL) ? "abyssal" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // special pandemonium runes: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (it_plus == RUNE_MNOLEG) ? "glowing" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (it_plus == RUNE_LOM_LOBON) ? "magical" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (it_plus == RUNE_CEREBOV) ? "fiery" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (it_plus == RUNE_GLOORX_VLOQ) ? "dark" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : "buggy", ~~~~~~~~~~ ITEMNAME_SIZE); ~~~~~~~~~~~~~~ itemname.cc:1714:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, item_not_ident( item, ISFLAG_KNOW_TYPE ) ? "cards" : ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == MISC_DECK_OF_WONDERS) ? "wonders" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == MISC_DECK_OF_SUMMONINGS) ? "summonings" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == MISC_DECK_OF_TRICKS) ? "tricks" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == MISC_DECK_OF_POWER) ? "power" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : "bugginess", ~~~~~~~~~~~~~~ ITEMNAME_SIZE); ~~~~~~~~~~~~~~ itemname.cc:1730:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, ~~~~~~~^~~~~~ (item_typ == MISC_CRYSTAL_BALL_OF_SEEING) ? "seeing" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == MISC_CRYSTAL_BALL_OF_ENERGY) ? "energy" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == MISC_CRYSTAL_BALL_OF_FIXATION) ? "fixation" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : "bugginess", ~~~~~~~~~~~~~~ ITEMNAME_SIZE); ~~~~~~~~~~~~~~ itemname.cc:1802:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (item_not_ident( item, ISFLAG_KNOW_TYPE )) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ? "sealed bronze flask" : "bottled efreet", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ITEMNAME_SIZE ); ~~~~~~~~~~~~~~~ itemname.cc:1824:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (primary == 0) ? "" : ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 1) ? "chunky " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 2) ? "thick " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 3) ? "thin " : ~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 4) ? "wide " : ~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 5) ? "glowing " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 6) ? "dog-eared " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 7) ? "oblong " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 8) ? "runed " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ // these last three were single spaces {dlb} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (primary == 9) ? "" : ~~~~~~~~~~~~~~~~~~~~~ (primary == 10) ? "" : (primary == 11) ? "" : "buggily ", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ITEMNAME_SIZE); ~~~~~~~~~~~~~~ itemname.cc:1839:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (secondary == 0) ? "paperback " : ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 1) ? "hardcover " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 2) ? "leatherbound " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 3) ? "metal-bound " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 4) ? "papyrus " : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // these two were single spaces, too {dlb} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 5) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 6) ? "" : "buggy ", ITEMNAME_SIZE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1853:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, skill_name(it_plus), ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1866:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (item_typ == BOOK_MINOR_MAGIC_I ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || item_typ == BOOK_MINOR_MAGIC_II ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || item_typ == BOOK_MINOR_MAGIC_III) ? "Minor Magic" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_CONJURATIONS_I ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || item_typ == BOOK_CONJURATIONS_II) ? "Conjurations" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_FLAMES) ? "Flames" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_FROST) ? "Frost" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_SUMMONINGS) ? "Summonings" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_FIRE) ? "Fire" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_ICE) ? "Ice" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_SURVEYANCES) ? "Surveyances" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_SPATIAL_TRANSLOCATIONS) ? "Spatial Translocations" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_ENCHANTMENTS) ? "Enchantments" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_TEMPESTS) ? "the Tempests" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_DEATH) ? "Death" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_HINDERANCE) ? "Hinderance" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_CHANGES) ? "Changes" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_TRANSFIGURATIONS) ? "Transfigurations" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_PRACTICAL_MAGIC) ? "Practical Magic" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_WAR_CHANTS) ? "War Chants" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_CLOUDS) ? "Clouds" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_HEALING) ? "Healing" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_NECROMANCY) ? "Necromancy" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_CALLINGS) ? "Callings" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_CHARMS) ? "Charms" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_DEMONOLOGY) ? "Demonology" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_AIR) ? "Air" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_SKY) ? "the Sky" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_DIVINATIONS) ? "Divinations" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_WARP) ? "the Warp" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_ENVENOMATIONS) ? "Envenomations" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_ANNIHILATIONS) ? "Annihilations" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_UNLIFE) ? "Unlife" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_CONTROL) ? "Control" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_MUTATIONS) ? "Morphology" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_TUKIMA) ? "Tukima" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_GEOMANCY) ? "Geomancy" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_EARTH) ? "the Earth" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_WIZARDRY) ? "Wizardry" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_POWER) ? "Power" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_CANTRIPS) ? "Cantrips" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_PARTY_TRICKS) ? "Party Tricks" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == BOOK_STALKING) ? "Stalking" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : "Bugginess", ~~~~~~~~~~~~~~ ITEMNAME_SIZE ); ~~~~~~~~~~~~~~~ itemname.cc:1918:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (item.special == 0) ? "curved" : ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 1) ? "glowing" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 2) ? "thick" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 3) ? "thin" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 4) ? "long" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 5) ? "twisted" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 6) ? "jeweled" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 7) ? "runed" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 8) ? "smoking" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 9) ? "gnarled" : // was "" {dlb} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 10) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 11) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 12) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 13) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 14) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 15) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 16) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 17) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 18) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 19) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 20) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 21) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 22) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 23) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 24) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 25) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 26) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 27) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 28) ? "" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item.special == 29) ? "" : "buggy", ITEMNAME_SIZE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1957:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (item_typ == STAFF_WIZARDRY) ? "wizardry" : ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == STAFF_POWER) ? "power" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == STAFF_FIRE) ? "fire" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == STAFF_COLD) ? "cold" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == STAFF_POISON) ? "poison" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == STAFF_ENERGY) ? "energy" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == STAFF_DEATH) ? "death" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == STAFF_CONJURATION) ? "conjuration" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == STAFF_ENCHANTMENT) ? "enchantment" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == STAFF_SMITING) ? "smiting" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == STAFF_STRIKING) ? "striking" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == STAFF_WARDING) ? "warding" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == STAFF_DISCOVERY) ? "discovery" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == STAFF_DEMONOLOGY) ? "demonology" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == STAFF_AIR) ? "air" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == STAFF_EARTH) ? "earth" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == STAFF_SUMMONING ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || item_typ == STAFF_SPELL_SUMMONING) ? "summoning" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == STAFF_DESTRUCTION_I ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || item_typ == STAFF_DESTRUCTION_II ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || item_typ == STAFF_DESTRUCTION_III ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || item_typ == STAFF_DESTRUCTION_IV) ? "destruction" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == STAFF_CHANNELING) ? "channeling" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : "bugginess", ITEMNAME_SIZE ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1988:16: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat( buff, (item_typ == ORB_ZOT) ? "Zot" : ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /* ****************************************************************** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 1) ? "Zug" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 2) ? "Xob" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 3) ? "Ix" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 4) ? "Xug" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 5) ? "Zob" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 6) ? "Ik" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 7) ? "Grolp" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 8) ? "fo brO ehT" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 9) ? "Plob" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 10) ? "Zuggle-Glob" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 11) ? "Zin" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 12) ? "Qexigok" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 13) ? "Bujuk" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 14) ? "Uhen Tiquritu" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 15) ? "Idohoxom Sovuf" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 16) ? "Voc Vocilicoso" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 17) ? "Chanuaxydiviha" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 18) ? "Ihexodox" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 19) ? "Rynok Pol" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 20) ? "Nemelex" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 21) ? "Sif Muna" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 22) ? "Okawaru" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == 23) ? "Kikubaaqudgha" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ****************************************************************** */ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Bugginess", ITEMNAME_SIZE ); // change back to "Zot" if source of problems cannot be found {dlb} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:2034:16: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, (item_typ == CORPSE_BODY) ? "corpse" : ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (item_typ == CORPSE_SKELETON) ? "skeleton" : "corpse bug", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ITEMNAME_SIZE ); ~~~~~~~~~~~~~~~ itemname.cc:2050:16: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, ugug, ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:2053:16: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, ugug, ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:2056:16: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, ugug, ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:2059:16: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, ugug, ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:2062:16: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, ugug, ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:2065:16: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, ugug, ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:1033:20: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff,(secondary == 0) ? "" : // hope this works {dlb} ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 1) ? "jeweled" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 2) ? "curved" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 3) ? "long" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 4) ? "short" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 5) ? "twisted" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 6) ? "crooked" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 7) ? "forked" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 8) ? "shiny" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 9) ? "blackened" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 10) ? "tapered" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 11) ? "glowing" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 12) ? "worn" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 13) ? "encrusted" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 14) ? "runed" : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (secondary == 15) ? "sharpened" : "buggily", ITEMNAME_SIZE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:2032:16: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat(buff, tmp_buff, ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ itemname.cc:2032:16: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] itemname.cc:1350:24: warning: 'char* strncat(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-overflow=] strncat( buff, tmp_quant , ITEMNAME_SIZE ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- message.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c message.cc --- misc.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c misc.cc misc.cc: In function 'void down_stairs(bool, int)': misc.cc:754:13: warning: variable 'sysg' set but not used [-Wunused-but-set-variable] int sysg; ^~~~ misc.cc:540:10: warning: variable 'leave_abyss_pan' set but not used [-Wunused-but-set-variable] bool leave_abyss_pan = false; ^~~~~~~~~~~~~~~ misc.cc:760:16: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 28 bytes from a string of length 29 [-Wstringop-truncation] strncpy(glorpstr, you.your_name, kFileNameLen); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- monplace.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c monplace.cc --- mon-pick.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c mon-pick.cc --- monstuff.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c monstuff.cc monstuff.cc: In function 'void get_mimic_item(const monsters*, item_def&)': monstuff.cc:100:44: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] item.special = ((mimic->x << 8 + mimic->y) & RANDART_SEED_MASK); ~~^~~~~~~~~~ monstuff.cc:123:44: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] item.special = ((mimic->x << 8 + mimic->y) & RANDART_SEED_MASK); ~~^~~~~~~~~~ monstuff.cc: In function 'void handle_nearby_ability(monsters*)': monstuff.cc:2214:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if (monster_habitat(monster->type) == grd[monster->x][monster->y] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && (one_chance_in(5) ^~~~~~~~~~~~~~~~~~~~ || (grid_distance( monster->x, monster->y, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ you.x_pos, you.y_pos ) > 1 ~~~~~~~~~~~~~~~~~~~~~~~~~~ && monster->type != MONS_ELECTRICAL_EEL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && monster->type != MONS_LAVA_SNAKE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !one_chance_in(20)) ~~~~~~~~~~~~~~~~~~~~~~ || monster->hit_points <= monster->max_hit_points / 2) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- monspeak.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c monspeak.cc --- mon-util.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c mon-util.cc --- mstuff2.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c mstuff2.cc --- mutation.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c mutation.cc --- newgame.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c newgame.cc newgame.cc:1914:29: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] cprintf(EOL "Press to answer this after race and class are chosen."EOL); ^ --- mutation.o --- mutation.cc: In function 'bool mutate(int, bool)': mutation.cc:1187:55: warning: array subscript has type 'char' [-Wchar-subscripts] || random2(10) >= mutation_rarity[mutat] + you.demon_pow[mutat]); ^ mutation.cc:1341:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(gain_mutation[mutat][0], MSGCH_MUTATION); ^ mutation.cc:1351:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(gain_mutation[mutat][0], MSGCH_MUTATION); ^ mutation.cc:1361:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(gain_mutation[mutat][0], MSGCH_MUTATION); ^ mutation.cc:1372:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); ^ mutation.cc:1383:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); ^ mutation.cc:1392:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); ^ mutation.cc:1401:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); ^ mutation.cc:1405:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); ^ mutation.cc:1414:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); ^ mutation.cc:1424:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); ^ mutation.cc:1429:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); ^ mutation.cc:1434:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); ^ mutation.cc:1450:35: warning: array subscript has type 'char' [-Wchar-subscripts] mpr( gain_mutation[ mutat ][ you.mutation[mutat] ], MSGCH_MUTATION ); ^ mutation.cc:1469:36: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); ^ mutation.cc:1497:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(gain_mutation[mutat][0], MSGCH_MUTATION); ^ mutation.cc:1508:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(gain_mutation[mutat][0], MSGCH_MUTATION); ^ mutation.cc:1517:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); ^ mutation.cc:1528:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); ^ mutation.cc:1538:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); ^ mutation.cc:1545:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); ^ mutation.cc:1554:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); ^ mutation.cc:1562:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); ^ mutation.cc: In function 'bool delete_mutation(char)': mutation.cc:1624:55: warning: array subscript has type 'char' [-Wchar-subscripts] || random2(10) >= mutation_rarity[mutat] ^ mutation.cc:1640:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(lose_mutation[mutat][0], MSGCH_MUTATION); ^ mutation.cc:1645:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(lose_mutation[mutat][0], MSGCH_MUTATION); ^ mutation.cc:1650:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(lose_mutation[mutat][0], MSGCH_MUTATION); ^ mutation.cc:1667:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(lose_mutation[mutat][you.mutation[mutat] - 1], MSGCH_MUTATION); ^ mutation.cc:1671:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(lose_mutation[mutat][you.mutation[mutat] - 1], MSGCH_MUTATION); ^ mutation.cc:1675:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(lose_mutation[mutat][you.mutation[mutat] - 1], MSGCH_MUTATION); ^ mutation.cc:1680:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(lose_mutation[mutat][you.mutation[mutat] - 1], MSGCH_MUTATION); ^ mutation.cc:1686:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(lose_mutation[mutat][0], MSGCH_MUTATION); ^ mutation.cc:1692:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(lose_mutation[mutat][0], MSGCH_MUTATION); ^ mutation.cc:1696:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(lose_mutation[mutat][0], MSGCH_MUTATION); ^ mutation.cc:1703:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(lose_mutation[mutat][0], MSGCH_MUTATION); ^ mutation.cc:1714:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(lose_mutation[mutat][you.mutation[mutat] - 1], MSGCH_MUTATION); ^ mutation.cc:1720:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(lose_mutation[mutat][you.mutation[mutat] - 1], MSGCH_MUTATION); ^ mutation.cc:1729:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(lose_mutation[mutat][you.mutation[mutat] - 1], MSGCH_MUTATION); ^ mutation.cc:1737:32: warning: array subscript has type 'char' [-Wchar-subscripts] mpr(lose_mutation[mutat][you.mutation[mutat] - 1], MSGCH_MUTATION); ^ mutation.cc: In function 'const char* mutation_name(char, int)': mutation.cc:1819:49: warning: array subscript has type 'char' [-Wchar-subscripts] mutation_descrip[ which_mutat ][0], level ); ^ mutation.cc:1826:39: warning: array subscript has type 'char' [-Wchar-subscripts] if (mutation_descrip[ which_mutat ][ level - 1 ][0] == '\0') ^ mutation.cc:1827:47: warning: array subscript has type 'char' [-Wchar-subscripts] return (mutation_descrip[ which_mutat ][ 0 ]); ^ mutation.cc:1829:47: warning: array subscript has type 'char' [-Wchar-subscripts] return (mutation_descrip[ which_mutat ][ level - 1 ]); ^ --- ouch.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c ouch.cc --- output.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c output.cc --- overmap.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c overmap.cc --- player.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c player.cc --- randart.o --- --- religion.o --- --- randart.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c randart.cc --- religion.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c religion.cc --- newgame.o --- newgame.cc: In function 'bool check_saved_game()': newgame.cc:257:12: warning: 'char* strncat(char*, const char*, size_t)' output may be truncated copying 28 bytes from a string of length 29 [-Wstringop-truncation] strncat(char_fil, you.your_name, kFileNameLen); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- shopping.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c shopping.cc --- newgame.o --- newgame.cc: In function 'void choose_weapon()': newgame.cc:1392:40: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 196 [-Wformat-truncation=] snprintf( info, INFO_SIZE, "%c - %s%s" EOL, 'a' + i, wepName, ~~~~~~~ newgame.cc:1392:21: note: 'snprintf' output between 6 and 217 bytes into a destination of size 200 snprintf( info, INFO_SIZE, "%c - %s%s" EOL, 'a' + i, wepName, ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (x <= -4) ? " (not ideal)" : "" ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newgame.cc: In function 'bool new_game()': newgame.cc:2333:72: warning: array subscript 38 is above array bounds of 'const int [34]' [-Warray-bounds] while (skill == SK_INVOCATIONS && you.skills[all_skills[ skill ]]); ~~~~~~~~~~~~~~~~~~^ --- randart.o --- randart.cc: In function 'void randart_wpn_properties(const item_def&, FixedVector&)': randart.cc:1194:9: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || !cmp_equip_race( item, ISFLAG_ELVEN ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && get_armour_ego_type( item ) != SPARM_STEALTH)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- newgame.o --- newgame.cc:338:16: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 80 equals destination size [-Wstringop-truncation] strncpy(spec_buff, species_name(you.species, you.experience_level), 80); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- skills.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c skills.cc --- skills2.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c skills2.cc --- spells1.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c spells1.cc --- skills2.o --- skills2.cc: In function 'int species_skills(char, char)': skills2.cc:2265:47: warning: array subscript has type 'char' [-Wchar-subscripts] return (spec_skills[species - 1][skill] * 130) / 100; ^ skills2.cc:2267:47: warning: array subscript has type 'char' [-Wchar-subscripts] return (spec_skills[species - 1][skill] * 75) / 100; ^ skills2.cc:2269:47: warning: array subscript has type 'char' [-Wchar-subscripts] return (spec_skills[species - 1][skill]); ^ --- spells2.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c spells2.cc --- skills2.o --- skills2.cc: In function 'void wield_warning(bool)': skills2.cc:2324:48: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 171 [-Wformat-truncation=] snprintf( info, INFO_SIZE, "You'd be more effective with " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s if you were nimbler.", wepstr ); ~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ skills2.cc:2324:29: note: 'snprintf' output between 51 and 250 bytes into a destination of size 200 snprintf( info, INFO_SIZE, "You'd be more effective with " ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s if you were nimbler.", wepstr ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ skills2.cc:2319:48: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 191 [-Wformat-truncation=] snprintf( info, INFO_SIZE, "Wielding %s is %s awkward.", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ wepstr, (you.dex < 7) ? "fairly" : "a little" ); ~~~~~~ skills2.cc:2319:29: note: 'snprintf' output between 29 and 230 bytes into a destination of size 200 snprintf( info, INFO_SIZE, "Wielding %s is %s awkward.", ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wepstr, (you.dex < 7) ? "fairly" : "a little" ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ skills2.cc:2312:48: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 171 [-Wformat-truncation=] snprintf( info, INFO_SIZE, "You'd be more effective with " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s if you were stronger.", wepstr); ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ skills2.cc:2312:29: note: 'snprintf' output between 52 and 251 bytes into a destination of size 200 snprintf( info, INFO_SIZE, "You'd be more effective with " ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s if you were stronger.", wepstr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ skills2.cc:2309:48: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size between 165 and 174 [-Wformat-truncation=] snprintf( info, INFO_SIZE, "You have %strouble swinging %s.", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (you.strength < 7)?"":"a little ", wepstr); ~~~~~~ skills2.cc:2309:29: note: 'snprintf' output between 28 and 236 bytes into a destination of size 200 snprintf( info, INFO_SIZE, "You have %strouble swinging %s.", ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (you.strength < 7)?"":"a little ", wepstr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- spells3.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c spells3.cc --- spells4.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c spells4.cc --- player.o --- player.cc: In function 'int get_species_index_by_name(const char*)': player.cc:3429:12: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 80 equals destination size [-Wstringop-truncation] strncpy( lowered_buff, name, sizeof( lowered_buff ) ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ player.cc: In function 'int get_class_index_by_name(const char*)': player.cc:3503:12: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 80 equals destination size [-Wstringop-truncation] strncpy( lowered_buff, name, sizeof( lowered_buff ) ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ player.cc:3511:16: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 80 equals destination size [-Wstringop-truncation] strncpy( lowered_class, Class_Name_List[i], sizeof( lowered_class ) ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- spl-book.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c spl-book.cc --- spl-cast.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c spl-cast.cc --- spells4.o --- spells4.cc: In function 'void cast_fulsome_distillation(int)': spells4.cc:2057:40: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 178 [-Wformat-truncation=] snprintf( info, INFO_SIZE, "Distill a potion from %s?", str_pass ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ spells4.cc:2057:21: note: 'snprintf' output between 24 and 223 bytes into a destination of size 200 snprintf( info, INFO_SIZE, "Distill a potion from %s?", str_pass ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spells4.cc:2176:32: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 188 [-Wformat-truncation=] snprintf( info, INFO_SIZE, "You extract %s from the corpse.", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ str_pass ); ~~~~~~~~ spells4.cc:2176:13: note: 'snprintf' output between 30 and 229 bytes into a destination of size 200 snprintf( info, INFO_SIZE, "You extract %s from the corpse.", ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ str_pass ); ~~~~~~~~~~ --- spl-cast.o --- spl-cast.cc: In function 'bool cast_a_spell()': spl-cast.cc:522:10: warning: variable 'spc2' set but not used [-Wunused-but-set-variable] char spc2 = 0; ^~~~ --- spl-util.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c spl-util.cc --- stuff.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c stuff.cc --- tags.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c tags.cc --- transfor.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c transfor.cc --- spl-util.o --- spl-util.cc: In function 'void init_playerspells()': spl-util.cc:73:62: warning: array subscript 210 is above array bounds of 'int [204]' [-Warray-bounds] plyrspell_list[x] = plyrspell_list[SPELL_NO_SPELL]; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ --- view.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c view.cc --- transfor.o --- transfor.cc: In function 'bool remove_equipment(FixedVector&)': transfor.cc:61:36: warning: ' falls away.' directive output may be truncated writing 12 bytes into a region of size between 1 and 200 [-Wformat-truncation=] snprintf( info, INFO_SIZE, "%s falls away.", str_pass ); ^~~~~~~~~~~~~~~~ transfor.cc:61:17: note: 'snprintf' output between 13 and 212 bytes into a destination of size 200 snprintf( info, INFO_SIZE, "%s falls away.", str_pass ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- wpn-misc.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c wpn-misc.cc --- tags.o --- tags.cc: In function 'void make_date_string(time_t, char*)': tags.cc:295:15: warning: '%02d' directive output may be truncated writing between 2 and 11 bytes into a region of size between 0 and 8 [-Wformat-truncation=] "%4d%02d%02d%02d%02d%02d%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tags.cc:294:13: note: 'snprintf' output between 16 and 68 bytes into a destination of size 20 snprintf( buff, 20, ~~~~~~~~^~~~~~~~~~~ "%4d%02d%02d%02d%02d%02d%s", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ date->tm_year + 1900, date->tm_mon, date->tm_mday, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ date->tm_hour, date->tm_min, date->tm_sec, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ((date->tm_isdst > 0) ? "D" : "S") ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- liblinux.o --- c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD -c liblinux.cc liblinux.cc: In function 'int wherex()': liblinux.cc:709:12: warning: variable 'y' set but not used [-Wunused-but-set-variable] int x, y; ^ --- crawl --- c++ -L/usr/local/lib -Wl,-rpath=/usr/local/lib -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -fsigned-char -std=gnu++98 -Wall -DBSD abl-show.o abyss.o acr.o beam.o chardump.o cloud.o command.o debug.o delay.o decks.o describe.o direct.o dungeon.o effects.o fight.o files.o food.o hiscores.o initfile.o insult.o invent.o it_use2.o it_use3.o item_use.o itemname.o items.o lev-pand.o libutil.o macro.o maps.o message.o misc.o monplace.o mon-pick.o monstuff.o monspeak.o mon-util.o mstuff2.o mutation.o newgame.o ouch.o output.o overmap.o player.o randart.o religion.o shopping.o skills.o skills2.o spells1.o spells2.o spells3.o spells4.o spl-book.o spl-cast.o spl-util.o stuff.o tags.o transfor.o view.o wpn-misc.o liblinux.o -o crawl -lncurses strip crawl chmod 711 crawl -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> dungeoncrawl-4.0.0.b26 depends on file: /usr/local/lib/libncurses.so.6 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for dungeoncrawl-4.0.0.b26 ===> Generating temporary packing list install -s -m 555 /construction/games/dungeoncrawl/dc400b26-src/source/crawl /construction/games/dungeoncrawl/stage/usr/local/bin/dungeoncrawl install -m 444 /construction/games/dungeoncrawl/dc400b26-src/source/../docs/crawl.6 /construction/games/dungeoncrawl/stage/usr/local/man/man6/dungeoncrawl.6 install -m 0644 /construction/games/dungeoncrawl/dc400b26-src/source/../docs/buglist.txt /construction/games/dungeoncrawl/stage/usr/local/share/doc/dungeoncrawl install -m 0644 /construction/games/dungeoncrawl/dc400b26-src/source/../docs/crawl.txt /construction/games/dungeoncrawl/stage/usr/local/share/doc/dungeoncrawl ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for dungeoncrawl-4.0.0.b26 file sizes/checksums [4]: . done packing files [4]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 7 MAR 2019 at 07:41:27 UTC Duration: 00:00:36