=>> Building games/avanor build started at Sat Apr 6 00:30:11 BST 2024 port directory: /usr/ports/games/avanor package name: avanor-0.5.8 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 850 Mar 8 2023 /usr/ports/games/avanor/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: c014f9c79a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 17 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/17/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/avanor/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/avanor/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/avanor/work/.cache HOME=/wrkdirs/usr/ports/games/avanor/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/avanor/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/avanor/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/avanor/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/avanor/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/avanor/work/.cache HOME=/wrkdirs/usr/ports/games/avanor/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/avanor/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/avanor/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/avanor" EXAMPLESDIR="share/examples/avanor" DATADIR="share/avanor" WWWDIR="www/avanor" ETCDIR="etc/avanor" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/avanor DOCSDIR=/usr/local/share/doc/avanor EXAMPLESDIR=/usr/local/share/examples/avanor WWWDIR=/usr/local/www/avanor ETCDIR=/usr/local/etc/avanor --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The avanor port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> avanor-0.5.8 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> avanor-0.5.8 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of avanor-0.5.8 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The avanor port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by avanor-0.5.8 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The avanor port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by avanor-0.5.8 for building => SHA256 Checksum OK for avanor-0.5.8-src.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The avanor port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by avanor-0.5.8 for building ===> Extracting for avanor-0.5.8 => SHA256 Checksum OK for avanor-0.5.8-src.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for avanor-0.5.8 ===> Applying FreeBSD patches for avanor-0.5.8 from /usr/ports/games/avanor/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> avanor-0.5.8 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> avanor-0.5.8 depends on package: gmake>=4.4.1 - found ===> Returning to build of avanor-0.5.8 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for avanor-0.5.8 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for avanor-0.5.8 mkdir obj c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xweapon.cpp -o obj/xweapon.o item/xweapon.cpp:24:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XWeapon); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :343:1: note: expanded from here "XWeapon" ^ item/xweapon.cpp:28:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLUB, "club", '/', "", "", "", "1d3", "", "", ISET_WOODSTONE, 1, 10, 0, ""}, ^ item/xweapon.cpp:28:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLUB, "club", '/', "", "", "", "1d3", "", "", ISET_WOODSTONE, 1, 10, 0, ""}, ^ item/xweapon.cpp:28:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLUB, "club", '/', "", "", "", "1d3", "", "", ISET_WOODSTONE, 1, 10, 0, ""}, ^ item/xweapon.cpp:28:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLUB, "club", '/', "", "", "", "1d3", "", "", ISET_WOODSTONE, 1, 10, 0, ""}, ^ item/xweapon.cpp:28:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLUB, "club", '/', "", "", "", "1d3", "", "", ISET_WOODSTONE, 1, 10, 0, ""}, ^ item/xweapon.cpp:28:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLUB, "club", '/', "", "", "", "1d3", "", "", ISET_WOODSTONE, 1, 10, 0, ""}, ^ item/xweapon.cpp:28:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLUB, "club", '/', "", "", "", "1d3", "", "", ISET_WOODSTONE, 1, 10, 0, ""}, ^ item/xweapon.cpp:28:87: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLUB, "club", '/', "", "", "", "1d3", "", "", ISET_WOODSTONE, 1, 10, 0, ""}, ^ item/xweapon.cpp:29:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WARHAMMER, "war hammer", '/', "", "", "1d2-4","1d7", "1d4", "", ISET_HARDMETAL, 12, 10, 0, ""}, ^ item/xweapon.cpp:29:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WARHAMMER, "war hammer", '/', "", "", "1d2-4","1d7", "1d4", "", ISET_HARDMETAL, 12, 10, 0, ""}, ^ item/xweapon.cpp:29:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WARHAMMER, "war hammer", '/', "", "", "1d2-4","1d7", "1d4", "", ISET_HARDMETAL, 12, 10, 0, ""}, ^ item/xweapon.cpp:29:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WARHAMMER, "war hammer", '/', "", "", "1d2-4","1d7", "1d4", "", ISET_HARDMETAL, 12, 10, 0, ""}, ^ item/xweapon.cpp:29:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WARHAMMER, "war hammer", '/', "", "", "1d2-4","1d7", "1d4", "", ISET_HARDMETAL, 12, 10, 0, ""}, ^ item/xweapon.cpp:29:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WARHAMMER, "war hammer", '/', "", "", "1d2-4","1d7", "1d4", "", ISET_HARDMETAL, 12, 10, 0, ""}, ^ item/xweapon.cpp:29:67: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WARHAMMER, "war hammer", '/', "", "", "1d2-4","1d7", "1d4", "", ISET_HARDMETAL, 12, 10, 0, ""}, ^ item/xweapon.cpp:29:101: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WARHAMMER, "war hammer", '/', "", "", "1d2-4","1d7", "1d4", "", ISET_HARDMETAL, 12, 10, 0, ""}, ^ item/xweapon.cpp:31:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_DAGGER, "dagger", '/', "", "", "", "1d4", "", "", ISET_WEAPON, 2, 3, 0, ""}, ^ item/xweapon.cpp:31:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_DAGGER, "dagger", '/', "", "", "", "1d4", "", "", ISET_WEAPON, 2, 3, 0, ""}, ^ item/xweapon.cpp:31:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_DAGGER, "dagger", '/', "", "", "", "1d4", "", "", ISET_WEAPON, 2, 3, 0, ""}, ^ item/xweapon.cpp:31:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_DAGGER, "dagger", '/', "", "", "", "1d4", "", "", ISET_WEAPON, 2, 3, 0, ""}, ^ item/xweapon.cpp:31:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_DAGGER, "dagger", '/', "", "", "", "1d4", "", "", ISET_WEAPON, 2, 3, 0, ""}, ^ item/xweapon.cpp:31:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_DAGGER, "dagger", '/', "", "", "", "1d4", "", "", ISET_WEAPON, 2, 3, 0, ""}, ^ item/xweapon.cpp:31:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_DAGGER, "dagger", '/', "", "", "", "1d4", "", "", ISET_WEAPON, 2, 3, 0, ""}, ^ item/xweapon.cpp:31:86: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_DAGGER, "dagger", '/', "", "", "", "1d4", "", "", ISET_WEAPON, 2, 3, 0, ""}, ^ item/xweapon.cpp:32:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KNIFE, "knife", '/', "", "", "1d2-2","1d3", "", "", ISET_SIMPLEWEAPON, 1, 2, 0, ""}, ^ item/xweapon.cpp:32:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KNIFE, "knife", '/', "", "", "1d2-2","1d3", "", "", ISET_SIMPLEWEAPON, 1, 2, 0, ""}, ^ item/xweapon.cpp:32:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KNIFE, "knife", '/', "", "", "1d2-2","1d3", "", "", ISET_SIMPLEWEAPON, 1, 2, 0, ""}, ^ item/xweapon.cpp:32:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KNIFE, "knife", '/', "", "", "1d2-2","1d3", "", "", ISET_SIMPLEWEAPON, 1, 2, 0, ""}, ^ item/xweapon.cpp:32:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KNIFE, "knife", '/', "", "", "1d2-2","1d3", "", "", ISET_SIMPLEWEAPON, 1, 2, 0, ""}, ^ item/xweapon.cpp:32:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KNIFE, "knife", '/', "", "", "1d2-2","1d3", "", "", ISET_SIMPLEWEAPON, 1, 2, 0, ""}, ^ item/xweapon.cpp:32:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KNIFE, "knife", '/', "", "", "1d2-2","1d3", "", "", ISET_SIMPLEWEAPON, 1, 2, 0, ""}, ^ item/xweapon.cpp:32:92: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KNIFE, "knife", '/', "", "", "1d2-2","1d3", "", "", ISET_SIMPLEWEAPON, 1, 2, 0, ""}, ^ item/xweapon.cpp:33:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ORCISHDAGGER,"orcish dagger",'/', "", "", "1d2", "1d3", "1d2", "", ISET_STEEL, 3, 3, 0, ""}, ^ item/xweapon.cpp:33:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ORCISHDAGGER,"orcish dagger",'/', "", "", "1d2", "1d3", "1d2", "", ISET_STEEL, 3, 3, 0, ""}, ^ item/xweapon.cpp:33:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ORCISHDAGGER,"orcish dagger",'/', "", "", "1d2", "1d3", "1d2", "", ISET_STEEL, 3, 3, 0, ""}, ^ item/xweapon.cpp:33:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ORCISHDAGGER,"orcish dagger",'/', "", "", "1d2", "1d3", "1d2", "", ISET_STEEL, 3, 3, 0, ""}, ^ item/xweapon.cpp:33:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ORCISHDAGGER,"orcish dagger",'/', "", "", "1d2", "1d3", "1d2", "", ISET_STEEL, 3, 3, 0, ""}, ^ item/xweapon.cpp:33:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ORCISHDAGGER,"orcish dagger",'/', "", "", "1d2", "1d3", "1d2", "", ISET_STEEL, 3, 3, 0, ""}, ^ item/xweapon.cpp:33:70: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ORCISHDAGGER,"orcish dagger",'/', "", "", "1d2", "1d3", "1d2", "", ISET_STEEL, 3, 3, 0, ""}, ^ item/xweapon.cpp:33:99: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ORCISHDAGGER,"orcish dagger",'/', "", "", "1d2", "1d3", "1d2", "", ISET_STEEL, 3, 3, 0, ""}, ^ item/xweapon.cpp:34:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGDAGGER, "long dagger", '/', "", "", "1d3-1","1d4", "1d2-1","", ISET_STEEL, 4, 3, 0, ""}, ^ item/xweapon.cpp:34:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGDAGGER, "long dagger", '/', "", "", "1d3-1","1d4", "1d2-1","", ISET_STEEL, 4, 3, 0, ""}, ^ item/xweapon.cpp:34:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGDAGGER, "long dagger", '/', "", "", "1d3-1","1d4", "1d2-1","", ISET_STEEL, 4, 3, 0, ""}, ^ item/xweapon.cpp:34:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGDAGGER, "long dagger", '/', "", "", "1d3-1","1d4", "1d2-1","", ISET_STEEL, 4, 3, 0, ""}, ^ item/xweapon.cpp:34:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGDAGGER, "long dagger", '/', "", "", "1d3-1","1d4", "1d2-1","", ISET_STEEL, 4, 3, 0, ""}, ^ item/xweapon.cpp:34:62: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGDAGGER, "long dagger", '/', "", "", "1d3-1","1d4", "1d2-1","", ISET_STEEL, 4, 3, 0, ""}, ^ item/xweapon.cpp:34:70: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGDAGGER, "long dagger", '/', "", "", "1d3-1","1d4", "1d2-1","", ISET_STEEL, 4, 3, 0, ""}, ^ item/xweapon.cpp:34:99: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGDAGGER, "long dagger", '/', "", "", "1d3-1","1d4", "1d2-1","", ISET_STEEL, 4, 3, 0, ""}, ^ item/xweapon.cpp:36:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTSWORD, "short sword", '/', "", "", "", "1d5", "", "", ISET_OBSIMETAL, 6, 5, 0, ""}, ^ item/xweapon.cpp:36:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTSWORD, "short sword", '/', "", "", "", "1d5", "", "", ISET_OBSIMETAL, 6, 5, 0, ""}, ^ item/xweapon.cpp:36:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTSWORD, "short sword", '/', "", "", "", "1d5", "", "", ISET_OBSIMETAL, 6, 5, 0, ""}, ^ item/xweapon.cpp:36:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTSWORD, "short sword", '/', "", "", "", "1d5", "", "", ISET_OBSIMETAL, 6, 5, 0, ""}, ^ item/xweapon.cpp:36:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTSWORD, "short sword", '/', "", "", "", "1d5", "", "", ISET_OBSIMETAL, 6, 5, 0, ""}, ^ item/xweapon.cpp:36:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTSWORD, "short sword", '/', "", "", "", "1d5", "", "", ISET_OBSIMETAL, 6, 5, 0, ""}, ^ item/xweapon.cpp:36:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTSWORD, "short sword", '/', "", "", "", "1d5", "", "", ISET_OBSIMETAL, 6, 5, 0, ""}, ^ item/xweapon.cpp:36:96: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTSWORD, "short sword", '/', "", "", "", "1d5", "", "", ISET_OBSIMETAL, 6, 5, 0, ""}, ^ item/xweapon.cpp:37:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGSWORD, "long sword", '|', "", "", "", "2d4", "", "", ISET_OBSIMETAL, 18, 10, 0, ""}, ^ item/xweapon.cpp:37:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGSWORD, "long sword", '|', "", "", "", "2d4", "", "", ISET_OBSIMETAL, 18, 10, 0, ""}, ^ item/xweapon.cpp:37:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGSWORD, "long sword", '|', "", "", "", "2d4", "", "", ISET_OBSIMETAL, 18, 10, 0, ""}, ^ item/xweapon.cpp:37:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGSWORD, "long sword", '|', "", "", "", "2d4", "", "", ISET_OBSIMETAL, 18, 10, 0, ""}, ^ item/xweapon.cpp:37:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGSWORD, "long sword", '|', "", "", "", "2d4", "", "", ISET_OBSIMETAL, 18, 10, 0, ""}, ^ item/xweapon.cpp:37:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGSWORD, "long sword", '|', "", "", "", "2d4", "", "", ISET_OBSIMETAL, 18, 10, 0, ""}, ^ item/xweapon.cpp:37:62: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGSWORD, "long sword", '|', "", "", "", "2d4", "", "", ISET_OBSIMETAL, 18, 10, 0, ""}, ^ item/xweapon.cpp:37:96: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGSWORD, "long sword", '|', "", "", "", "2d4", "", "", ISET_OBSIMETAL, 18, 10, 0, ""}, ^ item/xweapon.cpp:38:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_BROADSWORD, "broad sword", '|', "", "", "", "2d5", "", "", ISET_OBSIMETAL, 20, 12, 0, ""}, ^ item/xweapon.cpp:38:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_BROADSWORD, "broad sword", '|', "", "", "", "2d5", "", "", ISET_OBSIMETAL, 20, 12, 0, ""}, ^ item/xweapon.cpp:38:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_BROADSWORD, "broad sword", '|', "", "", "", "2d5", "", "", ISET_OBSIMETAL, 20, 12, 0, ""}, ^ item/xweapon.cpp:38:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_BROADSWORD, "broad sword", '|', "", "", "", "2d5", "", "", ISET_OBSIMETAL, 20, 12, 0, ""}, ^ item/xweapon.cpp:38:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_BROADSWORD, "broad sword", '|', "", "", "", "2d5", "", "", ISET_OBSIMETAL, 20, 12, 0, ""}, ^ item/xweapon.cpp:38:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_BROADSWORD, "broad sword", '|', "", "", "", "2d5", "", "", ISET_OBSIMETAL, 20, 12, 0, ""}, ^ item/xweapon.cpp:38:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_BROADSWORD, "broad sword", '|', "", "", "", "2d5", "", "", ISET_OBSIMETAL, 20, 12, 0, ""}, ^ item/xweapon.cpp:38:98: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_BROADSWORD, "broad sword", '|', "", "", "", "2d5", "", "", ISET_OBSIMETAL, 20, 12, 0, ""}, ^ item/xweapon.cpp:39:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_RAPIER, "rapier", '|', "", "", "1d3-1","1d6", "", "", ISET_HARDMETAL, 7, 5, 0, ""}, ^ item/xweapon.cpp:39:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_RAPIER, "rapier", '|', "", "", "1d3-1","1d6", "", "", ISET_HARDMETAL, 7, 5, 0, ""}, ^ item/xweapon.cpp:39:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_RAPIER, "rapier", '|', "", "", "1d3-1","1d6", "", "", ISET_HARDMETAL, 7, 5, 0, ""}, ^ item/xweapon.cpp:39:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_RAPIER, "rapier", '|', "", "", "1d3-1","1d6", "", "", ISET_HARDMETAL, 7, 5, 0, ""}, ^ item/xweapon.cpp:39:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_RAPIER, "rapier", '|', "", "", "1d3-1","1d6", "", "", ISET_HARDMETAL, 7, 5, 0, ""}, ^ item/xweapon.cpp:39:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_RAPIER, "rapier", '|', "", "", "1d3-1","1d6", "", "", ISET_HARDMETAL, 7, 5, 0, ""}, ^ item/xweapon.cpp:39:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_RAPIER, "rapier", '|', "", "", "1d3-1","1d6", "", "", ISET_HARDMETAL, 7, 5, 0, ""}, ^ item/xweapon.cpp:39:92: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_RAPIER, "rapier", '|', "", "", "1d3-1","1d6", "", "", ISET_HARDMETAL, 7, 5, 0, ""}, ^ item/xweapon.cpp:40:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SCIMITAR, "scimitar", '|', "", "", "1", "1d6", "1d3-1","", ISET_HARDMETAL, 7, 6, 0, ""}, ^ item/xweapon.cpp:40:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SCIMITAR, "scimitar", '|', "", "", "1", "1d6", "1d3-1","", ISET_HARDMETAL, 7, 6, 0, ""}, ^ item/xweapon.cpp:40:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SCIMITAR, "scimitar", '|', "", "", "1", "1d6", "1d3-1","", ISET_HARDMETAL, 7, 6, 0, ""}, ^ item/xweapon.cpp:40:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SCIMITAR, "scimitar", '|', "", "", "1", "1d6", "1d3-1","", ISET_HARDMETAL, 7, 6, 0, ""}, ^ item/xweapon.cpp:40:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SCIMITAR, "scimitar", '|', "", "", "1", "1d6", "1d3-1","", ISET_HARDMETAL, 7, 6, 0, ""}, ^ item/xweapon.cpp:40:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SCIMITAR, "scimitar", '|', "", "", "1", "1d6", "1d3-1","", ISET_HARDMETAL, 7, 6, 0, ""}, ^ item/xweapon.cpp:40:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SCIMITAR, "scimitar", '|', "", "", "1", "1d6", "1d3-1","", ISET_HARDMETAL, 7, 6, 0, ""}, ^ item/xweapon.cpp:40:95: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SCIMITAR, "scimitar", '|', "", "", "1", "1d6", "1d3-1","", ISET_HARDMETAL, 7, 6, 0, ""}, ^ item/xweapon.cpp:41:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KATANA, "katana", '|', "", "", "1", "3d6", "1d3-1","", ISET_HARDMETAL, 50, 1, 0, ""}, ^ item/xweapon.cpp:41:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KATANA, "katana", '|', "", "", "1", "3d6", "1d3-1","", ISET_HARDMETAL, 50, 1, 0, ""}, ^ item/xweapon.cpp:41:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KATANA, "katana", '|', "", "", "1", "3d6", "1d3-1","", ISET_HARDMETAL, 50, 1, 0, ""}, ^ item/xweapon.cpp:41:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KATANA, "katana", '|', "", "", "1", "3d6", "1d3-1","", ISET_HARDMETAL, 50, 1, 0, ""}, ^ item/xweapon.cpp:41:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KATANA, "katana", '|', "", "", "1", "3d6", "1d3-1","", ISET_HARDMETAL, 50, 1, 0, ""}, ^ item/xweapon.cpp:41:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KATANA, "katana", '|', "", "", "1", "3d6", "1d3-1","", ISET_HARDMETAL, 50, 1, 0, ""}, ^ item/xweapon.cpp:41:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KATANA, "katana", '|', "", "", "1", "3d6", "1d3-1","", ISET_HARDMETAL, 50, 1, 0, ""}, ^ item/xweapon.cpp:41:93: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KATANA, "katana", '|', "", "", "1", "3d6", "1d3-1","", ISET_HARDMETAL, 50, 1, 0, ""}, ^ item/xweapon.cpp:42:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WAKIZASHI, "wakizashi", '|', "", "", "1", "2d6", "1d3-1","", ISET_HARDMETAL, 45, 1, 0, ""}, ^ item/xweapon.cpp:42:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WAKIZASHI, "wakizashi", '|', "", "", "1", "2d6", "1d3-1","", ISET_HARDMETAL, 45, 1, 0, ""}, ^ item/xweapon.cpp:42:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WAKIZASHI, "wakizashi", '|', "", "", "1", "2d6", "1d3-1","", ISET_HARDMETAL, 45, 1, 0, ""}, ^ item/xweapon.cpp:42:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WAKIZASHI, "wakizashi", '|', "", "", "1", "2d6", "1d3-1","", ISET_HARDMETAL, 45, 1, 0, ""}, ^ item/xweapon.cpp:42:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WAKIZASHI, "wakizashi", '|', "", "", "1", "2d6", "1d3-1","", ISET_HARDMETAL, 45, 1, 0, ""}, ^ item/xweapon.cpp:42:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WAKIZASHI, "wakizashi", '|', "", "", "1", "2d6", "1d3-1","", ISET_HARDMETAL, 45, 1, 0, ""}, ^ item/xweapon.cpp:42:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WAKIZASHI, "wakizashi", '|', "", "", "1", "2d6", "1d3-1","", ISET_HARDMETAL, 45, 1, 0, ""}, ^ item/xweapon.cpp:42:97: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WAKIZASHI, "wakizashi", '|', "", "", "1", "2d6", "1d3-1","", ISET_HARDMETAL, 45, 1, 0, ""}, ^ item/xweapon.cpp:44:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SMALLAXE, "small axe", '\\', "", "", "", "1d6", "", "", ISET_OBSIMETAL, 10, 6, 0, ""}, ^ item/xweapon.cpp:44:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SMALLAXE, "small axe", '\\', "", "", "", "1d6", "", "", ISET_OBSIMETAL, 10, 6, 0, ""}, ^ item/xweapon.cpp:44:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SMALLAXE, "small axe", '\\', "", "", "", "1d6", "", "", ISET_OBSIMETAL, 10, 6, 0, ""}, ^ item/xweapon.cpp:44:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SMALLAXE, "small axe", '\\', "", "", "", "1d6", "", "", ISET_OBSIMETAL, 10, 6, 0, ""}, ^ item/xweapon.cpp:44:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SMALLAXE, "small axe", '\\', "", "", "", "1d6", "", "", ISET_OBSIMETAL, 10, 6, 0, ""}, ^ item/xweapon.cpp:44:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SMALLAXE, "small axe", '\\', "", "", "", "1d6", "", "", ISET_OBSIMETAL, 10, 6, 0, ""}, ^ item/xweapon.cpp:44:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SMALLAXE, "small axe", '\\', "", "", "", "1d6", "", "", ISET_OBSIMETAL, 10, 6, 0, ""}, ^ item/xweapon.cpp:44:94: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SMALLAXE, "small axe", '\\', "", "", "", "1d6", "", "", ISET_OBSIMETAL, 10, 6, 0, ""}, ^ item/xweapon.cpp:45:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WARAXE, "war axe", '\\', "", "", "1d3-1","2d3", "", "", ISET_OBSIMETAL, 15, 7, 0, ""}, ^ item/xweapon.cpp:45:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WARAXE, "war axe", '\\', "", "", "1d3-1","2d3", "", "", ISET_OBSIMETAL, 15, 7, 0, ""}, ^ item/xweapon.cpp:45:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WARAXE, "war axe", '\\', "", "", "1d3-1","2d3", "", "", ISET_OBSIMETAL, 15, 7, 0, ""}, ^ item/xweapon.cpp:45:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WARAXE, "war axe", '\\', "", "", "1d3-1","2d3", "", "", ISET_OBSIMETAL, 15, 7, 0, ""}, ^ item/xweapon.cpp:45:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WARAXE, "war axe", '\\', "", "", "1d3-1","2d3", "", "", ISET_OBSIMETAL, 15, 7, 0, ""}, ^ item/xweapon.cpp:45:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WARAXE, "war axe", '\\', "", "", "1d3-1","2d3", "", "", ISET_OBSIMETAL, 15, 7, 0, ""}, ^ item/xweapon.cpp:45:62: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WARAXE, "war axe", '\\', "", "", "1d3-1","2d3", "", "", ISET_OBSIMETAL, 15, 7, 0, ""}, ^ item/xweapon.cpp:45:95: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_WARAXE, "war axe", '\\', "", "", "1d3-1","2d3", "", "", ISET_OBSIMETAL, 15, 7, 0, ""}, ^ item/xweapon.cpp:46:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_BATTLEAXE, "battle axe", '\\', "", "", "1d3-2","2d5", "1d3-1","", ISET_HARDMETAL, 25, 12, 0, ""}, ^ item/xweapon.cpp:46:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_BATTLEAXE, "battle axe", '\\', "", "", "1d3-2","2d5", "1d3-1","", ISET_HARDMETAL, 25, 12, 0, ""}, ^ item/xweapon.cpp:46:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_BATTLEAXE, "battle axe", '\\', "", "", "1d3-2","2d5", "1d3-1","", ISET_HARDMETAL, 25, 12, 0, ""}, ^ item/xweapon.cpp:46:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_BATTLEAXE, "battle axe", '\\', "", "", "1d3-2","2d5", "1d3-1","", ISET_HARDMETAL, 25, 12, 0, ""}, ^ item/xweapon.cpp:46:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_BATTLEAXE, "battle axe", '\\', "", "", "1d3-2","2d5", "1d3-1","", ISET_HARDMETAL, 25, 12, 0, ""}, ^ item/xweapon.cpp:46:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_BATTLEAXE, "battle axe", '\\', "", "", "1d3-2","2d5", "1d3-1","", ISET_HARDMETAL, 25, 12, 0, ""}, ^ item/xweapon.cpp:46:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_BATTLEAXE, "battle axe", '\\', "", "", "1d3-2","2d5", "1d3-1","", ISET_HARDMETAL, 25, 12, 0, ""}, ^ item/xweapon.cpp:46:103: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_BATTLEAXE, "battle axe", '\\', "", "", "1d3-2","2d5", "1d3-1","", ISET_HARDMETAL, 25, 12, 0, ""}, ^ item/xweapon.cpp:47:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GREATAXE, "great axe", '\\', "", "", "", "3d4", "", "", ISET_HARDMETAL, 30, 20, 0, ""}, ^ item/xweapon.cpp:47:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GREATAXE, "great axe", '\\', "", "", "", "3d4", "", "", ISET_HARDMETAL, 30, 20, 0, ""}, ^ item/xweapon.cpp:47:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GREATAXE, "great axe", '\\', "", "", "", "3d4", "", "", ISET_HARDMETAL, 30, 20, 0, ""}, ^ item/xweapon.cpp:47:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GREATAXE, "great axe", '\\', "", "", "", "3d4", "", "", ISET_HARDMETAL, 30, 20, 0, ""}, ^ item/xweapon.cpp:47:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GREATAXE, "great axe", '\\', "", "", "", "3d4", "", "", ISET_HARDMETAL, 30, 20, 0, ""}, ^ item/xweapon.cpp:47:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GREATAXE, "great axe", '\\', "", "", "", "3d4", "", "", ISET_HARDMETAL, 30, 20, 0, ""}, ^ item/xweapon.cpp:47:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GREATAXE, "great axe", '\\', "", "", "", "3d4", "", "", ISET_HARDMETAL, 30, 20, 0, ""}, ^ item/xweapon.cpp:47:95: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GREATAXE, "great axe", '\\', "", "", "", "3d4", "", "", ISET_HARDMETAL, 30, 20, 0, ""}, ^ item/xweapon.cpp:48:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ORCISHAXE, "orcish axe", '\\', "", "", "1d3-1","2d4", "", "", ISET_OBSIMETAL, 10, 10, 0, ""}, ^ item/xweapon.cpp:48:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ORCISHAXE, "orcish axe", '\\', "", "", "1d3-1","2d4", "", "", ISET_OBSIMETAL, 10, 10, 0, ""}, ^ item/xweapon.cpp:48:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ORCISHAXE, "orcish axe", '\\', "", "", "1d3-1","2d4", "", "", ISET_OBSIMETAL, 10, 10, 0, ""}, ^ item/xweapon.cpp:48:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ORCISHAXE, "orcish axe", '\\', "", "", "1d3-1","2d4", "", "", ISET_OBSIMETAL, 10, 10, 0, ""}, ^ item/xweapon.cpp:48:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ORCISHAXE, "orcish axe", '\\', "", "", "1d3-1","2d4", "", "", ISET_OBSIMETAL, 10, 10, 0, ""}, ^ item/xweapon.cpp:48:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ORCISHAXE, "orcish axe", '\\', "", "", "1d3-1","2d4", "", "", ISET_OBSIMETAL, 10, 10, 0, ""}, ^ item/xweapon.cpp:48:66: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ORCISHAXE, "orcish axe", '\\', "", "", "1d3-1","2d4", "", "", ISET_OBSIMETAL, 10, 10, 0, ""}, ^ item/xweapon.cpp:48:100: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ORCISHAXE, "orcish axe", '\\', "", "", "1d3-1","2d4", "", "", ISET_OBSIMETAL, 10, 10, 0, ""}, ^ item/xweapon.cpp:50:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_MACE, "mace", '\\', "", "", "", "1d6", "", "", ISET_OBSIMETAL, 10, 7, 0, ""}, ^ item/xweapon.cpp:50:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_MACE, "mace", '\\', "", "", "", "1d6", "", "", ISET_OBSIMETAL, 10, 7, 0, ""}, ^ item/xweapon.cpp:50:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_MACE, "mace", '\\', "", "", "", "1d6", "", "", ISET_OBSIMETAL, 10, 7, 0, ""}, ^ item/xweapon.cpp:50:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_MACE, "mace", '\\', "", "", "", "1d6", "", "", ISET_OBSIMETAL, 10, 7, 0, ""}, ^ item/xweapon.cpp:50:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_MACE, "mace", '\\', "", "", "", "1d6", "", "", ISET_OBSIMETAL, 10, 7, 0, ""}, ^ item/xweapon.cpp:50:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_MACE, "mace", '\\', "", "", "", "1d6", "", "", ISET_OBSIMETAL, 10, 7, 0, ""}, ^ item/xweapon.cpp:50:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_MACE, "mace", '\\', "", "", "", "1d6", "", "", ISET_OBSIMETAL, 10, 7, 0, ""}, ^ item/xweapon.cpp:50:88: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_MACE, "mace", '\\', "", "", "", "1d6", "", "", ISET_OBSIMETAL, 10, 7, 0, ""}, ^ item/xweapon.cpp:51:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_FLAIL, "flail", '\\', "", "", "", "1d7", "", "", ISET_HARDMETAL, 15, 7, 0, ""}, ^ item/xweapon.cpp:51:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_FLAIL, "flail", '\\', "", "", "", "1d7", "", "", ISET_HARDMETAL, 15, 7, 0, ""}, ^ item/xweapon.cpp:51:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_FLAIL, "flail", '\\', "", "", "", "1d7", "", "", ISET_HARDMETAL, 15, 7, 0, ""}, ^ item/xweapon.cpp:51:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_FLAIL, "flail", '\\', "", "", "", "1d7", "", "", ISET_HARDMETAL, 15, 7, 0, ""}, ^ item/xweapon.cpp:51:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_FLAIL, "flail", '\\', "", "", "", "1d7", "", "", ISET_HARDMETAL, 15, 7, 0, ""}, ^ item/xweapon.cpp:51:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_FLAIL, "flail", '\\', "", "", "", "1d7", "", "", ISET_HARDMETAL, 15, 7, 0, ""}, ^ item/xweapon.cpp:51:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_FLAIL, "flail", '\\', "", "", "", "1d7", "", "", ISET_HARDMETAL, 15, 7, 0, ""}, ^ item/xweapon.cpp:51:89: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_FLAIL, "flail", '\\', "", "", "", "1d7", "", "", ISET_HARDMETAL, 15, 7, 0, ""}, ^ item/xweapon.cpp:53:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTSPEAR, "short spear", '/', "", "", "", "1d5", "", "", ISET_WOODSTONE, 3, 4, 0, ""}, ^ item/xweapon.cpp:53:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTSPEAR, "short spear", '/', "", "", "", "1d5", "", "", ISET_WOODSTONE, 3, 4, 0, ""}, ^ item/xweapon.cpp:53:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTSPEAR, "short spear", '/', "", "", "", "1d5", "", "", ISET_WOODSTONE, 3, 4, 0, ""}, ^ item/xweapon.cpp:53:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTSPEAR, "short spear", '/', "", "", "", "1d5", "", "", ISET_WOODSTONE, 3, 4, 0, ""}, ^ item/xweapon.cpp:53:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTSPEAR, "short spear", '/', "", "", "", "1d5", "", "", ISET_WOODSTONE, 3, 4, 0, ""}, ^ item/xweapon.cpp:53:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTSPEAR, "short spear", '/', "", "", "", "1d5", "", "", ISET_WOODSTONE, 3, 4, 0, ""}, ^ item/xweapon.cpp:53:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTSPEAR, "short spear", '/', "", "", "", "1d5", "", "", ISET_WOODSTONE, 3, 4, 0, ""}, ^ item/xweapon.cpp:53:96: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTSPEAR, "short spear", '/', "", "", "", "1d5", "", "", ISET_WOODSTONE, 3, 4, 0, ""}, ^ item/xweapon.cpp:54:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGSPEAR, "long spear", '/', "", "", "", "1d9", "", "", ISET_STEEL, 8, 6, 0, ""}, ^ item/xweapon.cpp:54:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGSPEAR, "long spear", '/', "", "", "", "1d9", "", "", ISET_STEEL, 8, 6, 0, ""}, ^ item/xweapon.cpp:54:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGSPEAR, "long spear", '/', "", "", "", "1d9", "", "", ISET_STEEL, 8, 6, 0, ""}, ^ item/xweapon.cpp:54:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGSPEAR, "long spear", '/', "", "", "", "1d9", "", "", ISET_STEEL, 8, 6, 0, ""}, ^ item/xweapon.cpp:54:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGSPEAR, "long spear", '/', "", "", "", "1d9", "", "", ISET_STEEL, 8, 6, 0, ""}, ^ item/xweapon.cpp:54:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGSPEAR, "long spear", '/', "", "", "", "1d9", "", "", ISET_STEEL, 8, 6, 0, ""}, ^ item/xweapon.cpp:54:62: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGSPEAR, "long spear", '/', "", "", "", "1d9", "", "", ISET_STEEL, 8, 6, 0, ""}, ^ item/xweapon.cpp:54:91: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGSPEAR, "long spear", '/', "", "", "", "1d9", "", "", ISET_STEEL, 8, 6, 0, ""}, ^ item/xweapon.cpp:55:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PITCHFORK, "pitchfork", '/', "", "", "1d2-4","1d3", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:55:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PITCHFORK, "pitchfork", '/', "", "", "1d2-4","1d3", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:55:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PITCHFORK, "pitchfork", '/', "", "", "1d2-4","1d3", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:55:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PITCHFORK, "pitchfork", '/', "", "", "1d2-4","1d3", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:55:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PITCHFORK, "pitchfork", '/', "", "", "1d2-4","1d3", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:55:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PITCHFORK, "pitchfork", '/', "", "", "1d2-4","1d3", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:55:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PITCHFORK, "pitchfork", '/', "", "", "1d2-4","1d3", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:55:96: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PITCHFORK, "pitchfork", '/', "", "", "1d2-4","1d3", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:56:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PIKE, "pike", '/', "", "", "", "1d10", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:56:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PIKE, "pike", '/', "", "", "", "1d10", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:56:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PIKE, "pike", '/', "", "", "", "1d10", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:56:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PIKE, "pike", '/', "", "", "", "1d10", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:56:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PIKE, "pike", '/', "", "", "", "1d10", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:56:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PIKE, "pike", '/', "", "", "", "1d10", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:56:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PIKE, "pike", '/', "", "", "", "1d10", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:56:86: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PIKE, "pike", '/', "", "", "", "1d10", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:57:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HALBERD, "halberd", '/', "", "", "", "1d12", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:57:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HALBERD, "halberd", '/', "", "", "", "1d12", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:57:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HALBERD, "halberd", '/', "", "", "", "1d12", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:57:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HALBERD, "halberd", '/', "", "", "", "1d12", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:57:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HALBERD, "halberd", '/', "", "", "", "1d12", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:57:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HALBERD, "halberd", '/', "", "", "", "1d12", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:57:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HALBERD, "halberd", '/', "", "", "", "1d12", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:57:90: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HALBERD, "halberd", '/', "", "", "", "1d12", "", "", ISET_BLACKMETAL, 1, 3, 0, ""}, ^ item/xweapon.cpp:59:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_STAFF, "staff", '/', "", "", "1d2-2","1d10", "1d2", "", ISET_WOOD, 8, 3, 0, ""}, ^ item/xweapon.cpp:59:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_STAFF, "staff", '/', "", "", "1d2-2","1d10", "1d2", "", ISET_WOOD, 8, 3, 0, ""}, ^ item/xweapon.cpp:59:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_STAFF, "staff", '/', "", "", "1d2-2","1d10", "1d2", "", ISET_WOOD, 8, 3, 0, ""}, ^ item/xweapon.cpp:59:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_STAFF, "staff", '/', "", "", "1d2-2","1d10", "1d2", "", ISET_WOOD, 8, 3, 0, ""}, ^ item/xweapon.cpp:59:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_STAFF, "staff", '/', "", "", "1d2-2","1d10", "1d2", "", ISET_WOOD, 8, 3, 0, ""}, ^ item/xweapon.cpp:59:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_STAFF, "staff", '/', "", "", "1d2-2","1d10", "1d2", "", ISET_WOOD, 8, 3, 0, ""}, ^ item/xweapon.cpp:59:62: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_STAFF, "staff", '/', "", "", "1d2-2","1d10", "1d2", "", ISET_WOOD, 8, 3, 0, ""}, ^ item/xweapon.cpp:59:89: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_STAFF, "staff", '/', "", "", "1d2-2","1d10", "1d2", "", ISET_WOOD, 8, 3, 0, ""}, ^ item/xweapon.cpp:110:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {BR_FIRE, "%s of Fire", }, ^ item/xweapon.cpp:111:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {BR_HELLFIRE, "%s of Hell Fire", }, ^ item/xweapon.cpp:112:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {BR_COLD, "%s of Cold" }, ^ item/xweapon.cpp:113:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {BR_ULTIMATECOLD, "%s of Ultimate Cold" }, ^ item/xweapon.cpp:114:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {BR_LIGHTNING, "%s of Lightning" }, ^ item/xweapon.cpp:116:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {BR_ACID, "%s of Acid" }, ^ item/xweapon.cpp:117:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {BR_POISON, "%s of Poison" }, ^ item/xweapon.cpp:118:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {BR_DEATH, "%s of Death" }, ^ item/xweapon.cpp:120:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {BR_UNDEADSLAYER, "%s of Slay Undead" }, ^ item/xweapon.cpp:121:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {BR_HUMANOIDSLAYER, "%s of Slay Humanoids" }, ^ item/xweapon.cpp:122:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {BR_ANIMALSLAYER, "%s of Slay Animals" }, ^ item/xweapon.cpp:123:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {BR_DRAGONSLAYER, "%s of Dragon Slaying" }, ^ item/xweapon.cpp:124:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {BR_GIANTSLAYER, "%s of Giant Slaying" }, ^ item/xweapon.cpp:125:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {BR_ORCSLAYER, "%s of Slay Orcs" }, ^ item/xweapon.cpp:126:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {BR_TROLLSLAYER, "%s of Slay Trolls" }, ^ item/xweapon.cpp:127:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {BR_TROLLSLAYER, "%s of Slay Trolls" }, ^ item/xweapon.cpp:128:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {BR_DEMONSLAYER, "%s of Slay Demons" }, ^ item/xweapon.cpp:195:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] brand_templ = "Elemental %s of Slaying"; ^ item/xweapon.cpp:199:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] brand_templ = "%s of Slaying"; ^ item/xweapon.cpp:203:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] brand_templ = "Elemental %s"; ^ 229 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xtool.cpp -o obj/xtool.o In file included from item/xtool.cpp:22: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from item/xtool.cpp:22: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from item/xtool.cpp:22: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ item/xtool.cpp:30:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XCookingSet); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :378:1: note: expanded from here "XCookingSet" ^ item/xtool.cpp:61:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(cr->GetVerb("start")); ^ item/xtool.cpp:86:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(cr->GetVerb("cook")); ^ item/xtool.cpp:94:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(cr->GetVerb("fail")); ^ item/xtool.cpp:144:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XPickAxe); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :380:1: note: expanded from here "XPickAxe" ^ item/xtool.cpp:180:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(cr->GetVerb("smash")); ^ item/xtool.cpp:212:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XEyeOfRaa); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :382:1: note: expanded from here "XEyeOfRaa" ^ item/xtool.cpp:231:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XAlchemySet); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :384:1: note: expanded from here "XAlchemySet" ^ 12 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c game/xtime.cpp -o obj/xtime.o game/xtime.cpp:34:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "month_1", ^ game/xtime.cpp:35:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "month_2", ^ game/xtime.cpp:36:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "month_3", ^ game/xtime.cpp:37:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "month_4", ^ game/xtime.cpp:38:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "month_5", ^ game/xtime.cpp:39:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "month_6", ^ game/xtime.cpp:40:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "month_7", ^ game/xtime.cpp:41:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "month_8", ^ game/xtime.cpp:42:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "month_9", ^ game/xtime.cpp:43:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "month_10", ^ game/xtime.cpp:44:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "month_11", ^ game/xtime.cpp:45:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "month_12", ^ game/xtime.cpp:46:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "month_13", ^ game/xtime.cpp:51:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "day_1", ^ game/xtime.cpp:52:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "day_2", ^ game/xtime.cpp:53:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "day_3", ^ game/xtime.cpp:54:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "day_4", ^ game/xtime.cpp:55:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "day_5", ^ game/xtime.cpp:56:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "day_6", ^ game/xtime.cpp:57:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "day_7", ^ game/xtime.cpp:62:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "week_1", ^ game/xtime.cpp:63:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "week_2", ^ game/xtime.cpp:64:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "week_3", ^ game/xtime.cpp:65:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "week_4", ^ 24 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c global/xstring.cpp -o obj/xstring.o c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c helpers/xstr.cpp -o obj/xstr.o c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xshield.cpp -o obj/xshield.o In file included from item/xshield.cpp:21: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H item/xshield.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XShield); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :343:1: note: expanded from here "XShield" ^ item/xshield.cpp:28:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SMALLSHIELD,"small shield", ')', "1d2", "1d2-1", "", "1d2", "", "", ISET_SHIELD, 3, 3}, ^ item/xshield.cpp:28:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SMALLSHIELD,"small shield", ')', "1d2", "1d2-1", "", "1d2", "", "", ISET_SHIELD, 3, 3}, ^ item/xshield.cpp:28:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SMALLSHIELD,"small shield", ')', "1d2", "1d2-1", "", "1d2", "", "", ISET_SHIELD, 3, 3}, ^ item/xshield.cpp:28:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SMALLSHIELD,"small shield", ')', "1d2", "1d2-1", "", "1d2", "", "", ISET_SHIELD, 3, 3}, ^ item/xshield.cpp:28:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SMALLSHIELD,"small shield", ')', "1d2", "1d2-1", "", "1d2", "", "", ISET_SHIELD, 3, 3}, ^ item/xshield.cpp:28:66: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SMALLSHIELD,"small shield", ')', "1d2", "1d2-1", "", "1d2", "", "", ISET_SHIELD, 3, 3}, ^ item/xshield.cpp:28:70: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SMALLSHIELD,"small shield", ')', "1d2", "1d2-1", "", "1d2", "", "", ISET_SHIELD, 3, 3}, ^ item/xshield.cpp:29:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_MEDIUMSHIELD,"medium shield",')', "1d3", "1d2-1", "", "1d3", "", "", ISET_SHIELD, 5, 5}, ^ item/xshield.cpp:29:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_MEDIUMSHIELD,"medium shield",')', "1d3", "1d2-1", "", "1d3", "", "", ISET_SHIELD, 5, 5}, ^ item/xshield.cpp:29:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_MEDIUMSHIELD,"medium shield",')', "1d3", "1d2-1", "", "1d3", "", "", ISET_SHIELD, 5, 5}, ^ item/xshield.cpp:29:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_MEDIUMSHIELD,"medium shield",')', "1d3", "1d2-1", "", "1d3", "", "", ISET_SHIELD, 5, 5}, ^ item/xshield.cpp:29:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_MEDIUMSHIELD,"medium shield",')', "1d3", "1d2-1", "", "1d3", "", "", ISET_SHIELD, 5, 5}, ^ item/xshield.cpp:29:67: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_MEDIUMSHIELD,"medium shield",')', "1d3", "1d2-1", "", "1d3", "", "", ISET_SHIELD, 5, 5}, ^ item/xshield.cpp:29:71: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_MEDIUMSHIELD,"medium shield",')', "1d3", "1d2-1", "", "1d3", "", "", ISET_SHIELD, 5, 5}, ^ item/xshield.cpp:30:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LARGESHIELD,"large shield", ')', "1d4", "1d2-1", "", "1d4", "", "", ISET_SHIELD, 10, 8}, ^ item/xshield.cpp:30:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LARGESHIELD,"large shield", ')', "1d4", "1d2-1", "", "1d4", "", "", ISET_SHIELD, 10, 8}, ^ item/xshield.cpp:30:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LARGESHIELD,"large shield", ')', "1d4", "1d2-1", "", "1d4", "", "", ISET_SHIELD, 10, 8}, ^ item/xshield.cpp:30:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LARGESHIELD,"large shield", ')', "1d4", "1d2-1", "", "1d4", "", "", ISET_SHIELD, 10, 8}, ^ item/xshield.cpp:30:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LARGESHIELD,"large shield", ')', "1d4", "1d2-1", "", "1d4", "", "", ISET_SHIELD, 10, 8}, ^ item/xshield.cpp:30:66: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LARGESHIELD,"large shield", ')', "1d4", "1d2-1", "", "1d4", "", "", ISET_SHIELD, 10, 8}, ^ item/xshield.cpp:30:70: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LARGESHIELD,"large shield", ')', "1d4", "1d2-1", "", "1d4", "", "", ISET_SHIELD, 10, 8}, ^ item/xshield.cpp:31:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_TOWERSHIELD,"tower shield", ')', "1d6", "1d2-1", "", "1d4", "", "", ISET_SHIELD, 15, 15} ^ item/xshield.cpp:31:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_TOWERSHIELD,"tower shield", ')', "1d6", "1d2-1", "", "1d4", "", "", ISET_SHIELD, 15, 15} ^ item/xshield.cpp:31:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_TOWERSHIELD,"tower shield", ')', "1d6", "1d2-1", "", "1d4", "", "", ISET_SHIELD, 15, 15} ^ item/xshield.cpp:31:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_TOWERSHIELD,"tower shield", ')', "1d6", "1d2-1", "", "1d4", "", "", ISET_SHIELD, 15, 15} ^ item/xshield.cpp:31:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_TOWERSHIELD,"tower shield", ')', "1d6", "1d2-1", "", "1d4", "", "", ISET_SHIELD, 15, 15} ^ item/xshield.cpp:31:66: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_TOWERSHIELD,"tower shield", ')', "1d6", "1d2-1", "", "1d4", "", "", ISET_SHIELD, 15, 15} ^ item/xshield.cpp:31:70: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_TOWERSHIELD,"tower shield", ')', "1d6", "1d2-1", "", "1d4", "", "", ISET_SHIELD, 15, 15} ^ 30 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c engine/xshedule.cpp -o obj/xshedule.o c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xscroll.cpp -o obj/xscroll.o In file included from item/xscroll.cpp:21: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from item/xscroll.cpp:22: In file included from ./creature/xhero.h:26: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from item/xscroll.cpp:22: In file included from ./creature/xhero.h:26: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ item/xscroll.cpp:24:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XScroll); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :370:1: note: expanded from here "XScroll" ^ item/xscroll.cpp:29:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SCROLL_REC("healing", E_HEAL, SCROLL_HEALING, 200, 10), ^ item/xscroll.cpp:30:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SCROLL_REC("burning hands", E_BURNING_HANDS, SCROLL_BURNING_HANDS, 20, 100), ^ item/xscroll.cpp:31:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SCROLL_REC("ice touch", E_ICE_TOUCH, SCROLL_ICE_TOUCH, 20, 100), ^ item/xscroll.cpp:32:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SCROLL_REC("heroism", E_HEROISM, SCROLL_HEROISM, 25, 100), ^ item/xscroll.cpp:33:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SCROLL_REC("power", E_POWER, SCROLL_POWER, 15, 100), ^ item/xscroll.cpp:34:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SCROLL_REC("identify", E_IDENTIFY, SCROLL_IDENTIFY, 100, 30), ^ item/xscroll.cpp:35:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SCROLL_REC("magic arrow", E_MAGIC_ARROW, SCROLL_MAGIC_ARROW, 15, 200), ^ item/xscroll.cpp:36:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SCROLL_REC("fire bolt", E_FIRE_BOLT, SCROLL_FIRE_BOLT, 50, 60), ^ item/xscroll.cpp:37:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SCROLL_REC("ice bolt", E_ICE_BOLT, SCROLL_ICE_BOLT, 50, 60), ^ item/xscroll.cpp:38:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SCROLL_REC("lightning bolt", E_LIGHTNING_BOLT, SCROLL_LIGHTNING_BOLT, 100, 20), ^ item/xscroll.cpp:39:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SCROLL_REC("acid bolt", E_ACID_BOLT, SCROLL_ACID_BOLT, 150, 15), ^ item/xscroll.cpp:40:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SCROLL_REC("summon monsters", E_SUMMON_MONSTER, SCROLL_SUMMON_MONSTER, 10, 100), ^ item/xscroll.cpp:41:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SCROLL_REC("create item", E_CREATE_ITEM, SCROLL_CREATE_ITEM, 200, 25), ^ item/xscroll.cpp:42:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SCROLL_REC("cure disease", E_CURE_DISEASE, SCROLL_CURE_DISEASE, 40, 100), ^ item/xscroll.cpp:43:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SCROLL_REC("cure poison", E_CURE_POISON, SCROLL_CURE_POISON, 40, 100), ^ item/xscroll.cpp:44:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SCROLL_REC("blink", E_BLINK, SCROLL_BLINK, 70, 30), ^ item/xscroll.cpp:45:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SCROLL_REC("self knowledge", E_SELF_KNOWLEDGE, SCROLL_SELF_KNOWLEDGE, 150, 10), ^ item/xscroll.cpp:46:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SCROLL_REC("see invisible", E_SEE_INVISIBLE, SCROLL_SEE_INVISIBLE, 40, 50), ^ item/xscroll.cpp:47:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SCROLL_REC("recipe", E_NONE, SCROLL_RECIPIE, 30, 25), ^ item/xscroll.cpp:196:11: warning: 19 enumeration values not handled in switch: 'SCROLL_BURNING_HANDS', 'SCROLL_ICE_TOUCH', 'SCROLL_HEROISM'... [-Wswitch] switch (scroll_descr[descr].scroll_name) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xring.cpp -o obj/xring.o item/xring.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XRing); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :344:1: note: expanded from here "XRing" ^ 1 warning generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xration.cpp -o obj/xration.o item/xration.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XRation); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :344:1: note: expanded from here "XRation" ^ item/xration.cpp:39:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LARGERATION, FT_NORMALFOOD, xLIGHTGRAY, "large ration", "0d0+400", 5, 100}, ^ item/xration.cpp:39:62: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LARGERATION, FT_NORMALFOOD, xLIGHTGRAY, "large ration", "0d0+400", 5, 100}, ^ item/xration.cpp:40:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_RATION, FT_NORMALFOOD, xBROWN, "ration", "0d0+250", 3, 70}, ^ item/xration.cpp:40:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_RATION, FT_NORMALFOOD, xBROWN, "ration", "0d0+250", 3, 70}, ^ item/xration.cpp:41:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SMALLRATION, FT_NORMALFOOD, xBROWN, "small ration", "0d0+150", 1, 40}, ^ item/xration.cpp:41:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SMALLRATION, FT_NORMALFOOD, xBROWN, "small ration", "0d0+150", 1, 40}, ^ item/xration.cpp:42:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ELVISHWAYBREAD, FT_GOODFOOD, xYELLOW, "elvish waybread", "0d0+700", 15, 15}, ^ item/xration.cpp:42:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ELVISHWAYBREAD, FT_GOODFOOD, xYELLOW, "elvish waybread", "0d0+700", 15, 15}, ^ 9 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xpotion.cpp -o obj/xpotion.o In file included from item/xpotion.cpp:22: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from item/xpotion.cpp:22: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from item/xpotion.cpp:22: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ item/xpotion.cpp:25:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XPotion); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :368:1: note: expanded from here "XPotion" ^ item/xpotion.cpp:28:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 0 PNC_CLEAR*/{ "clear", xLIGHTGRAY ,0}, ^ item/xpotion.cpp:29:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 1 PNC_SMOKY*/{ "smoky", xLIGHTGRAY ,0}, ^ item/xpotion.cpp:30:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 2 PNC_GREEN*/{ "green", xGREEN ,0}, ^ item/xpotion.cpp:31:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 3 PNC_ORANGE*/{ "orange", xYELLOW ,0}, ^ item/xpotion.cpp:32:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 4 PNC_YELLOW*/{ "yellow", xYELLOW ,0}, ^ item/xpotion.cpp:33:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 5 PNC_BLACK*/{ "black", xDARKGRAY ,0}, ^ item/xpotion.cpp:34:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 6 PNC_BLUE*/{ "blue", xBLUE ,0}, ^ item/xpotion.cpp:35:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 7 PNC_WHITE*/{ "white", xWHITE ,0}, ^ item/xpotion.cpp:36:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 8 PNC_CYAN*/{ "cyan", xCYAN ,0}, ^ item/xpotion.cpp:37:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 9 PNC_PURPLE*/{ "purple", xLIGHTMAGENTA ,0}, ^ item/xpotion.cpp:38:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 10 PNC_HAZE*/{ "haze", xLIGHTGRAY ,0}, ^ item/xpotion.cpp:39:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 11 PNC_GOLDEN*/{ "golden", xYELLOW ,0}, ^ item/xpotion.cpp:40:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 12 PNC_SILVER*/{ "silver", xLIGHTGRAY ,0}, ^ item/xpotion.cpp:41:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 13 PNC_AZURE*/{ "azure", xLIGHTCYAN ,0}, ^ item/xpotion.cpp:42:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 14 PNC_MURKY*/{ "murky", xDARKGRAY ,0}, ^ item/xpotion.cpp:43:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 15 PNC_RED*/ { "red", xRED ,0}, ^ item/xpotion.cpp:44:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 16 PNC_GLOWING*/{ "glowing", xYELLOW ,0}, ^ item/xpotion.cpp:45:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 17 PNC_MOTTLED*/{ "mottled", xLIGHTRED ,0}, ^ item/xpotion.cpp:46:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 18 PNC_BLOBBED*/{ "blobby", xBROWN ,0}, ^ item/xpotion.cpp:47:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 19 PNC_PINK*/{ "pink", xLIGHTMAGENTA ,0}, ^ item/xpotion.cpp:48:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 20 PNC_MOULDED*/{ "mouldy", xLIGHTCYAN ,0}, ^ item/xpotion.cpp:49:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 21 PNC_GRAY*/{ "gray", xLIGHTGRAY ,0}, ^ item/xpotion.cpp:50:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 22 PNC_MERCURY*/{ "mercury", xLIGHTGRAY ,0}, ^ item/xpotion.cpp:51:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 23 PNC_OILY*/{ "oily", xDARKGRAY ,0}, ^ item/xpotion.cpp:52:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 24 PNC_VISCOUS*/{ "viscous", xLIGHTCYAN ,0}, ^ item/xpotion.cpp:53:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 25 PNC_DARK_RED*/{ "dark red", xRED ,0}, ^ item/xpotion.cpp:54:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 26 PNC_LIGHT_RED*/{ "light red", xLIGHTRED ,0}, ^ item/xpotion.cpp:55:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 27 PNC_DARK_BLUE*/{ "dark blue", xBLUE ,0}, ^ item/xpotion.cpp:56:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 28 PNC_LIGHT_BLUE*/{ "light blue", xLIGHTBLUE ,0}, ^ item/xpotion.cpp:57:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 29 PNC_BROWN*/{ "brown", xBROWN ,0}, ^ item/xpotion.cpp:58:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 30 PNC_LIGHT_GRAY*/{ "light gray", xLIGHTGRAY ,0}, ^ item/xpotion.cpp:59:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 31 PNC_DARK_GRAY*/{ "dark gray", xDARKGRAY ,0}, ^ item/xpotion.cpp:60:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 32 PNC_DARK_GREEN*/{ "dark green", xGREEN ,0}, ^ item/xpotion.cpp:61:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 33 PNC_LIGHT_GREEN*/{"light green", xLIGHTGREEN ,0}, ^ item/xpotion.cpp:62:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 34 PNC_BEIGE*/ {"beige", xLIGHTGRAY ,0}, ^ item/xpotion.cpp:63:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 35 PNC_AQUAMARINE*/ {"aquamarine", xCYAN ,0}, ^ item/xpotion.cpp:64:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 36 PNC_CORAL*/ {"coral", xGREEN ,0}, ^ item/xpotion.cpp:65:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 37 PNC_IVORY*/ {"ivory", xYELLOW ,0}, ^ item/xpotion.cpp:66:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 38 PNC_MAROON*/ {"maroon", xRED ,0}, ^ item/xpotion.cpp:67:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 39 PNC_TAN*/ {"tan", xBROWN ,0}, ^ item/xpotion.cpp:68:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 40 PNC_TURQUOISE*/ {"turquoise", xCYAN ,0}, ^ item/xpotion.cpp:69:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 41 PNC_VIOLET*/ {"violet", xMAGENTA ,0}, ^ item/xpotion.cpp:98:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_WATER, "water", E_NONE, 100, 1, 1, POTION_REC::SelectColor(PNC_CLEAR), 0}, ^ item/xpotion.cpp:99:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_APPLEJUCE, "apple juice", E_NONE, 95, 1, 2, POTION_REC::SelectColor(PNC_YELLOW), 0}, ^ item/xpotion.cpp:100:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_ORANGEJUCE, "orange juice", E_NONE, 95, 1, 3, POTION_REC::SelectColor(PNC_ORANGE), 0}, ^ item/xpotion.cpp:101:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_HEALING, "healing", E_HEAL, 10, 4, 200,POTION_REC::SelectColor(PNC_WHITE), 0}, ^ item/xpotion.cpp:102:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_CURE_LIGHT_WOUNDS, "cure light wounds", E_CURE_LIGHT_WOUNDS, 80, 2, 15, POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:103:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_CURE_SERIOUS_WOUNDS,"cure serious wounds", E_CURE_SERIOUS_WOUNDS, 70, 2, 40, POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:104:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_CURE_CRITICAL_WOUNDS,"cure critical wounds",E_CURE_CRITICAL_WOUNDS, 40, 3, 60, POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:105:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_CURE_MORTAL_WOUNDS, "cure mortal wounds", E_CURE_MORTAL_WOUNDS, 20, 3, 100,POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:106:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_POWER, "power", E_POWER, 80, 2, 15, POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:107:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_RESTORATION, "restoration", E_RESTORATION, 5, 5, 400,POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:108:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_GAIN_STRENGTH, "strength", E_NONE, 10, 4, 1000,POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:109:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_GAIN_WILLPOWER, "willpower", E_NONE, 10, 4, 1000,POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:110:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_GAIN_MANA, "mana", E_NONE, 10, 4, 1000,POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:111:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_GAIN_TOUGHNESS, "toughness", E_NONE, 10, 4, 1000,POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:112:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_GAIN_DEXTERITY, "swiftness", E_NONE, 10, 4, 1000,POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:113:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_POISON, "poison", E_NONE, 150, 1, 5, POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:114:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_CURE_POISON, "cure poison", E_CURE_POISON, 80, 3, 25, POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:115:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_BLEEDNESS, "bleeding", E_NONE, 300, 1, 1, POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:116:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_DISEASE, "disease", E_NONE, 200, 1, 1, POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:117:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_CURE_DISEASE, "cure disease", E_CURE_DISEASE, 50, 3, 50, POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:118:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_HEROISM, "heroism", E_HEROISM, 75, 2, 20, POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:119:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_SEE_INVISIBLE, "see invisible", E_SEE_INVISIBLE, 30, 3, 30, POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:120:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_WEAKNESS, "weakness", E_NONE, 70, 1, 5, POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:121:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_CLUMSINESS, "clumsiness", E_NONE, 70, 1, 5, POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:122:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_DEATH, "death", E_NONE, 1, 2, 5, POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:123:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_SATIATION, "satiation", E_NONE, 50, 2, 15, POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:124:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_STARVATION, "starvation", E_NONE, 40, 3, 15, POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:125:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_BOOST_SPEED, "boost speed", E_NONE, 30, 3, 100,POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:126:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_SLOWNESS, "slowness", E_NONE, 150, 1, 2, POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:127:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_ACID_RESISTANCE, "acid resistance", E_ACID_RESISTANCE, 35, 3, 70, POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:128:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_FIRE_RESISTANCE, "fire resistance", E_FIRE_RESISTANCE, 45, 2, 50, POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:129:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_COLD_RESISTANCE, "cold resistance", E_COLD_RESISTANCE, 45, 2, 50, POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:130:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {PN_POISON_RESISTANCE, "poison resistance", E_POISON_RESISTANCE, 40, 3, 50, POTION_REC::SelectColor(), 0}, ^ item/xpotion.cpp:351:14: warning: enumeration values 'CPT_YOU', 'CPT_MALE_YOU', and 'CPT_FEMALE_YOU' not handled in switch [-Wswitch] switch(cr->creature_person_type) ^~~~~~~~~~~~~~~~~~~~~~~~ item/xpotion.cpp:535:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XAlchemyRec); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :388:1: note: expanded from here "XAlchemyRec" ^ item/xpotion.cpp:552:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] FILE * f = fopen(vMakePath(HOME_DIR, "recipies.txt"), "w"); ^ ./global/global.h:43:22: note: expanded from macro 'HOME_DIR' # define HOME_DIR "~/.avanor/" ^ item/xpotion.cpp:552:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] FILE * f = fopen(vMakePath(HOME_DIR, "recipies.txt"), "w"); ^ 84 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c engine/xobject.cpp -o obj/xobject.o engine/xobject.cpp:227:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] file.Open(vMakePath(HOME_DIR, "dump.txt"), "w"); ^ ./global/global.h:43:22: note: expanded from macro 'HOME_DIR' # define HOME_DIR "~/.avanor/" ^ engine/xobject.cpp:227:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] file.Open(vMakePath(HOME_DIR, "dump.txt"), "w"); ^ engine/xobject.cpp:227:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] file.Open(vMakePath(HOME_DIR, "dump.txt"), "w"); ^ engine/xobject.cpp:240:35: warning: format specifies type 'int' but the argument has type 'XGUID' (aka 'unsigned long') [-Wformat] sprintf(buf, "%5d %2d %s", xguid, reference, GetClassName()); ~~~ ^~~~~ %5lu 4 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xmoney.cpp -o obj/xmoney.o item/xmoney.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XMoney); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :343:1: note: expanded from here "XMoney" ^ item/xmoney.cpp:43:45: warning: data argument not used by format string [-Wformat-extra-args] sprintf(buf, "%d golden coins", quantity, name); ~~~~~~~~~~~~~~~~~ ^ 2 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xmissileweapon.cpp -o obj/xmissileweapon.o item/xmissileweapon.cpp:24:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XMissileWeapon); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :344:1: note: expanded from here "XMissileWeapon" ^ item/xmissileweapon.cpp:28:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGBOW, "long bow", '{', "", "", "1d4-1", "1d6", "1d3", "1d3+2", ISET_BOW, 20, 10, 0, ""}, ^ item/xmissileweapon.cpp:28:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGBOW, "long bow", '{', "", "", "1d4-1", "1d6", "1d3", "1d3+2", ISET_BOW, 20, 10, 0, ""}, ^ item/xmissileweapon.cpp:28:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGBOW, "long bow", '{', "", "", "1d4-1", "1d6", "1d3", "1d3+2", ISET_BOW, 20, 10, 0, ""}, ^ item/xmissileweapon.cpp:28:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGBOW, "long bow", '{', "", "", "1d4-1", "1d6", "1d3", "1d3+2", ISET_BOW, 20, 10, 0, ""}, ^ item/xmissileweapon.cpp:28:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGBOW, "long bow", '{', "", "", "1d4-1", "1d6", "1d3", "1d3+2", ISET_BOW, 20, 10, 0, ""}, ^ item/xmissileweapon.cpp:28:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGBOW, "long bow", '{', "", "", "1d4-1", "1d6", "1d3", "1d3+2", ISET_BOW, 20, 10, 0, ""}, ^ item/xmissileweapon.cpp:28:67: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGBOW, "long bow", '{', "", "", "1d4-1", "1d6", "1d3", "1d3+2", ISET_BOW, 20, 10, 0, ""}, ^ item/xmissileweapon.cpp:28:101: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LONGBOW, "long bow", '{', "", "", "1d4-1", "1d6", "1d3", "1d3+2", ISET_BOW, 20, 10, 0, ""}, ^ item/xmissileweapon.cpp:29:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTBOW, "short bow", '{', "", "", "1d3-1", "1d4", "1d3", "1d2+1", ISET_BOW, 10, 5, 0, ""}, ^ item/xmissileweapon.cpp:29:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTBOW, "short bow", '{', "", "", "1d3-1", "1d4", "1d3", "1d2+1", ISET_BOW, 10, 5, 0, ""}, ^ item/xmissileweapon.cpp:29:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTBOW, "short bow", '{', "", "", "1d3-1", "1d4", "1d3", "1d2+1", ISET_BOW, 10, 5, 0, ""}, ^ item/xmissileweapon.cpp:29:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTBOW, "short bow", '{', "", "", "1d3-1", "1d4", "1d3", "1d2+1", ISET_BOW, 10, 5, 0, ""}, ^ item/xmissileweapon.cpp:29:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTBOW, "short bow", '{', "", "", "1d3-1", "1d4", "1d3", "1d2+1", ISET_BOW, 10, 5, 0, ""}, ^ item/xmissileweapon.cpp:29:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTBOW, "short bow", '{', "", "", "1d3-1", "1d4", "1d3", "1d2+1", ISET_BOW, 10, 5, 0, ""}, ^ item/xmissileweapon.cpp:29:68: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTBOW, "short bow", '{', "", "", "1d3-1", "1d4", "1d3", "1d2+1", ISET_BOW, 10, 5, 0, ""}, ^ item/xmissileweapon.cpp:29:101: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHORTBOW, "short bow", '{', "", "", "1d3-1", "1d4", "1d3", "1d2+1", ISET_BOW, 10, 5, 0, ""}, ^ item/xmissileweapon.cpp:30:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTCROSSBOW, "light crossbow", '{', "", "", "1d2-1", "1d5", "1d3", "1d2+1", ISET_BOW, 10, 5, 0, ""}, ^ item/xmissileweapon.cpp:30:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTCROSSBOW, "light crossbow", '{', "", "", "1d2-1", "1d5", "1d3", "1d2+1", ISET_BOW, 10, 5, 0, ""}, ^ item/xmissileweapon.cpp:30:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTCROSSBOW, "light crossbow", '{', "", "", "1d2-1", "1d5", "1d3", "1d2+1", ISET_BOW, 10, 5, 0, ""}, ^ item/xmissileweapon.cpp:30:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTCROSSBOW, "light crossbow", '{', "", "", "1d2-1", "1d5", "1d3", "1d2+1", ISET_BOW, 10, 5, 0, ""}, ^ item/xmissileweapon.cpp:30:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTCROSSBOW, "light crossbow", '{', "", "", "1d2-1", "1d5", "1d3", "1d2+1", ISET_BOW, 10, 5, 0, ""}, ^ item/xmissileweapon.cpp:30:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTCROSSBOW, "light crossbow", '{', "", "", "1d2-1", "1d5", "1d3", "1d2+1", ISET_BOW, 10, 5, 0, ""}, ^ item/xmissileweapon.cpp:30:76: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTCROSSBOW, "light crossbow", '{', "", "", "1d2-1", "1d5", "1d3", "1d2+1", ISET_BOW, 10, 5, 0, ""}, ^ item/xmissileweapon.cpp:30:109: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTCROSSBOW, "light crossbow", '{', "", "", "1d2-1", "1d5", "1d3", "1d2+1", ISET_BOW, 10, 5, 0, ""}, ^ item/xmissileweapon.cpp:31:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CROSSBOW, "crossbow", '{', "", "", "1d4-1", "1d6", "1d3", "1d3+1", ISET_BOW, 15, 5, 0, ""}, ^ item/xmissileweapon.cpp:31:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CROSSBOW, "crossbow", '{', "", "", "1d4-1", "1d6", "1d3", "1d3+1", ISET_BOW, 15, 5, 0, ""}, ^ item/xmissileweapon.cpp:31:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CROSSBOW, "crossbow", '{', "", "", "1d4-1", "1d6", "1d3", "1d3+1", ISET_BOW, 15, 5, 0, ""}, ^ item/xmissileweapon.cpp:31:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CROSSBOW, "crossbow", '{', "", "", "1d4-1", "1d6", "1d3", "1d3+1", ISET_BOW, 15, 5, 0, ""}, ^ item/xmissileweapon.cpp:31:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CROSSBOW, "crossbow", '{', "", "", "1d4-1", "1d6", "1d3", "1d3+1", ISET_BOW, 15, 5, 0, ""}, ^ item/xmissileweapon.cpp:31:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CROSSBOW, "crossbow", '{', "", "", "1d4-1", "1d6", "1d3", "1d3+1", ISET_BOW, 15, 5, 0, ""}, ^ item/xmissileweapon.cpp:31:68: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CROSSBOW, "crossbow", '{', "", "", "1d4-1", "1d6", "1d3", "1d3+1", ISET_BOW, 15, 5, 0, ""}, ^ item/xmissileweapon.cpp:31:101: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CROSSBOW, "crossbow", '{', "", "", "1d4-1", "1d6", "1d3", "1d3+1", ISET_BOW, 15, 5, 0, ""}, ^ item/xmissileweapon.cpp:32:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HEAVYCROSSBOW, "heavy crossbow", '{', "", "", "1d6-1", "2d3", "1d4", "1d3+2", ISET_BOW, 35, 30, 0, ""}, ^ item/xmissileweapon.cpp:32:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HEAVYCROSSBOW, "heavy crossbow", '{', "", "", "1d6-1", "2d3", "1d4", "1d3+2", ISET_BOW, 35, 30, 0, ""}, ^ item/xmissileweapon.cpp:32:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HEAVYCROSSBOW, "heavy crossbow", '{', "", "", "1d6-1", "2d3", "1d4", "1d3+2", ISET_BOW, 35, 30, 0, ""}, ^ item/xmissileweapon.cpp:32:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HEAVYCROSSBOW, "heavy crossbow", '{', "", "", "1d6-1", "2d3", "1d4", "1d3+2", ISET_BOW, 35, 30, 0, ""}, ^ item/xmissileweapon.cpp:32:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HEAVYCROSSBOW, "heavy crossbow", '{', "", "", "1d6-1", "2d3", "1d4", "1d3+2", ISET_BOW, 35, 30, 0, ""}, ^ item/xmissileweapon.cpp:32:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HEAVYCROSSBOW, "heavy crossbow", '{', "", "", "1d6-1", "2d3", "1d4", "1d3+2", ISET_BOW, 35, 30, 0, ""}, ^ item/xmissileweapon.cpp:32:76: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HEAVYCROSSBOW, "heavy crossbow", '{', "", "", "1d6-1", "2d3", "1d4", "1d3+2", ISET_BOW, 35, 30, 0, ""}, ^ item/xmissileweapon.cpp:32:110: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HEAVYCROSSBOW, "heavy crossbow", '{', "", "", "1d6-1", "2d3", "1d4", "1d3+2", ISET_BOW, 35, 30, 0, ""}, ^ item/xmissileweapon.cpp:33:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SLING, "sling", '{', "", "", "1d2-1", "1d3", "1d3", "1d2+1", ISET_ALLLEATHER, 5, 2, 0, ""} ^ item/xmissileweapon.cpp:33:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SLING, "sling", '{', "", "", "1d2-1", "1d3", "1d3", "1d2+1", ISET_ALLLEATHER, 5, 2, 0, ""} ^ item/xmissileweapon.cpp:33:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SLING, "sling", '{', "", "", "1d2-1", "1d3", "1d3", "1d2+1", ISET_ALLLEATHER, 5, 2, 0, ""} ^ item/xmissileweapon.cpp:33:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SLING, "sling", '{', "", "", "1d2-1", "1d3", "1d3", "1d2+1", ISET_ALLLEATHER, 5, 2, 0, ""} ^ item/xmissileweapon.cpp:33:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SLING, "sling", '{', "", "", "1d2-1", "1d3", "1d3", "1d2+1", ISET_ALLLEATHER, 5, 2, 0, ""} ^ item/xmissileweapon.cpp:33:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SLING, "sling", '{', "", "", "1d2-1", "1d3", "1d3", "1d2+1", ISET_ALLLEATHER, 5, 2, 0, ""} ^ item/xmissileweapon.cpp:33:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SLING, "sling", '{', "", "", "1d2-1", "1d3", "1d3", "1d2+1", ISET_ALLLEATHER, 5, 2, 0, ""} ^ item/xmissileweapon.cpp:33:100: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SLING, "sling", '{', "", "", "1d2-1", "1d3", "1d3", "1d2+1", ISET_ALLLEATHER, 5, 2, 0, ""} ^ 49 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xmissile.cpp -o obj/xmissile.o item/xmissile.cpp:24:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XMissile); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :344:1: note: expanded from here "XMissile" ^ item/xmissile.cpp:28:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ARROW, "arrow", '\\', "", "", "1d7-4","1d4", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:28:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ARROW, "arrow", '\\', "", "", "1d7-4","1d4", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:28:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ARROW, "arrow", '\\', "", "", "1d7-4","1d4", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:28:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ARROW, "arrow", '\\', "", "", "1d7-4","1d4", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:28:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ARROW, "arrow", '\\', "", "", "1d7-4","1d4", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:28:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ARROW, "arrow", '\\', "", "", "1d7-4","1d4", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:28:62: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ARROW, "arrow", '\\', "", "", "1d7-4","1d4", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:28:95: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ARROW, "arrow", '\\', "", "", "1d7-4","1d4", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:29:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_QUARREL, "quarrel", '\\', "", "", "1d7-4","1d6", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:29:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_QUARREL, "quarrel", '\\', "", "", "1d7-4","1d6", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:29:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_QUARREL, "quarrel", '\\', "", "", "1d7-4","1d6", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:29:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_QUARREL, "quarrel", '\\', "", "", "1d7-4","1d6", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:29:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_QUARREL, "quarrel", '\\', "", "", "1d7-4","1d6", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:29:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_QUARREL, "quarrel", '\\', "", "", "1d7-4","1d6", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:29:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_QUARREL, "quarrel", '\\', "", "", "1d7-4","1d6", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:29:98: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_QUARREL, "quarrel", '\\', "", "", "1d7-4","1d6", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:30:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SLINGBULLET,"sling bullet", '\\', "", "", "1d7-4","1d5", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:30:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SLINGBULLET,"sling bullet", '\\', "", "", "1d7-4","1d5", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:30:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SLINGBULLET,"sling bullet", '\\', "", "", "1d7-4","1d5", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:30:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SLINGBULLET,"sling bullet", '\\', "", "", "1d7-4","1d5", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:30:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SLINGBULLET,"sling bullet", '\\', "", "", "1d7-4","1d5", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:30:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SLINGBULLET,"sling bullet", '\\', "", "", "1d7-4","1d5", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:30:72: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SLINGBULLET,"sling bullet", '\\', "", "", "1d7-4","1d5", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:30:105: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SLINGBULLET,"sling bullet", '\\', "", "", "1d7-4","1d5", "1d3-2","1d2-1", ISET_MISSILE, 1, 1, 0, ""}, ^ item/xmissile.cpp:31:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ROCK, "rock", '*', "", "", "1d3-2","1d3", "1d3-2","1d2-1", ISET_STONE, 1, 1, 0, ""} ^ item/xmissile.cpp:31:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ROCK, "rock", '*', "", "", "1d3-2","1d3", "1d3-2","1d2-1", ISET_STONE, 1, 1, 0, ""} ^ item/xmissile.cpp:31:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ROCK, "rock", '*', "", "", "1d3-2","1d3", "1d3-2","1d2-1", ISET_STONE, 1, 1, 0, ""} ^ item/xmissile.cpp:31:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ROCK, "rock", '*', "", "", "1d3-2","1d3", "1d3-2","1d2-1", ISET_STONE, 1, 1, 0, ""} ^ item/xmissile.cpp:31:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ROCK, "rock", '*', "", "", "1d3-2","1d3", "1d3-2","1d2-1", ISET_STONE, 1, 1, 0, ""} ^ item/xmissile.cpp:31:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ROCK, "rock", '*', "", "", "1d3-2","1d3", "1d3-2","1d2-1", ISET_STONE, 1, 1, 0, ""} ^ item/xmissile.cpp:31:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ROCK, "rock", '*', "", "", "1d3-2","1d3", "1d3-2","1d2-1", ISET_STONE, 1, 1, 0, ""} ^ item/xmissile.cpp:31:92: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ROCK, "rock", '*', "", "", "1d3-2","1d3", "1d3-2","1d2-1", ISET_STONE, 1, 1, 0, ""} ^ 33 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c engine/xmapobj.cpp -o obj/xmapobj.o c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c engine/xlist.cpp -o obj/xlist.o c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c creature/xhero3.cpp -o obj/xhero3.o In file included from creature/xhero3.cpp:21: In file included from ./creature/xhero.h:26: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from creature/xhero3.cpp:21: In file included from ./creature/xhero.h:26: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from creature/xhero3.cpp:21: In file included from ./creature/xhero.h:26: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ creature/xhero3.cpp:309:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] FILE * f = fopen(vMakePath(HOME_DIR, tname), "w"); ^ ./global/global.h:43:22: note: expanded from macro 'HOME_DIR' # define HOME_DIR "~/.avanor/" ^ 5 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c creature/xhero2.cpp -o obj/xhero2.o In file included from creature/xhero2.cpp:21: In file included from ./creature/xhero.h:26: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from creature/xhero2.cpp:21: In file included from ./creature/xhero.h:26: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from creature/xhero2.cpp:21: In file included from ./creature/xhero.h:26: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ creature/xhero2.cpp:48:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"human", ^ creature/xhero2.cpp:49:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:1d4+8 Dx:1d4+8 To:1d4+8 Le:1d4+8 Wi:1d4+8 Ma:1d4+8 Pe:1d4+8 Ch:1d4+8", ^ creature/xhero2.cpp:50:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:1d8+18 Dx:1d8+18 To:1d8+18 Le:1d8+18 Wi:1d8+18 Ma:1d8+18 Pe:1d8+18 Ch:1d8+18", ^ creature/xhero2.cpp:51:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "0d0+1000", ^ creature/xhero2.cpp:55:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"half elf", ^ creature/xhero2.cpp:56:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:1d4+6 Dx:1d4+10 To:1d4+6 Le:1d4+10 Wi:1d4+8 Ma:1d4+8 Pe:1d4+8 Ch:1d4+8", ^ creature/xhero2.cpp:57:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:1d8+16 Dx:1d8+20 To:1d8+16 Le:1d8+20 Wi:1d8+18 Ma:1d8+18 Pe:1d8+18 Ch:1d8+18", ^ creature/xhero2.cpp:58:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "0d0+1000", ^ creature/xhero2.cpp:62:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"high elf", ^ creature/xhero2.cpp:63:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:1d4+5 Dx:1d4+12 To:1d4+4 Le:1d4+12 Wi:1d4+8 Ma:1d4+8 Pe:1d4+8 Ch:1d4+8", ^ creature/xhero2.cpp:64:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:1d8+15 Dx:1d8+22 To:1d8+14 Le:1d8+22 Wi:1d8+18 Ma:1d8+18 Pe:1d8+18 Ch:1d8+18", ^ creature/xhero2.cpp:65:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "0d0+1000", ^ creature/xhero2.cpp:70:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"halfling", ^ creature/xhero2.cpp:71:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:1d4+5 Dx:1d4+12 To:1d4+4 Le:1d4+8 Wi:1d4+8 Ma:1d4+8 Pe:1d4+10 Ch:1d4+10", ^ creature/xhero2.cpp:72:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:1d8+15 Dx:1d8+22 To:1d8+14 Le:1d8+18 Wi:1d8+18 Ma:1d8+18 Pe:1d8+20 Ch:1d8+20", ^ creature/xhero2.cpp:73:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "0d0+1000", ^ creature/xhero2.cpp:77:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"half orc", ^ creature/xhero2.cpp:78:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:1d4+14 Dx:1d4+10 To:1d4+12 Le:1d4+4 Wi:1d4+4 Ma:1d4+4 Pe:1d4+10 Ch:1d4+6", ^ creature/xhero2.cpp:79:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:1d8+24 Dx:1d8+20 To:1d8+22 Le:1d8+14 Wi:1d4+14 Ma:1d8+14 Pe:1d8+20 Ch:1d8+16", ^ creature/xhero2.cpp:80:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "0d0+1000", ^ creature/xhero2.cpp:84:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"dwarf", ^ creature/xhero2.cpp:85:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:1d4+10 Dx:1d4+4 To:1d4+14 Le:1d4+8 Wi:1d4+10 Ma:1d4+6 Pe:1d4+6 Ch:1d4+6", ^ creature/xhero2.cpp:86:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:1d8+20 Dx:1d8+14 To:1d8+24 Le:1d8+18 Wi:1d8+20 Ma:1d8+16 Pe:1d8+16 Ch:1d8+16", ^ creature/xhero2.cpp:87:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "0d0+1000", ^ creature/xhero2.cpp:91:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"gnome", ^ creature/xhero2.cpp:92:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:1d4+5 Dx:1d4+8 To:1d4+5 Le:1d4+12 Wi:1d4+12 Ma:1d4+8 Pe:1d4+8 Ch:1d4+6", ^ creature/xhero2.cpp:93:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:1d8+15 Dx:1d8+18 To:1d8+15 Le:1d8+22 Wi:1d8+22 Ma:1d8+18 Pe:1d8+18 Ch:1d8+16", ^ creature/xhero2.cpp:94:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "0d0+1000", ^ creature/xhero2.cpp:101:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"warrior", ^ creature/xhero2.cpp:102:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:0d0+4 Dx:0d0+4 To:0d0+4 Le:0d0-3 Wi:0d0-3 Ma:0d0-6 Pe:0d0+0 Ch:0d0+0"}, ^ creature/xhero2.cpp:104:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"wizard", ^ creature/xhero2.cpp:105:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:0d0-3 Dx:0d0-3 To:0d0-3 Le:0d0+3 Wi:0d0+3 Ma:0d0+3 Pe:0d0+0 Ch:0d0+0"}, ^ creature/xhero2.cpp:107:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"archer", ^ creature/xhero2.cpp:108:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:0d0+1 Dx:0d0+4 To:0d0+2 Le:0d0-2 Wi:0d0-2 Ma:0d0-4 Pe:0d0+1 Ch:0d0+0"}, ^ creature/xhero2.cpp:110:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"ranger", ^ creature/xhero2.cpp:111:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:0d0+0 Dx:0d0+2 To:0d0+2 Le:0d0-2 Wi:0d0-1 Ma:0d0-0 Pe:0d0+0 Ch:0d0+0"}, ^ creature/xhero2.cpp:113:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"cleric", ^ creature/xhero2.cpp:114:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:0d0-2 Dx:0d0-2 To:0d0-1 Le:0d0+2 Wi:0d0+2 Ma:0d0-2 Pe:0d0+3 Ch:0d0+0"}, ^ creature/xhero2.cpp:116:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"paladin", ^ creature/xhero2.cpp:117:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:0d0+2 Dx:0d0+0 To:0d0+2 Le:0d0-2 Wi:0d0+1 Ma:0d0-3 Pe:0d0+0 Ch:0d0+0"}, ^ creature/xhero2.cpp:119:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"alchemist", ^ creature/xhero2.cpp:120:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:0d0-2 Dx:0d0-2 To:0d0-2 Le:0d0+3 Wi:0d0+1 Ma:0d0-2 Pe:0d0+2 Ch:0d0+0"}, ^ creature/xhero2.cpp:122:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"bard", ^ creature/xhero2.cpp:123:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:0d0+1 Dx:0d0+1 To:0d0 Le:0d0-2 Wi:0d0 Ma:0d0 Pe:0d0 Ch:0d0+0"}, ^ creature/xhero2.cpp:129:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"male", ^ creature/xhero2.cpp:130:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:0d0+1 Dx:0d0+0 To:0d0+0 Le:0d0+0 Wi:0d0+0 Ma:0d0+0 Pe:0d0+0 Ch:0d0+0"}, ^ creature/xhero2.cpp:132:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"female", ^ creature/xhero2.cpp:133:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:0d0+0 Dx:0d0+0 To:0d0+1 Le:0d0+0 Wi:0d0+0 Ma:0d0+0 Pe:0d0+0 Ch:0d0+0"}, ^ 52 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c creature/xhero.cpp -o obj/xhero.o In file included from creature/xhero.cpp:21: In file included from ./creature/xhero.h:26: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from creature/xhero.cpp:21: In file included from ./creature/xhero.h:26: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from creature/xhero.cpp:21: In file included from ./creature/xhero.h:26: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ creature/xhero.cpp:41:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XHero); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :83:1: note: expanded from here "XHero" ^ creature/xhero.cpp:844:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * empty = " "; ^ creature/xhero.cpp:845:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * smask = "[|{}'=!?\"\\%]]$X"; ^ creature/xhero.cpp:858:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * output_items_ext = "[[[[[[|'={}!?\"\\%%]]$"; ^ creature/xhero.cpp:860:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Helmets", "Armours", "Cloaks", "Gloves", "Boots", "Shields", ^ creature/xhero.cpp:860:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Helmets", "Armours", "Cloaks", "Gloves", "Boots", "Shields", ^ creature/xhero.cpp:860:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Helmets", "Armours", "Cloaks", "Gloves", "Boots", "Shields", ^ creature/xhero.cpp:860:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Helmets", "Armours", "Cloaks", "Gloves", "Boots", "Shields", ^ creature/xhero.cpp:860:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Helmets", "Armours", "Cloaks", "Gloves", "Boots", "Shields", ^ creature/xhero.cpp:860:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Helmets", "Armours", "Cloaks", "Gloves", "Boots", "Shields", ^ creature/xhero.cpp:861:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Weapon", "Necklaces", "Rings", "Missile weapon", "Missiles", "Potions", ^ creature/xhero.cpp:861:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Weapon", "Necklaces", "Rings", "Missile weapon", "Missiles", "Potions", ^ creature/xhero.cpp:861:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Weapon", "Necklaces", "Rings", "Missile weapon", "Missiles", "Potions", ^ creature/xhero.cpp:861:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Weapon", "Necklaces", "Rings", "Missile weapon", "Missiles", "Potions", ^ creature/xhero.cpp:861:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Weapon", "Necklaces", "Rings", "Missile weapon", "Missiles", "Potions", ^ creature/xhero.cpp:861:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Weapon", "Necklaces", "Rings", "Missile weapon", "Missiles", "Potions", ^ creature/xhero.cpp:862:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Scrolls", "Books", "Wands", "Food", "Herbs", "Light sources", "Tools", "Money"}; ^ creature/xhero.cpp:862:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Scrolls", "Books", "Wands", "Food", "Herbs", "Light sources", "Tools", "Money"}; ^ creature/xhero.cpp:862:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Scrolls", "Books", "Wands", "Food", "Herbs", "Light sources", "Tools", "Money"}; ^ creature/xhero.cpp:862:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Scrolls", "Books", "Wands", "Food", "Herbs", "Light sources", "Tools", "Money"}; ^ creature/xhero.cpp:862:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Scrolls", "Books", "Wands", "Food", "Herbs", "Light sources", "Tools", "Money"}; ^ creature/xhero.cpp:862:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Scrolls", "Books", "Wands", "Food", "Herbs", "Light sources", "Tools", "Money"}; ^ creature/xhero.cpp:862:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Scrolls", "Books", "Wands", "Food", "Herbs", "Light sources", "Tools", "Money"}; ^ creature/xhero.cpp:862:73: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Scrolls", "Books", "Wands", "Food", "Herbs", "Light sources", "Tools", "Money"}; ^ creature/xhero.cpp:1001:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * part_names[] = {"", ^ creature/xhero.cpp:1002:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Head", "Necklace", "Body", "Cloak", ^ creature/xhero.cpp:1002:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Head", "Necklace", "Body", "Cloak", ^ creature/xhero.cpp:1002:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Head", "Necklace", "Body", "Cloak", ^ creature/xhero.cpp:1002:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Head", "Necklace", "Body", "Cloak", ^ creature/xhero.cpp:1003:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Left hand", "Left ring", "Gloves", ^ creature/xhero.cpp:1003:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Left hand", "Left ring", "Gloves", ^ creature/xhero.cpp:1003:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Left hand", "Left ring", "Gloves", ^ creature/xhero.cpp:1004:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Boots", "Light source", "Tool", "Missile weapon", "Missile", "eof"}; ^ creature/xhero.cpp:1004:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Boots", "Light source", "Tool", "Missile weapon", "Missile", "eof"}; ^ creature/xhero.cpp:1004:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Boots", "Light source", "Tool", "Missile weapon", "Missile", "eof"}; ^ creature/xhero.cpp:1004:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Boots", "Light source", "Tool", "Missile weapon", "Missile", "eof"}; ^ creature/xhero.cpp:1004:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Boots", "Light source", "Tool", "Missile weapon", "Missile", "eof"}; ^ creature/xhero.cpp:1004:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Boots", "Light source", "Tool", "Missile weapon", "Missile", "eof"}; ^ creature/xhero.cpp:1895:17: warning: 5 enumeration values not handled in switch: 'TR_NONE', 'TR_ATTACK_POSTION', 'TR_IMPROVE'... [-Wswitch] switch (tr) ^~ creature/xhero.cpp:2158:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "unskilled", ^ creature/xhero.cpp:2159:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "basic", "basic", "basic", ^ creature/xhero.cpp:2159:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "basic", "basic", "basic", ^ creature/xhero.cpp:2159:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "basic", "basic", "basic", ^ creature/xhero.cpp:2160:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "advanced", "advanced", "advanced", "advanced", ^ creature/xhero.cpp:2160:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "advanced", "advanced", "advanced", "advanced", ^ creature/xhero.cpp:2160:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "advanced", "advanced", "advanced", "advanced", ^ creature/xhero.cpp:2160:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "advanced", "advanced", "advanced", "advanced", ^ creature/xhero.cpp:2161:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "expert", "expert", "expert", "expert", ^ creature/xhero.cpp:2161:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "expert", "expert", "expert", "expert", ^ creature/xhero.cpp:2161:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "expert", "expert", "expert", "expert", ^ creature/xhero.cpp:2161:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "expert", "expert", "expert", "expert", ^ creature/xhero.cpp:2162:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "master", "master", "master", ^ creature/xhero.cpp:2162:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "master", "master", "master", ^ creature/xhero.cpp:2162:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "master", "master", "master", ^ creature/xhero.cpp:2163:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "grand master" ^ creature/xhero.cpp:2344:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] last_creature->xai->Chat(this, ""); ^ creature/xhero.cpp:2351:91: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] (l->map->GetMonster(x + pt.x, y + pt.y))->xai->Chat(this, ""); ^ 61 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xherb.cpp -o obj/xherb.o In file included from item/xherb.cpp:22: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from item/xherb.cpp:22: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from item/xherb.cpp:22: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ item/xherb.cpp:30:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"valeriana root", "valeriana", "sedative", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:30:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"valeriana root", "valeriana", "sedative", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:30:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"valeriana root", "valeriana", "sedative", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:31:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"stellaria leave", "stellaria", "strange", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:31:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"stellaria leave", "stellaria", "strange", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:31:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"stellaria leave", "stellaria", "strange", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:32:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"trifolium leave", "trifolium", "grassy", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:32:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"trifolium leave", "trifolium", "grassy", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:32:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"trifolium leave", "trifolium", "grassy", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:33:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"trifolium flower", "trifolium", "sweet", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:33:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"trifolium flower", "trifolium", "sweet", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:33:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"trifolium flower", "trifolium", "sweet", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:34:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"urtica leave", "urtica", "bitter", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:34:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"urtica leave", "urtica", "bitter", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:34:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"urtica leave", "urtica", "bitter", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:35:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"convallaria flower", "convallaria", "sweet", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:35:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"convallaria flower", "convallaria", "sweet", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:35:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"convallaria flower", "convallaria", "sweet", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:36:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"tussilago farfara leave", "tussilago farfara", "bitter", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:36:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"tussilago farfara leave", "tussilago farfara", "bitter", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:36:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"tussilago farfara leave", "tussilago farfara", "bitter", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:37:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"melissa leave", "melissa", "delicate", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:37:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"melissa leave", "melissa", "delicate", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:37:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"melissa leave", "melissa", "delicate", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:38:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"mentha leave", "mentha", "mint", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:38:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"mentha leave", "mentha", "mint", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:38:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"mentha leave", "mentha", "mint", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:39:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"taraxacum flower", "taraxacum", "sweet", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:39:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"taraxacum flower", "taraxacum", "sweet", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:39:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"taraxacum flower", "taraxacum", "sweet", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:40:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"paeonia root", "paeonia", "bitter", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:40:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"paeonia root", "paeonia", "bitter", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:40:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"paeonia root", "paeonia", "bitter", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:41:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"plantago leave", "plantago", "bitter", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:41:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"plantago leave", "plantago", "bitter", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:41:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"plantago leave", "plantago", "bitter", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:42:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"chamomilla flower", "chamomilla", "sweet", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:42:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"chamomilla flower", "chamomilla", "sweet", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:42:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"chamomilla flower", "chamomilla", "sweet", xGREEN, HT_HERB, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:44:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"red mushroom", "red mushroom", "bitter", xRED, HT_MUSHROOM, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:44:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"red mushroom", "red mushroom", "bitter", xRED, HT_MUSHROOM, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:44:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"red mushroom", "red mushroom", "bitter", xRED, HT_MUSHROOM, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:45:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"green mushroom", "green mushroom", "bitter", xGREEN, HT_MUSHROOM, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:45:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"green mushroom", "green mushroom", "bitter", xGREEN, HT_MUSHROOM, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:45:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"green mushroom", "green mushroom", "bitter", xGREEN, HT_MUSHROOM, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:46:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"blue mushroom", "blue mushroom", "bitter", xBLUE, HT_MUSHROOM, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:46:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"blue mushroom", "blue mushroom", "bitter", xBLUE, HT_MUSHROOM, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:46:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"blue mushroom", "blue mushroom", "bitter", xBLUE, HT_MUSHROOM, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:47:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"yellow mushroom", "yellow mushroom", "bitter", xYELLOW, HT_MUSHROOM, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:47:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"yellow mushroom", "yellow mushroom", "bitter", xYELLOW, HT_MUSHROOM, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:47:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"yellow mushroom", "yellow mushroom", "bitter", xYELLOW, HT_MUSHROOM, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:48:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"white mushroom", "white mushroom", "bitter", xWHITE, HT_MUSHROOM, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:48:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"white mushroom", "white mushroom", "bitter", xWHITE, HT_MUSHROOM, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:48:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"white mushroom", "white mushroom", "bitter", xWHITE, HT_MUSHROOM, PN_UNKNOWN, 0, 0}, ^ item/xherb.cpp:121:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XHerb); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :388:1: note: expanded from here "XHerb" ^ item/xherb.cpp:180:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XHerbBush); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :390:1: note: expanded from here "XHerbBush" ^ item/xherb.cpp:213:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * size_name = ""; ^ item/xherb.cpp:216:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 1: size_name = "small"; break; ^ item/xherb.cpp:217:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 2: size_name = "medium"; break; ^ item/xherb.cpp:218:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 3: size_name = "large"; break; ^ item/xherb.cpp:309:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XMushSpawn); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :398:1: note: expanded from here "XMushSpawn" ^ 65 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c helpers/xguihtml.cpp -o obj/xguihtml.o c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c helpers/xgui.cpp -o obj/xgui.o In file included from helpers/xgui.cpp:24: In file included from ./creature/xhero.h:26: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from helpers/xgui.cpp:24: In file included from ./creature/xhero.h:26: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from helpers/xgui.cpp:24: In file included from ./creature/xhero.h:26: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ helpers/xgui.cpp:242:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tprompt = MSG_LIGHTGRAY "Use " MSG_BROWN "[" MSG_YELLOW "/*-+" MSG_BROWN "]" MSG_LIGHTGRAY "to scroll up/down, " MSG_BROWN "[" MSG_YELLOW "ESC" MSG_LIGHTGRAY "," MSG_YELLOW "Z" MSG_BROWN "]" MSG_LIGHTGRAY " to exit."; ^ ./global/global.h:103:28: note: expanded from macro 'MSG_LIGHTGRAY' #define MSG_LIGHTGRAY "\x1F\x07" ^ 5 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xgloves.cpp -o obj/xgloves.o item/xgloves.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XGloves); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :344:1: note: expanded from here "XGloves" ^ item/xgloves.cpp:28:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GLOVES, "gloves", ']', "1d2-1", "1d2-1", "1d4-2", "1d1", "1d1-1", "1d4-2",ISET_ALLLEATHER, 2, 1, 0, ""}, ^ item/xgloves.cpp:28:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GLOVES, "gloves", ']', "1d2-1", "1d2-1", "1d4-2", "1d1", "1d1-1", "1d4-2",ISET_ALLLEATHER, 2, 1, 0, ""}, ^ item/xgloves.cpp:28:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GLOVES, "gloves", ']', "1d2-1", "1d2-1", "1d4-2", "1d1", "1d1-1", "1d4-2",ISET_ALLLEATHER, 2, 1, 0, ""}, ^ item/xgloves.cpp:28:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GLOVES, "gloves", ']', "1d2-1", "1d2-1", "1d4-2", "1d1", "1d1-1", "1d4-2",ISET_ALLLEATHER, 2, 1, 0, ""}, ^ item/xgloves.cpp:28:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GLOVES, "gloves", ']', "1d2-1", "1d2-1", "1d4-2", "1d1", "1d1-1", "1d4-2",ISET_ALLLEATHER, 2, 1, 0, ""}, ^ item/xgloves.cpp:28:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GLOVES, "gloves", ']', "1d2-1", "1d2-1", "1d4-2", "1d1", "1d1-1", "1d4-2",ISET_ALLLEATHER, 2, 1, 0, ""}, ^ item/xgloves.cpp:28:74: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GLOVES, "gloves", ']', "1d2-1", "1d2-1", "1d4-2", "1d1", "1d1-1", "1d4-2",ISET_ALLLEATHER, 2, 1, 0, ""}, ^ item/xgloves.cpp:28:109: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GLOVES, "gloves", ']', "1d2-1", "1d2-1", "1d4-2", "1d1", "1d1-1", "1d4-2",ISET_ALLLEATHER, 2, 1, 0, ""}, ^ item/xgloves.cpp:29:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GAUNTLETS, "gauntlets", ']', "1d3-1", "1d3-1", "1d4-2", "1d1", "1d2-1", "1d4-2",ISET_ALLMETAL, 3, 1, 0, ""}, ^ item/xgloves.cpp:29:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GAUNTLETS, "gauntlets", ']', "1d3-1", "1d3-1", "1d4-2", "1d1", "1d2-1", "1d4-2",ISET_ALLMETAL, 3, 1, 0, ""}, ^ item/xgloves.cpp:29:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GAUNTLETS, "gauntlets", ']', "1d3-1", "1d3-1", "1d4-2", "1d1", "1d2-1", "1d4-2",ISET_ALLMETAL, 3, 1, 0, ""}, ^ item/xgloves.cpp:29:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GAUNTLETS, "gauntlets", ']', "1d3-1", "1d3-1", "1d4-2", "1d1", "1d2-1", "1d4-2",ISET_ALLMETAL, 3, 1, 0, ""}, ^ item/xgloves.cpp:29:62: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GAUNTLETS, "gauntlets", ']', "1d3-1", "1d3-1", "1d4-2", "1d1", "1d2-1", "1d4-2",ISET_ALLMETAL, 3, 1, 0, ""}, ^ item/xgloves.cpp:29:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GAUNTLETS, "gauntlets", ']', "1d3-1", "1d3-1", "1d4-2", "1d1", "1d2-1", "1d4-2",ISET_ALLMETAL, 3, 1, 0, ""}, ^ item/xgloves.cpp:29:78: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GAUNTLETS, "gauntlets", ']', "1d3-1", "1d3-1", "1d4-2", "1d1", "1d2-1", "1d4-2",ISET_ALLMETAL, 3, 1, 0, ""}, ^ item/xgloves.cpp:29:112: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_GAUNTLETS, "gauntlets", ']', "1d3-1", "1d3-1", "1d4-2", "1d1", "1d2-1", "1d4-2",ISET_ALLMETAL, 3, 1, 0, ""}, ^ item/xgloves.cpp:30:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KNUCKLES, "knuckles", ']', "1d2-1", "1d2-1", "1d3-2", "1d1", "1d3-1", "1d6-3",ISET_HARDMETAL, 4, 1, 0, ""} ^ item/xgloves.cpp:30:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KNUCKLES, "knuckles", ']', "1d2-1", "1d2-1", "1d3-2", "1d1", "1d3-1", "1d6-3",ISET_HARDMETAL, 4, 1, 0, ""} ^ item/xgloves.cpp:30:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KNUCKLES, "knuckles", ']', "1d2-1", "1d2-1", "1d3-2", "1d1", "1d3-1", "1d6-3",ISET_HARDMETAL, 4, 1, 0, ""} ^ item/xgloves.cpp:30:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KNUCKLES, "knuckles", ']', "1d2-1", "1d2-1", "1d3-2", "1d1", "1d3-1", "1d6-3",ISET_HARDMETAL, 4, 1, 0, ""} ^ item/xgloves.cpp:30:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KNUCKLES, "knuckles", ']', "1d2-1", "1d2-1", "1d3-2", "1d1", "1d3-1", "1d6-3",ISET_HARDMETAL, 4, 1, 0, ""} ^ item/xgloves.cpp:30:67: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KNUCKLES, "knuckles", ']', "1d2-1", "1d2-1", "1d3-2", "1d1", "1d3-1", "1d6-3",ISET_HARDMETAL, 4, 1, 0, ""} ^ item/xgloves.cpp:30:76: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KNUCKLES, "knuckles", ']', "1d2-1", "1d2-1", "1d3-2", "1d1", "1d3-1", "1d6-3",ISET_HARDMETAL, 4, 1, 0, ""} ^ item/xgloves.cpp:30:111: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_KNUCKLES, "knuckles", ']', "1d2-1", "1d2-1", "1d3-2", "1d1", "1d3-1", "1d6-3",ISET_HARDMETAL, 4, 1, 0, ""} ^ 25 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c other/xgen.cpp -o obj/xgen.o In file included from other/xgen.cpp:23: In file included from ./game/game.h:27: In file included from ./creature/xhero.h:26: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from other/xgen.cpp:23: In file included from ./game/game.h:27: In file included from ./creature/xhero.h:26: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from other/xgen.cpp:23: In file included from ./game/game.h:27: In file included from ./creature/xhero.h:26: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ other/xgen.cpp:25:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XUniversalGen); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :388:1: note: expanded from here "XUniversalGen" ^ other/xgen.cpp:83:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XMainLocationGen); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :390:1: note: expanded from here "XMainLocationGen" ^ 6 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xenhance.cpp -o obj/xenhance.o item/xenhance.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XEnhance); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :343:1: note: expanded from here "XEnhance" ^ item/xenhance.cpp:26:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {/*EC_WHITE,*/ xWHITE, "white"}, ^ item/xenhance.cpp:27:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {/*EC_BLUE,*/ xBLUE, "blue"}, ^ item/xenhance.cpp:28:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {/*EC_BLACK,*/ xDARKGRAY, "black"}, ^ item/xenhance.cpp:29:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {/*EC_GOLDEN,*/ xYELLOW, "golden"}, ^ item/xenhance.cpp:30:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {/*EC_COPPER,*/ xRED, "copper"}, ^ item/xenhance.cpp:31:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {/*EC_WOODEN,*/ xBROWN, "wooden"}, ^ item/xenhance.cpp:32:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {/*EC_RED,*/ xRED, "red"}, ^ item/xenhance.cpp:33:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {/*EC_MARBLE,*/ xWHITE, "marble"}, ^ item/xenhance.cpp:34:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {/*EC_PERAL,*/ xYELLOW, "pearl"}, ^ item/xenhance.cpp:35:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {/*EC_SAPHIRE,*/xLIGHTGREEN,"sapphire"}, ^ item/xenhance.cpp:36:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {/*EC_DIAMOND*/ xCYAN, "diamond"}, ^ item/xenhance.cpp:37:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {/*EC_RUBY,*/ xRED, "ruby"}, ^ item/xenhance.cpp:38:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {/*EC_STEEL,*/ xBLUE, "steel"}, ^ item/xenhance.cpp:39:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {/*EC_GLASS,*/ xLIGHTGRAY, "glass"}, ^ item/xenhance.cpp:40:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {/*EC_OBSIDIAN*/xDARKGRAY, "obsidian"}, ^ item/xenhance.cpp:72:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {ENH_PROTECTION, "of protection", ^ item/xenhance.cpp:73:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "1d6-2", ^ item/xenhance.cpp:73:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "1d6-2", ^ item/xenhance.cpp:74:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:74:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:74:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:74:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:75:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/xenhance.cpp:76:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/xenhance.cpp:79:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {ENH_DAMAGE, "of damage", ^ item/xenhance.cpp:80:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", ^ item/xenhance.cpp:80:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", ^ item/xenhance.cpp:81:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "1d6-2", "", ^ item/xenhance.cpp:81:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "1d6-2", "", ^ item/xenhance.cpp:81:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "1d6-2", "", ^ item/xenhance.cpp:81:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "1d6-2", "", ^ item/xenhance.cpp:82:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/xenhance.cpp:83:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/xenhance.cpp:86:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {ENH_SLAYING, "of slaying", ^ item/xenhance.cpp:87:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", ^ item/xenhance.cpp:87:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", ^ item/xenhance.cpp:88:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d6-2", "", "1d6-2", "", ^ item/xenhance.cpp:88:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d6-2", "", "1d6-2", "", ^ item/xenhance.cpp:88:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d6-2", "", "1d6-2", "", ^ item/xenhance.cpp:88:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d6-2", "", "1d6-2", "", ^ item/xenhance.cpp:89:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/xenhance.cpp:90:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/xenhance.cpp:93:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {ENH_FREEACTION, "of free action", ^ item/xenhance.cpp:94:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", ^ item/xenhance.cpp:94:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", ^ item/xenhance.cpp:95:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:95:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:95:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:95:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:96:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "stun:8d5+50 confuse:8d5+50", ^ item/xenhance.cpp:97:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/xenhance.cpp:100:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {ENH_INVISIBILITY, "of invisibility", ^ item/xenhance.cpp:101:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", ^ item/xenhance.cpp:101:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", ^ item/xenhance.cpp:102:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:102:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:102:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:102:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:103:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "invisible:0d0+10", ^ item/xenhance.cpp:104:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/xenhance.cpp:107:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {ENH_SEEINVISIBLE, "of see invisible", ^ item/xenhance.cpp:108:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", ^ item/xenhance.cpp:108:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", ^ item/xenhance.cpp:109:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:109:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:109:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:109:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:110:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "see_invisible:0d0+10", ^ item/xenhance.cpp:111:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/xenhance.cpp:114:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {ENH_FIRERESIST, "of fire resistance", ^ item/xenhance.cpp:115:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", ^ item/xenhance.cpp:115:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", ^ item/xenhance.cpp:116:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:116:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:116:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:116:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:117:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "fire:8d5+30", ^ item/xenhance.cpp:118:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/xenhance.cpp:121:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {ENH_ACIDRESIST, "of acid resistance", ^ item/xenhance.cpp:122:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", ^ item/xenhance.cpp:122:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", ^ item/xenhance.cpp:123:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:123:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:123:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:123:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:124:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "fire:8d5+25", ^ item/xenhance.cpp:125:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/xenhance.cpp:128:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {ENH_POISONRESIST, "of poison resistance", ^ item/xenhance.cpp:129:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", ^ item/xenhance.cpp:129:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", ^ item/xenhance.cpp:130:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:130:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:130:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:130:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:131:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "fire:8d5+25", ^ item/xenhance.cpp:132:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/xenhance.cpp:135:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {ENH_STR, "of Strength", ^ item/xenhance.cpp:136:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", ^ item/xenhance.cpp:136:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", ^ item/xenhance.cpp:137:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:137:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:137:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:137:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:138:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/xenhance.cpp:139:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:1d4", ^ item/xenhance.cpp:142:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {ENH_POWER, "of Power", ^ item/xenhance.cpp:143:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", ^ item/xenhance.cpp:143:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", ^ item/xenhance.cpp:144:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:144:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:144:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:144:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", ^ item/xenhance.cpp:145:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/xenhance.cpp:146:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Wi:1d4", ^ 115 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xcorpse.cpp -o obj/xcorpse.o In file included from item/xcorpse.cpp:21: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from item/xcorpse.cpp:21: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from item/xcorpse.cpp:21: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ item/xcorpse.cpp:28:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XCorpse); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :6:1: note: expanded from here "XCorpse" ^ item/xcorpse.cpp:79:12: warning: enumeration value 'CET_SATIATION' not handled in switch [-Wswitch] switch ((*it).type) ^~~~~~~~~~ item/xcorpse.cpp:175:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "tasty"; ^ 7 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xclothe.cpp -o obj/xclothe.o item/xclothe.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XClothe); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :343:1: note: expanded from here "XClothe" ^ item/xclothe.cpp:58:34: warning: data argument not used by format string [-Wformat-extra-args] sprintf(tbuf, "(%+d)", _HIT, dice.Z); ~~~~~~~ ^ 2 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xcloak.cpp -o obj/xcloak.o item/xcloak.cpp:28:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTCLOAK, "light cloak", '(', "1d4-1", "1d1-1", "", "1d1", "", "", ISET_ALLLEATHER, 1, 2, 0, ""}, ^ item/xcloak.cpp:28:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTCLOAK, "light cloak", '(', "1d4-1", "1d1-1", "", "1d1", "", "", ISET_ALLLEATHER, 1, 2, 0, ""}, ^ item/xcloak.cpp:28:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTCLOAK, "light cloak", '(', "1d4-1", "1d1-1", "", "1d1", "", "", ISET_ALLLEATHER, 1, 2, 0, ""}, ^ item/xcloak.cpp:28:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTCLOAK, "light cloak", '(', "1d4-1", "1d1-1", "", "1d1", "", "", ISET_ALLLEATHER, 1, 2, 0, ""}, ^ item/xcloak.cpp:28:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTCLOAK, "light cloak", '(', "1d4-1", "1d1-1", "", "1d1", "", "", ISET_ALLLEATHER, 1, 2, 0, ""}, ^ item/xcloak.cpp:28:68: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTCLOAK, "light cloak", '(', "1d4-1", "1d1-1", "", "1d1", "", "", ISET_ALLLEATHER, 1, 2, 0, ""}, ^ item/xcloak.cpp:28:74: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTCLOAK, "light cloak", '(', "1d4-1", "1d1-1", "", "1d1", "", "", ISET_ALLLEATHER, 1, 2, 0, ""}, ^ item/xcloak.cpp:28:107: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTCLOAK, "light cloak", '(', "1d4-1", "1d1-1", "", "1d1", "", "", ISET_ALLLEATHER, 1, 2, 0, ""}, ^ item/xcloak.cpp:29:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLOAK, "cloak", '(', "1d3-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 3, 0, ""}, ^ item/xcloak.cpp:29:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLOAK, "cloak", '(', "1d3-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 3, 0, ""}, ^ item/xcloak.cpp:29:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLOAK, "cloak", '(', "1d3-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 3, 0, ""}, ^ item/xcloak.cpp:29:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLOAK, "cloak", '(', "1d3-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 3, 0, ""}, ^ item/xcloak.cpp:29:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLOAK, "cloak", '(', "1d3-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 3, 0, ""}, ^ item/xcloak.cpp:29:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLOAK, "cloak", '(', "1d3-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 3, 0, ""}, ^ item/xcloak.cpp:29:66: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLOAK, "cloak", '(', "1d3-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 3, 0, ""}, ^ item/xcloak.cpp:29:99: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLOAK, "cloak", '(', "1d3-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 3, 0, ""}, ^ item/xcloak.cpp:30:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHADOWCLOAK,"shadow cloak", '(', "1d6-3", "1d10-1", "", "1d1", "", "", ISET_ALLLEATHER, 15, 8, 0, ""}, ^ item/xcloak.cpp:30:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHADOWCLOAK,"shadow cloak", '(', "1d6-3", "1d10-1", "", "1d1", "", "", ISET_ALLLEATHER, 15, 8, 0, ""}, ^ item/xcloak.cpp:30:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHADOWCLOAK,"shadow cloak", '(', "1d6-3", "1d10-1", "", "1d1", "", "", ISET_ALLLEATHER, 15, 8, 0, ""}, ^ item/xcloak.cpp:30:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHADOWCLOAK,"shadow cloak", '(', "1d6-3", "1d10-1", "", "1d1", "", "", ISET_ALLLEATHER, 15, 8, 0, ""}, ^ item/xcloak.cpp:30:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHADOWCLOAK,"shadow cloak", '(', "1d6-3", "1d10-1", "", "1d1", "", "", ISET_ALLLEATHER, 15, 8, 0, ""}, ^ item/xcloak.cpp:30:70: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHADOWCLOAK,"shadow cloak", '(', "1d6-3", "1d10-1", "", "1d1", "", "", ISET_ALLLEATHER, 15, 8, 0, ""}, ^ item/xcloak.cpp:30:76: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHADOWCLOAK,"shadow cloak", '(', "1d6-3", "1d10-1", "", "1d1", "", "", ISET_ALLLEATHER, 15, 8, 0, ""}, ^ item/xcloak.cpp:30:111: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SHADOWCLOAK,"shadow cloak", '(', "1d6-3", "1d10-1", "", "1d1", "", "", ISET_ALLLEATHER, 15, 8, 0, ""}, ^ item/xcloak.cpp:31:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CAPE, "cape", '(', "1d3-1", "1d1-1", "", "1d1", "", "", ISET_SOFT, 2, 2, 0, ""} ^ item/xcloak.cpp:31:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CAPE, "cape", '(', "1d3-1", "1d1-1", "", "1d1", "", "", ISET_SOFT, 2, 2, 0, ""} ^ item/xcloak.cpp:31:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CAPE, "cape", '(', "1d3-1", "1d1-1", "", "1d1", "", "", ISET_SOFT, 2, 2, 0, ""} ^ item/xcloak.cpp:31:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CAPE, "cape", '(', "1d3-1", "1d1-1", "", "1d1", "", "", ISET_SOFT, 2, 2, 0, ""} ^ item/xcloak.cpp:31:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CAPE, "cape", '(', "1d3-1", "1d1-1", "", "1d1", "", "", ISET_SOFT, 2, 2, 0, ""} ^ item/xcloak.cpp:31:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CAPE, "cape", '(', "1d3-1", "1d1-1", "", "1d1", "", "", ISET_SOFT, 2, 2, 0, ""} ^ item/xcloak.cpp:31:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CAPE, "cape", '(', "1d3-1", "1d1-1", "", "1d1", "", "", ISET_SOFT, 2, 2, 0, ""} ^ item/xcloak.cpp:31:94: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CAPE, "cape", '(', "1d3-1", "1d1-1", "", "1d1", "", "", ISET_SOFT, 2, 2, 0, ""} ^ item/xcloak.cpp:35:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XCloak); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :344:1: note: expanded from here "XCloak" ^ 33 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xcap.cpp -o obj/xcap.o item/xcap.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XCap); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :344:1: note: expanded from here "XCap" ^ item/xcap.cpp:27:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HAT, "hat", '[', "1d2-1", "1d1-1", "", "1d1", "", "", ISET_SOFT, 1, 1, 0, ""}, ^ item/xcap.cpp:27:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HAT, "hat", '[', "1d2-1", "1d1-1", "", "1d1", "", "", ISET_SOFT, 1, 1, 0, ""}, ^ item/xcap.cpp:27:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HAT, "hat", '[', "1d2-1", "1d1-1", "", "1d1", "", "", ISET_SOFT, 1, 1, 0, ""}, ^ item/xcap.cpp:27:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HAT, "hat", '[', "1d2-1", "1d1-1", "", "1d1", "", "", ISET_SOFT, 1, 1, 0, ""}, ^ item/xcap.cpp:27:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HAT, "hat", '[', "1d2-1", "1d1-1", "", "1d1", "", "", ISET_SOFT, 1, 1, 0, ""}, ^ item/xcap.cpp:27:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HAT, "hat", '[', "1d2-1", "1d1-1", "", "1d1", "", "", ISET_SOFT, 1, 1, 0, ""}, ^ item/xcap.cpp:27:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HAT, "hat", '[', "1d2-1", "1d1-1", "", "1d1", "", "", ISET_SOFT, 1, 1, 0, ""}, ^ item/xcap.cpp:27:90: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HAT, "hat", '[', "1d2-1", "1d1-1", "", "1d1", "", "", ISET_SOFT, 1, 1, 0, ""}, ^ item/xcap.cpp:28:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CAP, "cap", '[', "1d2-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 2, 0, ""}, ^ item/xcap.cpp:28:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CAP, "cap", '[', "1d2-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 2, 0, ""}, ^ item/xcap.cpp:28:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CAP, "cap", '[', "1d2-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 2, 0, ""}, ^ item/xcap.cpp:28:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CAP, "cap", '[', "1d2-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 2, 0, ""}, ^ item/xcap.cpp:28:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CAP, "cap", '[', "1d2-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 2, 0, ""}, ^ item/xcap.cpp:28:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CAP, "cap", '[', "1d2-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 2, 0, ""}, ^ item/xcap.cpp:28:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CAP, "cap", '[', "1d2-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 2, 0, ""}, ^ item/xcap.cpp:28:93: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CAP, "cap", '[', "1d2-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 2, 0, ""}, ^ item/xcap.cpp:29:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HELMET, "helmet", '[', "1d2-3", "1d3-1", "", "1d3", "", "", ISET_HARDMETAL, 3, 3, 0, ""}, ^ item/xcap.cpp:29:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HELMET, "helmet", '[', "1d2-3", "1d3-1", "", "1d3", "", "", ISET_HARDMETAL, 3, 3, 0, ""}, ^ item/xcap.cpp:29:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HELMET, "helmet", '[', "1d2-3", "1d3-1", "", "1d3", "", "", ISET_HARDMETAL, 3, 3, 0, ""}, ^ item/xcap.cpp:29:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HELMET, "helmet", '[', "1d2-3", "1d3-1", "", "1d3", "", "", ISET_HARDMETAL, 3, 3, 0, ""}, ^ item/xcap.cpp:29:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HELMET, "helmet", '[', "1d2-3", "1d3-1", "", "1d3", "", "", ISET_HARDMETAL, 3, 3, 0, ""}, ^ item/xcap.cpp:29:62: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HELMET, "helmet", '[', "1d2-3", "1d3-1", "", "1d3", "", "", ISET_HARDMETAL, 3, 3, 0, ""}, ^ item/xcap.cpp:29:66: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HELMET, "helmet", '[', "1d2-3", "1d3-1", "", "1d3", "", "", ISET_HARDMETAL, 3, 3, 0, ""}, ^ item/xcap.cpp:29:98: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HELMET, "helmet", '[', "1d2-3", "1d3-1", "", "1d3", "", "", ISET_HARDMETAL, 3, 3, 0, ""}, ^ 25 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xboots.cpp -o obj/xboots.o item/xboots.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XBoots); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :344:1: note: expanded from here "XBoots" ^ item/xboots.cpp:28:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SANDALS, "sandals", ']', "1d2-1", "1d1-1", "", "1d1", "", "", ISET_ALLLEATHER, 1, 1, 0, ""}, ^ item/xboots.cpp:28:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SANDALS, "sandals", ']', "1d2-1", "1d1-1", "", "1d1", "", "", ISET_ALLLEATHER, 1, 1, 0, ""}, ^ item/xboots.cpp:28:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SANDALS, "sandals", ']', "1d2-1", "1d1-1", "", "1d1", "", "", ISET_ALLLEATHER, 1, 1, 0, ""}, ^ item/xboots.cpp:28:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SANDALS, "sandals", ']', "1d2-1", "1d1-1", "", "1d1", "", "", ISET_ALLLEATHER, 1, 1, 0, ""}, ^ item/xboots.cpp:28:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SANDALS, "sandals", ']', "1d2-1", "1d1-1", "", "1d1", "", "", ISET_ALLLEATHER, 1, 1, 0, ""}, ^ item/xboots.cpp:28:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SANDALS, "sandals", ']', "1d2-1", "1d1-1", "", "1d1", "", "", ISET_ALLLEATHER, 1, 1, 0, ""}, ^ item/xboots.cpp:28:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SANDALS, "sandals", ']', "1d2-1", "1d1-1", "", "1d1", "", "", ISET_ALLLEATHER, 1, 1, 0, ""}, ^ item/xboots.cpp:28:102: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SANDALS, "sandals", ']', "1d2-1", "1d1-1", "", "1d1", "", "", ISET_ALLLEATHER, 1, 1, 0, ""}, ^ item/xboots.cpp:29:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTBOOTS, "light boots", ']', "1d3-1", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 2, 0, ""}, ^ item/xboots.cpp:29:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTBOOTS, "light boots", ']', "1d3-1", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 2, 0, ""}, ^ item/xboots.cpp:29:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTBOOTS, "light boots", ']', "1d3-1", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 2, 0, ""}, ^ item/xboots.cpp:29:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTBOOTS, "light boots", ']', "1d3-1", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 2, 0, ""}, ^ item/xboots.cpp:29:62: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTBOOTS, "light boots", ']', "1d3-1", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 2, 0, ""}, ^ item/xboots.cpp:29:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTBOOTS, "light boots", ']', "1d3-1", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 2, 0, ""}, ^ item/xboots.cpp:29:75: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTBOOTS, "light boots", ']', "1d3-1", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 2, 0, ""}, ^ item/xboots.cpp:29:108: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTBOOTS, "light boots", ']', "1d3-1", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 2, 2, 0, ""}, ^ item/xboots.cpp:30:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SOFTBOOTS, "soft boots", ']', "1d3-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 3, 3, 0, ""}, ^ item/xboots.cpp:30:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SOFTBOOTS, "soft boots", ']', "1d3-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 3, 3, 0, ""}, ^ item/xboots.cpp:30:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SOFTBOOTS, "soft boots", ']', "1d3-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 3, 3, 0, ""}, ^ item/xboots.cpp:30:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SOFTBOOTS, "soft boots", ']', "1d3-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 3, 3, 0, ""}, ^ item/xboots.cpp:30:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SOFTBOOTS, "soft boots", ']', "1d3-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 3, 3, 0, ""}, ^ item/xboots.cpp:30:67: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SOFTBOOTS, "soft boots", ']', "1d3-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 3, 3, 0, ""}, ^ item/xboots.cpp:30:73: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SOFTBOOTS, "soft boots", ']', "1d3-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 3, 3, 0, ""}, ^ item/xboots.cpp:30:106: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SOFTBOOTS, "soft boots", ']', "1d3-2", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 3, 3, 0, ""}, ^ item/xboots.cpp:31:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HARDBOOTS, "hard boots", ']', "1d3-3", "1d2-1", "", "1d1", "", "", ISET_OBSIMETAL, 5, 5, 0, ""} ^ item/xboots.cpp:31:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HARDBOOTS, "hard boots", ']', "1d3-3", "1d2-1", "", "1d1", "", "", ISET_OBSIMETAL, 5, 5, 0, ""} ^ item/xboots.cpp:31:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HARDBOOTS, "hard boots", ']', "1d3-3", "1d2-1", "", "1d1", "", "", ISET_OBSIMETAL, 5, 5, 0, ""} ^ item/xboots.cpp:31:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HARDBOOTS, "hard boots", ']', "1d3-3", "1d2-1", "", "1d1", "", "", ISET_OBSIMETAL, 5, 5, 0, ""} ^ item/xboots.cpp:31:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HARDBOOTS, "hard boots", ']', "1d3-3", "1d2-1", "", "1d1", "", "", ISET_OBSIMETAL, 5, 5, 0, ""} ^ item/xboots.cpp:31:67: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HARDBOOTS, "hard boots", ']', "1d3-3", "1d2-1", "", "1d1", "", "", ISET_OBSIMETAL, 5, 5, 0, ""} ^ item/xboots.cpp:31:73: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HARDBOOTS, "hard boots", ']', "1d3-3", "1d2-1", "", "1d1", "", "", ISET_OBSIMETAL, 5, 5, 0, ""} ^ item/xboots.cpp:31:105: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_HARDBOOTS, "hard boots", ']', "1d3-3", "1d2-1", "", "1d1", "", "", ISET_OBSIMETAL, 5, 5, 0, ""} ^ 33 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xbook.cpp -o obj/xbook.o In file included from item/xbook.cpp:23: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from item/xbook.cpp:23: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from item/xbook.cpp:23: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ item/xbook.cpp:25:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XBook); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :368:1: note: expanded from here "XBook" ^ item/xbook.cpp:31:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "old tome", "small tome", "ancient tome", "dirty tome", "heavy tome", ^ item/xbook.cpp:31:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "old tome", "small tome", "ancient tome", "dirty tome", "heavy tome", ^ item/xbook.cpp:31:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "old tome", "small tome", "ancient tome", "dirty tome", "heavy tome", ^ item/xbook.cpp:31:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "old tome", "small tome", "ancient tome", "dirty tome", "heavy tome", ^ item/xbook.cpp:31:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "old tome", "small tome", "ancient tome", "dirty tome", "heavy tome", ^ item/xbook.cpp:32:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "old book", "small book", "ancient book", "dirty book", "heavy book", ^ item/xbook.cpp:32:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "old book", "small book", "ancient book", "dirty book", "heavy book", ^ item/xbook.cpp:32:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "old book", "small book", "ancient book", "dirty book", "heavy book", ^ item/xbook.cpp:32:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "old book", "small book", "ancient book", "dirty book", "heavy book", ^ item/xbook.cpp:32:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "old book", "small book", "ancient book", "dirty book", "heavy book", ^ item/xbook.cpp:33:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "wrapped tome", "pocket book", "leather-bound tome", "parchment book", ^ item/xbook.cpp:33:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "wrapped tome", "pocket book", "leather-bound tome", "parchment book", ^ item/xbook.cpp:33:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "wrapped tome", "pocket book", "leather-bound tome", "parchment book", ^ item/xbook.cpp:33:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "wrapped tome", "pocket book", "leather-bound tome", "parchment book", ^ item/xbook.cpp:34:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "thin book", "gold decorated", "silver decorated" ^ item/xbook.cpp:34:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "thin book", "gold decorated", "silver decorated" ^ item/xbook.cpp:34:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "thin book", "gold decorated", "silver decorated" ^ item/xbook.cpp:225:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(reader->GetVerb("read")); ^ 23 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c engine/xbaseobj.cpp -o obj/xbaseobj.o c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xarmor.cpp -o obj/xarmor.o item/xarmor.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XArmor); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :344:1: note: expanded from here "XArmor" ^ item/xarmor.cpp:28:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLOTHES, "clothes", '[', "1d2-1", "1d2-1", "", "1d1", "", "", ISET_SOFT, 3, 5, 0, ""}, ^ item/xarmor.cpp:28:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLOTHES, "clothes", '[', "1d2-1", "1d2-1", "", "1d1", "", "", ISET_SOFT, 3, 5, 0, ""}, ^ item/xarmor.cpp:28:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLOTHES, "clothes", '[', "1d2-1", "1d2-1", "", "1d1", "", "", ISET_SOFT, 3, 5, 0, ""}, ^ item/xarmor.cpp:28:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLOTHES, "clothes", '[', "1d2-1", "1d2-1", "", "1d1", "", "", ISET_SOFT, 3, 5, 0, ""}, ^ item/xarmor.cpp:28:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLOTHES, "clothes", '[', "1d2-1", "1d2-1", "", "1d1", "", "", ISET_SOFT, 3, 5, 0, ""}, ^ item/xarmor.cpp:28:62: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLOTHES, "clothes", '[', "1d2-1", "1d2-1", "", "1d1", "", "", ISET_SOFT, 3, 5, 0, ""}, ^ item/xarmor.cpp:28:68: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLOTHES, "clothes", '[', "1d2-1", "1d2-1", "", "1d1", "", "", ISET_SOFT, 3, 5, 0, ""}, ^ item/xarmor.cpp:28:96: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CLOTHES, "clothes", '[', "1d2-1", "1d2-1", "", "1d1", "", "", ISET_SOFT, 3, 5, 0, ""}, ^ item/xarmor.cpp:29:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_DRESS, "dress", '[', "1d2-1", "1d2-1", "", "1d1", "", "", ISET_SOFT, 3, 5, 0, ""}, ^ item/xarmor.cpp:29:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_DRESS, "dress", '[', "1d2-1", "1d2-1", "", "1d1", "", "", ISET_SOFT, 3, 5, 0, ""}, ^ item/xarmor.cpp:29:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_DRESS, "dress", '[', "1d2-1", "1d2-1", "", "1d1", "", "", ISET_SOFT, 3, 5, 0, ""}, ^ item/xarmor.cpp:29:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_DRESS, "dress", '[', "1d2-1", "1d2-1", "", "1d1", "", "", ISET_SOFT, 3, 5, 0, ""}, ^ item/xarmor.cpp:29:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_DRESS, "dress", '[', "1d2-1", "1d2-1", "", "1d1", "", "", ISET_SOFT, 3, 5, 0, ""}, ^ item/xarmor.cpp:29:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_DRESS, "dress", '[', "1d2-1", "1d2-1", "", "1d1", "", "", ISET_SOFT, 3, 5, 0, ""}, ^ item/xarmor.cpp:29:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_DRESS, "dress", '[', "1d2-1", "1d2-1", "", "1d1", "", "", ISET_SOFT, 3, 5, 0, ""}, ^ item/xarmor.cpp:29:93: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_DRESS, "dress", '[', "1d2-1", "1d2-1", "", "1d1", "", "", ISET_SOFT, 3, 5, 0, ""}, ^ item/xarmor.cpp:30:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ROBE, "robe", '[', "1d2", "1d2-1", "", "1d1", "", "", ISET_SOFT, 5, 9, 0, ""}, ^ item/xarmor.cpp:30:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ROBE, "robe", '[', "1d2", "1d2-1", "", "1d1", "", "", ISET_SOFT, 5, 9, 0, ""}, ^ item/xarmor.cpp:30:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ROBE, "robe", '[', "1d2", "1d2-1", "", "1d1", "", "", ISET_SOFT, 5, 9, 0, ""}, ^ item/xarmor.cpp:30:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ROBE, "robe", '[', "1d2", "1d2-1", "", "1d1", "", "", ISET_SOFT, 5, 9, 0, ""}, ^ item/xarmor.cpp:30:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ROBE, "robe", '[', "1d2", "1d2-1", "", "1d1", "", "", ISET_SOFT, 5, 9, 0, ""}, ^ item/xarmor.cpp:30:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ROBE, "robe", '[', "1d2", "1d2-1", "", "1d1", "", "", ISET_SOFT, 5, 9, 0, ""}, ^ item/xarmor.cpp:30:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ROBE, "robe", '[', "1d2", "1d2-1", "", "1d1", "", "", ISET_SOFT, 5, 9, 0, ""}, ^ item/xarmor.cpp:30:91: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_ROBE, "robe", '[', "1d2", "1d2-1", "", "1d1", "", "", ISET_SOFT, 5, 9, 0, ""}, ^ item/xarmor.cpp:31:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTMAIL, "scale mail", '[', "1d3", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 15, 15, 0, ""}, ^ item/xarmor.cpp:31:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTMAIL, "scale mail", '[', "1d3", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 15, 15, 0, ""}, ^ item/xarmor.cpp:31:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTMAIL, "scale mail", '[', "1d3", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 15, 15, 0, ""}, ^ item/xarmor.cpp:31:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTMAIL, "scale mail", '[', "1d3", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 15, 15, 0, ""}, ^ item/xarmor.cpp:31:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTMAIL, "scale mail", '[', "1d3", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 15, 15, 0, ""}, ^ item/xarmor.cpp:31:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTMAIL, "scale mail", '[', "1d3", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 15, 15, 0, ""}, ^ item/xarmor.cpp:31:71: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTMAIL, "scale mail", '[', "1d3", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 15, 15, 0, ""}, ^ item/xarmor.cpp:31:107: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_LIGHTMAIL, "scale mail", '[', "1d3", "1d2-1", "", "1d1", "", "", ISET_ALLLEATHER, 15, 15, 0, ""}, ^ item/xarmor.cpp:32:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SCALEMAIL, "scale mail", '[', "1d3-1", "1d4-1", "1d2-2","1d4", "", "", ISET_ALLMETAL, 30, 30, 0, ""}, ^ item/xarmor.cpp:32:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SCALEMAIL, "scale mail", '[', "1d3-1", "1d4-1", "1d2-2","1d4", "", "", ISET_ALLMETAL, 30, 30, 0, ""}, ^ item/xarmor.cpp:32:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SCALEMAIL, "scale mail", '[', "1d3-1", "1d4-1", "1d2-2","1d4", "", "", ISET_ALLMETAL, 30, 30, 0, ""}, ^ item/xarmor.cpp:32:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SCALEMAIL, "scale mail", '[', "1d3-1", "1d4-1", "1d2-2","1d4", "", "", ISET_ALLMETAL, 30, 30, 0, ""}, ^ item/xarmor.cpp:32:62: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SCALEMAIL, "scale mail", '[', "1d3-1", "1d4-1", "1d2-2","1d4", "", "", ISET_ALLMETAL, 30, 30, 0, ""}, ^ item/xarmor.cpp:32:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SCALEMAIL, "scale mail", '[', "1d3-1", "1d4-1", "1d2-2","1d4", "", "", ISET_ALLMETAL, 30, 30, 0, ""}, ^ item/xarmor.cpp:32:75: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SCALEMAIL, "scale mail", '[', "1d3-1", "1d4-1", "1d2-2","1d4", "", "", ISET_ALLMETAL, 30, 30, 0, ""}, ^ item/xarmor.cpp:32:108: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_SCALEMAIL, "scale mail", '[', "1d3-1", "1d4-1", "1d2-2","1d4", "", "", ISET_ALLMETAL, 30, 30, 0, ""}, ^ item/xarmor.cpp:33:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PLATEMAIL, "plate mail", '[', "1d3-2", "1d5-1", "1d2-3","1d4", "", "", ISET_ALLMETAL, 45, 30, 0, ""}, ^ item/xarmor.cpp:33:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PLATEMAIL, "plate mail", '[', "1d3-2", "1d5-1", "1d2-3","1d4", "", "", ISET_ALLMETAL, 45, 30, 0, ""}, ^ item/xarmor.cpp:33:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PLATEMAIL, "plate mail", '[', "1d3-2", "1d5-1", "1d2-3","1d4", "", "", ISET_ALLMETAL, 45, 30, 0, ""}, ^ item/xarmor.cpp:33:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PLATEMAIL, "plate mail", '[', "1d3-2", "1d5-1", "1d2-3","1d4", "", "", ISET_ALLMETAL, 45, 30, 0, ""}, ^ item/xarmor.cpp:33:62: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PLATEMAIL, "plate mail", '[', "1d3-2", "1d5-1", "1d2-3","1d4", "", "", ISET_ALLMETAL, 45, 30, 0, ""}, ^ item/xarmor.cpp:33:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PLATEMAIL, "plate mail", '[', "1d3-2", "1d5-1", "1d2-3","1d4", "", "", ISET_ALLMETAL, 45, 30, 0, ""}, ^ item/xarmor.cpp:33:75: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PLATEMAIL, "plate mail", '[', "1d3-2", "1d5-1", "1d2-3","1d4", "", "", ISET_ALLMETAL, 45, 30, 0, ""}, ^ item/xarmor.cpp:33:108: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_PLATEMAIL, "plate mail", '[', "1d3-2", "1d5-1", "1d2-3","1d4", "", "", ISET_ALLMETAL, 45, 30, 0, ""}, ^ item/xarmor.cpp:34:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CHAINMAIL, "chain mail", '[', "1d3-3", "1d6-1", "1d2-4","1d4", "", "", ISET_ALLMETAL, 45, 30, 0, ""}, ^ item/xarmor.cpp:34:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CHAINMAIL, "chain mail", '[', "1d3-3", "1d6-1", "1d2-4","1d4", "", "", ISET_ALLMETAL, 45, 30, 0, ""}, ^ item/xarmor.cpp:34:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CHAINMAIL, "chain mail", '[', "1d3-3", "1d6-1", "1d2-4","1d4", "", "", ISET_ALLMETAL, 45, 30, 0, ""}, ^ item/xarmor.cpp:34:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CHAINMAIL, "chain mail", '[', "1d3-3", "1d6-1", "1d2-4","1d4", "", "", ISET_ALLMETAL, 45, 30, 0, ""}, ^ item/xarmor.cpp:34:62: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CHAINMAIL, "chain mail", '[', "1d3-3", "1d6-1", "1d2-4","1d4", "", "", ISET_ALLMETAL, 45, 30, 0, ""}, ^ item/xarmor.cpp:34:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CHAINMAIL, "chain mail", '[', "1d3-3", "1d6-1", "1d2-4","1d4", "", "", ISET_ALLMETAL, 45, 30, 0, ""}, ^ item/xarmor.cpp:34:75: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CHAINMAIL, "chain mail", '[', "1d3-3", "1d6-1", "1d2-4","1d4", "", "", ISET_ALLMETAL, 45, 30, 0, ""}, ^ item/xarmor.cpp:34:108: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_CHAINMAIL, "chain mail", '[', "1d3-3", "1d6-1", "1d2-4","1d4", "", "", ISET_ALLMETAL, 45, 30, 0, ""}, ^ item/xarmor.cpp:35:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_RINGMAIL, "ring mail", '[', "1d3-3", "1d6-1", "1d2-4","1d4", "", "", ISET_ALLMETAL, 50, 30, 0, ""} ^ item/xarmor.cpp:35:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_RINGMAIL, "ring mail", '[', "1d3-3", "1d6-1", "1d2-4","1d4", "", "", ISET_ALLMETAL, 50, 30, 0, ""} ^ item/xarmor.cpp:35:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_RINGMAIL, "ring mail", '[', "1d3-3", "1d6-1", "1d2-4","1d4", "", "", ISET_ALLMETAL, 50, 30, 0, ""} ^ item/xarmor.cpp:35:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_RINGMAIL, "ring mail", '[', "1d3-3", "1d6-1", "1d2-4","1d4", "", "", ISET_ALLMETAL, 50, 30, 0, ""} ^ item/xarmor.cpp:35:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_RINGMAIL, "ring mail", '[', "1d3-3", "1d6-1", "1d2-4","1d4", "", "", ISET_ALLMETAL, 50, 30, 0, ""} ^ item/xarmor.cpp:35:68: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_RINGMAIL, "ring mail", '[', "1d3-3", "1d6-1", "1d2-4","1d4", "", "", ISET_ALLMETAL, 50, 30, 0, ""} ^ item/xarmor.cpp:35:74: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_RINGMAIL, "ring mail", '[', "1d3-3", "1d6-1", "1d2-4","1d4", "", "", ISET_ALLMETAL, 50, 30, 0, ""} ^ item/xarmor.cpp:35:107: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {IT_RINGMAIL, "ring mail", '[', "1d3-3", "1d6-1", "1d2-4","1d4", "", "", ISET_ALLMETAL, 50, 30, 0, ""} ^ 65 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c engine/xarchive.cpp -o obj/xarchive.o In file included from engine/xarchive.cpp:22: In file included from ./game/game.h:27: In file included from ./creature/xhero.h:26: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from engine/xarchive.cpp:22: In file included from ./game/game.h:27: In file included from ./creature/xhero.h:26: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from engine/xarchive.cpp:22: In file included from ./game/game.h:27: In file included from ./creature/xhero.h:26: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ engine/xarchive.cpp:33:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (!file.Open(vMakePath(HOME_DIR, "avanor.svg"), "wb")) ^ ./global/global.h:43:22: note: expanded from macro 'HOME_DIR' # define HOME_DIR "~/.avanor/" ^ engine/xarchive.cpp:33:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (!file.Open(vMakePath(HOME_DIR, "avanor.svg"), "wb")) ^ engine/xarchive.cpp:33:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (!file.Open(vMakePath(HOME_DIR, "avanor.svg"), "wb")) ^ engine/xarchive.cpp:69:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (!file.Open(vMakePath(HOME_DIR, "avanor.svg"), "rb")) ^ ./global/global.h:43:22: note: expanded from macro 'HOME_DIR' # define HOME_DIR "~/.avanor/" ^ engine/xarchive.cpp:69:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (!file.Open(vMakePath(HOME_DIR, "avanor.svg"), "rb")) ^ engine/xarchive.cpp:69:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (!file.Open(vMakePath(HOME_DIR, "avanor.svg"), "rb")) ^ 10 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c global/xapi.cpp -o obj/xapi.o c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c map/xanyplace.cpp -o obj/xanyplace.o In file included from map/xanyplace.cpp:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from map/xanyplace.cpp:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from map/xanyplace.cpp:24: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ 4 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xanyfood.cpp -o obj/xanyfood.o In file included from item/xanyfood.cpp:22: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from item/xanyfood.cpp:22: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from item/xanyfood.cpp:22: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ item/xanyfood.cpp:24:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XAnyFood); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :368:1: note: expanded from here "XAnyFood" ^ item/xanyfood.cpp:93:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(eater->GetVerb("eat")); ^ item/xanyfood.cpp:109:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(eater->GetVerb("find")); ^ item/xanyfood.cpp:126:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "delicious", "very tasty", "tasty", ^ item/xanyfood.cpp:126:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "delicious", "very tasty", "tasty", ^ item/xanyfood.cpp:126:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "delicious", "very tasty", "tasty", ^ item/xanyfood.cpp:127:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "tasteless", "taste like a slops", "vomit" ^ item/xanyfood.cpp:127:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "tasteless", "taste like a slops", "vomit" ^ item/xanyfood.cpp:127:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "tasteless", "taste like a slops", "vomit" ^ item/xanyfood.cpp:136:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "not bad"; ^ item/xanyfood.cpp:133:19: warning: result of comparison of constant 8 with expression of type 'FOOD_TYPE' is always true [-Wtautological-constant-out-of-range-compare] if (ft > 1 && ft < 8) ~~ ^ ~ 15 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/xamulet.cpp -o obj/xamulet.o item/xamulet.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XAmulet); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :344:1: note: expanded from here "XAmulet" ^ 1 warning generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c magic/wskills.cpp -o obj/wskills.o magic/wskills.cpp:28:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Unarmed fight", ^ magic/wskills.cpp:34:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Daggers & Knives", ^ magic/wskills.cpp:40:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Swords", ^ magic/wskills.cpp:46:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Clubs & Hammers", ^ magic/wskills.cpp:52:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Maces & Flails", ^ magic/wskills.cpp:58:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Pole Arms", ^ magic/wskills.cpp:64:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Axes", ^ magic/wskills.cpp:70:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Staves", ^ magic/wskills.cpp:76:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Shields", ^ magic/wskills.cpp:82:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Bows", ^ magic/wskills.cpp:88:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Crossbows", ^ magic/wskills.cpp:94:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Slings", ^ magic/wskills.cpp:100:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Throwing items", ^ 13 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c magic/wmagic.cpp -o obj/wmagic.o In file included from magic/wmagic.cpp:21: In file included from ./magic/wmagic.h:25: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from magic/wmagic.cpp:21: In file included from ./magic/wmagic.h:25: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from magic/wmagic.cpp:21: In file included from ./magic/wmagic.h:25: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ 4 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c game/wizard_dungeon.cpp -o obj/wizard_dungeon.o In file included from game/wizard_dungeon.cpp:24: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from game/wizard_dungeon.cpp:24: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from game/wizard_dungeon.cpp:24: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ In file included from game/wizard_dungeon.cpp:24: ./creature/unique.h:108:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "'Woof!'";} ^ game/wizard_dungeon.cpp:34:10: warning: 34 enumeration values not handled in switch: 'L_UNKNOWN', 'L_MAIN', 'L_DWARFCITYCAVE1'... [-Wswitch] switch (l_name) ^~~~~~ 6 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c creature/Uniquem.cpp -o obj/Uniquem.o In file included from creature/Uniquem.cpp:21: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from creature/Uniquem.cpp:21: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from creature/Uniquem.cpp:21: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ In file included from creature/Uniquem.cpp:21: ./creature/unique.h:108:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "'Woof!'";} ^ creature/Uniquem.cpp:38:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XAhkUlan); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :21:1: note: expanded from here "XAhkUlan" ^ creature/Uniquem.cpp:67:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] XHero::EndGame("***WINNER***"); ^ creature/Uniquem.cpp:110:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XBeelzvile); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :23:1: note: expanded from here "XBeelzvile" ^ creature/Uniquem.cpp:158:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XVillageElder); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :25:1: note: expanded from here "XVillageElder" ^ creature/Uniquem.cpp:239:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XGefeon); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :27:1: note: expanded from here "XGefeon" ^ creature/Uniquem.cpp:266:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] XHero::EndGame("***WINNER***"); ^ creature/Uniquem.cpp:276:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XGekta); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :29:1: note: expanded from here "XGekta" ^ creature/Uniquem.cpp:322:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XJorgus); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :31:1: note: expanded from here "XJorgus" ^ creature/Uniquem.cpp:374:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XOzorik); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :33:1: note: expanded from here "XOzorik" ^ creature/Uniquem.cpp:462:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XTodin); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :35:1: note: expanded from here "XTodin" ^ creature/Uniquem.cpp:536:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XYohjishiro); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :37:1: note: expanded from here "XYohjishiro" ^ creature/Uniquem.cpp:651:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XRoderick); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :39:1: note: expanded from here "XRoderick" ^ creature/Uniquem.cpp:751:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XTorin); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :41:1: note: expanded from here "XTorin" ^ creature/Uniquem.cpp:841:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XXSheeVoo); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :43:1: note: expanded from here "XXSheeVoo" ^ creature/Uniquem.cpp:871:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XMagnush); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :45:1: note: expanded from here "XMagnush" ^ creature/Uniquem.cpp:885:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XHighPriest); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :47:1: note: expanded from here "XHighPriest" ^ creature/Uniquem.cpp:968:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XBandit); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :49:1: note: expanded from here "XBandit" ^ creature/Uniquem.cpp:969:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XBanditAI); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :51:1: note: expanded from here "XBanditAI" ^ creature/Uniquem.cpp:1001:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XShopkeeper); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :53:1: note: expanded from here "XShopkeeper" ^ creature/Uniquem.cpp:1040:79: warning: data argument not used by format string [-Wformat-extra-args] sprintf(static_buffer, "Don't forget to pay for the items you have taken!", ai->debt.debtor_sum); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ creature/Uniquem.cpp:1052:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 0 : return "I have excellent quality goods for sale!"; ^ creature/Uniquem.cpp:1053:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 1 : return "I'm sure you will find everything you need here in my shop."; ^ creature/Uniquem.cpp:1054:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 2 : return "You'd better look at the goods instead of talking."; ^ creature/Uniquem.cpp:1055:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 3 : return "Don't even try to steal anything."; ^ creature/Uniquem.cpp:1056:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] default: return "Please buy an item!"; ^ 30 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/uniquei.cpp -o obj/uniquei.o In file included from item/uniquei.cpp:21: In file included from ./item/uniquei.h:24: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from item/uniquei.cpp:21: In file included from ./item/uniquei.h:24: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ item/uniquei.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XGlamdring); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :375:1: note: expanded from here "XGlamdring" ^ item/uniquei.cpp:48:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] GetArtifactName(buf, "broadsword named \"Glamdring\""); ^ item/uniquei.cpp:51:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XDeathHack); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :377:1: note: expanded from here "XDeathHack" ^ item/uniquei.cpp:75:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] GetArtifactName(buf, "long dagger named \"Death Hack\""); ^ item/uniquei.cpp:79:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XAvanorDefender); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :379:1: note: expanded from here "XAvanorDefender" ^ item/uniquei.cpp:105:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] GetArtifactName(buf, "long sword named \"Avanor's Defender\""); ^ item/uniquei.cpp:114:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XForestBrotherCloak); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :381:1: note: expanded from here "XForestBrotherCloak" ^ item/uniquei.cpp:142:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XGreatElementalRing); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :383:1: note: expanded from here "XGreatElementalRing" ^ item/uniquei.cpp:156:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XAvanorScepter); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :385:1: note: expanded from here "XAvanorScepter" ^ item/uniquei.cpp:182:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] GetArtifactName(buf, "scepter of Avanor"); ^ item/uniquei.cpp:185:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XAvanorCrown); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :387:1: note: expanded from here "XAvanorCrown" ^ item/uniquei.cpp:210:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] GetArtifactName(buf, "crown of Avanor"); ^ item/uniquei.cpp:214:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XAvanorMitre); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :389:1: note: expanded from here "XAvanorMitre" ^ item/uniquei.cpp:239:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] GetArtifactName(buf, "holy mitre of Avanor"); ^ item/uniquei.cpp:242:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XTorinAxe); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :391:1: note: expanded from here "XTorinAxe" ^ item/uniquei.cpp:267:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] GetArtifactName(buf, "Axe of Torin"); ^ item/uniquei.cpp:270:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XTorinShield); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :393:1: note: expanded from here "XTorinShield" ^ item/uniquei.cpp:294:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] GetArtifactName(buf, "Shield of Torin"); ^ item/uniquei.cpp:297:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XDwarfCrown); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :395:1: note: expanded from here "XDwarfCrown" ^ item/uniquei.cpp:322:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] GetArtifactName(buf, "dwarven crown"); ^ item/uniquei.cpp:327:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XBlackClub); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :397:1: note: expanded from here "XBlackClub" ^ item/uniquei.cpp:353:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] GetArtifactName(buf, "club of black obsidian"); ^ 24 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c game/udeadtomb.cpp -o obj/udeadtomb.o In file included from game/udeadtomb.cpp:23: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from game/udeadtomb.cpp:23: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from game/udeadtomb.cpp:23: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ In file included from game/udeadtomb.cpp:23: ./creature/unique.h:108:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "'Woof!'";} ^ game/udeadtomb.cpp:43:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] XGrave * gr = new XGrave(32, 14, "Frederick III (760-805)", this); ^ game/udeadtomb.cpp:47:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gr = new XGrave(32, 6, "Frederick II (710-790)", this); ^ game/udeadtomb.cpp:51:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gr = new XGrave(55, 16, "Arthur IV (796-854)", this); ^ game/udeadtomb.cpp:55:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gr = new XGrave(55, 4, "Rodomir III (821-894)", this); ^ 9 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c helpers/strproc.cpp -o obj/strproc.o c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c creature/Std_ai.cpp -o obj/Std_ai.o In file included from creature/Std_ai.cpp:21: In file included from ./creature/std_ai.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from creature/Std_ai.cpp:21: In file included from ./creature/std_ai.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from creature/Std_ai.cpp:21: In file included from ./creature/std_ai.h:24: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ creature/Std_ai.cpp:26:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XStandardAI); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :388:1: note: expanded from here "XStandardAI" ^ creature/Std_ai.cpp:1155:10: warning: enumeration value 'SCC_MOVE_LOCATION' not handled in switch [-Wswitch] switch (cmd.cmd) ^~~~~~~ 6 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c magic/stats.cpp -o obj/stats.o magic/stats.cpp:24:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * stats_str[] = {"St", "Dx", "To", "Le", "Wi", "Ma", "Pe", "Ch", "EOF"}; ^ magic/stats.cpp:24:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * stats_str[] = {"St", "Dx", "To", "Le", "Wi", "Ma", "Pe", "Ch", "EOF"}; ^ magic/stats.cpp:24:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * stats_str[] = {"St", "Dx", "To", "Le", "Wi", "Ma", "Pe", "Ch", "EOF"}; ^ magic/stats.cpp:24:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * stats_str[] = {"St", "Dx", "To", "Le", "Wi", "Ma", "Pe", "Ch", "EOF"}; ^ magic/stats.cpp:24:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * stats_str[] = {"St", "Dx", "To", "Le", "Wi", "Ma", "Pe", "Ch", "EOF"}; ^ magic/stats.cpp:24:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * stats_str[] = {"St", "Dx", "To", "Le", "Wi", "Ma", "Pe", "Ch", "EOF"}; ^ magic/stats.cpp:24:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * stats_str[] = {"St", "Dx", "To", "Le", "Wi", "Ma", "Pe", "Ch", "EOF"}; ^ magic/stats.cpp:24:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * stats_str[] = {"St", "Dx", "To", "Le", "Wi", "Ma", "Pe", "Ch", "EOF"}; ^ magic/stats.cpp:24:71: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * stats_str[] = {"St", "Dx", "To", "Le", "Wi", "Ma", "Pe", "Ch", "EOF"}; ^ magic/stats.cpp:26:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Strength", "Dexterity", "Toughness", "Learning", "Willpower", ^ magic/stats.cpp:26:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Strength", "Dexterity", "Toughness", "Learning", "Willpower", ^ magic/stats.cpp:26:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Strength", "Dexterity", "Toughness", "Learning", "Willpower", ^ magic/stats.cpp:26:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Strength", "Dexterity", "Toughness", "Learning", "Willpower", ^ magic/stats.cpp:26:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Strength", "Dexterity", "Toughness", "Learning", "Willpower", ^ magic/stats.cpp:27:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Mana", "Perception", "Charisma", "EOF" ^ magic/stats.cpp:27:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Mana", "Perception", "Charisma", "EOF" ^ magic/stats.cpp:27:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Mana", "Perception", "Charisma", "EOF" ^ magic/stats.cpp:27:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Mana", "Perception", "Charisma", "EOF" ^ 18 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c magic/spell.cpp -o obj/spell.o c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c magic/skills.cpp -o obj/skills.o magic/skills.cpp:26:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (xsk = GetSkill(skt)) ~~~~^~~~~~~~~~~~~~~ magic/skills.cpp:26:10: note: place parentheses around the assignment to silence this warning if (xsk = GetSkill(skt)) ^ ( ) magic/skills.cpp:26:10: note: use '==' to turn this assignment into an equality comparison if (xsk = GetSkill(skt)) ^ == 1 warning generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c magic/skill.cpp -o obj/skill.o In file included from magic/skill.cpp:22: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from magic/skill.cpp:22: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from magic/skill.cpp:22: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ magic/skill.cpp:25:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XSkill); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :379:1: note: expanded from here "XSkill" ^ magic/skill.cpp:28:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Archery", 1}, ^ magic/skill.cpp:29:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Find Weakness", 1}, ^ magic/skill.cpp:30:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Healing", 2}, ^ magic/skill.cpp:31:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Concentration", 3}, ^ magic/skill.cpp:32:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Dodge", 1}, ^ magic/skill.cpp:33:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Trading", 1}, ^ magic/skill.cpp:34:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Stealing", 1}, ^ magic/skill.cpp:35:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Literacy", 1}, ^ magic/skill.cpp:36:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Detect trap", 1}, ^ magic/skill.cpp:37:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Disarm trap", 1}, ^ magic/skill.cpp:38:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Cooking", 1}, ^ magic/skill.cpp:39:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Mining", 5}, ^ magic/skill.cpp:40:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Herbalism", 1}, ^ magic/skill.cpp:41:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Religion", 1}, ^ magic/skill.cpp:42:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Backstabbing", 1}, ^ magic/skill.cpp:43:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"First aid", 2}, ^ magic/skill.cpp:44:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Tactics", 1}, ^ magic/skill.cpp:45:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Alchemy", 1}, ^ magic/skill.cpp:46:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Woodcraft", 1}, ^ magic/skill.cpp:47:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Create trap", 1}, ^ magic/skill.cpp:48:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Necromancy", 1}, ^ magic/skill.cpp:49:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"Athletics", 1}, ^ magic/skill.cpp:53:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTGRAY "NONE", ^ ./global/global.h:103:28: note: expanded from macro 'MSG_LIGHTGRAY' #define MSG_LIGHTGRAY "\x1F\x07" ^ magic/skill.cpp:54:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTGREEN "Basic", ^ ./global/global.h:106:28: note: expanded from macro 'MSG_LIGHTGREEN' #define MSG_LIGHTGREEN "\x1F\x0A" ^ magic/skill.cpp:55:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTGREEN "Basic", ^ ./global/global.h:106:28: note: expanded from macro 'MSG_LIGHTGREEN' #define MSG_LIGHTGREEN "\x1F\x0A" ^ magic/skill.cpp:56:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTGREEN "Basic", ^ ./global/global.h:106:28: note: expanded from macro 'MSG_LIGHTGREEN' #define MSG_LIGHTGREEN "\x1F\x0A" ^ magic/skill.cpp:57:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_GREEN "Skilled", ^ ./global/global.h:98:28: note: expanded from macro 'MSG_GREEN' #define MSG_GREEN "\x1F\x02" ^ magic/skill.cpp:58:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_GREEN "Skilled", ^ ./global/global.h:98:28: note: expanded from macro 'MSG_GREEN' #define MSG_GREEN "\x1F\x02" ^ magic/skill.cpp:59:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_GREEN "Skilled", ^ ./global/global.h:98:28: note: expanded from macro 'MSG_GREEN' #define MSG_GREEN "\x1F\x02" ^ magic/skill.cpp:60:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_GREEN "Skilled", ^ ./global/global.h:98:28: note: expanded from macro 'MSG_GREEN' #define MSG_GREEN "\x1F\x02" ^ magic/skill.cpp:61:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_YELLOW "Expert", ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' #define MSG_YELLOW "\x1F\x0E" ^ magic/skill.cpp:62:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_YELLOW "Expert", ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' #define MSG_YELLOW "\x1F\x0E" ^ magic/skill.cpp:63:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_YELLOW "Expert", ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' #define MSG_YELLOW "\x1F\x0E" ^ magic/skill.cpp:64:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_YELLOW "Expert", ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' #define MSG_YELLOW "\x1F\x0E" ^ magic/skill.cpp:65:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTRED "Master", ^ ./global/global.h:108:28: note: expanded from macro 'MSG_LIGHTRED' #define MSG_LIGHTRED "\x1F\x0C" ^ magic/skill.cpp:66:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTRED "Master", ^ ./global/global.h:108:28: note: expanded from macro 'MSG_LIGHTRED' #define MSG_LIGHTRED "\x1F\x0C" ^ magic/skill.cpp:67:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTRED "Master", ^ ./global/global.h:108:28: note: expanded from macro 'MSG_LIGHTRED' #define MSG_LIGHTRED "\x1F\x0C" ^ magic/skill.cpp:68:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_DARKGRAY "Grand Master" ^ ./global/global.h:104:28: note: expanded from macro 'MSG_DARKGRAY' #define MSG_DARKGRAY "\x1F\x08" ^ magic/skill.cpp:140:10: warning: 20 enumeration values not handled in switch: 'SKT_UNKNOWN', 'SKT_ARCHERY', 'SKT_FINDWEAKNESS'... [-Wswitch] switch (skt) ^~~ 44 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c creature/skeep_ai.cpp -o obj/skeep_ai.o In file included from creature/skeep_ai.cpp:21: In file included from ./creature/skeep_ai.h:24: In file included from ./creature/std_ai.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from creature/skeep_ai.cpp:21: In file included from ./creature/skeep_ai.h:24: In file included from ./creature/std_ai.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from creature/skeep_ai.cpp:21: In file included from ./creature/skeep_ai.h:24: In file included from ./creature/std_ai.h:24: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ creature/skeep_ai.cpp:26:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XShopKeeperAI); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :370:1: note: expanded from here "XShopKeeperAI" ^ 5 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c game/shop.cpp -o obj/shop.o In file included from game/shop.cpp:21: In file included from ./game/shop.h:24: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from game/shop.cpp:21: In file included from ./game/shop.h:24: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from game/shop.cpp:23: In file included from ./creature/skeep_ai.h:24: In file included from ./creature/std_ai.h:24: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ game/shop.cpp:26:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XShop); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :370:1: note: expanded from here "XShop" ^ 5 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c game/setting.cpp -o obj/setting.o c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c magic/resist.cpp -o obj/resist.o magic/resist.cpp:26:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"unknown", FLU_NONE}, ^ magic/resist.cpp:27:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"white", FLU_CREATURE}, ^ magic/resist.cpp:28:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"black", FLU_CREATURE}, ^ magic/resist.cpp:29:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"fire", FLU_ALL}, ^ magic/resist.cpp:30:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"water", FLU_ALL}, ^ magic/resist.cpp:31:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"air", FLU_ALL}, ^ magic/resist.cpp:32:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"earth", FLU_ALL}, ^ magic/resist.cpp:33:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"acid", FLU_ALL}, ^ magic/resist.cpp:34:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"cold", FLU_ALL}, ^ magic/resist.cpp:35:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"poison", FLU_CREATURE}, ^ magic/resist.cpp:36:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"decease", FLU_CREATURE}, ^ magic/resist.cpp:37:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"paralyse", FLU_CREATURE}, ^ magic/resist.cpp:38:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"stun", FLU_CREATURE}, ^ magic/resist.cpp:39:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"confuse", FLU_CREATURE}, ^ magic/resist.cpp:40:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"blind", FLU_CREATURE}, ^ magic/resist.cpp:41:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"light", FLU_CREATURE}, ^ magic/resist.cpp:42:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"darkness", FLU_CREATURE}, ^ magic/resist.cpp:43:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"invisible", FLU_CREATURE}, ^ magic/resist.cpp:44:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"see_invisible", FLU_CREATURE}, ^ magic/resist.cpp:45:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "eof", FLU_NONE}; ^ magic/resist.cpp:117:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "White magic", "Black magic", "Fire magic", "Water magic", "Air magic", "Earth magic", ^ magic/resist.cpp:117:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "White magic", "Black magic", "Fire magic", "Water magic", "Air magic", "Earth magic", ^ magic/resist.cpp:117:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "White magic", "Black magic", "Fire magic", "Water magic", "Air magic", "Earth magic", ^ magic/resist.cpp:117:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "White magic", "Black magic", "Fire magic", "Water magic", "Air magic", "Earth magic", ^ magic/resist.cpp:117:62: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "White magic", "Black magic", "Fire magic", "Water magic", "Air magic", "Earth magic", ^ magic/resist.cpp:117:75: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "White magic", "Black magic", "Fire magic", "Water magic", "Air magic", "Earth magic", ^ magic/resist.cpp:118:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Acid", "Cold", "Poison", "Disease", "Paralyzation", ^ magic/resist.cpp:118:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Acid", "Cold", "Poison", "Disease", "Paralyzation", ^ magic/resist.cpp:118:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Acid", "Cold", "Poison", "Disease", "Paralyzation", ^ magic/resist.cpp:118:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Acid", "Cold", "Poison", "Disease", "Paralyzation", ^ magic/resist.cpp:118:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Acid", "Cold", "Poison", "Disease", "Paralyzation", ^ magic/resist.cpp:119:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Stun", "Confusion", "Blindness", ^ magic/resist.cpp:119:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Stun", "Confusion", "Blindness", ^ magic/resist.cpp:119:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Stun", "Confusion", "Blindness", ^ magic/resist.cpp:120:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Light", "Darkness", "Invisible", "See Invisible" ^ magic/resist.cpp:120:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Light", "Darkness", "Invisible", "See Invisible" ^ magic/resist.cpp:120:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Light", "Darkness", "Invisible", "See Invisible" ^ magic/resist.cpp:120:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Light", "Darkness", "Invisible", "See Invisible" ^ magic/resist.cpp:130:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTRED "awful", MSG_LIGHTRED "bad", ^ ./global/global.h:108:28: note: expanded from macro 'MSG_LIGHTRED' #define MSG_LIGHTRED "\x1F\x0C" ^ magic/resist.cpp:130:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTRED "awful", MSG_LIGHTRED "bad", ^ ./global/global.h:108:28: note: expanded from macro 'MSG_LIGHTRED' #define MSG_LIGHTRED "\x1F\x0C" ^ magic/resist.cpp:131:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTGRAY "none", MSG_LIGHTGREEN "mediocre", MSG_LIGHTGREEN "fair", ^ ./global/global.h:103:28: note: expanded from macro 'MSG_LIGHTGRAY' #define MSG_LIGHTGRAY "\x1F\x07" ^ magic/resist.cpp:131:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTGRAY "none", MSG_LIGHTGREEN "mediocre", MSG_LIGHTGREEN "fair", ^ ./global/global.h:106:28: note: expanded from macro 'MSG_LIGHTGREEN' #define MSG_LIGHTGREEN "\x1F\x0A" ^ magic/resist.cpp:131:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTGRAY "none", MSG_LIGHTGREEN "mediocre", MSG_LIGHTGREEN "fair", ^ ./global/global.h:106:28: note: expanded from macro 'MSG_LIGHTGREEN' #define MSG_LIGHTGREEN "\x1F\x0A" ^ magic/resist.cpp:132:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTGREEN "good", MSG_YELLOW "excellent", MSG_WHITE "complete" ^ ./global/global.h:106:28: note: expanded from macro 'MSG_LIGHTGREEN' #define MSG_LIGHTGREEN "\x1F\x0A" ^ magic/resist.cpp:132:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTGREEN "good", MSG_YELLOW "excellent", MSG_WHITE "complete" ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' #define MSG_YELLOW "\x1F\x0E" ^ magic/resist.cpp:132:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTGREEN "good", MSG_YELLOW "excellent", MSG_WHITE "complete" ^ ./global/global.h:111:28: note: expanded from macro 'MSG_WHITE' #define MSG_WHITE "\x1F\x0F" ^ 46 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c helpers/rect.cpp -o obj/rect.o c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c game/rat_cell.cpp -o obj/rat_cell.o In file included from game/rat_cell.cpp:24: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from game/rat_cell.cpp:24: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from game/rat_cell.cpp:24: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ In file included from game/rat_cell.cpp:24: ./creature/unique.h:108:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "'Woof!'";} ^ 5 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c game/quest.cpp -o obj/quest.o c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c other/other_misc.cpp -o obj/other_misc.o In file included from other/other_misc.cpp:23: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from other/other_misc.cpp:23: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from other/other_misc.cpp:23: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ other/other_misc.cpp:29:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XTrap); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :388:1: note: expanded from here "XTrap" ^ other/other_misc.cpp:118:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(cr->GetVerb("avoid")); ^ other/other_misc.cpp:132:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(cr->GetVerb("activate")); ^ other/other_misc.cpp:180:11: warning: 7 enumeration values not handled in switch: 'TT_UNKNOWN', 'TT_MAGICARROW', 'TT_FIREBOLT'... [-Wswitch] switch (trap_type) ^~~~~~~~~ other/other_misc.cpp:238:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(cr->GetVerb("found")); ^ other/other_misc.cpp:264:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(cr->GetVerb("disarm")); ^ other/other_misc.cpp:307:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XStairWay); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :393:1: note: expanded from here "XStairWay" ^ other/other_misc.cpp:322:10: warning: enumeration value 'STW_UNKNOWN' not handled in switch [-Wswitch] switch (type) ^~~~ other/other_misc.cpp:364:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XTeleport); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :398:1: note: expanded from here "XTeleport" ^ other/other_misc.cpp:420:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XDoor); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :403:1: note: expanded from here "XDoor" ^ other/other_misc.cpp:464:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XAltar); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :5:1: note: expanded from here "XAltar" ^ other/other_misc.cpp:498:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XGrave); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :10:1: note: expanded from here "XGrave" ^ other/other_misc.cpp:554:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XThrone); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :15:1: note: expanded from here "XThrone" ^ other/other_misc.cpp:569:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XFurniture); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :20:1: note: expanded from here "XFurniture" ^ 18 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c game/Mushcave.cpp -o obj/Mushcave.o In file included from game/Mushcave.cpp:23: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from game/Mushcave.cpp:23: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from game/Mushcave.cpp:23: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ In file included from game/Mushcave.cpp:23: ./creature/unique.h:108:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "'Woof!'";} ^ game/Mushcave.cpp:48:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XMagicMCPlace); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :406:1: note: expanded from here "XMagicMCPlace" ^ 6 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c helpers/msgwin.cpp -o obj/msgwin.o c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c magic/modifers.cpp -o obj/modifers.o In file included from magic/modifers.cpp:21: In file included from ./magic/modifers.h:25: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from magic/modifers.cpp:21: In file included from ./magic/modifers.h:25: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from magic/modifers.cpp:21: In file included from ./magic/modifers.h:25: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ magic/modifers.cpp:55:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XModWound); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :388:1: note: expanded from here "XModWound" ^ magic/modifers.cpp:70:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XModPoison); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :390:1: note: expanded from here "XModPoison" ^ magic/modifers.cpp:84:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XModConfuse); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :392:1: note: expanded from here "XModConfuse" ^ magic/modifers.cpp:94:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XModStun); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :394:1: note: expanded from here "XModStun" ^ magic/modifers.cpp:109:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XModHeroism); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :396:1: note: expanded from here "XModHeroism" ^ magic/modifers.cpp:124:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XModDisease); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :398:1: note: expanded from here "XModDisease" ^ magic/modifers.cpp:156:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XModWeak); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :400:1: note: expanded from here "XModWeak" ^ magic/modifers.cpp:178:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XModParalyse); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :3:1: note: expanded from here "XModParalyse" ^ magic/modifers.cpp:187:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XModDelayed); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :5:1: note: expanded from here "XModDelayed" ^ magic/modifers.cpp:213:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XModSeeInvisible); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :7:1: note: expanded from here "XModSeeInvisible" ^ magic/modifers.cpp:227:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XModBoostSpeed); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :9:1: note: expanded from here "XModBoostSpeed" ^ magic/modifers.cpp:241:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XModSlowness); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :11:1: note: expanded from here "XModSlowness" ^ magic/modifers.cpp:255:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XModAcidResistance); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :13:1: note: expanded from here "XModAcidResistance" ^ magic/modifers.cpp:269:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XModFireResistance); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :15:1: note: expanded from here "XModFireResistance" ^ magic/modifers.cpp:283:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XModColdResistance); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :17:1: note: expanded from here "XModColdResistance" ^ magic/modifers.cpp:297:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XModPoisonResistance); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :19:1: note: expanded from here "XModPoisonResistance" ^ 20 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c magic/modifer.cpp -o obj/modifer.o In file included from magic/modifer.cpp:22: In file included from ./magic/modifers.h:25: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from magic/modifer.cpp:22: In file included from ./magic/modifers.h:25: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from magic/modifer.cpp:22: In file included from ./magic/modifers.h:25: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ magic/modifer.cpp:137:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ 5 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c map/map.cpp -o obj/map.o In file included from map/map.cpp:23: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from map/map.cpp:23: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from map/map.cpp:23: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ map/map.cpp:28:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {' ', xBLACK, "unknown", MO_UNKNOWN, VI_UNKNOWN}, ^ map/map.cpp:29:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'.', xGREEN, "green grass", MO_NORMAL, VI_NORMAL}, ^ map/map.cpp:30:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'T', xGREEN, "large tree", MO_HARD, VI_HARD}, ^ map/map.cpp:31:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'.', xYELLOW, "sand", MO_SHARD, VI_NORMAL}, ^ map/map.cpp:32:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'#', xCYAN, "window", MO_WALL, VI_NORMAL}, ^ map/map.cpp:33:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'#', xDARKGRAY, "magma", MO_WALL, VI_WALL}, ^ map/map.cpp:34:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'#', xLIGHTGRAY, "quartz", MO_WALL, VI_WALL}, ^ map/map.cpp:35:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'.', xLIGHTGRAY, "cave floor", MO_NORMAL, VI_NORMAL}, ^ map/map.cpp:36:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'.', xLIGHTGRAY, "stone floor", MO_NORMAL, VI_NORMAL}, ^ map/map.cpp:37:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'.', xBROWN, "path", MO_NORMAL, VI_NORMAL}, ^ map/map.cpp:38:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'#', xBROWN, "wooden wall", MO_WALL, VI_WALL}, ^ map/map.cpp:39:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'#', xLIGHTGRAY, "stone wall", MO_WALL, VI_WALL}, ^ map/map.cpp:40:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'=', xLIGHTBLUE, "water", MO_WATER, VI_NORMAL}, ^ map/map.cpp:41:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'=', xBLUE, "deep water", MO_DEEPWATER, VI_NORMAL}, ^ map/map.cpp:42:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'^', xGREEN, "hill", MO_NORMAL, VI_NORMAL}, ^ map/map.cpp:43:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'^', xBROWN, "low mountains", MO_VHARD, VI_AHARD}, ^ map/map.cpp:44:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'^', xLIGHTGRAY, "mountains", MO_MOUNTAIN, VI_HARD}, ^ map/map.cpp:45:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'^', xWHITE, "high mountains", MO_WALL, VI_VHARD}, ^ map/map.cpp:46:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'=', xBROWN, "bridge", MO_NORMAL, VI_NORMAL}, ^ map/map.cpp:47:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'.', xYELLOW, "road", MO_NORMAL, VI_NORMAL}, ^ map/map.cpp:48:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'.', xDARKGRAY, "obsidian floor", MO_NORMAL, VI_NORMAL}, ^ map/map.cpp:49:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'X', xBROWN, "fence", MO_WALL, VI_NORMAL}, ^ map/map.cpp:50:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'.', xYELLOW, "golden floor", MO_NORMAL, VI_NORMAL}, ^ map/map.cpp:51:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'#', xWHITE, "marble wall", MO_WALL, VI_WALL}, ^ map/map.cpp:52:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'#', xDARKGRAY, "black marble wall", MO_WALL, VI_WALL}, ^ map/map.cpp:53:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'X', xYELLOW, "golden fence", MO_WALL, VI_NORMAL}, ^ map/map.cpp:54:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {'0', xWHITE, "teleport circle", MO_NORMAL, VI_NORMAL}, ^ map/map.cpp:257:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return ""; ^ 32 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c helpers/manual.cpp -o obj/manual.o helpers/manual.cpp:31:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] sprintf(path, "%s%s", vMakePath(DATA_DIR, "manual/"), page); ^ :1:18: note: expanded from here #define DATA_DIR "/usr/local/share/avanor/" ^ helpers/manual.cpp:31:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] sprintf(path, "%s%s", vMakePath(DATA_DIR, "manual/"), page); ^ helpers/manual.cpp:59:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * open_page = "index.html"; ^ helpers/manual.cpp:73:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] open_page = "index.html"; ^ helpers/manual.cpp:81:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 0: open_page = "intro.html"; break; ^ helpers/manual.cpp:82:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 1: open_page = "qstart.html"; break; ^ helpers/manual.cpp:83:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 2: open_page = "kblayout.html"; break; ^ helpers/manual.cpp:84:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 3: open_page = "basic.html"; break; ^ helpers/manual.cpp:85:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 4: open_page = "magic.html"; break; ^ helpers/manual.cpp:86:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 5: open_page = "skills.html"; break; ^ helpers/manual.cpp:87:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 6: open_page = "wskills.html"; break; ^ helpers/manual.cpp:88:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 7: open_page = "equipment.html"; break; ^ helpers/manual.cpp:89:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 8: open_page = "tactics.html"; break; ^ helpers/manual.cpp:90:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 9: open_page = "misc.html"; break; ^ helpers/manual.cpp:91:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 10: open_page = "testmode.html"; break; ^ helpers/manual.cpp:92:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case 11: open_page = "credits.html"; break; ^ 16 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c game/mainloc.cpp -o obj/mainloc.o In file included from game/mainloc.cpp:22: In file included from ./creature/creatures.h:24: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from game/mainloc.cpp:22: In file included from ./creature/creatures.h:24: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from game/mainloc.cpp:22: In file included from ./creature/creatures.h:24: In file included from ./creature/anycr.h:24: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ In file included from game/mainloc.cpp:23: ./creature/unique.h:108:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "'Woof!'";} ^ game/mainloc.cpp:120:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(24, 8, xBROWN, '~', "plain bed", this); ^ game/mainloc.cpp:123:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] CreateShop(IM_FOOD, &shop_rect1, "Nobel, the human shopkeeper"); ^ game/mainloc.cpp:152:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(26, 51, xLIGHTRED, '~', "bed", this); ^ game/mainloc.cpp:153:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(24, 51, xBROWN, '~', "desk", this); ^ game/mainloc.cpp:155:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(13, 46, xBROWN, '~', "plain bed", this); ^ game/mainloc.cpp:156:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(19, 42, xBROWN, '~', "plain bed", this); ^ game/mainloc.cpp:157:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(25, 42, xBROWN, '~', "plain bed", this); ^ game/mainloc.cpp:158:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(31, 42, xBROWN, '~', "plain bed", this); ^ game/mainloc.cpp:159:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(37, 42, xBROWN, '~', "plain bed", this); ^ game/mainloc.cpp:160:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(43, 42, xBROWN, '~', "plain bed", this); ^ game/mainloc.cpp:161:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(49, 42, xBROWN, '~', "plain bed", this); ^ game/mainloc.cpp:163:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(30, 46, xBROWN, '~', "table", this); ^ game/mainloc.cpp:164:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(30, 48, xBROWN, '~', "table", this); ^ game/mainloc.cpp:165:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(32, 46, xBROWN, '~', "table", this); ^ game/mainloc.cpp:166:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(32, 48, xBROWN, '~', "table", this); ^ game/mainloc.cpp:167:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(34, 46, xBROWN, '~', "table", this); ^ game/mainloc.cpp:168:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(34, 48, xBROWN, '~', "table", this); ^ game/mainloc.cpp:169:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(36, 46, xBROWN, '~', "table", this); ^ game/mainloc.cpp:170:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(36, 48, xBROWN, '~', "table", this); ^ game/mainloc.cpp:171:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(38, 46, xBROWN, '~', "table", this); ^ game/mainloc.cpp:172:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(38, 48, xBROWN, '~', "table", this); ^ game/mainloc.cpp:177:77: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] CreateShop(IM_ARMOUR | IM_WEAPON | IM_MISSILE | IM_MISSILEW, &shop_rect2, "Noberik, the human shopkeeper"); ^ game/mainloc.cpp:195:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] CreateShop(IM_BOOK | IM_SCROLL | IM_POTION, &shop_rect3, "Toberik, the human shopkeeper", SHOP_DOOR_RIGHT); ^ game/mainloc.cpp:199:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(165, 13, xLIGHTRED, '~', "eternal flame", this); ^ game/mainloc.cpp:204:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XThrone(182, 4, "Avanor", this); ^ game/mainloc.cpp:205:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(172, 9, xLIGHTRED, '~', "royal bed", this); ^ game/mainloc.cpp:206:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(189, 6, xBROWN, '~', "round table", this); ^ game/mainloc.cpp:207:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(191, 12, xBROWN, '~', "dinner table", this); ^ game/mainloc.cpp:260:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(152,5,xBROWN,'~',"pew",this); ^ game/mainloc.cpp:261:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(152,6,xBROWN,'~',"pew",this); ^ game/mainloc.cpp:262:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(153,5,xBROWN,'~',"pew",this); ^ game/mainloc.cpp:263:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(153,6,xBROWN,'~',"pew",this); ^ game/mainloc.cpp:264:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(155,5,xBROWN,'~',"pew",this); ^ game/mainloc.cpp:265:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(155,6,xBROWN,'~',"pew",this); ^ game/mainloc.cpp:266:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(156,5,xBROWN,'~',"pew",this); ^ game/mainloc.cpp:267:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(156,6,xBROWN,'~',"pew",this); ^ game/mainloc.cpp:324:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XFurniture(37, 10, xLIGHTRED, '~', "nice bed", this); ^ 42 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c Main.cpp -o obj/Main.o In file included from Main.cpp:24: In file included from ./game/game.h:27: In file included from ./creature/xhero.h:26: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from Main.cpp:24: In file included from ./game/game.h:27: In file included from ./creature/xhero.h:26: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from Main.cpp:24: In file included from ./game/game.h:27: In file included from ./creature/xhero.h:26: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ Main.cpp:31:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_CYAN ^ ./global/global.h:99:28: note: expanded from macro 'MSG_CYAN' #define MSG_CYAN "\x1F\x03" ^ Main.cpp:33:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " dP' 88 88 88 dP' 88 88b 88 dP' `Yb 88 `Yb", ^ Main.cpp:34:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "d8 88 88 88 d8 88 88Yb 88 88 88 88 88", ^ Main.cpp:35:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "88 88 Y8 8Y 88 88 88 Yb 88 88 88 88 88", ^ Main.cpp:36:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "88ooooo88 Yb dY 88ooooo88 88 Yb 88 88 88 88oooodP ", ^ Main.cpp:37:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "88 88 Yb dY 88 88 88 Yb88 88 88 88 Yb ", ^ Main.cpp:38:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "88 88 YbdY 88 88 88 Y88 `8b d8' 88 Yb ", ^ Main.cpp:39:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "88 88 YY 88 88 88 88 `Y8bd8P 88 Yb", ^ Main.cpp:40:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_WHITE, ^ ./global/global.h:111:28: note: expanded from macro 'MSG_WHITE' #define MSG_WHITE "\x1F\x0F" ^ Main.cpp:41:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " T h e L a n d o f M y s t e r y", ^ Main.cpp:42:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ Main.cpp:43:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_GREEN ^ ./global/global.h:98:28: note: expanded from macro 'MSG_GREEN' #define MSG_GREEN "\x1F\x02" ^ Main.cpp:45:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_YELLOW, ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' #define MSG_YELLOW "\x1F\x0E" ^ Main.cpp:46:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " (c) 2000 - 2003 by Vadim Gaidukevich", ^ Main.cpp:47:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ Main.cpp:48:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_YELLOW ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' #define MSG_YELLOW "\x1F\x0E" ^ Main.cpp:50:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ Main.cpp:51:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ Main.cpp:52:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " " ^ 23 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c magic/magic.cpp -o obj/magic.o In file included from magic/magic.cpp:21: In file included from ./magic/magic.h:25: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from magic/magic.cpp:21: In file included from ./magic/magic.h:25: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from magic/magic.cpp:21: In file included from ./magic/magic.h:25: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ magic/magic.cpp:169:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XSpell); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :368:1: note: expanded from here "XSpell" ^ magic/magic.cpp:277:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(caster->GetVerb("cast")); ^ magic/magic.cpp:293:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(caster->GetVerb("waste")); ^ magic/magic.cpp:351:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Elemental", ^ magic/magic.cpp:352:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Body and Spirit", ^ magic/magic.cpp:353:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Protection and Resistance", ^ magic/magic.cpp:354:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Death and Devastation", ^ magic/magic.cpp:355:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Surviving and Enlightenment", ^ magic/magic.cpp:356:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Power" ^ magic/magic.cpp:360:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ magic/magic.cpp:361:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTGRAY "Beginner", ^ ./global/global.h:103:28: note: expanded from macro 'MSG_LIGHTGRAY' #define MSG_LIGHTGRAY "\x1F\x07" ^ magic/magic.cpp:362:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTGRAY "Novice", ^ ./global/global.h:103:28: note: expanded from macro 'MSG_LIGHTGRAY' #define MSG_LIGHTGRAY "\x1F\x07" ^ magic/magic.cpp:363:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTGRAY "Senior Novice", ^ ./global/global.h:103:28: note: expanded from macro 'MSG_LIGHTGRAY' #define MSG_LIGHTGRAY "\x1F\x07" ^ magic/magic.cpp:364:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_YELLOW "Minor Adept", ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' #define MSG_YELLOW "\x1F\x0E" ^ magic/magic.cpp:365:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_YELLOW "Adept", ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' #define MSG_YELLOW "\x1F\x0E" ^ magic/magic.cpp:366:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_YELLOW "Major Adept", ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' #define MSG_YELLOW "\x1F\x0E" ^ magic/magic.cpp:367:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTRED "Master", ^ ./global/global.h:108:28: note: expanded from macro 'MSG_LIGHTRED' #define MSG_LIGHTRED "\x1F\x0C" ^ magic/magic.cpp:368:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_RED "Senior Master", ^ ./global/global.h:100:28: note: expanded from macro 'MSG_RED' #define MSG_RED "\x1F\x04" ^ magic/magic.cpp:369:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_DARKGRAY "Grand Master" ^ ./global/global.h:104:28: note: expanded from macro 'MSG_DARKGRAY' #define MSG_DARKGRAY "\x1F\x08" ^ 23 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c creature/los.cpp -o obj/los.o c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c game/location.cpp -o obj/location.o In file included from game/location.cpp:26: In file included from ./game/game.h:27: In file included from ./creature/xhero.h:26: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from game/location.cpp:26: In file included from ./game/game.h:27: In file included from ./creature/xhero.h:26: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from game/location.cpp:26: In file included from ./game/game.h:27: In file included from ./creature/xhero.h:26: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ In file included from game/location.cpp:27: ./creature/unique.h:108:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "'Woof!'";} ^ game/location.cpp:31:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XLocation); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :3:1: note: expanded from here "XLocation" ^ game/location.cpp:32:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XMushroomsCaveLocation); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :5:1: note: expanded from here "XMushroomsCaveLocation" ^ 7 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c game/ldebug.cpp -o obj/ldebug.o In file included from game/ldebug.cpp:23: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from game/ldebug.cpp:23: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from game/ldebug.cpp:23: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ In file included from game/ldebug.cpp:23: ./creature/unique.h:108:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "'Woof!'";} ^ 5 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c game/lbuilderpalette.cpp -o obj/lbuilderpalette.o game/lbuilderpalette.cpp:40:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "..............................................", ^ game/lbuilderpalette.cpp:41:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".#####.#####.#####.#####.#####.#####.#####....", ^ game/lbuilderpalette.cpp:42:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".#111#.#111#.#111#.#111#.#111#.#111#.#111#....", ^ game/lbuilderpalette.cpp:43:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".##+##.##+##.##+##.##+##.##+##.##+##.##+##....", ^ game/lbuilderpalette.cpp:44:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "2222222222222222222222222222222222222222222222", ^ game/lbuilderpalette.cpp:45:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".##+##......22&=&22############2#####+######..", ^ game/lbuilderpalette.cpp:46:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".#111#......22=&=22#1111111111#2#11+111#111#..", ^ game/lbuilderpalette.cpp:47:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".#####......22&=&22+1111111111+2+11#111+111#..", ^ game/lbuilderpalette.cpp:48:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "2222222222222222222#1111111111#2########+###..", ^ game/lbuilderpalette.cpp:49:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "............2##/##2############2.......#111#..", ^ game/lbuilderpalette.cpp:50:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "............2#111#22222222222222.......#####..", ^ game/lbuilderpalette.cpp:51:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "............2#111#.............2..............", ^ game/lbuilderpalette.cpp:52:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "............2#####.............2..............", ^ game/lbuilderpalette.cpp:53:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "............2..................2..............", ^ game/lbuilderpalette.cpp:54:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "............2..................2..............", ^ game/lbuilderpalette.cpp:64:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ", ^ game/lbuilderpalette.cpp:65:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ======= ", ^ game/lbuilderpalette.cpp:66:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " @@@@@@@ @@@@@@ == ", ^ game/lbuilderpalette.cpp:67:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ..@;;;;;@..@....@........= ", ^ game/lbuilderpalette.cpp:68:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ..@@@+@@@..@+@@@@.........= ", ^ game/lbuilderpalette.cpp:69:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " .....1......1.............= ", ^ game/lbuilderpalette.cpp:70:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " 1111111111111111111111111111...= ", ^ game/lbuilderpalette.cpp:71:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ...........1...####....11..= ", ^ game/lbuilderpalette.cpp:72:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ...........1##+#;;#.....111211111 ", ^ game/lbuilderpalette.cpp:73:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ...........1#;;;;;#........= 11111111111111 ", ^ game/lbuilderpalette.cpp:74:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ...........1#######.......== ", ^ game/lbuilderpalette.cpp:75:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " .............1.............=== ", ^ game/lbuilderpalette.cpp:76:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ...@@@@@@@@@@1....... ========== ", ^ game/lbuilderpalette.cpp:77:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ...@......+.+111111============== ", ^ game/lbuilderpalette.cpp:78:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ...@.....@@@@.====2=============== ", ^ game/lbuilderpalette.cpp:79:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ...@@@@@@@. ======2================== ", ^ game/lbuilderpalette.cpp:80:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ........==========2==================== ", ^ game/lbuilderpalette.cpp:81:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ===============2====================== ", ^ game/lbuilderpalette.cpp:82:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ===============2======================= ", ^ game/lbuilderpalette.cpp:83:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ================222====================== ", ^ game/lbuilderpalette.cpp:84:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ==============222==================== ", ^ game/lbuilderpalette.cpp:85:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " =================222================== ", ^ game/lbuilderpalette.cpp:86:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ================================== ", ^ game/lbuilderpalette.cpp:87:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " =================================== ", ^ game/lbuilderpalette.cpp:88:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ================================ ", ^ game/lbuilderpalette.cpp:89:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ============================ ", ^ game/lbuilderpalette.cpp:90:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ============================== ", ^ game/lbuilderpalette.cpp:91:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ========================== ", ^ game/lbuilderpalette.cpp:92:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ======================= ", ^ game/lbuilderpalette.cpp:93:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ============ ", ^ game/lbuilderpalette.cpp:94:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ", ^ game/lbuilderpalette.cpp:107:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " = ###.;;;;;;;;;;;;;;;;;;;;;;.MM ##2##.....................##2##", ^ game/lbuilderpalette.cpp:108:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " == #;#.;#####;...WWWWWWWWW..;;.MM #;;;#......#########......#;;;#", ^ game/lbuilderpalette.cpp:109:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " == #;#.;#;;;#;...W;;;;;;;W...;..MM2;;;########;;W3W;;########;;;2", ^ game/lbuilderpalette.cpp:110:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " == #;#.;#;;;+;...WW;;;;;WW...;...M#;;;+;;;;#;#;;;3;;;#;;;;#;+;;;#", ^ game/lbuilderpalette.cpp:111:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " == #;#.;#####;....W;;;;;W...;;...M###+####;+;##;;3;;##;;;;#;#+###", ^ game/lbuilderpalette.cpp:112:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " == #;#.;#;;;#;###.WW;;;WW.;;;....M..#;#;;#;#;;#;;3;;#;;;;;#;#;#..", ^ game/lbuilderpalette.cpp:113:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " == #;#.;#;;;#;#;##.WW/WW.;;......M..#;#;;#;#####;3;##+#####;#;#..", ^ game/lbuilderpalette.cpp:114:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " = #;#.;#;;;+;#;;##.;;;;;;WWWWWWWM..#;#;;+;;;;;+;3;+;;;;;;;;#;#..", ^ game/lbuilderpalette.cpp:115:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " = #;#.;#;;;#;#;;;#.;;;...W;W===WMM.#;#;;#;######+#######+###;#..", ^ game/lbuilderpalette.cpp:116:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " = ##+##;#####;##+##;;;;;..W;W=XXWWM.#;#;;#;#.....;.....#;;;;#;#..", ^ game/lbuilderpalette.cpp:117:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ";;;1;#;;;#;;;;;;;;;;;;;=;=;;;W;W=X33WM.#;####;#....;;;....#;;;;#;#..", ^ game/lbuilderpalette.cpp:118:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ";;;1;+;;;+;;;;;;;;;;;;;;;;;;;/333333WM.#;#;;+;+;;;;;=;;;;;+;;;;#;#..", ^ game/lbuilderpalette.cpp:119:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ";;;1;#;;;#;;;;;;;;;;;;;=;=;;;W;W=X33WM.#;#;;###....;;;....###+##;#..", ^ game/lbuilderpalette.cpp:120:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " = ##+##;#####;##+##;;;;;..W;W=XXWWM.#;#;;#;#.....;.....#;;;;#;#..", ^ game/lbuilderpalette.cpp:121:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " = #;#.;#;;;#;#;;;##;;;...W;W===WMM.#;#;;+;#..###+###..#;;;;#;#..", ^ game/lbuilderpalette.cpp:122:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " == #;#.;#;;;#;#;;;;#;;;...WWWWWWWM###+#########;;3;;#########+###", ^ game/lbuilderpalette.cpp:123:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " == #;#.;#;;;+;######;;;..........M#;;;+;;;;;;;+;;3;;+;;;;;;;+;;;#", ^ game/lbuilderpalette.cpp:124:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " == #;#.;#####;#;;;;#;;;#########MM2;;;#########;;3;;#########;;;2", ^ game/lbuilderpalette.cpp:125:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " == #;#.;#;;;#;#;;;;#;;;#;;#;;;;#M.#;;;#.......###+###T.T.T.T#;;;#", ^ game/lbuilderpalette.cpp:126:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " == #;#.;#;;;#;#;;;;/;;;+;;#;;;;#MM##2##........M;;;MMMMM.TT.##2##", ^ game/lbuilderpalette.cpp:127:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " == #;#.;#;;;#;#;;;;#;;;######+##.MMMMMMMMMMMMMMM;;;####MMMM.TT.T.", ^ game/lbuilderpalette.cpp:128:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " == #;#.;##+##;######;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+;;####MMM.T.T", ^ game/lbuilderpalette.cpp:129:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ==##+##;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;.#;;+;;#..MMMMM", ^ game/lbuilderpalette.cpp:130:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " =##;;;##...........##+##...........................#;;#;;#.......", ^ game/lbuilderpalette.cpp:131:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ==#;;;;;#############;;;#############################+############", ^ game/lbuilderpalette.cpp:132:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ==#;;;;;+;;;;;;;;;;;+;;;+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;#", ^ game/lbuilderpalette.cpp:133:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ==#;;;;;#############;;;##########################################", ^ game/lbuilderpalette.cpp:134:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " =##;;;## =======##+## ==== ======== ", ^ game/lbuilderpalette.cpp:135:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ==##### ===========111==== =============================", ^ game/lbuilderpalette.cpp:136:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ========== ;;;================= == ===== " ^ game/lbuilderpalette.cpp:152:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "################################################################################", ^ game/lbuilderpalette.cpp:153:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "###############,,,,,,,############,,,,,,,###################,,,,,,,,,,,,,,,,,,,#", ^ game/lbuilderpalette.cpp:154:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "##,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#", ^ game/lbuilderpalette.cpp:155:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "###,,,#########################,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#", ^ game/lbuilderpalette.cpp:156:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "##,,,,#,#,#,#,#,#,#,#,#,#,#,#,#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#", ^ game/lbuilderpalette.cpp:157:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "###,,,#+#+#+#+#+#+#+#+#+#+#+#+#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#", ^ game/lbuilderpalette.cpp:158:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "####,,;;;;;;;;;;;;;;;;;;;;;;;;;;,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#", ^ game/lbuilderpalette.cpp:159:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "##,,,,#+#+#+#+#+#+#+#+#+#+#+#+#;,,,,,,,,,;;;;;;;;;,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#", ^ game/lbuilderpalette.cpp:160:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "###,,,#,#,#,#,#,#,#,#,#,#,#,#,#;,,,,,,,,,;;;;;;;;;,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#", ^ game/lbuilderpalette.cpp:161:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "##,,,,#########################;,,,,,,,,,;;==:==;;,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#", ^ game/lbuilderpalette.cpp:162:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "###,,,,,,,,,,,,,,,,,,,,########;,,,,,,,,,;;==:==;;,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#", ^ game/lbuilderpalette.cpp:163:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "######,,,,,,,,,,,,,,,,,#,,,,,,#;,,,,,,,,,;;::;::;;,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#", ^ game/lbuilderpalette.cpp:164:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#######,,,,,,,,,,,,,,,,#,,,,,,#;,,,,,,,,,;;==:==;;,,,,,,,,######################", ^ game/lbuilderpalette.cpp:165:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "##########,,,,,,,,,,,,,#,,,,,,+;;;;;;;;;;;;==:==;;;;;;;;;;+,,,,,,,,,,,,,,,,,,,##", ^ game/lbuilderpalette.cpp:166:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "###,,##,,##,,,,,,,,,,,,#,,,,,,#;,,,,,,,,,;;;;;;;;;,,,,,,,,####+#################", ^ game/lbuilderpalette.cpp:167:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "##,,,,,,,,#,,,,,,,,,,,,########;,,,,,,,,,;;;;;;;;;,,,,,,,,#,,,,,,,,#,,,#########", ^ game/lbuilderpalette.cpp:168:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,+;;;;;;;;;;;;;;;;;;;;;,,,,,,,,,,,,,,,,,,,,,,,,,,#,,,,,,,,+,,,++,,,,,##", ^ game/lbuilderpalette.cpp:169:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#,,,,,,,,#,,,##,,,,,##", ^ game/lbuilderpalette.cpp:170:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "##,,,,,,,,#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,######################", ^ game/lbuilderpalette.cpp:171:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "################################################################################" ^ game/lbuilderpalette.cpp:182:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "XXXXXXXXXXXXXXXXXXXXX", ^ game/lbuilderpalette.cpp:183:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X...................X", ^ game/lbuilderpalette.cpp:184:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X......#######......X", ^ game/lbuilderpalette.cpp:185:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X.....##22#22##.....X", ^ game/lbuilderpalette.cpp:186:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X....##222#222##....X", ^ game/lbuilderpalette.cpp:187:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X....#22#####22#....X", ^ game/lbuilderpalette.cpp:188:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X....##2/222/2##....X", ^ game/lbuilderpalette.cpp:189:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X.....###222###.....X", ^ game/lbuilderpalette.cpp:190:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X......###/###......X", ^ game/lbuilderpalette.cpp:191:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X........111........X", ^ game/lbuilderpalette.cpp:192:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "XXXXXXXXX111XXXXXXXXX" ^ game/lbuilderpalette.cpp:202:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "XXXXXXXXXXXXXXXXXXXXX", ^ game/lbuilderpalette.cpp:203:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X......##333##......X", ^ game/lbuilderpalette.cpp:204:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X.....#3222223#.....X", ^ game/lbuilderpalette.cpp:205:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X....##2222222##....X", ^ game/lbuilderpalette.cpp:206:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X...#####222#####...X", ^ game/lbuilderpalette.cpp:207:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X...3222#222#2223...X", ^ game/lbuilderpalette.cpp:208:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X...##22/222/22##...X", ^ game/lbuilderpalette.cpp:209:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X....3#2#222#2#3....X", ^ game/lbuilderpalette.cpp:210:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X.....###222###.....X", ^ game/lbuilderpalette.cpp:211:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X......##333##......X", ^ game/lbuilderpalette.cpp:212:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "XXXXXXXXX111XXXXXXXXX" ^ game/lbuilderpalette.cpp:223:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "################################################################################", ^ game/lbuilderpalette.cpp:224:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,,,,######################################################,,,,,,,,,,,,#", ^ game/lbuilderpalette.cpp:225:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,,,,+,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,+,,,,,,,,,,,,#", ^ game/lbuilderpalette.cpp:226:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,,,,###########################,##########################,,,,,,,,,,,,#", ^ game/lbuilderpalette.cpp:227:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,,,,###########################,###,,,,###################,,,,,,,,,,,,#", ^ game/lbuilderpalette.cpp:228:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,,,,###########################,###,,,,######,############,,,,,,,,,,,,#", ^ game/lbuilderpalette.cpp:229:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "######################,,,,,,,,##########,###,,,,######,#########################", ^ game/lbuilderpalette.cpp:230:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "########,,,,##########,######,##########,####+########+#########################", ^ game/lbuilderpalette.cpp:231:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "########,,,,+,,,,,,,##,#,,,,#,##########,####,,,,,,,,,,,,,,,,,,,,,+,,###########", ^ game/lbuilderpalette.cpp:232:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "########,,,,#######,##,#,##,#,##########,####,#####################,,###########", ^ game/lbuilderpalette.cpp:233:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "########,,,,#######,##,#,##,#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,##,,###########", ^ game/lbuilderpalette.cpp:234:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "###################,##,#,##,############,#######################,###############", ^ game/lbuilderpalette.cpp:235:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "###################,##,,,##,############,#######################,###############", ^ game/lbuilderpalette.cpp:236:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "###################,#######,,,,,,,,,,###,#########,,############,###############", ^ game/lbuilderpalette.cpp:237:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,,,,######,################,###,#########,,+,,,,,,,,,,,,###,,,,,,,,,,,#", ^ game/lbuilderpalette.cpp:238:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,,,,######,,,,,,,,,,,,,,,,,,###,#########,,################,,,,,,,,,,,#", ^ game/lbuilderpalette.cpp:239:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,,,,###########################,###########################,,,,,,,,,,,#", ^ game/lbuilderpalette.cpp:240:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,,,,+,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,+,,,,,,,,,,,#", ^ game/lbuilderpalette.cpp:241:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,,,,#######################################################,,,,,,,,,,,#", ^ game/lbuilderpalette.cpp:242:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "################################################################################" ^ game/lbuilderpalette.cpp:251:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "....X..XX.XX..XX....X", ^ game/lbuilderpalette.cpp:252:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X....................", ^ game/lbuilderpalette.cpp:253:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "........##.##.......X", ^ game/lbuilderpalette.cpp:254:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "........;..;;.#......", ^ game/lbuilderpalette.cpp:255:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".....#;;;;;...;#.....", ^ game/lbuilderpalette.cpp:256:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ".....#;...;;;;;#.....", ^ game/lbuilderpalette.cpp:257:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X......#;;..;........", ^ game/lbuilderpalette.cpp:258:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "........../##.......X", ^ game/lbuilderpalette.cpp:259:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X....................", ^ game/lbuilderpalette.cpp:260:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X...................X", ^ game/lbuilderpalette.cpp:261:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "....XX..X...X.....X.." ^ game/lbuilderpalette.cpp:270:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "################################################################################", ^ game/lbuilderpalette.cpp:271:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "##################==############################################################", ^ game/lbuilderpalette.cpp:272:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "##,,,,,,,,#####,,,==############################################################", ^ game/lbuilderpalette.cpp:273:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "##,,,,,,,,,,,,,,,==#############################################################", ^ game/lbuilderpalette.cpp:274:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,,,,,,,,==#############################################################", ^ game/lbuilderpalette.cpp:275:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,,,,,,,,==#############################################################", ^ game/lbuilderpalette.cpp:276:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,,,,,,,==#####################;;;;;;;##################################", ^ game/lbuilderpalette.cpp:277:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,,,,,,,==#;;##################;;;;;;;;#################################", ^ game/lbuilderpalette.cpp:278:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,,,,,,,==#;;##################;;;;;;;;;;;;#############################", ^ game/lbuilderpalette.cpp:279:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,;;;;;;;;;;;;;;+;;+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;#############################", ^ game/lbuilderpalette.cpp:280:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,,,,,,,==#;;##################;;;;;;;;;;;;#############################", ^ game/lbuilderpalette.cpp:281:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,,,,,,,==#;;##################;;;;;;;;#################################", ^ game/lbuilderpalette.cpp:282:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,,,,,,,==#####################;;;;;;;##################################", ^ game/lbuilderpalette.cpp:283:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,,,,,,,,==#############################################################", ^ game/lbuilderpalette.cpp:284:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,,,,,,,,==#############################################################", ^ game/lbuilderpalette.cpp:285:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,,,,,,,,,,==#############################################################", ^ game/lbuilderpalette.cpp:286:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,,,,#,,,,,,,,,==############################################################", ^ game/lbuilderpalette.cpp:287:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "##,,,,####,,###,,,==############################################################", ^ game/lbuilderpalette.cpp:288:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "################################################################################", ^ game/lbuilderpalette.cpp:289:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "################################################################################" ^ game/lbuilderpalette.cpp:298:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#####################", ^ game/lbuilderpalette.cpp:299:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#####,,,,,,,,,,,#####", ^ game/lbuilderpalette.cpp:300:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "##########^##########", ^ game/lbuilderpalette.cpp:301:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,######+######,,,#", ^ game/lbuilderpalette.cpp:302:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,###,,,,,###,,,,#", ^ game/lbuilderpalette.cpp:303:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,^+,,,,,,,+^,,,,#", ^ game/lbuilderpalette.cpp:304:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,,###,,,,,###,,,,#", ^ game/lbuilderpalette.cpp:305:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#,,,######+#####,,,,#", ^ game/lbuilderpalette.cpp:306:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "##########^##########", ^ game/lbuilderpalette.cpp:307:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#####,,,,,,,,,,,#####", ^ game/lbuilderpalette.cpp:308:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#####################" ^ game/lbuilderpalette.cpp:317:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "################################################################################", ^ game/lbuilderpalette.cpp:318:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "################################################################################", ^ game/lbuilderpalette.cpp:319:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "################################################################################", ^ game/lbuilderpalette.cpp:320:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "###################################################,,,,,,,,,####################", ^ game/lbuilderpalette.cpp:321:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "###################################################,,,,,,,,,+,,,,,,,,,,,########", ^ game/lbuilderpalette.cpp:322:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#############################,,,,,,################,,,,,,,,,###########,########", ^ game/lbuilderpalette.cpp:323:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#########################,,,,,,,,,,####################+###############,########", ^ game/lbuilderpalette.cpp:324:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#######################,,,,,,,,,,,,##########,,,,,,####,####,,,,,,#####,########", ^ game/lbuilderpalette.cpp:325:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "###,,,,,##############,,,,,,,,,,,,,#########,,,,,,,,###,###,,,,,,,,####,########", ^ game/lbuilderpalette.cpp:326:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "###,,,,,##############,,,,,,,,,,,,,########,,######,,##+##,,######,,###+########", ^ game/lbuilderpalette.cpp:327:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "###,,,,,+,,,,,,,,,,,,+,,,,,,,,,,,,,+,,,,,,+,########,,+,+,,########,+,+,########", ^ game/lbuilderpalette.cpp:328:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "###,,,,,##############,,,,,,,,,,,,,########,,######,,##+##,,######,,###+########", ^ game/lbuilderpalette.cpp:329:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "###,,,,,##############,,,,,,,,,,,,,#########,,,,,,,,###,###,,,,,,,,####,########", ^ game/lbuilderpalette.cpp:330:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#######################,,,,,,,,,,,,##########,,,,,,####,####,,,,,,#####,########", ^ game/lbuilderpalette.cpp:331:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#########################,,,,,,,,,,####################+###############,########", ^ game/lbuilderpalette.cpp:332:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#############################,,,,,,################,,,,,,,,,###########,########", ^ game/lbuilderpalette.cpp:333:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "###################################################,,,,,,,,,+,,,,,,,,,,,########", ^ game/lbuilderpalette.cpp:334:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "###################################################,,,,,,,,,####################", ^ game/lbuilderpalette.cpp:335:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "################################################################################", ^ game/lbuilderpalette.cpp:336:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "################################################################################" ^ game/lbuilderpalette.cpp:345:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ########", ^ game/lbuilderpalette.cpp:346:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ###########,,,,,,#", ^ game/lbuilderpalette.cpp:347:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " #,,,,,,,,,,,,,,,##", ^ game/lbuilderpalette.cpp:348:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#######,,,,,,,,,,##,# ", ^ game/lbuilderpalette.cpp:349:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "+,,+,,+,,,,,,,,,,#,,# ", ^ game/lbuilderpalette.cpp:350:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#######,,,,,,,,,,##,# ", ^ game/lbuilderpalette.cpp:351:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " #,,,,,,,,,,,,,,,##", ^ game/lbuilderpalette.cpp:352:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ###########,,,,,,#", ^ game/lbuilderpalette.cpp:353:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ########" ^ game/lbuilderpalette.cpp:364:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#####################", ^ game/lbuilderpalette.cpp:365:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#######,,,,,,########", ^ game/lbuilderpalette.cpp:366:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#####,,,,,^,,,,######", ^ game/lbuilderpalette.cpp:367:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "##,^,,,,,,,,,,,,,,,##", ^ game/lbuilderpalette.cpp:368:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "##^^,,^,,,^,,,^,,,,##", ^ game/lbuilderpalette.cpp:369:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "####,,,,,,,,,,,,,####", ^ game/lbuilderpalette.cpp:370:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#######,,,,,,,#######", ^ game/lbuilderpalette.cpp:371:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "##########^##########", ^ game/lbuilderpalette.cpp:372:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "##########+##########", ^ game/lbuilderpalette.cpp:373:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#########,,,#########", ^ game/lbuilderpalette.cpp:374:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#####################" ^ game/lbuilderpalette.cpp:383:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " : ,,, ", ^ game/lbuilderpalette.cpp:384:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " :: :;: ,:::, ", ^ game/lbuilderpalette.cpp:385:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " :;^;:, ::, ", ^ game/lbuilderpalette.cpp:386:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " :;^:^;:,,,, ", ^ game/lbuilderpalette.cpp:387:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ,,,:;^:: :::::", ^ game/lbuilderpalette.cpp:388:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ,,:;::::: ", ^ game/lbuilderpalette.cpp:389:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " :,,, ", ^ game/lbuilderpalette.cpp:429:10: warning: enumeration value 'PAL_UNKNOWN' not handled in switch [-Wswitch] switch (pal) ^~~ 228 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/itemf.cpp -o obj/itemf.o In file included from item/itemf.cpp:21: In file included from ./item/itemf.h:24: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from item/itemf.cpp:21: In file included from ./item/itemf.h:24: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ 2 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/itemdb.cpp -o obj/itemdb.o item/itemdb.cpp:37:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"cloth", xWHITE, "1d1", "1d1", ^ item/itemdb.cpp:37:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"cloth", xWHITE, "1d1", "1d1", ^ item/itemdb.cpp:37:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"cloth", xWHITE, "1d1", "1d1", ^ item/itemdb.cpp:38:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "0d0", "", "", ^ item/itemdb.cpp:38:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "0d0", "", "", ^ item/itemdb.cpp:38:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "0d0", "", "", ^ item/itemdb.cpp:38:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "0d0", "", "", ^ item/itemdb.cpp:40:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/itemdb.cpp:44:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"leather", xBROWN, "1d2", "1d1-1", ^ item/itemdb.cpp:44:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"leather", xBROWN, "1d2", "1d1-1", ^ item/itemdb.cpp:44:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"leather", xBROWN, "1d2", "1d1-1", ^ item/itemdb.cpp:45:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "0d0", "", "", ^ item/itemdb.cpp:45:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "0d0", "", "", ^ item/itemdb.cpp:45:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "0d0", "", "", ^ item/itemdb.cpp:45:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "0d0", "", "", ^ item/itemdb.cpp:47:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/itemdb.cpp:51:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"studded leather", xBROWN, "1d2", "1d2-1", ^ item/itemdb.cpp:51:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"studded leather", xBROWN, "1d2", "1d2-1", ^ item/itemdb.cpp:51:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"studded leather", xBROWN, "1d2", "1d2-1", ^ item/itemdb.cpp:52:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "0d0", "", "", ^ item/itemdb.cpp:52:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "0d0", "", "", ^ item/itemdb.cpp:52:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "0d0", "", "", ^ item/itemdb.cpp:52:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "0d0", "", "", ^ item/itemdb.cpp:54:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/itemdb.cpp:58:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"wooden", xBROWN, "1d3-3", "1d3-1", ^ item/itemdb.cpp:58:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"wooden", xBROWN, "1d3-3", "1d3-1", ^ item/itemdb.cpp:58:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"wooden", xBROWN, "1d3-3", "1d3-1", ^ item/itemdb.cpp:59:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2","0d0", "1d2-4", "", ^ item/itemdb.cpp:59:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2","0d0", "1d2-4", "", ^ item/itemdb.cpp:59:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2","0d0", "1d2-4", "", ^ item/itemdb.cpp:59:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2","0d0", "1d2-4", "", ^ item/itemdb.cpp:61:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/itemdb.cpp:65:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"stone", xLIGHTGRAY, "1d3-6", "1d4", ^ item/itemdb.cpp:65:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"stone", xLIGHTGRAY, "1d3-6", "1d4", ^ item/itemdb.cpp:65:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"stone", xLIGHTGRAY, "1d3-6", "1d4", ^ item/itemdb.cpp:66:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d3-2","0d0", "1d2-1", "1d1-2", ^ item/itemdb.cpp:66:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d3-2","0d0", "1d2-1", "1d1-2", ^ item/itemdb.cpp:66:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d3-2","0d0", "1d2-1", "1d1-2", ^ item/itemdb.cpp:66:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d3-2","0d0", "1d2-1", "1d1-2", ^ item/itemdb.cpp:68:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "earth:4d5", ^ item/itemdb.cpp:72:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"iron", xDARKGRAY, "1d2-3", "1d3-1", ^ item/itemdb.cpp:72:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"iron", xDARKGRAY, "1d2-3", "1d3-1", ^ item/itemdb.cpp:72:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"iron", xDARKGRAY, "1d2-3", "1d3-1", ^ item/itemdb.cpp:73:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2-2","0d0", "1d3-2", "1d2-1", ^ item/itemdb.cpp:73:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2-2","0d0", "1d3-2", "1d2-1", ^ item/itemdb.cpp:73:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2-2","0d0", "1d3-2", "1d2-1", ^ item/itemdb.cpp:73:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2-2","0d0", "1d3-2", "1d2-1", ^ item/itemdb.cpp:75:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/itemdb.cpp:79:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"bronze", xBROWN, "1d2-2", "1d3-1", ^ item/itemdb.cpp:79:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"bronze", xBROWN, "1d2-2", "1d3-1", ^ item/itemdb.cpp:79:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"bronze", xBROWN, "1d2-2", "1d3-1", ^ item/itemdb.cpp:80:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2-2", "0d0", "1d3-2", "1d2-1", ^ item/itemdb.cpp:80:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2-2", "0d0", "1d3-2", "1d2-1", ^ item/itemdb.cpp:80:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2-2", "0d0", "1d3-2", "1d2-1", ^ item/itemdb.cpp:80:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2-2", "0d0", "1d3-2", "1d2-1", ^ item/itemdb.cpp:82:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "stun:1d5", ^ item/itemdb.cpp:86:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"brass", xBROWN, "1d2-3", "1d2-1", ^ item/itemdb.cpp:86:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"brass", xBROWN, "1d2-3", "1d2-1", ^ item/itemdb.cpp:86:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"brass", xBROWN, "1d2-3", "1d2-1", ^ item/itemdb.cpp:87:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2-2", "0d0", "1d3-2", "1d2-1", ^ item/itemdb.cpp:87:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2-2", "0d0", "1d3-2", "1d2-1", ^ item/itemdb.cpp:87:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2-2", "0d0", "1d3-2", "1d2-1", ^ item/itemdb.cpp:87:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2-2", "0d0", "1d3-2", "1d2-1", ^ item/itemdb.cpp:89:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "stun:1d8", ^ item/itemdb.cpp:93:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"silver", xLIGHTGRAY, "1d2-3", "1d3-1", ^ item/itemdb.cpp:93:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"silver", xLIGHTGRAY, "1d2-3", "1d3-1", ^ item/itemdb.cpp:93:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"silver", xLIGHTGRAY, "1d2-3", "1d3-1", ^ item/itemdb.cpp:94:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2-2", "0d0", "1d3-2", "1d3-1", ^ item/itemdb.cpp:94:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2-2", "0d0", "1d3-2", "1d3-1", ^ item/itemdb.cpp:94:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2-2", "0d0", "1d3-2", "1d3-1", ^ item/itemdb.cpp:94:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2-2", "0d0", "1d3-2", "1d3-1", ^ item/itemdb.cpp:96:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "acid:3d5", ^ item/itemdb.cpp:100:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"golden", xYELLOW, "1d2-3", "1d3-1", ^ item/itemdb.cpp:100:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"golden", xYELLOW, "1d2-3", "1d3-1", ^ item/itemdb.cpp:100:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"golden", xYELLOW, "1d2-3", "1d3-1", ^ item/itemdb.cpp:101:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2-2", "0d0", "1d3-2", "1d4-1", ^ item/itemdb.cpp:101:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2-2", "0d0", "1d3-2", "1d4-1", ^ item/itemdb.cpp:101:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2-2", "0d0", "1d3-2", "1d4-1", ^ item/itemdb.cpp:101:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d2-2", "0d0", "1d3-2", "1d4-1", ^ item/itemdb.cpp:103:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "acid:5d5", ^ item/itemdb.cpp:107:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"crystal", xLIGHTMAGENTA, "1d3-6", "1d5", ^ item/itemdb.cpp:107:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"crystal", xLIGHTMAGENTA, "1d3-6", "1d5", ^ item/itemdb.cpp:107:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"crystal", xLIGHTMAGENTA, "1d3-6", "1d5", ^ item/itemdb.cpp:108:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d3-2", "0d0", "1d5-1", "1d2-1", ^ item/itemdb.cpp:108:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d3-2", "0d0", "1d5-1", "1d2-1", ^ item/itemdb.cpp:108:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d3-2", "0d0", "1d5-1", "1d2-1", ^ item/itemdb.cpp:108:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d3-2", "0d0", "1d5-1", "1d2-1", ^ item/itemdb.cpp:110:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "water:5d5", ^ item/itemdb.cpp:114:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"steel", xLIGHTBLUE, "1d4-1", "1d4-1", ^ item/itemdb.cpp:114:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"steel", xLIGHTBLUE, "1d4-1", "1d4-1", ^ item/itemdb.cpp:114:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"steel", xLIGHTBLUE, "1d4-1", "1d4-1", ^ item/itemdb.cpp:115:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d4-2", "0d0", "1d4-1", "1d2-1", ^ item/itemdb.cpp:115:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d4-2", "0d0", "1d4-1", "1d2-1", ^ item/itemdb.cpp:115:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d4-2", "0d0", "1d4-1", "1d2-1", ^ item/itemdb.cpp:115:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d4-2", "0d0", "1d4-1", "1d2-1", ^ item/itemdb.cpp:117:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "stun:3d5", ^ item/itemdb.cpp:121:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"obsidian", xDARKGRAY, "1d3-1", "1d5-1", ^ item/itemdb.cpp:121:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"obsidian", xDARKGRAY, "1d3-1", "1d5-1", ^ item/itemdb.cpp:121:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"obsidian", xDARKGRAY, "1d3-1", "1d5-1", ^ item/itemdb.cpp:122:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d5-2", "0d0", "1d5-1", "1d3-1", ^ item/itemdb.cpp:122:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d5-2", "0d0", "1d5-1", "1d3-1", ^ item/itemdb.cpp:122:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d5-2", "0d0", "1d5-1", "1d3-1", ^ item/itemdb.cpp:122:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "1d5-2", "0d0", "1d5-1", "1d3-1", ^ item/itemdb.cpp:124:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "fire:3d5", ^ item/itemdb.cpp:128:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"mithril", xLIGHTCYAN, "2d3", "2d3", ^ item/itemdb.cpp:128:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"mithril", xLIGHTCYAN, "2d3", "2d3", ^ item/itemdb.cpp:128:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"mithril", xLIGHTCYAN, "2d3", "2d3", ^ item/itemdb.cpp:129:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "2d4-1", "0d1", "1d7-1", "1d4-1", ^ item/itemdb.cpp:129:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "2d4-1", "0d1", "1d7-1", "1d4-1", ^ item/itemdb.cpp:129:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "2d4-1", "0d1", "1d7-1", "1d4-1", ^ item/itemdb.cpp:129:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "2d4-1", "0d1", "1d7-1", "1d4-1", ^ item/itemdb.cpp:131:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "poison:4d5 stun:3d5 confuse:3d5", ^ item/itemdb.cpp:135:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"adamantium", xLIGHTGREEN, "2d4", "2d4", ^ item/itemdb.cpp:135:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"adamantium", xLIGHTGREEN, "2d4", "2d4", ^ item/itemdb.cpp:135:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"adamantium", xLIGHTGREEN, "2d4", "2d4", ^ item/itemdb.cpp:136:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "2d6", "1d0", "2d4", "1d4", ^ item/itemdb.cpp:136:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "2d6", "1d0", "2d4", "1d4", ^ item/itemdb.cpp:136:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "2d6", "1d0", "2d4", "1d4", ^ item/itemdb.cpp:136:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "2d6", "1d0", "2d4", "1d4", ^ item/itemdb.cpp:138:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "paralyse:3d5 stun:5d5 confuse:5d5 blind:6d5", ^ item/itemdb.cpp:146:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "%s of fire resistance", xRED, ^ item/itemdb.cpp:147:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:147:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:147:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:147:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:147:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:147:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:152:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/itemdb.cpp:153:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "fire:5d5+25" ^ item/itemdb.cpp:157:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "%s of cold resistance", xWHITE, ^ item/itemdb.cpp:158:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:158:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:158:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:158:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:158:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:158:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:163:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/itemdb.cpp:164:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "cold:5d5+25" ^ item/itemdb.cpp:168:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "%s of air resistance", xLIGHTBLUE, ^ item/itemdb.cpp:169:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:169:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:169:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:169:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:169:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:169:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:174:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/itemdb.cpp:175:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "air:5d5+25" ^ item/itemdb.cpp:179:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "%s of acid resistance", xDARKGRAY, ^ item/itemdb.cpp:180:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 5, ^ item/itemdb.cpp:180:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 5, ^ item/itemdb.cpp:180:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 5, ^ item/itemdb.cpp:180:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 5, ^ item/itemdb.cpp:180:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 5, ^ item/itemdb.cpp:180:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 5, ^ item/itemdb.cpp:185:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/itemdb.cpp:186:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "acid:5d5+25" ^ item/itemdb.cpp:190:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "%s of poison resistance", 0, ^ item/itemdb.cpp:191:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 2, ^ item/itemdb.cpp:191:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 2, ^ item/itemdb.cpp:191:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 2, ^ item/itemdb.cpp:191:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 2, ^ item/itemdb.cpp:191:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 2, ^ item/itemdb.cpp:191:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 2, ^ item/itemdb.cpp:196:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/itemdb.cpp:197:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "poison:5d5+25" ^ item/itemdb.cpp:201:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "%s of Resistance", xDARKGRAY, ^ item/itemdb.cpp:202:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 80, ^ item/itemdb.cpp:202:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 80, ^ item/itemdb.cpp:202:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 80, ^ item/itemdb.cpp:202:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 80, ^ item/itemdb.cpp:202:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 80, ^ item/itemdb.cpp:202:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 80, ^ item/itemdb.cpp:207:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/itemdb.cpp:208:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "poison:5d5+25 fire:5d5+25 cold:5d5+25 water:5d5+25 acid:5d5+25 earth:5d5+25" ^ item/itemdb.cpp:212:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "%s of the Magi", 0, ^ item/itemdb.cpp:213:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 50, ^ item/itemdb.cpp:213:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 50, ^ item/itemdb.cpp:213:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 50, ^ item/itemdb.cpp:213:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 50, ^ item/itemdb.cpp:213:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 50, ^ item/itemdb.cpp:213:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 50, ^ item/itemdb.cpp:218:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Le:1d5 Wi:1d5 Ma:1d5", ^ item/itemdb.cpp:219:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "fire:5d5+25 cold:5d5+25" ^ item/itemdb.cpp:223:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "%s of free action", 0, ^ item/itemdb.cpp:224:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 50, ^ item/itemdb.cpp:224:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 50, ^ item/itemdb.cpp:224:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 50, ^ item/itemdb.cpp:224:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 50, ^ item/itemdb.cpp:224:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 50, ^ item/itemdb.cpp:224:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 50, ^ item/itemdb.cpp:229:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/itemdb.cpp:230:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "confuse:5d5+25 stun:5d5+25" ^ item/itemdb.cpp:234:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "%s of slow digestion", 0, ^ item/itemdb.cpp:235:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:235:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:235:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:235:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:235:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:235:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:240:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", ^ item/itemdb.cpp:241:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "" ^ item/itemdb.cpp:245:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "%s of Strength", 0, ^ item/itemdb.cpp:246:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:246:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:246:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:246:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:246:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:246:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:251:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:1d4", ^ item/itemdb.cpp:252:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "" ^ item/itemdb.cpp:256:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "%s of Swiftness", 0, ^ item/itemdb.cpp:257:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:257:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:257:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:257:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:257:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:257:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:262:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Dx:1d4", ^ item/itemdb.cpp:263:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "" ^ item/itemdb.cpp:267:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "%s of Toughness", 0, ^ item/itemdb.cpp:268:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:268:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:268:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:268:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:268:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:268:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:273:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "To:1d4", ^ item/itemdb.cpp:274:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "" ^ item/itemdb.cpp:278:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "%s of the Giants", 0, ^ item/itemdb.cpp:279:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 30, ^ item/itemdb.cpp:279:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 30, ^ item/itemdb.cpp:279:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 30, ^ item/itemdb.cpp:279:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 30, ^ item/itemdb.cpp:279:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 30, ^ item/itemdb.cpp:279:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 30, ^ item/itemdb.cpp:284:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:1d5+5", ^ item/itemdb.cpp:285:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "" ^ item/itemdb.cpp:289:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "%s of the Titans", xCYAN, ^ item/itemdb.cpp:290:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 60, ^ item/itemdb.cpp:290:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 60, ^ item/itemdb.cpp:290:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 60, ^ item/itemdb.cpp:290:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 60, ^ item/itemdb.cpp:290:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 60, ^ item/itemdb.cpp:290:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 60, ^ item/itemdb.cpp:295:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:1d10+10", ^ item/itemdb.cpp:296:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "" ^ item/itemdb.cpp:300:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "%s of the High Kings", xWHITE, ^ item/itemdb.cpp:301:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:301:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:301:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:301:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:301:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:301:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:306:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:1d1+24", ^ item/itemdb.cpp:307:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "" ^ item/itemdb.cpp:311:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "%s of the High Kings", xWHITE, ^ item/itemdb.cpp:312:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:312:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:312:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:312:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:312:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:312:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:317:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "St:1d1+24", ^ item/itemdb.cpp:318:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "" ^ item/itemdb.cpp:322:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "%s of the High Kings", xWHITE, ^ item/itemdb.cpp:323:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:323:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:323:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:323:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:323:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:323:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:328:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "To:1d1+24", ^ item/itemdb.cpp:329:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "" ^ item/itemdb.cpp:333:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "%s of the High Kings", xWHITE, ^ item/itemdb.cpp:334:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:334:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:334:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:334:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:334:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:334:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:339:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Dx:1d1+24", ^ item/itemdb.cpp:340:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "" ^ item/itemdb.cpp:344:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "%s of the Elven Kings", xWHITE, ^ item/itemdb.cpp:345:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:345:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:345:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:345:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:345:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:345:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 90, ^ item/itemdb.cpp:350:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Le:1d1+24", ^ item/itemdb.cpp:351:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "" ^ item/itemdb.cpp:355:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "clean %s", 0, ^ item/itemdb.cpp:356:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:356:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:356:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:356:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:356:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:356:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", "", "", "", "", "", 1, ^ item/itemdb.cpp:361:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "ch:1d6+0", ^ item/itemdb.cpp:362:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "" ^ 300 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/item_misc.cpp -o obj/item_misc.o In file included from item/item_misc.cpp:22: In file included from ./item/itemf.h:24: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from item/item_misc.cpp:22: In file included from ./item/itemf.h:24: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ item/item_misc.cpp:24:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XBatWing); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :371:1: note: expanded from here "XBatWing" ^ item/item_misc.cpp:25:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XRatTail); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :373:1: note: expanded from here "XRatTail" ^ item/item_misc.cpp:26:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XBone); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :375:1: note: expanded from here "XBone" ^ item/item_misc.cpp:27:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XAncientMachinePart); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :377:1: note: expanded from here "XAncientMachinePart" ^ item/item_misc.cpp:30:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XChest); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :379:1: note: expanded from here "XChest" ^ item/item_misc.cpp:52:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(buf, name); ^~~~ item/item_misc.cpp:52:15: note: treat the string as an argument to avoid this sprintf(buf, name); ^ "%s", 8 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c item/item.cpp -o obj/item.o In file included from item/item.cpp:23: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from item/item.cpp:23: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from item/item.cpp:23: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ 4 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c helpers/hiscore.cpp -o obj/hiscore.o helpers/hiscore.cpp:148:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (f.Open(HISCORE_FILE_NAME, "rb")) ^ ./helpers/hiscore.h:28:37: note: expanded from macro 'HISCORE_FILE_NAME' #define HISCORE_FILE_NAME vMakePath("~/.avanor/", "avanor.hsc") ^ helpers/hiscore.cpp:148:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ./helpers/hiscore.h:28:51: note: expanded from macro 'HISCORE_FILE_NAME' #define HISCORE_FILE_NAME vMakePath("~/.avanor/", "avanor.hsc") ^ helpers/hiscore.cpp:148:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (f.Open(HISCORE_FILE_NAME, "rb")) ^ helpers/hiscore.cpp:156:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] f.Open(HISCORE_FILE_NAME, "w"); ^ ./helpers/hiscore.h:28:37: note: expanded from macro 'HISCORE_FILE_NAME' #define HISCORE_FILE_NAME vMakePath("~/.avanor/", "avanor.hsc") ^ helpers/hiscore.cpp:156:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ./helpers/hiscore.h:28:51: note: expanded from macro 'HISCORE_FILE_NAME' #define HISCORE_FILE_NAME vMakePath("~/.avanor/", "avanor.hsc") ^ helpers/hiscore.cpp:156:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] f.Open(HISCORE_FILE_NAME, "w"); ^ helpers/hiscore.cpp:214:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (f.Open(HISCORE_FILE_NAME, "wb")) ^ ./helpers/hiscore.h:28:37: note: expanded from macro 'HISCORE_FILE_NAME' #define HISCORE_FILE_NAME vMakePath("~/.avanor/", "avanor.hsc") ^ helpers/hiscore.cpp:214:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ./helpers/hiscore.h:28:51: note: expanded from macro 'HISCORE_FILE_NAME' #define HISCORE_FILE_NAME vMakePath("~/.avanor/", "avanor.hsc") ^ helpers/hiscore.cpp:214:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (f.Open(HISCORE_FILE_NAME, "wb")) ^ 9 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c global/global.cpp -o obj/global.o global/global.cpp:66:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mkdir(vMakePath(HOME_DIR, ""), 0755); ^ ./global/global.h:43:22: note: expanded from macro 'HOME_DIR' # define HOME_DIR "~/.avanor/" ^ global/global.cpp:66:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mkdir(vMakePath(HOME_DIR, ""), 0755); ^ 2 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c game/Game.cpp -o obj/Game.o In file included from game/Game.cpp:24: In file included from ./game/game.h:27: In file included from ./creature/xhero.h:26: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from game/Game.cpp:24: In file included from ./game/game.h:27: In file included from ./creature/xhero.h:26: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from game/Game.cpp:24: In file included from ./game/game.h:27: In file included from ./creature/xhero.h:26: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ game/Game.cpp:186:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] FILE * f = fopen(vMakePath(HOME_DIR, "location.txt"), "w"); ^ ./global/global.h:43:22: note: expanded from macro 'HOME_DIR' # define HOME_DIR "~/.avanor/" ^ game/Game.cpp:186:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] FILE * f = fopen(vMakePath(HOME_DIR, "location.txt"), "w"); ^ game/Game.cpp:231:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] FILE * f = fopen(vMakePath(HOME_DIR, "items.txt"), "wt"); ^ ./global/global.h:43:22: note: expanded from macro 'HOME_DIR' # define HOME_DIR "~/.avanor/" ^ game/Game.cpp:231:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] FILE * f = fopen(vMakePath(HOME_DIR, "items.txt"), "wt"); ^ game/Game.cpp:265:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] XObject::count, ^~~~~~~~~~~~~~ game/Game.cpp:266:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] XObject::invalid_count, ^~~~~~~~~~~~~~~~~~~~~~ game/Game.cpp:267:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] total_cr, ^~~~~~~~ game/Game.cpp:268:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] total_it, ^~~~~~~~ game/Game.cpp:270:13: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] Game.Scheduler.GetTime() / 1000, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c magic/effect.cpp -o obj/effect.o In file included from magic/effect.cpp:23: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from magic/effect.cpp:23: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from magic/effect.cpp:23: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ magic/effect.cpp:101:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(caster->GetVerb("feel")); ^ magic/effect.cpp:195:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (target = pData->l->map->GetMonster(mfd.pt.x, mfd.pt.y)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ magic/effect.cpp:195:13: note: place parentheses around the assignment to silence this warning if (target = pData->l->map->GetMonster(mfd.pt.x, mfd.pt.y)) ^ ( ) magic/effect.cpp:195:13: note: use '==' to turn this assignment into an equality comparison if (target = pData->l->map->GetMonster(mfd.pt.x, mfd.pt.y)) ^ == magic/effect.cpp:316:81: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return Touch(pData, 1, pData->power, 5, xRED, R_FIRE, pData->caller->GetVerb("touch")); ^ magic/effect.cpp:320:83: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return Touch(pData, 1, pData->power, 7, xWHITE, R_COLD, pData->caller->GetVerb("touch")); ^ magic/effect.cpp:326:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] sprintf(buf, "%s life from", pData->caller->GetVerb("drain")); ^ magic/effect.cpp:333:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return Bolt(pData, 1, pData->power / 2, 0, xBROWN, R_EARTH, "the small arrow"); ^ magic/effect.cpp:337:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return Bolt(pData, 1, pData->power, 3, xRED, R_FIRE, "the small ball of fire"); ^ magic/effect.cpp:341:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return Bolt(pData, 1, pData->power, 5, xWHITE, R_COLD, "the small cone of ice"); ^ magic/effect.cpp:345:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return Bolt(pData, 2, pData->power, 10, xLIGHTBLUE, R_AIR, "the bright spark"); ^ magic/effect.cpp:349:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return Bolt(pData, 3, pData->power, 15, xGREEN, R_ACID, "the small ball of viscous liquid"); ^ magic/effect.cpp:421:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(pData->caller->GetVerb("summon")); ^ magic/effect.cpp:258:10: warning: enumeration value 'E_NONE' not handled in switch [-Wswitch] switch (pData->effect) ^~~~~~~~~~~~~ 16 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c game/dwarfcity.cpp -o obj/dwarfcity.o In file included from game/dwarfcity.cpp:23: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from game/dwarfcity.cpp:23: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from game/dwarfcity.cpp:23: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ In file included from game/dwarfcity.cpp:23: ./creature/unique.h:108:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "'Woof!'";} ^ game/dwarfcity.cpp:54:119: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] CreateShop(IM_ARMOUR | IM_WEAPON | IM_POTION | IM_BOOK | IM_SCROLL | IM_NECK | IM_MISSILE | IM_MISSILEW, &shop_rect, "Toberin, the dwarwen shopkeeper", SHOP_DOOR_DOWN); ^ game/dwarfcity.cpp:92:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] new XThrone(62, 17, "the Dwarven Kingdom", this); ^ game/dwarfcity.cpp:163:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XDwarvenTresurePlace); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :7:1: note: expanded from here "XDwarvenTresurePlace" ^ game/dwarfcity.cpp:243:10: warning: 36 enumeration values not handled in switch: 'L_UNKNOWN', 'L_MAIN', 'L_DWARFCITYCAVE1'... [-Wswitch] switch (loc) ^~~ game/dwarfcity.cpp:288:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XGasPlace); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :9:1: note: expanded from here "XGasPlace" ^ game/dwarfcity.cpp:296:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] XFakeCreature * tcr = new XFakeCreature("mysterious gas"); ^ game/dwarfcity.cpp:305:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XGasPump); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :11:1: note: expanded from here "XGasPump" ^ 12 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c helpers/dice.cpp -o obj/dice.o c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c creature/deity.cpp -o obj/deity.o In file included from creature/deity.cpp:22: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from creature/deity.cpp:22: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from creature/deity.cpp:22: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ creature/deity.cpp:69:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"cure light wounds", 3, PRAY_CURE_LIGHT_WOUNDS}, ^ creature/deity.cpp:70:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"minor divine intervention", 5, PRAY_MINOR_INTERVENTION}, ^ creature/deity.cpp:72:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"cure poison", 10, PRAY_CURE_POISON}, ^ creature/deity.cpp:73:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"heroism", 10, PRAY_HEROISM}, ^ creature/deity.cpp:75:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"cure critical wounds", 20, PRAY_CURE_CRITICAL_WOUNDS}, ^ creature/deity.cpp:77:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"great knowledge", 30, PRAY_IDENTIFY}, ^ creature/deity.cpp:79:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"divine restoration", 50, PRAY_RESTORATION} ^ creature/deity.cpp:84:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"cure light wounds", 5, PRAY_CURE_LIGHT_WOUNDS}, ^ creature/deity.cpp:85:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"minor divine intervention", 5, PRAY_MINOR_INTERVENTION}, ^ creature/deity.cpp:87:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"divine intervention", 5, PRAY_INTERVENTION}, ^ creature/deity.cpp:88:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"divine escape", 50, PRAY_TELEPORT}, ^ creature/deity.cpp:90:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"cure critical wounds", 30, PRAY_CURE_CRITICAL_WOUNDS}, ^ creature/deity.cpp:92:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"knowledge of insight", 50, PRAY_SELF_KNOWLEDGE}, ^ creature/deity.cpp:94:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"major divine intervention", 5, PRAY_MAJOR_INTERVENTION}, ^ creature/deity.cpp:200:10: warning: enumeration value 'D_UNKNOWN' not handled in switch [-Wswitch] switch (deity) ^~~~~ creature/deity.cpp:224:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_RED "fallen champion", MSG_RED "very bad", MSG_RED "bad", ^ ./global/global.h:100:28: note: expanded from macro 'MSG_RED' #define MSG_RED "\x1F\x04" ^ creature/deity.cpp:224:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_RED "fallen champion", MSG_RED "very bad", MSG_RED "bad", ^ ./global/global.h:100:28: note: expanded from macro 'MSG_RED' #define MSG_RED "\x1F\x04" ^ creature/deity.cpp:224:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_RED "fallen champion", MSG_RED "very bad", MSG_RED "bad", ^ ./global/global.h:100:28: note: expanded from macro 'MSG_RED' #define MSG_RED "\x1F\x04" ^ creature/deity.cpp:225:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTGRAY "normal", MSG_LIGHTGRAY "adept", MSG_LIGHTGREEN "follower", ^ ./global/global.h:103:28: note: expanded from macro 'MSG_LIGHTGRAY' #define MSG_LIGHTGRAY "\x1F\x07" ^ creature/deity.cpp:225:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTGRAY "normal", MSG_LIGHTGRAY "adept", MSG_LIGHTGREEN "follower", ^ ./global/global.h:103:28: note: expanded from macro 'MSG_LIGHTGRAY' #define MSG_LIGHTGRAY "\x1F\x07" ^ creature/deity.cpp:225:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_LIGHTGRAY "normal", MSG_LIGHTGRAY "adept", MSG_LIGHTGREEN "follower", ^ ./global/global.h:106:28: note: expanded from macro 'MSG_LIGHTGREEN' #define MSG_LIGHTGREEN "\x1F\x0A" ^ creature/deity.cpp:226:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_YELLOW "messiah", MSG_WHITE "champion" ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' #define MSG_YELLOW "\x1F\x0E" ^ creature/deity.cpp:226:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MSG_YELLOW "messiah", MSG_WHITE "champion" ^ ./global/global.h:111:28: note: expanded from macro 'MSG_WHITE' #define MSG_WHITE "\x1F\x0F" ^ creature/deity.cpp:237:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "Tiamat"; ^ creature/deity.cpp:239:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "Marduk"; ^ 29 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c game/dwarfcave.cpp -o obj/dwarfcave.o In file included from game/dwarfcave.cpp:24: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from game/dwarfcave.cpp:24: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from game/dwarfcave.cpp:24: In file included from ./creature/unique.h:24: In file included from ./creature/anycr.h:24: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ In file included from game/dwarfcave.cpp:24: ./creature/unique.h:108:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "'Woof!'";} ^ game/dwarfcave.cpp:37:10: warning: 33 enumeration values not handled in switch: 'L_UNKNOWN', 'L_MAIN', 'L_DWARFCITYCAVE7'... [-Wswitch] switch (l_name) ^~~~~~ 6 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c creature/creatures.cpp -o obj/creatures.o In file included from creature/creatures.cpp:21: In file included from ./creature/creatures.h:24: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from creature/creatures.cpp:21: In file included from ./creature/creatures.h:24: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from creature/creatures.cpp:21: In file included from ./creature/creatures.h:24: In file included from ./creature/anycr.h:24: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ 4 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c creature/creature2.cpp -o obj/creature2.o In file included from creature/creature2.cpp:21: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from creature/creature2.cpp:21: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from creature/creature2.cpp:21: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ creature/creature2.cpp:312:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(GetVerb("attack")); ^ creature/creature2.cpp:315:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(target->GetVerb("block")); ^ creature/creature2.cpp:395:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(GetVerb("stab")); ^ creature/creature2.cpp:397:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(GetVerb("hit")); ^ creature/creature2.cpp:445:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(GetVerb("attack")); ^ creature/creature2.cpp:447:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] sprintf(xxbuf, "%s, but %s.", target->GetNameEx(CRN_T1), GetVerb("miss")); ^ creature/creature2.cpp:502:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(pData->attacker->GetVerb("destroys")); ^ creature/creature2.cpp:509:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(pData->attacker->GetVerb("kills")); ^ creature/creature2.cpp:682:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(attacker->GetVerb("destroy")); ^ creature/creature2.cpp:684:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(attacker->GetVerb("kill")); ^ creature/creature2.cpp:729:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(attacker->GetVerb("destroy")); ^ creature/creature2.cpp:731:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(attacker->GetVerb("kill")); ^ 16 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c creature/creature.cpp -o obj/creature.o In file included from creature/creature.cpp:21: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from creature/creature.cpp:21: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from creature/creature.cpp:21: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ creature/creature.cpp:492:10: warning: 4 enumeration values not handled in switch: 'A_UNKNOWN', 'A_MOVE', 'A_ATTACK'... [-Wswitch] switch (action_data.action) ^~~~~~~~~~~~~~~~~~ creature/creature.cpp:657:13: warning: enumeration values 'S_UNKNOWN' and 'S_EOF' not handled in switch [-Wswitch] switch (st) ^~ creature/creature.cpp:678:13: warning: enumeration values 'S_UNKNOWN' and 'S_EOF' not handled in switch [-Wswitch] switch (st) ^~ creature/creature.cpp:701:11: warning: 15 enumeration values not handled in switch: 'R_NONE', 'R_WHITE', 'R_BLACK'... [-Wswitch] switch (rs) ^~ creature/creature.cpp:711:11: warning: 15 enumeration values not handled in switch: 'R_NONE', 'R_WHITE', 'R_BLACK'... [-Wswitch] switch (rs) ^~ creature/creature.cpp:994:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return ""; ^ creature/creature.cpp:996:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "not wounded"; ^ creature/creature.cpp:1000:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "slightly wounds"; ^ creature/creature.cpp:1002:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "slightly wounded"; ^ creature/creature.cpp:1006:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "wounds"; ^ creature/creature.cpp:1008:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "wounded"; ^ creature/creature.cpp:1012:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "seriously wounds"; ^ creature/creature.cpp:1014:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "seriously wounded"; ^ creature/creature.cpp:1018:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "critically wounds"; ^ creature/creature.cpp:1020:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "critically wounded"; ^ creature/creature.cpp:1140:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(GetVerb("shoot")); ^ creature/creature.cpp:1145:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(GetVerb("throw")); ^ creature/creature.cpp:1165:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(tgt->GetVerb("deflect")); ^ creature/creature.cpp:1211:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(GetVerb("exactly")); ^ creature/creature.cpp:1212:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(tgt->GetVerb("hit")); ^ creature/creature.cpp:1217:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.AddLast(GetVerb("through a piece of armour")); ^ creature/creature.cpp:1219:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(GetVerb("through a piece of armour")); ^ creature/creature.cpp:1254:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] msgwin.Add(tgt->GetVerb("avoid")); ^ creature/creature.cpp:1533:10: warning: 10 enumeration values not handled in switch: 'TR_NONE', 'TR_ATTACK_POSTION', 'TR_ATTACK_DIRECTION'... [-Wswitch] switch (tr) ^~ creature/creature.cpp:1698:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "male"; ^ creature/creature.cpp:1700:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "female"; ^ creature/creature.cpp:1702:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "neuter"; ^ creature/creature.cpp:1717:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T1: return "you"; ^ creature/creature.cpp:1718:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T2: return "you"; ^ creature/creature.cpp:1719:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T3: return "you"; ^ creature/creature.cpp:1720:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T4: return "your"; ^ creature/creature.cpp:1727:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T2: return "he"; ^ creature/creature.cpp:1728:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T3: return "him"; ^ creature/creature.cpp:1729:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T4: return "his"; ^ creature/creature.cpp:1736:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T2: return "she"; ^ creature/creature.cpp:1737:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T3: return "her"; ^ creature/creature.cpp:1738:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T4: return "hers"; ^ creature/creature.cpp:1745:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T2: return "it"; ^ creature/creature.cpp:1746:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T3: return "it"; ^ creature/creature.cpp:1747:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T4: return "its"; ^ creature/creature.cpp:1755:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T2: return "he"; ^ creature/creature.cpp:1756:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T3: return "him"; ^ creature/creature.cpp:1757:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T4: return "his"; ^ creature/creature.cpp:1764:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T2: return "she"; ^ creature/creature.cpp:1765:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T3: return "her"; ^ creature/creature.cpp:1766:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T4: return "hers"; ^ creature/creature.cpp:1773:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T2: return "it"; ^ creature/creature.cpp:1774:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T3: return "it"; ^ creature/creature.cpp:1775:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T4: return "its"; ^ creature/creature.cpp:1782:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T1: return "someone"; ^ creature/creature.cpp:1783:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T2: return "it"; ^ creature/creature.cpp:1784:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T3: return "it"; ^ creature/creature.cpp:1785:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] case CRN_T4: return "its"; ^ creature/creature.cpp:1789:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return ""; ^ 58 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c game/cbuilder.cpp -o obj/cbuilder.o c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c game/cave.cpp -o obj/cave.o In file included from game/cave.cpp:24: In file included from ./creature/std_ai.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from game/cave.cpp:24: In file included from ./creature/std_ai.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from game/cave.cpp:24: In file included from ./creature/std_ai.h:24: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ game/cave.cpp:45:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "####+####" ^ game/cave.cpp:58:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "####+####" ^ game/cave.cpp:71:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "##############" ^ game/cave.cpp:86:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#################" ^ 8 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c creature/bodypart.cpp -o obj/bodypart.o In file included from creature/bodypart.cpp:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from creature/bodypart.cpp:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from creature/bodypart.cpp:24: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ creature/bodypart.cpp:26:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XBodyPart); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :368:1: note: expanded from here "XBodyPart" ^ creature/bodypart.cpp:28:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * bp_names[] = {"", ^ creature/bodypart.cpp:29:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "head", "neck", "body", "cloak", ^ creature/bodypart.cpp:29:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "head", "neck", "body", "cloak", ^ creature/bodypart.cpp:29:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "head", "neck", "body", "cloak", ^ creature/bodypart.cpp:29:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "head", "neck", "body", "cloak", ^ creature/bodypart.cpp:30:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "hand", "ring", "gloves", ^ creature/bodypart.cpp:30:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "hand", "ring", "gloves", ^ creature/bodypart.cpp:30:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "hand", "ring", "gloves", ^ creature/bodypart.cpp:31:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "boots", "light_source", "tool", "missile_weapon", "missile", "eof"}; ^ creature/bodypart.cpp:31:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "boots", "light_source", "tool", "missile_weapon", "missile", "eof"}; ^ creature/bodypart.cpp:31:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "boots", "light_source", "tool", "missile_weapon", "missile", "eof"}; ^ creature/bodypart.cpp:31:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "boots", "light_source", "tool", "missile_weapon", "missile", "eof"}; ^ creature/bodypart.cpp:31:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "boots", "light_source", "tool", "missile_weapon", "missile", "eof"}; ^ creature/bodypart.cpp:31:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "boots", "light_source", "tool", "missile_weapon", "missile", "eof"}; ^ 19 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c creature/anycr.cpp -o obj/anycr.o In file included from creature/anycr.cpp:21: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from creature/anycr.cpp:21: In file included from ./creature/anycr.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from creature/anycr.cpp:21: In file included from ./creature/anycr.h:24: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ In file included from creature/anycr.cpp:24: ./creature/unique.h:108:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "'Woof!'";} ^ creature/anycr.cpp:29:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] REGISTER_CLASS(XAnyCreature); ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) ^ :394:1: note: expanded from here "XAnyCreature" ^ creature/anycr.cpp:410:11: warning: 91 enumeration values not handled in switch: 'CN_NONE', 'CN_RAT', 'CN_LARGE_RAT'... [-Wswitch] switch (cn) ^~ 7 warnings generated. c++ -MMD -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -c creature/ai_view.cpp -o obj/ai_view.o In file included from creature/ai_view.cpp:21: In file included from ./creature/std_ai.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:37: ./item/xshield.h:21:9: warning: '__XSHIELD_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __XSHIELD_H ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? #define __XSHILED_H ^~~~~~~~~~~ __XSHIELD_H In file included from creature/ai_view.cpp:21: In file included from ./creature/std_ai.h:24: In file included from ./creature/creature.h:33: In file included from ./item/incl_i.h:40: ./item/xscroll.h:63:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char * tmp = "euioa"; ^ In file included from creature/ai_view.cpp:21: In file included from ./creature/std_ai.h:24: ./creature/creature.h:311:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * GetMeleeAttackMsg() {return "attack";} ^ ./creature/creature.h:324:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] virtual char * StdAnswer() {return "You receive no answer.";} ^ 4 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fsigned-char -pipe -DDATA_DIR=\"/usr/local/share/avanor/\" -I./global -I./map -I./creature -I./engine -I./helpers -I./item -I./magic -I./other -I./ -I./game -I./../global -I./../map -I./../creature -I./../engine -I./../helpers -I./../item -I./../magic -I./../other -I./../ -I./../game -O2 -o avanor obj/xweapon.o obj/xtool.o obj/xtime.o obj/xstring.o obj/xstr.o obj/xshield.o obj/xshedule.o obj/xscroll.o obj/xring.o obj/xration.o obj/xpotion.o obj/xobject.o obj/xmoney.o obj/xmissileweapon.o obj/xmissile.o obj/xmapobj.o obj/xlist.o obj/xhero3.o obj/xhero2.o obj/xhero.o obj/xherb.o obj/xguihtml.o obj/xgui.o obj/xgloves.o obj/xgen.o obj/xenhance.o obj/xcorpse.o obj/xclothe.o obj/xcloak.o obj/xcap.o obj/xboots.o obj/xbook.o obj/xbaseobj.o obj/xarmor.o obj/xarchive.o obj/xapi.o obj/xanyplace.o obj/xanyfood.o obj/xamulet.o obj/wskills.o obj/wmagic.o obj/wizard_dungeon.o obj/Uniquem.o obj/uniquei.o obj/udeadtomb.o obj/strproc.o obj/Std_ai.o obj/stats.o obj/spell.o obj/skills.o obj/skill.o obj/skeep_ai.o obj/shop.o obj/setting.o obj/resist.o obj/rect.o obj/rat_cell.o obj/quest.o obj/other_misc.o obj/Mushcave.o obj/msgwin.o obj/modifers.o obj/modifer.o obj/map.o obj/manual.o obj/mainloc.o obj/Main.o obj/magic.o obj/los.o obj/location.o obj/ldebug.o obj/lbuilderpalette.o obj/itemf.o obj/itemdb.o obj/item_misc.o obj/item.o obj/hiscore.o obj/global.o obj/Game.o obj/effect.o obj/dwarfcity.o obj/dice.o obj/deity.o obj/dwarfcave.o obj/creatures.o obj/creature2.o obj/creature.o obj/cbuilder.o obj/cave.o obj/bodypart.o obj/anycr.o obj/ai_view.o -fstack-protector-strong -lncurses =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for avanor-0.5.8 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/avanor/work/avanor-0.5.8/avanor /wrkdirs/usr/ports/games/avanor/work/stage/usr/local/bin install -m 0644 /wrkdirs/usr/ports/games/avanor/work/avanor-0.5.8/manual/* /wrkdirs/usr/ports/games/avanor/work/stage/usr/local/share/avanor/manual/ ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-05T23:30:11+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=c014f9c79a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for avanor-0.5.8 ===> Building avanor-0.5.8 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for avanor-0.5.8 build of games/avanor | avanor-0.5.8 ended at Sat Apr 6 00:31:05 BST 2024 build time: 00:00:55