=>> Building games/avanor build started at Fri Oct 3 19:15:57 EDT 2025 port directory: /usr/ports/games/avanor package name: avanor-0.5.8 building for: FreeBSD pkg.DaveG.ca 15.0-ALPHA3 FreeBSD 15.0-ALPHA3 1500064 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 850 Aug 27 2024 /usr/ports/games/avanor/Makefile Ports top last git commit: a936fb9b16ba Ports top unclean checkout: no Port dir last git commit: d56127bdfc7d Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500064 Jail OSVERSION: 1500064 Job Id: 16 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500064 UNAME_v=FreeBSD 15.0-ALPHA3 1500064 UNAME_r=15.0-ALPHA3 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.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/16/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_c_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 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=/usr/local/bin/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=/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 --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=/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=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " 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=15.0 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--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 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 #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---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 pipebuf (-y) 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-2.3.1.pkg [pkg.DaveG.ca] Installing pkg-2.3.1... [pkg.DaveG.ca] Extracting pkg-2.3.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.DaveG.ca] Installing gmake-4.4.1... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.23.1... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.23.1: .......... done [pkg.DaveG.ca] 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 ===> avanor-0.5.8 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> avanor-0.5.8 depends on file: /usr/local/bin/ccache - 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 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 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 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 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 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 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 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 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 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 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 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 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 game/xtime.cpp:34:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 34 | "month_1", | ^ game/xtime.cpp:35:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 35 | "month_2", | ^ game/xtime.cpp:36:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 36 | "month_3", | ^ game/xtime.cpp:37:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 37 | "month_4", | ^ game/xtime.cpp:38:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 38 | "month_5", | ^ game/xtime.cpp:39:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 39 | "month_6", | ^ game/xtime.cpp:40:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 40 | "month_7", | ^ game/xtime.cpp:41:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 41 | "month_8", | ^ game/xtime.cpp:42:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 42 | "month_9", | ^ game/xtime.cpp:43:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | "month_10", | ^ game/xtime.cpp:44:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | "month_11", | ^ game/xtime.cpp:45:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | "month_12", | ^ game/xtime.cpp:46:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | "month_13", | ^ game/xtime.cpp:51:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | "day_1", | ^ game/xtime.cpp:52:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | "day_2", | ^ game/xtime.cpp:53:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 53 | "day_3", | ^ game/xtime.cpp:54:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 54 | "day_4", | ^ game/xtime.cpp:55:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 55 | "day_5", | ^ game/xtime.cpp:56:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 56 | "day_6", | ^ game/xtime.cpp:57:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | "day_7", | ^ game/xtime.cpp:62:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | "week_1", | ^ game/xtime.cpp:63:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 63 | "week_2", | ^ game/xtime.cpp:64:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | "week_3", | ^ game/xtime.cpp:65:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | "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 creature/xhero3.cpp -o obj/xhero3.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/xhero2.cpp -o obj/xhero2.o item/xweapon.cpp:24:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 24 | REGISTER_CLASS(XWeapon); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :193:1: note: expanded from here 193 | "XWeapon" | ^ item/xweapon.cpp:28:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 32 | {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] 32 | {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] 32 | {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] 32 | {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] 32 | {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] 32 | {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] 32 | {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] 32 | {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] 33 | {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] 33 | {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] 33 | {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] 33 | {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] 33 | {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] 33 | {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] 33 | {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] 33 | {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] 34 | {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] 34 | {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] 34 | {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] 34 | {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] 34 | {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] 34 | {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] 34 | {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] 34 | {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] 36 | {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] 36 | {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] 36 | {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] 36 | {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] 36 | {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] 36 | {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] 36 | {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] 36 | {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] 37 | {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] 37 | {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] 37 | {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] 37 | {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] 37 | {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] 37 | {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] 37 | {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] 37 | {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] 38 | {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] 38 | {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] 38 | {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] 38 | {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] 38 | {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] 38 | {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] 38 | {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] 38 | {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] 39 | {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] 39 | {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] 39 | {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] 39 | {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] 39 | {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] 39 | {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] 39 | {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] 39 | {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] 40 | {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] 40 | {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] 40 | {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] 40 | {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] 40 | {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] 40 | {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] 40 | {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] 40 | {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] 41 | {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] 41 | {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] 41 | {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] 41 | {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] 41 | {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] 41 | {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] 41 | {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] 41 | {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] 42 | {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] 42 | {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] 42 | {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] 42 | {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] 42 | {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] 42 | {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] 42 | {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] 42 | {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] 44 | {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] 44 | {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] 44 | {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] 44 | {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] 44 | {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] 44 | {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] 44 | {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] 44 | {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] 45 | {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] 45 | {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] 45 | {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] 45 | {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] 45 | {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] 45 | {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] 45 | {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] 45 | {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] 46 | {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] 46 | {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] 46 | {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] 46 | {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] 46 | {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] 46 | {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] 46 | {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] 46 | {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] 47 | {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] 47 | {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] 47 | {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] 47 | {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] 47 | {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] 47 | {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] 47 | {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] 47 | {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] 48 | {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] 48 | {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] 48 | {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] 48 | {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] 48 | {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] 48 | {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] 48 | {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] 48 | {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] 50 | {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] 50 | {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] 50 | {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] 50 | {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] 50 | {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] 50 | {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] 50 | {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] 50 | {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] 51 | {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] 51 | {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] 51 | {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] 51 | {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] 51 | {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] 51 | {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] 51 | {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] 51 | {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] 53 | {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] 53 | {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] 53 | {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] 53 | {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] 53 | {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] 53 | {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] 53 | {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] 53 | {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] 54 | {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] 54 | {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] 54 | {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] 54 | {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] 54 | {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] 54 | {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] 54 | {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] 54 | {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] 55 | {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] 55 | {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] 55 | {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] 55 | {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] 55 | {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] 55 | {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] 55 | {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] 55 | {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] 56 | {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] 56 | {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] 56 | {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] 56 | {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] 56 | {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] 56 | {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] 56 | {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] 56 | {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] 57 | {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] 57 | {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] 57 | {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] 57 | {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] 57 | {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] 57 | {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] 57 | {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] 57 | {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] 59 | {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] 59 | {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] 59 | {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] 59 | {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] 59 | {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] 59 | {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] 59 | {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] 59 | {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] 110 | {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] 111 | {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] 112 | {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] 113 | {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] 114 | {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] 116 | {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] 117 | {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] 118 | {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] 120 | {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] 121 | {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] 122 | {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] 123 | {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] 124 | {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] 125 | {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] 126 | {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] 127 | {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] 128 | {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] 195 | 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] 199 | 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] 203 | brand_templ = "Elemental %s"; | ^ 229 warnings generated. item/xration.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 23 | REGISTER_CLASS(XRation); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :194:1: note: expanded from here 194 | "XRation" | ^ item/xration.cpp:39:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 39 | {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] 39 | {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] 40 | {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] 40 | {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] 41 | {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] 41 | {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] 42 | {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] 42 | {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 creature/xhero.cpp -o obj/xhero.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/xherb.cpp -o obj/xherb.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/xguihtml.cpp -o obj/xguihtml.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 23 | REGISTER_CLASS(XShield); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :193:1: note: expanded from here 193 | "XShield" | ^ item/xshield.cpp:28:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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 helpers/xgui.cpp -o obj/xgui.o item/xmissileweapon.cpp:24:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 24 | REGISTER_CLASS(XMissileWeapon); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :194:1: note: expanded from here 194 | "XMissileWeapon" | ^ item/xmissileweapon.cpp:28:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 32 | {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] 32 | {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] 32 | {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] 32 | {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] 32 | {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] 32 | {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] 32 | {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] 32 | {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] 33 | {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] 33 | {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] 33 | {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] 33 | {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] 33 | {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] 33 | {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] 33 | {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] 33 | {IT_SLING, "sling", '{', "", "", "1d2-1", "1d3", "1d3", "1d2+1", ISET_ALLLEATHER, 5, 2, 0, ""} | ^ 49 warnings generated. 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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 30 | REGISTER_CLASS(XCookingSet); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :228:1: note: expanded from here 228 | "XCookingSet" | ^ item/xtool.cpp:61:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | 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] 86 | 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] 94 | 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] 144 | REGISTER_CLASS(XPickAxe); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :230:1: note: expanded from here 230 | "XPickAxe" | ^ item/xtool.cpp:180:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 180 | 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] 212 | REGISTER_CLASS(XEyeOfRaa); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :232:1: note: expanded from here 232 | "XEyeOfRaa" | ^ item/xtool.cpp:231:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 231 | REGISTER_CLASS(XAlchemySet); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :234:1: note: expanded from here 234 | "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 item/xgloves.cpp -o obj/xgloves.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/xgen.cpp -o obj/xgen.o item/xring.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 23 | REGISTER_CLASS(XRing); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :194:1: note: expanded from here 194 | "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/xenhance.cpp -o obj/xenhance.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/xcorpse.cpp -o obj/xcorpse.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/xclothe.cpp -o obj/xclothe.o item/xmissile.cpp:24:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 24 | REGISTER_CLASS(XMissile); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :194:1: note: expanded from here 194 | "XMissile" | ^ item/xmissile.cpp:28:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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 item/xcloak.cpp -o obj/xcloak.o item/xmoney.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 23 | REGISTER_CLASS(XMoney); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :193:1: note: expanded from here 193 | "XMoney" | ^ item/xmoney.cpp:43:45: warning: data argument not used by format string [-Wformat-extra-args] 43 | 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/xcap.cpp -o obj/xcap.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] 63 | 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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 311 | 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] 324 | 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] 24 | REGISTER_CLASS(XScroll); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :220:1: note: expanded from here 220 | "XScroll" | ^ item/xscroll.cpp:29:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 29 | 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] 30 | 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] 31 | 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] 32 | 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] 33 | 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] 34 | 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] 35 | 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] 36 | 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] 37 | 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] 38 | 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] 39 | 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] 40 | 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] 41 | 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] 42 | 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] 43 | 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] 44 | 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] 45 | 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] 46 | 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] 47 | 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] 196 | 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/xboots.cpp -o obj/xboots.o item/xcloak.cpp:28:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 35 | REGISTER_CLASS(XCloak); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :194:1: note: expanded from here 194 | "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/xbook.cpp -o obj/xbook.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 25 | REGISTER_CLASS(XPotion); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :218:1: note: expanded from here 218 | "XPotion" | ^ item/xpotion.cpp:28:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 28 | /* 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] 29 | /* 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] 30 | /* 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] 31 | /* 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] 32 | /* 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] 33 | /* 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] 34 | /* 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] 35 | /* 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] 36 | /* 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] 37 | /* 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] 38 | /* 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] 39 | /* 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] 40 | /* 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] 41 | /* 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] 42 | /* 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] 43 | /* 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] 44 | /* 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] 45 | /* 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] 46 | /* 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] 47 | /* 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] 48 | /* 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] 49 | /* 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] 50 | /* 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] 51 | /* 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] 52 | /* 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] 53 | /* 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] 54 | /* 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] 55 | /* 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] 56 | /* 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] 57 | /* 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] 58 | /* 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] 59 | /* 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] 60 | /* 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] 61 | /* 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] 62 | /* 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] 63 | /* 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] 64 | /* 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] 65 | /* 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] 66 | /* 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] 67 | /* 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] 68 | /* 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] 69 | /* 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] 98 | {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] 99 | {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] 100 | {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] 101 | {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] 102 | {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] 103 | {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] 104 | {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] 105 | {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] 106 | {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] 107 | {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] 108 | {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] 109 | {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] 110 | {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] 111 | {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] 112 | {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] 113 | {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] 114 | {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] 115 | {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] 116 | {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] 117 | {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] 118 | {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] 119 | {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] 120 | {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] 121 | {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] 122 | {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] 123 | {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] 124 | {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] 125 | {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] 126 | {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] 127 | {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] 128 | {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] 129 | {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] 130 | {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] 351 | 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] 535 | REGISTER_CLASS(XAlchemyRec); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :238:1: note: expanded from here 238 | "XAlchemyRec" | ^ item/xpotion.cpp:552:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 552 | FILE * f = fopen(vMakePath(HOME_DIR, "recipies.txt"), "w"); | ^ ./global/global.h:43:22: note: expanded from macro 'HOME_DIR' 43 | # define HOME_DIR "~/.avanor/" | ^ item/xpotion.cpp:552:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 552 | 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/xbaseobj.cpp -o obj/xbaseobj.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 25 | REGISTER_CLASS(XUniversalGen); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :236:1: note: expanded from here 236 | "XUniversalGen" | ^ other/xgen.cpp:83:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | REGISTER_CLASS(XMainLocationGen); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :238:1: note: expanded from here 238 | "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/xarmor.cpp -o obj/xarmor.o item/xgloves.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 23 | REGISTER_CLASS(XGloves); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :194:1: note: expanded from here 194 | "XGloves" | ^ item/xgloves.cpp:28:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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 engine/xarchive.cpp -o obj/xarchive.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 28 | REGISTER_CLASS(XCorpse); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :275:1: note: expanded from here 275 | "XCorpse" | ^ item/xcorpse.cpp:79:12: warning: enumeration value 'CET_SATIATION' not handled in switch [-Wswitch] 79 | switch ((*it).type) | ^~~~~~~~~~ item/xcorpse.cpp:175:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 175 | 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 global/xapi.cpp -o obj/xapi.o item/xcap.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 23 | REGISTER_CLASS(XCap); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :194:1: note: expanded from here 194 | "XCap" | ^ item/xcap.cpp:27:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 27 | {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] 27 | {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] 27 | {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] 27 | {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] 27 | {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] 27 | {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] 27 | {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] 27 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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 map/xanyplace.cpp -o obj/xanyplace.o item/xboots.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 23 | REGISTER_CLASS(XBoots); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :194:1: note: expanded from here 194 | "XBoots" | ^ item/xboots.cpp:28:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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/xanyfood.cpp -o obj/xanyfood.o item/xclothe.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 23 | REGISTER_CLASS(XClothe); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :193:1: note: expanded from here 193 | "XClothe" | ^ item/xclothe.cpp:58:34: warning: data argument not used by format string [-Wformat-extra-args] 58 | 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/xamulet.cpp -o obj/xamulet.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 309 | FILE * f = fopen(vMakePath(HOME_DIR, tname), "w"); | ^ ./global/global.h:43:22: note: expanded from macro 'HOME_DIR' 43 | # 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 magic/wskills.cpp -o obj/wskills.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 48 | {"human", | ^ creature/xhero2.cpp:49:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | "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] 50 | "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] 51 | "0d0+1000", | ^ creature/xhero2.cpp:55:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 55 | {"half elf", | ^ creature/xhero2.cpp:56:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 56 | "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] 57 | "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] 58 | "0d0+1000", | ^ creature/xhero2.cpp:62:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | {"high elf", | ^ creature/xhero2.cpp:63:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 63 | "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] 64 | "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] 65 | "0d0+1000", | ^ creature/xhero2.cpp:70:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 70 | {"halfling", | ^ creature/xhero2.cpp:71:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 71 | "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] 72 | "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] 73 | "0d0+1000", | ^ creature/xhero2.cpp:77:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | {"half orc", | ^ creature/xhero2.cpp:78:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | "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] 79 | "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] 80 | "0d0+1000", | ^ creature/xhero2.cpp:84:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 84 | {"dwarf", | ^ creature/xhero2.cpp:85:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 85 | "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] 86 | "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] 87 | "0d0+1000", | ^ creature/xhero2.cpp:91:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 91 | {"gnome", | ^ creature/xhero2.cpp:92:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 92 | "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] 93 | "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] 94 | "0d0+1000", | ^ creature/xhero2.cpp:101:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 101 | {"warrior", | ^ creature/xhero2.cpp:102:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 102 | "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] 104 | {"wizard", | ^ creature/xhero2.cpp:105:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 105 | "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] 107 | {"archer", | ^ creature/xhero2.cpp:108:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 108 | "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] 110 | {"ranger", | ^ creature/xhero2.cpp:111:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 111 | "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] 113 | {"cleric", | ^ creature/xhero2.cpp:114:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 114 | "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] 116 | {"paladin", | ^ creature/xhero2.cpp:117:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 117 | "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] 119 | {"alchemist", | ^ creature/xhero2.cpp:120:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 120 | "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] 122 | {"bard", | ^ creature/xhero2.cpp:123:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 123 | "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] 129 | {"male", | ^ creature/xhero2.cpp:130:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 130 | "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] 132 | {"female", | ^ creature/xhero2.cpp:133:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 133 | "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 magic/wmagic.cpp -o obj/wmagic.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 30 | {"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] 30 | {"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] 30 | {"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] 31 | {"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] 31 | {"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] 31 | {"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] 32 | {"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] 32 | {"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] 32 | {"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] 33 | {"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] 33 | {"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] 33 | {"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] 34 | {"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] 34 | {"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] 34 | {"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] 35 | {"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] 35 | {"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] 35 | {"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] 36 | {"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] 36 | {"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] 36 | {"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] 37 | {"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] 37 | {"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] 37 | {"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] 38 | {"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] 38 | {"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] 38 | {"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] 39 | {"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] 39 | {"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] 39 | {"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] 40 | {"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] 40 | {"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] 40 | {"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] 41 | {"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] 41 | {"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] 41 | {"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] 42 | {"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] 42 | {"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] 42 | {"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] 44 | {"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] 44 | {"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] 44 | {"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] 45 | {"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] 45 | {"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] 45 | {"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] 46 | {"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] 46 | {"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] 46 | {"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] 47 | {"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] 47 | {"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] 47 | {"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] 48 | {"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] 48 | {"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] 48 | {"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] 121 | REGISTER_CLASS(XHerb); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :238:1: note: expanded from here 238 | "XHerb" | ^ item/xherb.cpp:180:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 180 | REGISTER_CLASS(XHerbBush); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :240:1: note: expanded from here 240 | "XHerbBush" | ^ item/xherb.cpp:213:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 213 | char * size_name = ""; | ^ item/xherb.cpp:216:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 216 | 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] 217 | 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] 218 | 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] 309 | REGISTER_CLASS(XMushSpawn); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :248:1: note: expanded from here 248 | "XMushSpawn" | ^ 65 warnings generated. item/xenhance.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 23 | REGISTER_CLASS(XEnhance); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :193:1: note: expanded from here 193 | "XEnhance" | ^ item/xenhance.cpp:26:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 26 | {/*EC_WHITE,*/ xWHITE, "white"}, | ^ item/xenhance.cpp:27:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 27 | {/*EC_BLUE,*/ xBLUE, "blue"}, | ^ item/xenhance.cpp:28:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 28 | {/*EC_BLACK,*/ xDARKGRAY, "black"}, | ^ item/xenhance.cpp:29:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 29 | {/*EC_GOLDEN,*/ xYELLOW, "golden"}, | ^ item/xenhance.cpp:30:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 30 | {/*EC_COPPER,*/ xRED, "copper"}, | ^ item/xenhance.cpp:31:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 31 | {/*EC_WOODEN,*/ xBROWN, "wooden"}, | ^ item/xenhance.cpp:32:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 32 | {/*EC_RED,*/ xRED, "red"}, | ^ item/xenhance.cpp:33:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 33 | {/*EC_MARBLE,*/ xWHITE, "marble"}, | ^ item/xenhance.cpp:34:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 34 | {/*EC_PERAL,*/ xYELLOW, "pearl"}, | ^ item/xenhance.cpp:35:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 35 | {/*EC_SAPHIRE,*/xLIGHTGREEN,"sapphire"}, | ^ item/xenhance.cpp:36:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 36 | {/*EC_DIAMOND*/ xCYAN, "diamond"}, | ^ item/xenhance.cpp:37:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 37 | {/*EC_RUBY,*/ xRED, "ruby"}, | ^ item/xenhance.cpp:38:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 38 | {/*EC_STEEL,*/ xBLUE, "steel"}, | ^ item/xenhance.cpp:39:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 39 | {/*EC_GLASS,*/ xLIGHTGRAY, "glass"}, | ^ item/xenhance.cpp:40:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 40 | {/*EC_OBSIDIAN*/xDARKGRAY, "obsidian"}, | ^ item/xenhance.cpp:72:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 72 | {ENH_PROTECTION, "of protection", | ^ item/xenhance.cpp:73:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | "", "1d6-2", | ^ item/xenhance.cpp:73:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | "", "1d6-2", | ^ item/xenhance.cpp:74:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | "", "", "", "", | ^ item/xenhance.cpp:74:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | "", "", "", "", | ^ item/xenhance.cpp:74:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | "", "", "", "", | ^ item/xenhance.cpp:74:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | "", "", "", "", | ^ item/xenhance.cpp:75:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | "", | ^ item/xenhance.cpp:76:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | "", | ^ item/xenhance.cpp:79:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | {ENH_DAMAGE, "of damage", | ^ item/xenhance.cpp:80:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | "", "", | ^ item/xenhance.cpp:80:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | "", "", | ^ item/xenhance.cpp:81:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | "", "", "1d6-2", "", | ^ item/xenhance.cpp:81:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | "", "", "1d6-2", "", | ^ item/xenhance.cpp:81:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | "", "", "1d6-2", "", | ^ item/xenhance.cpp:81:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | "", "", "1d6-2", "", | ^ item/xenhance.cpp:82:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 82 | "", | ^ item/xenhance.cpp:83:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | "", | ^ item/xenhance.cpp:86:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 86 | {ENH_SLAYING, "of slaying", | ^ item/xenhance.cpp:87:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 87 | "", "", | ^ item/xenhance.cpp:87:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 87 | "", "", | ^ item/xenhance.cpp:88:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 88 | "1d6-2", "", "1d6-2", "", | ^ item/xenhance.cpp:88:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 88 | "1d6-2", "", "1d6-2", "", | ^ item/xenhance.cpp:88:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 88 | "1d6-2", "", "1d6-2", "", | ^ item/xenhance.cpp:88:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 88 | "1d6-2", "", "1d6-2", "", | ^ item/xenhance.cpp:89:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 89 | "", | ^ item/xenhance.cpp:90:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 90 | "", | ^ item/xenhance.cpp:93:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 93 | {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] 94 | "", "", | ^ item/xenhance.cpp:94:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 94 | "", "", | ^ item/xenhance.cpp:95:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 95 | "", "", "", "", | ^ item/xenhance.cpp:95:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 95 | "", "", "", "", | ^ item/xenhance.cpp:95:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 95 | "", "", "", "", | ^ item/xenhance.cpp:95:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 95 | "", "", "", "", | ^ item/xenhance.cpp:96:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 96 | "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] 97 | "", | ^ item/xenhance.cpp:100:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 100 | {ENH_INVISIBILITY, "of invisibility", | ^ item/xenhance.cpp:101:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 101 | "", "", | ^ item/xenhance.cpp:101:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 101 | "", "", | ^ item/xenhance.cpp:102:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 102 | "", "", "", "", | ^ item/xenhance.cpp:102:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 102 | "", "", "", "", | ^ item/xenhance.cpp:102:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 102 | "", "", "", "", | ^ item/xenhance.cpp:102:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 102 | "", "", "", "", | ^ item/xenhance.cpp:103:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 103 | "invisible:0d0+10", | ^ item/xenhance.cpp:104:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 104 | "", | ^ item/xenhance.cpp:107:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 107 | {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] 108 | "", "", | ^ item/xenhance.cpp:108:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 108 | "", "", | ^ item/xenhance.cpp:109:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 109 | "", "", "", "", | ^ item/xenhance.cpp:109:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 109 | "", "", "", "", | ^ item/xenhance.cpp:109:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 109 | "", "", "", "", | ^ item/xenhance.cpp:109:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 109 | "", "", "", "", | ^ item/xenhance.cpp:110:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 110 | "see_invisible:0d0+10", | ^ item/xenhance.cpp:111:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 111 | "", | ^ item/xenhance.cpp:114:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 114 | {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] 115 | "", "", | ^ item/xenhance.cpp:115:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 115 | "", "", | ^ item/xenhance.cpp:116:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 116 | "", "", "", "", | ^ item/xenhance.cpp:116:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 116 | "", "", "", "", | ^ item/xenhance.cpp:116:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 116 | "", "", "", "", | ^ item/xenhance.cpp:116:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 116 | "", "", "", "", | ^ item/xenhance.cpp:117:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 117 | "fire:8d5+30", | ^ item/xenhance.cpp:118:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 118 | "", | ^ item/xenhance.cpp:121:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 121 | {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] 122 | "", "", | ^ item/xenhance.cpp:122:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 122 | "", "", | ^ item/xenhance.cpp:123:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 123 | "", "", "", "", | ^ item/xenhance.cpp:123:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 123 | "", "", "", "", | ^ item/xenhance.cpp:123:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 123 | "", "", "", "", | ^ item/xenhance.cpp:123:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 123 | "", "", "", "", | ^ item/xenhance.cpp:124:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 124 | "fire:8d5+25", | ^ item/xenhance.cpp:125:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 125 | "", | ^ item/xenhance.cpp:128:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 128 | {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] 129 | "", "", | ^ item/xenhance.cpp:129:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 129 | "", "", | ^ item/xenhance.cpp:130:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 130 | "", "", "", "", | ^ item/xenhance.cpp:130:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 130 | "", "", "", "", | ^ item/xenhance.cpp:130:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 130 | "", "", "", "", | ^ item/xenhance.cpp:130:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 130 | "", "", "", "", | ^ item/xenhance.cpp:131:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | "fire:8d5+25", | ^ item/xenhance.cpp:132:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 132 | "", | ^ item/xenhance.cpp:135:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 135 | {ENH_STR, "of Strength", | ^ item/xenhance.cpp:136:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 136 | "", "", | ^ item/xenhance.cpp:136:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 136 | "", "", | ^ item/xenhance.cpp:137:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 137 | "", "", "", "", | ^ item/xenhance.cpp:137:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 137 | "", "", "", "", | ^ item/xenhance.cpp:137:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 137 | "", "", "", "", | ^ item/xenhance.cpp:137:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 137 | "", "", "", "", | ^ item/xenhance.cpp:138:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 138 | "", | ^ item/xenhance.cpp:139:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 139 | "St:1d4", | ^ item/xenhance.cpp:142:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 142 | {ENH_POWER, "of Power", | ^ item/xenhance.cpp:143:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 143 | "", "", | ^ item/xenhance.cpp:143:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 143 | "", "", | ^ item/xenhance.cpp:144:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 144 | "", "", "", "", | ^ item/xenhance.cpp:144:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 144 | "", "", "", "", | ^ item/xenhance.cpp:144:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 144 | "", "", "", "", | ^ item/xenhance.cpp:144:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 144 | "", "", "", "", | ^ item/xenhance.cpp:145:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 145 | "", | ^ item/xenhance.cpp:146:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 146 | "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 game/wizard_dungeon.cpp -o obj/wizard_dungeon.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/Uniquem.cpp -o obj/Uniquem.o engine/xobject.cpp:227:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 227 | file.Open(vMakePath(HOME_DIR, "dump.txt"), "w"); | ^ ./global/global.h:43:22: note: expanded from macro 'HOME_DIR' 43 | # define HOME_DIR "~/.avanor/" | ^ engine/xobject.cpp:227:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 227 | 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] 227 | 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] 240 | 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/uniquei.cpp -o obj/uniquei.o item/xarmor.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 23 | REGISTER_CLASS(XArmor); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :194:1: note: expanded from here 194 | "XArmor" | ^ item/xarmor.cpp:28:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 28 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 29 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 30 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 31 | {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] 32 | {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] 32 | {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] 32 | {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] 32 | {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] 32 | {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] 32 | {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] 32 | {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] 32 | {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] 33 | {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] 33 | {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] 33 | {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] 33 | {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] 33 | {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] 33 | {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] 33 | {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] 33 | {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] 34 | {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] 34 | {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] 34 | {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] 34 | {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] 34 | {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] 34 | {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] 34 | {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] 34 | {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] 35 | {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] 35 | {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] 35 | {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] 35 | {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] 35 | {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] 35 | {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] 35 | {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] 35 | {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 game/udeadtomb.cpp -o obj/udeadtomb.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/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 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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 242 | 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' 103 | #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 magic/stats.cpp -o obj/stats.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 25 | REGISTER_CLASS(XBook); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :218:1: note: expanded from here 218 | "XBook" | ^ item/xbook.cpp:31:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 31 | "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] 31 | "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] 31 | "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] 31 | "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] 31 | "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] 32 | "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] 32 | "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] 32 | "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] 32 | "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] 32 | "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] 33 | "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] 33 | "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] 33 | "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] 33 | "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] 34 | "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] 34 | "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] 34 | "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] 225 | 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 magic/spell.cpp -o obj/spell.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 24 | REGISTER_CLASS(XAnyFood); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :218:1: note: expanded from here 218 | "XAnyFood" | ^ item/xanyfood.cpp:93:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 93 | 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] 109 | 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] 126 | "delicious", "very tasty", "tasty", | ^ item/xanyfood.cpp:126:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 126 | "delicious", "very tasty", "tasty", | ^ item/xanyfood.cpp:126:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 126 | "delicious", "very tasty", "tasty", | ^ item/xanyfood.cpp:127:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 127 | "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] 127 | "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] 127 | "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] 136 | 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] 133 | 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 magic/skills.cpp -o obj/skills.o item/xamulet.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 23 | REGISTER_CLASS(XAmulet); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :194:1: note: expanded from here 194 | "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/skill.cpp -o obj/skill.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | virtual char * StdAnswer() {return "You receive no answer.";} | ^ 4 warnings generated. 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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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/skeep_ai.cpp -o obj/skeep_ai.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/shop.cpp -o obj/shop.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 33 | if (!file.Open(vMakePath(HOME_DIR, "avanor.svg"), "wb")) | ^ ./global/global.h:43:22: note: expanded from macro 'HOME_DIR' 43 | # define HOME_DIR "~/.avanor/" | ^ engine/xarchive.cpp:33:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 33 | 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] 33 | 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] 69 | if (!file.Open(vMakePath(HOME_DIR, "avanor.svg"), "rb")) | ^ ./global/global.h:43:22: note: expanded from macro 'HOME_DIR' 43 | # define HOME_DIR "~/.avanor/" | ^ engine/xarchive.cpp:69:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 69 | 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] 69 | 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 game/setting.cpp -o obj/setting.o magic/wskills.cpp:28:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 28 | {"Unarmed fight", | ^ magic/wskills.cpp:34:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 34 | {"Daggers & Knives", | ^ magic/wskills.cpp:40:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 40 | {"Swords", | ^ magic/wskills.cpp:46:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | {"Clubs & Hammers", | ^ magic/wskills.cpp:52:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | {"Maces & Flails", | ^ magic/wskills.cpp:58:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | {"Pole Arms", | ^ magic/wskills.cpp:64:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | {"Axes", | ^ magic/wskills.cpp:70:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 70 | {"Staves", | ^ magic/wskills.cpp:76:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | {"Shields", | ^ magic/wskills.cpp:82:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 82 | {"Bows", | ^ magic/wskills.cpp:88:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 88 | {"Crossbows", | ^ magic/wskills.cpp:94:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 94 | {"Slings", | ^ magic/wskills.cpp:100:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 100 | {"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/resist.cpp -o obj/resist.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 41 | REGISTER_CLASS(XHero); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :43:1: note: expanded from here 43 | "XHero" | ^ creature/xhero.cpp:844:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 844 | char * empty = " "; | ^ creature/xhero.cpp:845:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 845 | char * smask = "[|{}'=!?\"\\%]]$X"; | ^ creature/xhero.cpp:858:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 858 | char * output_items_ext = "[[[[[[|'={}!?\"\\%%]]$"; | ^ creature/xhero.cpp:860:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 860 | "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] 860 | "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] 860 | "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] 860 | "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] 860 | "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] 860 | "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] 861 | "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] 861 | "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] 861 | "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] 861 | "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] 861 | "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] 861 | "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] 862 | "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] 862 | "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] 862 | "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] 862 | "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] 862 | "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] 862 | "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] 862 | "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] 862 | "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] 1001 | char * part_names[] = {"", | ^ creature/xhero.cpp:1002:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1002 | "Head", "Necklace", "Body", "Cloak", | ^ creature/xhero.cpp:1002:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1002 | "Head", "Necklace", "Body", "Cloak", | ^ creature/xhero.cpp:1002:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1002 | "Head", "Necklace", "Body", "Cloak", | ^ creature/xhero.cpp:1002:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1002 | "Head", "Necklace", "Body", "Cloak", | ^ creature/xhero.cpp:1003:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1003 | "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] 1003 | "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] 1003 | "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] 1004 | "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] 1004 | "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] 1004 | "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] 1004 | "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] 1004 | "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] 1004 | "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] 1895 | switch (tr) | ^~ creature/xhero.cpp:2158:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2158 | "unskilled", | ^ creature/xhero.cpp:2159:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2159 | "basic", "basic", "basic", | ^ creature/xhero.cpp:2159:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2159 | "basic", "basic", "basic", | ^ creature/xhero.cpp:2159:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2159 | "basic", "basic", "basic", | ^ creature/xhero.cpp:2160:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2160 | "advanced", "advanced", "advanced", "advanced", | ^ creature/xhero.cpp:2160:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2160 | "advanced", "advanced", "advanced", "advanced", | ^ creature/xhero.cpp:2160:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2160 | "advanced", "advanced", "advanced", "advanced", | ^ creature/xhero.cpp:2160:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2160 | "advanced", "advanced", "advanced", "advanced", | ^ creature/xhero.cpp:2161:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2161 | "expert", "expert", "expert", "expert", | ^ creature/xhero.cpp:2161:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2161 | "expert", "expert", "expert", "expert", | ^ creature/xhero.cpp:2161:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2161 | "expert", "expert", "expert", "expert", | ^ creature/xhero.cpp:2161:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2161 | "expert", "expert", "expert", "expert", | ^ creature/xhero.cpp:2162:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2162 | "master", "master", "master", | ^ creature/xhero.cpp:2162:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2162 | "master", "master", "master", | ^ creature/xhero.cpp:2162:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2162 | "master", "master", "master", | ^ creature/xhero.cpp:2163:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2163 | "grand master" | ^ creature/xhero.cpp:2344:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2344 | 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] 2351 | (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 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 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 magic/skills.cpp:26:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 26 | if (xsk = GetSkill(skt)) | ~~~~^~~~~~~~~~~~~~~ magic/skills.cpp:26:10: note: place parentheses around the assignment to silence this warning 26 | if (xsk = GetSkill(skt)) | ^ | ( ) magic/skills.cpp:26:10: note: use '==' to turn this assignment into an equality comparison 26 | if (xsk = GetSkill(skt)) | ^ | == 1 warning generated. 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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 108 | 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] 34 | 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 other/other_misc.cpp -o obj/other_misc.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | char * tmp = "euioa"; | ^ item/uniquei.cpp:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 23 | REGISTER_CLASS(XGlamdring); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :225:1: note: expanded from here 225 | "XGlamdring" | ^ item/uniquei.cpp:48:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | 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] 51 | REGISTER_CLASS(XDeathHack); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :227:1: note: expanded from here 227 | "XDeathHack" | ^ item/uniquei.cpp:75:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | 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] 79 | REGISTER_CLASS(XAvanorDefender); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :229:1: note: expanded from here 229 | "XAvanorDefender" | ^ item/uniquei.cpp:105:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 105 | 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] 114 | REGISTER_CLASS(XForestBrotherCloak); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :231:1: note: expanded from here 231 | "XForestBrotherCloak" | ^ item/uniquei.cpp:142:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 142 | REGISTER_CLASS(XGreatElementalRing); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :233:1: note: expanded from here 233 | "XGreatElementalRing" | ^ item/uniquei.cpp:156:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 156 | REGISTER_CLASS(XAvanorScepter); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :235:1: note: expanded from here 235 | "XAvanorScepter" | ^ item/uniquei.cpp:182:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 182 | 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] 185 | REGISTER_CLASS(XAvanorCrown); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :237:1: note: expanded from here 237 | "XAvanorCrown" | ^ item/uniquei.cpp:210:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 210 | 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] 214 | REGISTER_CLASS(XAvanorMitre); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :239:1: note: expanded from here 239 | "XAvanorMitre" | ^ item/uniquei.cpp:239:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 239 | 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] 242 | REGISTER_CLASS(XTorinAxe); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :241:1: note: expanded from here 241 | "XTorinAxe" | ^ item/uniquei.cpp:267:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 267 | 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] 270 | REGISTER_CLASS(XTorinShield); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :243:1: note: expanded from here 243 | "XTorinShield" | ^ item/uniquei.cpp:294:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 294 | 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] 297 | REGISTER_CLASS(XDwarfCrown); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :245:1: note: expanded from here 245 | "XDwarfCrown" | ^ item/uniquei.cpp:322:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 322 | GetArtifactName(buf, "dwarven crown"); | ^ item/uniquei.cpp:327:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 327 | REGISTER_CLASS(XBlackClub); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :247:1: note: expanded from here 247 | "XBlackClub" | ^ item/uniquei.cpp:353:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 353 | 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/Mushcave.cpp -o obj/Mushcave.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/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 magic/stats.cpp:24:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 24 | 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] 24 | 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] 24 | 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] 24 | 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] 24 | 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] 24 | 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] 24 | 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] 24 | 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] 24 | 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] 26 | "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] 26 | "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] 26 | "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] 26 | "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] 26 | "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] 27 | "Mana", "Perception", "Charisma", "EOF" | ^ magic/stats.cpp:27:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 27 | "Mana", "Perception", "Charisma", "EOF" | ^ magic/stats.cpp:27:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 27 | "Mana", "Perception", "Charisma", "EOF" | ^ magic/stats.cpp:27:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 27 | "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/modifer.cpp -o obj/modifer.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 108 | 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] 43 | 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] 47 | 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] 51 | 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] 55 | 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 map/map.cpp -o obj/map.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/manual.cpp -o obj/manual.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 26 | REGISTER_CLASS(XShop); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :220:1: note: expanded from here 220 | "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/mainloc.cpp -o obj/mainloc.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 108 | 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] 38 | REGISTER_CLASS(XAhkUlan); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :292:1: note: expanded from here 292 | "XAhkUlan" | ^ creature/Uniquem.cpp:67:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 67 | XHero::EndGame("***WINNER***"); | ^ creature/Uniquem.cpp:110:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 110 | REGISTER_CLASS(XBeelzvile); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :294:1: note: expanded from here 294 | "XBeelzvile" | ^ creature/Uniquem.cpp:158:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 158 | REGISTER_CLASS(XVillageElder); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :296:1: note: expanded from here 296 | "XVillageElder" | ^ creature/Uniquem.cpp:239:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 239 | REGISTER_CLASS(XGefeon); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :298:1: note: expanded from here 298 | "XGefeon" | ^ creature/Uniquem.cpp:266:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 266 | XHero::EndGame("***WINNER***"); | ^ creature/Uniquem.cpp:276:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 276 | REGISTER_CLASS(XGekta); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :300:1: note: expanded from here 300 | "XGekta" | ^ creature/Uniquem.cpp:322:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 322 | REGISTER_CLASS(XJorgus); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :302:1: note: expanded from here 302 | "XJorgus" | ^ creature/Uniquem.cpp:374:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 374 | REGISTER_CLASS(XOzorik); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :304:1: note: expanded from here 304 | "XOzorik" | ^ creature/Uniquem.cpp:462:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 462 | REGISTER_CLASS(XTodin); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :306:1: note: expanded from here 306 | "XTodin" | ^ creature/Uniquem.cpp:536:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 536 | REGISTER_CLASS(XYohjishiro); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :308:1: note: expanded from here 308 | "XYohjishiro" | ^ creature/Uniquem.cpp:651:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 651 | REGISTER_CLASS(XRoderick); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :3:1: note: expanded from here 3 | "XRoderick" | ^ creature/Uniquem.cpp:751:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 751 | REGISTER_CLASS(XTorin); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :5:1: note: expanded from here 5 | "XTorin" | ^ creature/Uniquem.cpp:841:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 841 | REGISTER_CLASS(XXSheeVoo); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :7:1: note: expanded from here 7 | "XXSheeVoo" | ^ creature/Uniquem.cpp:871:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 871 | REGISTER_CLASS(XMagnush); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :9:1: note: expanded from here 9 | "XMagnush" | ^ creature/Uniquem.cpp:885:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 885 | REGISTER_CLASS(XHighPriest); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :11:1: note: expanded from here 11 | "XHighPriest" | ^ creature/Uniquem.cpp:968:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 968 | REGISTER_CLASS(XBandit); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :13:1: note: expanded from here 13 | "XBandit" | ^ creature/Uniquem.cpp:969:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 969 | REGISTER_CLASS(XBanditAI); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :15:1: note: expanded from here 15 | "XBanditAI" | ^ creature/Uniquem.cpp:1001:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1001 | REGISTER_CLASS(XShopkeeper); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :17:1: note: expanded from here 17 | "XShopkeeper" | ^ creature/Uniquem.cpp:1040:79: warning: data argument not used by format string [-Wformat-extra-args] 1040 | 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] 1052 | 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] 1053 | 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] 1054 | 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] 1055 | 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] 1056 | 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 Main.cpp -o obj/Main.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 25 | REGISTER_CLASS(XSkill); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :232:1: note: expanded from here 232 | "XSkill" | ^ magic/skill.cpp:28:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 28 | {"Archery", 1}, | ^ magic/skill.cpp:29:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 29 | {"Find Weakness", 1}, | ^ magic/skill.cpp:30:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 30 | {"Healing", 2}, | ^ magic/skill.cpp:31:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 31 | {"Concentration", 3}, | ^ magic/skill.cpp:32:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 32 | {"Dodge", 1}, | ^ magic/skill.cpp:33:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 33 | {"Trading", 1}, | ^ magic/skill.cpp:34:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 34 | {"Stealing", 1}, | ^ magic/skill.cpp:35:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 35 | {"Literacy", 1}, | ^ magic/skill.cpp:36:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 36 | {"Detect trap", 1}, | ^ magic/skill.cpp:37:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 37 | {"Disarm trap", 1}, | ^ magic/skill.cpp:38:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 38 | {"Cooking", 1}, | ^ magic/skill.cpp:39:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 39 | {"Mining", 5}, | ^ magic/skill.cpp:40:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 40 | {"Herbalism", 1}, | ^ magic/skill.cpp:41:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 41 | {"Religion", 1}, | ^ magic/skill.cpp:42:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 42 | {"Backstabbing", 1}, | ^ magic/skill.cpp:43:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | {"First aid", 2}, | ^ magic/skill.cpp:44:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | {"Tactics", 1}, | ^ magic/skill.cpp:45:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | {"Alchemy", 1}, | ^ magic/skill.cpp:46:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | {"Woodcraft", 1}, | ^ magic/skill.cpp:47:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | {"Create trap", 1}, | ^ magic/skill.cpp:48:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | {"Necromancy", 1}, | ^ magic/skill.cpp:49:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | {"Athletics", 1}, | ^ magic/skill.cpp:53:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 53 | MSG_LIGHTGRAY "NONE", | ^ ./global/global.h:103:28: note: expanded from macro 'MSG_LIGHTGRAY' 103 | #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] 54 | MSG_LIGHTGREEN "Basic", | ^ ./global/global.h:106:28: note: expanded from macro 'MSG_LIGHTGREEN' 106 | #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] 55 | MSG_LIGHTGREEN "Basic", | ^ ./global/global.h:106:28: note: expanded from macro 'MSG_LIGHTGREEN' 106 | #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] 56 | MSG_LIGHTGREEN "Basic", | ^ ./global/global.h:106:28: note: expanded from macro 'MSG_LIGHTGREEN' 106 | #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] 57 | MSG_GREEN "Skilled", | ^ ./global/global.h:98:28: note: expanded from macro 'MSG_GREEN' 98 | #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] 58 | MSG_GREEN "Skilled", | ^ ./global/global.h:98:28: note: expanded from macro 'MSG_GREEN' 98 | #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] 59 | MSG_GREEN "Skilled", | ^ ./global/global.h:98:28: note: expanded from macro 'MSG_GREEN' 98 | #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] 60 | MSG_GREEN "Skilled", | ^ ./global/global.h:98:28: note: expanded from macro 'MSG_GREEN' 98 | #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] 61 | MSG_YELLOW "Expert", | ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' 110 | #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] 62 | MSG_YELLOW "Expert", | ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' 110 | #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] 63 | MSG_YELLOW "Expert", | ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' 110 | #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] 64 | MSG_YELLOW "Expert", | ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' 110 | #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] 65 | MSG_LIGHTRED "Master", | ^ ./global/global.h:108:28: note: expanded from macro 'MSG_LIGHTRED' 108 | #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] 66 | MSG_LIGHTRED "Master", | ^ ./global/global.h:108:28: note: expanded from macro 'MSG_LIGHTRED' 108 | #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] 67 | MSG_LIGHTRED "Master", | ^ ./global/global.h:108:28: note: expanded from macro 'MSG_LIGHTRED' 108 | #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] 68 | MSG_DARKGRAY "Grand Master" | ^ ./global/global.h:104:28: note: expanded from macro 'MSG_DARKGRAY' 104 | #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] 140 | 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 magic/magic.cpp -o obj/magic.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 26 | REGISTER_CLASS(XShopKeeperAI); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :237:1: note: expanded from here 237 | "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 creature/los.cpp -o obj/los.o magic/resist.cpp:26:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 26 | {"unknown", FLU_NONE}, | ^ magic/resist.cpp:27:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 27 | {"white", FLU_CREATURE}, | ^ magic/resist.cpp:28:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 28 | {"black", FLU_CREATURE}, | ^ magic/resist.cpp:29:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 29 | {"fire", FLU_ALL}, | ^ magic/resist.cpp:30:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 30 | {"water", FLU_ALL}, | ^ magic/resist.cpp:31:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 31 | {"air", FLU_ALL}, | ^ magic/resist.cpp:32:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 32 | {"earth", FLU_ALL}, | ^ magic/resist.cpp:33:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 33 | {"acid", FLU_ALL}, | ^ magic/resist.cpp:34:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 34 | {"cold", FLU_ALL}, | ^ magic/resist.cpp:35:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 35 | {"poison", FLU_CREATURE}, | ^ magic/resist.cpp:36:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 36 | {"decease", FLU_CREATURE}, | ^ magic/resist.cpp:37:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 37 | {"paralyse", FLU_CREATURE}, | ^ magic/resist.cpp:38:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 38 | {"stun", FLU_CREATURE}, | ^ magic/resist.cpp:39:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 39 | {"confuse", FLU_CREATURE}, | ^ magic/resist.cpp:40:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 40 | {"blind", FLU_CREATURE}, | ^ magic/resist.cpp:41:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 41 | {"light", FLU_CREATURE}, | ^ magic/resist.cpp:42:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 42 | {"darkness", FLU_CREATURE}, | ^ magic/resist.cpp:43:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | {"invisible", FLU_CREATURE}, | ^ magic/resist.cpp:44:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | {"see_invisible", FLU_CREATURE}, | ^ magic/resist.cpp:45:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | "eof", FLU_NONE}; | ^ magic/resist.cpp:117:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 117 | { "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] 117 | { "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] 117 | { "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] 117 | { "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] 117 | { "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] 117 | { "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] 118 | "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] 118 | "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] 118 | "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] 118 | "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] 118 | "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] 119 | "Stun", "Confusion", "Blindness", | ^ magic/resist.cpp:119:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 119 | "Stun", "Confusion", "Blindness", | ^ magic/resist.cpp:119:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 119 | "Stun", "Confusion", "Blindness", | ^ magic/resist.cpp:120:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 120 | "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] 120 | "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] 120 | "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] 120 | "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] 130 | MSG_LIGHTRED "awful", MSG_LIGHTRED "bad", | ^ ./global/global.h:108:28: note: expanded from macro 'MSG_LIGHTRED' 108 | #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] 130 | MSG_LIGHTRED "awful", MSG_LIGHTRED "bad", | ^ ./global/global.h:108:28: note: expanded from macro 'MSG_LIGHTRED' 108 | #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] 131 | MSG_LIGHTGRAY "none", MSG_LIGHTGREEN "mediocre", MSG_LIGHTGREEN "fair", | ^ ./global/global.h:103:28: note: expanded from macro 'MSG_LIGHTGRAY' 103 | #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] 131 | MSG_LIGHTGRAY "none", MSG_LIGHTGREEN "mediocre", MSG_LIGHTGREEN "fair", | ^ ./global/global.h:106:28: note: expanded from macro 'MSG_LIGHTGREEN' 106 | #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] 131 | MSG_LIGHTGRAY "none", MSG_LIGHTGREEN "mediocre", MSG_LIGHTGREEN "fair", | ^ ./global/global.h:106:28: note: expanded from macro 'MSG_LIGHTGREEN' 106 | #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] 132 | MSG_LIGHTGREEN "good", MSG_YELLOW "excellent", MSG_WHITE "complete" | ^ ./global/global.h:106:28: note: expanded from macro 'MSG_LIGHTGREEN' 106 | #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] 132 | MSG_LIGHTGREEN "good", MSG_YELLOW "excellent", MSG_WHITE "complete" | ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' 110 | #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] 132 | MSG_LIGHTGREEN "good", MSG_YELLOW "excellent", MSG_WHITE "complete" | ^ ./global/global.h:111:28: note: expanded from macro 'MSG_WHITE' 111 | #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 game/location.cpp -o obj/location.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 108 | 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/ldebug.cpp -o obj/ldebug.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/lbuilderpalette.cpp -o obj/lbuilderpalette.o helpers/manual.cpp:31:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 31 | sprintf(path, "%s%s", vMakePath(DATA_DIR, "manual/"), page); | ^ :1:18: note: expanded from macro 'DATA_DIR' 1 | #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] 31 | 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] 59 | 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] 73 | open_page = "index.html"; | ^ helpers/manual.cpp:81:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | 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] 82 | 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] 83 | 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] 84 | 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] 85 | 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] 86 | 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] 87 | 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] 88 | 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] 89 | 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] 90 | 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] 91 | 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] 92 | 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 item/itemf.cpp -o obj/itemf.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/itemdb.cpp -o obj/itemdb.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 26 | REGISTER_CLASS(XStandardAI); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :255:1: note: expanded from here 255 | "XStandardAI" | ^ creature/Std_ai.cpp:1155:10: warning: enumeration value 'SCC_MOVE_LOCATION' not handled in switch [-Wswitch] 1155 | 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 item/item_misc.cpp -o obj/item_misc.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/item.cpp -o obj/item.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 108 | 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] 48 | REGISTER_CLASS(XMagicMCPlace); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :264:1: note: expanded from here 264 | "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/hiscore.cpp -o obj/hiscore.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 108 | 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] 120 | 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] 123 | 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] 152 | 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] 153 | 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] 155 | 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] 156 | 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] 157 | 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] 158 | 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] 159 | 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] 160 | 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] 161 | 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] 163 | 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] 164 | 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] 165 | 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] 166 | 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] 167 | 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] 168 | 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] 169 | 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] 170 | 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] 171 | 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] 172 | 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] 177 | 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] 195 | 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] 199 | 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] 204 | 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] 205 | 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] 206 | 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] 207 | 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] 260 | 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] 261 | 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] 262 | 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] 263 | 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] 264 | 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] 265 | 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] 266 | 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] 267 | 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] 324 | 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 global/global.cpp -o obj/global.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 31 | MSG_CYAN | ^ ./global/global.h:99:28: note: expanded from macro 'MSG_CYAN' 99 | #define MSG_CYAN "\x1F\x03" | ^ Main.cpp:33:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 33 | " 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] 34 | "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] 35 | "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] 36 | "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] 37 | "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] 38 | "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] 39 | "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] 40 | MSG_WHITE, | ^ ./global/global.h:111:28: note: expanded from macro 'MSG_WHITE' 111 | #define MSG_WHITE "\x1F\x0F" | ^ Main.cpp:41:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 41 | " 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] 42 | "", | ^ Main.cpp:43:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | MSG_GREEN | ^ ./global/global.h:98:28: note: expanded from macro 'MSG_GREEN' 98 | #define MSG_GREEN "\x1F\x02" | ^ Main.cpp:45:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | MSG_YELLOW, | ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' 110 | #define MSG_YELLOW "\x1F\x0E" | ^ Main.cpp:46:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | " (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] 47 | "", | ^ Main.cpp:48:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | MSG_YELLOW | ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' 110 | #define MSG_YELLOW "\x1F\x0E" | ^ Main.cpp:50:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | "", | ^ Main.cpp:51:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | "", | ^ Main.cpp:52:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | " " | ^ 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 game/Game.cpp -o obj/Game.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/effect.cpp -o obj/effect.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 29 | REGISTER_CLASS(XTrap); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :246:1: note: expanded from here 246 | "XTrap" | ^ other/other_misc.cpp:118:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 118 | 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] 132 | 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] 180 | switch (trap_type) | ^~~~~~~~~ other/other_misc.cpp:238:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 238 | 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] 264 | 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] 307 | REGISTER_CLASS(XStairWay); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :251:1: note: expanded from here 251 | "XStairWay" | ^ other/other_misc.cpp:322:10: warning: enumeration value 'STW_UNKNOWN' not handled in switch [-Wswitch] 322 | switch (type) | ^~~~ other/other_misc.cpp:364:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 364 | REGISTER_CLASS(XTeleport); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :256:1: note: expanded from here 256 | "XTeleport" | ^ other/other_misc.cpp:420:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 420 | REGISTER_CLASS(XDoor); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :261:1: note: expanded from here 261 | "XDoor" | ^ other/other_misc.cpp:464:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 464 | REGISTER_CLASS(XAltar); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :266:1: note: expanded from here 266 | "XAltar" | ^ other/other_misc.cpp:498:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 498 | REGISTER_CLASS(XGrave); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :271:1: note: expanded from here 271 | "XGrave" | ^ other/other_misc.cpp:554:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 554 | REGISTER_CLASS(XThrone); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :276:1: note: expanded from here 276 | "XThrone" | ^ other/other_misc.cpp:569:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 569 | REGISTER_CLASS(XFurniture); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :281:1: note: expanded from here 281 | "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/dwarfcity.cpp -o obj/dwarfcity.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | virtual char * StdAnswer() {return "You receive no answer.";} | ^ magic/modifer.cpp:137:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 137 | } 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 helpers/dice.cpp -o obj/dice.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 108 | 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 creature/deity.cpp -o obj/deity.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 108 | 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] 31 | REGISTER_CLASS(XLocation); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :261:1: note: expanded from here 261 | "XLocation" | ^ game/location.cpp:32:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 32 | REGISTER_CLASS(XMushroomsCaveLocation); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :263:1: note: expanded from here 263 | "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/dwarfcave.cpp -o obj/dwarfcave.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 169 | REGISTER_CLASS(XSpell); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :224:1: note: expanded from here 224 | "XSpell" | ^ magic/magic.cpp:277:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 277 | 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] 293 | 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] 351 | "Elemental", | ^ magic/magic.cpp:352:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 352 | "Body and Spirit", | ^ magic/magic.cpp:353:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 353 | "Protection and Resistance", | ^ magic/magic.cpp:354:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 354 | "Death and Devastation", | ^ magic/magic.cpp:355:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 355 | "Surviving and Enlightenment", | ^ magic/magic.cpp:356:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 356 | "Power" | ^ magic/magic.cpp:360:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 360 | "", | ^ magic/magic.cpp:361:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 361 | MSG_LIGHTGRAY "Beginner", | ^ ./global/global.h:103:28: note: expanded from macro 'MSG_LIGHTGRAY' 103 | #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] 362 | MSG_LIGHTGRAY "Novice", | ^ ./global/global.h:103:28: note: expanded from macro 'MSG_LIGHTGRAY' 103 | #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] 363 | MSG_LIGHTGRAY "Senior Novice", | ^ ./global/global.h:103:28: note: expanded from macro 'MSG_LIGHTGRAY' 103 | #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] 364 | MSG_YELLOW "Minor Adept", | ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' 110 | #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] 365 | MSG_YELLOW "Adept", | ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' 110 | #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] 366 | MSG_YELLOW "Major Adept", | ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' 110 | #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] 367 | MSG_LIGHTRED "Master", | ^ ./global/global.h:108:28: note: expanded from macro 'MSG_LIGHTRED' 108 | #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] 368 | MSG_RED "Senior Master", | ^ ./global/global.h:100:28: note: expanded from macro 'MSG_RED' 100 | #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] 369 | MSG_DARKGRAY "Grand Master" | ^ ./global/global.h:104:28: note: expanded from macro 'MSG_DARKGRAY' 104 | #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/creatures.cpp -o obj/creatures.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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 creature/creature2.cpp -o obj/creature2.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | char * tmp = "euioa"; | ^ item/item_misc.cpp:24:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 24 | REGISTER_CLASS(XBatWing); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :221:1: note: expanded from here 221 | "XBatWing" | ^ item/item_misc.cpp:25:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 25 | REGISTER_CLASS(XRatTail); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :223:1: note: expanded from here 223 | "XRatTail" | ^ item/item_misc.cpp:26:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 26 | REGISTER_CLASS(XBone); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :225:1: note: expanded from here 225 | "XBone" | ^ item/item_misc.cpp:27:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 27 | REGISTER_CLASS(XAncientMachinePart); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :227:1: note: expanded from here 227 | "XAncientMachinePart" | ^ item/item_misc.cpp:30:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 30 | REGISTER_CLASS(XChest); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :229:1: note: expanded from here 229 | "XChest" | ^ item/item_misc.cpp:52:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 52 | sprintf(buf, name); | ^~~~ item/item_misc.cpp:52:15: note: treat the string as an argument to avoid this 52 | 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 creature/creature.cpp -o obj/creature.o global/global.cpp:66:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | mkdir(vMakePath(HOME_DIR, ""), 0755); | ^ global/global.h:43:22: note: expanded from macro 'HOME_DIR' 43 | # define HOME_DIR "~/.avanor/" | ^ global/global.cpp:66:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | 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/cbuilder.cpp -o obj/cbuilder.o game/lbuilderpalette.cpp:40:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 40 | "..............................................", | ^ game/lbuilderpalette.cpp:41:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 41 | ".#####.#####.#####.#####.#####.#####.#####....", | ^ game/lbuilderpalette.cpp:42:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 42 | ".#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] 43 | ".##+##.##+##.##+##.##+##.##+##.##+##.##+##....", | ^ game/lbuilderpalette.cpp:44:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | "2222222222222222222222222222222222222222222222", | ^ game/lbuilderpalette.cpp:45:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | ".##+##......22&=&22############2#####+######..", | ^ game/lbuilderpalette.cpp:46:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | ".#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] 47 | ".#####......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] 48 | "2222222222222222222#1111111111#2########+###..", | ^ game/lbuilderpalette.cpp:49:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | "............2##/##2############2.......#111#..", | ^ game/lbuilderpalette.cpp:50:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | "............2#111#22222222222222.......#####..", | ^ game/lbuilderpalette.cpp:51:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | "............2#111#.............2..............", | ^ game/lbuilderpalette.cpp:52:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | "............2#####.............2..............", | ^ game/lbuilderpalette.cpp:53:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 53 | "............2..................2..............", | ^ game/lbuilderpalette.cpp:54:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 54 | "............2..................2..............", | ^ game/lbuilderpalette.cpp:64:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | " ", | ^ game/lbuilderpalette.cpp:65:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | " ======= ", | ^ game/lbuilderpalette.cpp:66:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | " @@@@@@@ @@@@@@ == ", | ^ game/lbuilderpalette.cpp:67:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 67 | " ..@;;;;;@..@....@........= ", | ^ game/lbuilderpalette.cpp:68:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 68 | " ..@@@+@@@..@+@@@@.........= ", | ^ game/lbuilderpalette.cpp:69:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 69 | " .....1......1.............= ", | ^ game/lbuilderpalette.cpp:70:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 70 | " 1111111111111111111111111111...= ", | ^ game/lbuilderpalette.cpp:71:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 71 | " ...........1...####....11..= ", | ^ game/lbuilderpalette.cpp:72:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 72 | " ...........1##+#;;#.....111211111 ", | ^ game/lbuilderpalette.cpp:73:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | " ...........1#;;;;;#........= 11111111111111 ", | ^ game/lbuilderpalette.cpp:74:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | " ...........1#######.......== ", | ^ game/lbuilderpalette.cpp:75:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | " .............1.............=== ", | ^ game/lbuilderpalette.cpp:76:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | " ...@@@@@@@@@@1....... ========== ", | ^ game/lbuilderpalette.cpp:77:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | " ...@......+.+111111============== ", | ^ game/lbuilderpalette.cpp:78:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | " ...@.....@@@@.====2=============== ", | ^ game/lbuilderpalette.cpp:79:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | " ...@@@@@@@. ======2================== ", | ^ game/lbuilderpalette.cpp:80:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | " ........==========2==================== ", | ^ game/lbuilderpalette.cpp:81:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | " ===============2====================== ", | ^ game/lbuilderpalette.cpp:82:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 82 | " ===============2======================= ", | ^ game/lbuilderpalette.cpp:83:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | " ================222====================== ", | ^ game/lbuilderpalette.cpp:84:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 84 | " ==============222==================== ", | ^ game/lbuilderpalette.cpp:85:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 85 | " =================222================== ", | ^ game/lbuilderpalette.cpp:86:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 86 | " ================================== ", | ^ game/lbuilderpalette.cpp:87:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 87 | " =================================== ", | ^ game/lbuilderpalette.cpp:88:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 88 | " ================================ ", | ^ game/lbuilderpalette.cpp:89:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 89 | " ============================ ", | ^ game/lbuilderpalette.cpp:90:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 90 | " ============================== ", | ^ game/lbuilderpalette.cpp:91:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 91 | " ========================== ", | ^ game/lbuilderpalette.cpp:92:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 92 | " ======================= ", | ^ game/lbuilderpalette.cpp:93:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 93 | " ============ ", | ^ game/lbuilderpalette.cpp:94:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 94 | " ", | ^ game/lbuilderpalette.cpp:107:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 107 | " = ###.;;;;;;;;;;;;;;;;;;;;;;.MM ##2##.....................##2##", | ^ game/lbuilderpalette.cpp:108:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 108 | " == #;#.;#####;...WWWWWWWWW..;;.MM #;;;#......#########......#;;;#", | ^ game/lbuilderpalette.cpp:109:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 109 | " == #;#.;#;;;#;...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] 110 | " == #;#.;#;;;+;...WW;;;;;WW...;...M#;;;+;;;;#;#;;;3;;;#;;;;#;+;;;#", | ^ game/lbuilderpalette.cpp:111:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 111 | " == #;#.;#####;....W;;;;;W...;;...M###+####;+;##;;3;;##;;;;#;#+###", | ^ game/lbuilderpalette.cpp:112:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 112 | " == #;#.;#;;;#;###.WW;;;WW.;;;....M..#;#;;#;#;;#;;3;;#;;;;;#;#;#..", | ^ game/lbuilderpalette.cpp:113:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 113 | " == #;#.;#;;;#;#;##.WW/WW.;;......M..#;#;;#;#####;3;##+#####;#;#..", | ^ game/lbuilderpalette.cpp:114:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 114 | " = #;#.;#;;;+;#;;##.;;;;;;WWWWWWWM..#;#;;+;;;;;+;3;+;;;;;;;;#;#..", | ^ game/lbuilderpalette.cpp:115:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 115 | " = #;#.;#;;;#;#;;;#.;;;...W;W===WMM.#;#;;#;######+#######+###;#..", | ^ game/lbuilderpalette.cpp:116:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 116 | " = ##+##;#####;##+##;;;;;..W;W=XXWWM.#;#;;#;#.....;.....#;;;;#;#..", | ^ game/lbuilderpalette.cpp:117:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 117 | ";;;1;#;;;#;;;;;;;;;;;;;=;=;;;W;W=X33WM.#;####;#....;;;....#;;;;#;#..", | ^ game/lbuilderpalette.cpp:118:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 118 | ";;;1;+;;;+;;;;;;;;;;;;;;;;;;;/333333WM.#;#;;+;+;;;;;=;;;;;+;;;;#;#..", | ^ game/lbuilderpalette.cpp:119:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 119 | ";;;1;#;;;#;;;;;;;;;;;;;=;=;;;W;W=X33WM.#;#;;###....;;;....###+##;#..", | ^ game/lbuilderpalette.cpp:120:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 120 | " = ##+##;#####;##+##;;;;;..W;W=XXWWM.#;#;;#;#.....;.....#;;;;#;#..", | ^ game/lbuilderpalette.cpp:121:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 121 | " = #;#.;#;;;#;#;;;##;;;...W;W===WMM.#;#;;+;#..###+###..#;;;;#;#..", | ^ game/lbuilderpalette.cpp:122:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 122 | " == #;#.;#;;;#;#;;;;#;;;...WWWWWWWM###+#########;;3;;#########+###", | ^ game/lbuilderpalette.cpp:123:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 123 | " == #;#.;#;;;+;######;;;..........M#;;;+;;;;;;;+;;3;;+;;;;;;;+;;;#", | ^ game/lbuilderpalette.cpp:124:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 124 | " == #;#.;#####;#;;;;#;;;#########MM2;;;#########;;3;;#########;;;2", | ^ game/lbuilderpalette.cpp:125:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 125 | " == #;#.;#;;;#;#;;;;#;;;#;;#;;;;#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] 126 | " == #;#.;#;;;#;#;;;;/;;;+;;#;;;;#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] 127 | " == #;#.;#;;;#;#;;;;#;;;######+##.MMMMMMMMMMMMMMM;;;####MMMM.TT.T.", | ^ game/lbuilderpalette.cpp:128:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 128 | " == #;#.;##+##;######;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+;;####MMM.T.T", | ^ game/lbuilderpalette.cpp:129:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 129 | " ==##+##;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;.#;;+;;#..MMMMM", | ^ game/lbuilderpalette.cpp:130:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 130 | " =##;;;##...........##+##...........................#;;#;;#.......", | ^ game/lbuilderpalette.cpp:131:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | " ==#;;;;;#############;;;#############################+############", | ^ game/lbuilderpalette.cpp:132:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 132 | " ==#;;;;;+;;;;;;;;;;;+;;;+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;#", | ^ game/lbuilderpalette.cpp:133:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 133 | " ==#;;;;;#############;;;##########################################", | ^ game/lbuilderpalette.cpp:134:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 134 | " =##;;;## =======##+## ==== ======== ", | ^ game/lbuilderpalette.cpp:135:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 135 | " ==##### ===========111==== =============================", | ^ game/lbuilderpalette.cpp:136:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 136 | " ========== ;;;================= == ===== " | ^ game/lbuilderpalette.cpp:152:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 152 | "################################################################################", | ^ game/lbuilderpalette.cpp:153:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 153 | "###############,,,,,,,############,,,,,,,###################,,,,,,,,,,,,,,,,,,,#", | ^ game/lbuilderpalette.cpp:154:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 154 | "##,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#", | ^ game/lbuilderpalette.cpp:155:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 155 | "###,,,#########################,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#", | ^ game/lbuilderpalette.cpp:156:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 156 | "##,,,,#,#,#,#,#,#,#,#,#,#,#,#,#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#", | ^ game/lbuilderpalette.cpp:157:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 157 | "###,,,#+#+#+#+#+#+#+#+#+#+#+#+#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#", | ^ game/lbuilderpalette.cpp:158:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 158 | "####,,;;;;;;;;;;;;;;;;;;;;;;;;;;,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#", | ^ game/lbuilderpalette.cpp:159:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 159 | "##,,,,#+#+#+#+#+#+#+#+#+#+#+#+#;,,,,,,,,,;;;;;;;;;,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#", | ^ game/lbuilderpalette.cpp:160:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 160 | "###,,,#,#,#,#,#,#,#,#,#,#,#,#,#;,,,,,,,,,;;;;;;;;;,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#", | ^ game/lbuilderpalette.cpp:161:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 161 | "##,,,,#########################;,,,,,,,,,;;==:==;;,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#", | ^ game/lbuilderpalette.cpp:162:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 162 | "###,,,,,,,,,,,,,,,,,,,,########;,,,,,,,,,;;==:==;;,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#", | ^ game/lbuilderpalette.cpp:163:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 163 | "######,,,,,,,,,,,,,,,,,#,,,,,,#;,,,,,,,,,;;::;::;;,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#", | ^ game/lbuilderpalette.cpp:164:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 164 | "#######,,,,,,,,,,,,,,,,#,,,,,,#;,,,,,,,,,;;==:==;;,,,,,,,,######################", | ^ game/lbuilderpalette.cpp:165:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 165 | "##########,,,,,,,,,,,,,#,,,,,,+;;;;;;;;;;;;==:==;;;;;;;;;;+,,,,,,,,,,,,,,,,,,,##", | ^ game/lbuilderpalette.cpp:166:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 166 | "###,,##,,##,,,,,,,,,,,,#,,,,,,#;,,,,,,,,,;;;;;;;;;,,,,,,,,####+#################", | ^ game/lbuilderpalette.cpp:167:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 167 | "##,,,,,,,,#,,,,,,,,,,,,########;,,,,,,,,,;;;;;;;;;,,,,,,,,#,,,,,,,,#,,,#########", | ^ game/lbuilderpalette.cpp:168:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 168 | "#,,,,,,,,,+;;;;;;;;;;;;;;;;;;;;;,,,,,,,,,,,,,,,,,,,,,,,,,,#,,,,,,,,+,,,++,,,,,##", | ^ game/lbuilderpalette.cpp:169:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 169 | "#,,,,,,,,,#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#,,,,,,,,#,,,##,,,,,##", | ^ game/lbuilderpalette.cpp:170:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 170 | "##,,,,,,,,#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,######################", | ^ game/lbuilderpalette.cpp:171:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 171 | "################################################################################" | ^ game/lbuilderpalette.cpp:182:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 182 | "XXXXXXXXXXXXXXXXXXXXX", | ^ game/lbuilderpalette.cpp:183:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 183 | "X...................X", | ^ game/lbuilderpalette.cpp:184:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 184 | "X......#######......X", | ^ game/lbuilderpalette.cpp:185:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 185 | "X.....##22#22##.....X", | ^ game/lbuilderpalette.cpp:186:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 186 | "X....##222#222##....X", | ^ game/lbuilderpalette.cpp:187:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 187 | "X....#22#####22#....X", | ^ game/lbuilderpalette.cpp:188:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 188 | "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] 189 | "X.....###222###.....X", | ^ game/lbuilderpalette.cpp:190:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 190 | "X......###/###......X", | ^ game/lbuilderpalette.cpp:191:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 191 | "X........111........X", | ^ game/lbuilderpalette.cpp:192:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 192 | "XXXXXXXXX111XXXXXXXXX" | ^ game/lbuilderpalette.cpp:202:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 202 | "XXXXXXXXXXXXXXXXXXXXX", | ^ game/lbuilderpalette.cpp:203:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 203 | "X......##333##......X", | ^ game/lbuilderpalette.cpp:204:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 204 | "X.....#3222223#.....X", | ^ game/lbuilderpalette.cpp:205:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 205 | "X....##2222222##....X", | ^ game/lbuilderpalette.cpp:206:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 206 | "X...#####222#####...X", | ^ game/lbuilderpalette.cpp:207:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 207 | "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] 208 | "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] 209 | "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] 210 | "X.....###222###.....X", | ^ game/lbuilderpalette.cpp:211:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 211 | "X......##333##......X", | ^ game/lbuilderpalette.cpp:212:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 212 | "XXXXXXXXX111XXXXXXXXX" | ^ game/lbuilderpalette.cpp:223:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 223 | "################################################################################", | ^ game/lbuilderpalette.cpp:224:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 224 | "#,,,,,,,,,,,,######################################################,,,,,,,,,,,,#", | ^ game/lbuilderpalette.cpp:225:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 225 | "#,,,,,,,,,,,,+,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,+,,,,,,,,,,,,#", | ^ game/lbuilderpalette.cpp:226:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 226 | "#,,,,,,,,,,,,###########################,##########################,,,,,,,,,,,,#", | ^ game/lbuilderpalette.cpp:227:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 227 | "#,,,,,,,,,,,,###########################,###,,,,###################,,,,,,,,,,,,#", | ^ game/lbuilderpalette.cpp:228:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 228 | "#,,,,,,,,,,,,###########################,###,,,,######,############,,,,,,,,,,,,#", | ^ game/lbuilderpalette.cpp:229:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 229 | "######################,,,,,,,,##########,###,,,,######,#########################", | ^ game/lbuilderpalette.cpp:230:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 230 | "########,,,,##########,######,##########,####+########+#########################", | ^ game/lbuilderpalette.cpp:231:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 231 | "########,,,,+,,,,,,,##,#,,,,#,##########,####,,,,,,,,,,,,,,,,,,,,,+,,###########", | ^ game/lbuilderpalette.cpp:232:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 232 | "########,,,,#######,##,#,##,#,##########,####,#####################,,###########", | ^ game/lbuilderpalette.cpp:233:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 233 | "########,,,,#######,##,#,##,#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,##,,###########", | ^ game/lbuilderpalette.cpp:234:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 234 | "###################,##,#,##,############,#######################,###############", | ^ game/lbuilderpalette.cpp:235:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 235 | "###################,##,,,##,############,#######################,###############", | ^ game/lbuilderpalette.cpp:236:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 236 | "###################,#######,,,,,,,,,,###,#########,,############,###############", | ^ game/lbuilderpalette.cpp:237:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 237 | "#,,,,,,,,,,,,######,################,###,#########,,+,,,,,,,,,,,,###,,,,,,,,,,,#", | ^ game/lbuilderpalette.cpp:238:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 238 | "#,,,,,,,,,,,,######,,,,,,,,,,,,,,,,,,###,#########,,################,,,,,,,,,,,#", | ^ game/lbuilderpalette.cpp:239:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 239 | "#,,,,,,,,,,,,###########################,###########################,,,,,,,,,,,#", | ^ game/lbuilderpalette.cpp:240:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 240 | "#,,,,,,,,,,,,+,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,+,,,,,,,,,,,#", | ^ game/lbuilderpalette.cpp:241:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 241 | "#,,,,,,,,,,,,#######################################################,,,,,,,,,,,#", | ^ game/lbuilderpalette.cpp:242:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 242 | "################################################################################" | ^ game/lbuilderpalette.cpp:251:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 251 | "....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] 252 | "X....................", | ^ game/lbuilderpalette.cpp:253:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 253 | "........##.##.......X", | ^ game/lbuilderpalette.cpp:254:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 254 | "........;..;;.#......", | ^ game/lbuilderpalette.cpp:255:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 255 | ".....#;;;;;...;#.....", | ^ game/lbuilderpalette.cpp:256:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 256 | ".....#;...;;;;;#.....", | ^ game/lbuilderpalette.cpp:257:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 257 | "X......#;;..;........", | ^ game/lbuilderpalette.cpp:258:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 258 | "........../##.......X", | ^ game/lbuilderpalette.cpp:259:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 259 | "X....................", | ^ game/lbuilderpalette.cpp:260:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 260 | "X...................X", | ^ game/lbuilderpalette.cpp:261:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 261 | "....XX..X...X.....X.." | ^ game/lbuilderpalette.cpp:270:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 270 | "################################################################################", | ^ game/lbuilderpalette.cpp:271:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 271 | "##################==############################################################", | ^ game/lbuilderpalette.cpp:272:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 272 | "##,,,,,,,,#####,,,==############################################################", | ^ game/lbuilderpalette.cpp:273:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 273 | "##,,,,,,,,,,,,,,,==#############################################################", | ^ game/lbuilderpalette.cpp:274:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 274 | "#,,,,,,,,,,,,,,,,==#############################################################", | ^ game/lbuilderpalette.cpp:275:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 275 | "#,,,,,,,,,,,,,,,,==#############################################################", | ^ game/lbuilderpalette.cpp:276:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 276 | "#,,,,,,,,,,,,,,,==#####################;;;;;;;##################################", | ^ game/lbuilderpalette.cpp:277:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 277 | "#,,,,,,,,,,,,,,,==#;;##################;;;;;;;;#################################", | ^ game/lbuilderpalette.cpp:278:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 278 | "#,,,,,,,,,,,,,,,==#;;##################;;;;;;;;;;;;#############################", | ^ game/lbuilderpalette.cpp:279:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 279 | "#,,,;;;;;;;;;;;;;;+;;+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;#############################", | ^ game/lbuilderpalette.cpp:280:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 280 | "#,,,,,,,,,,,,,,,==#;;##################;;;;;;;;;;;;#############################", | ^ game/lbuilderpalette.cpp:281:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 281 | "#,,,,,,,,,,,,,,,==#;;##################;;;;;;;;#################################", | ^ game/lbuilderpalette.cpp:282:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 282 | "#,,,,,,,,,,,,,,,==#####################;;;;;;;##################################", | ^ game/lbuilderpalette.cpp:283:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 283 | "#,,,,,,,,,,,,,,,,==#############################################################", | ^ game/lbuilderpalette.cpp:284:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 284 | "#,,,,,,,,,,,,,,,,==#############################################################", | ^ game/lbuilderpalette.cpp:285:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 285 | "#,,,,,,,,,,,,,,,,==#############################################################", | ^ game/lbuilderpalette.cpp:286:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 286 | "#,,,,,,,#,,,,,,,,,==############################################################", | ^ game/lbuilderpalette.cpp:287:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 287 | "##,,,,####,,###,,,==############################################################", | ^ game/lbuilderpalette.cpp:288:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 288 | "################################################################################", | ^ game/lbuilderpalette.cpp:289:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 289 | "################################################################################" | ^ game/lbuilderpalette.cpp:298:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 298 | "#####################", | ^ game/lbuilderpalette.cpp:299:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 299 | "#####,,,,,,,,,,,#####", | ^ game/lbuilderpalette.cpp:300:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 300 | "##########^##########", | ^ game/lbuilderpalette.cpp:301:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 301 | "#,,,######+######,,,#", | ^ game/lbuilderpalette.cpp:302:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 302 | "#,,,,###,,,,,###,,,,#", | ^ game/lbuilderpalette.cpp:303:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 303 | "#,,,,^+,,,,,,,+^,,,,#", | ^ game/lbuilderpalette.cpp:304:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 304 | "#,,,,###,,,,,###,,,,#", | ^ game/lbuilderpalette.cpp:305:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 305 | "#,,,######+#####,,,,#", | ^ game/lbuilderpalette.cpp:306:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 306 | "##########^##########", | ^ game/lbuilderpalette.cpp:307:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 307 | "#####,,,,,,,,,,,#####", | ^ game/lbuilderpalette.cpp:308:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 308 | "#####################" | ^ game/lbuilderpalette.cpp:317:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 317 | "################################################################################", | ^ game/lbuilderpalette.cpp:318:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 318 | "################################################################################", | ^ game/lbuilderpalette.cpp:319:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 319 | "################################################################################", | ^ game/lbuilderpalette.cpp:320:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 320 | "###################################################,,,,,,,,,####################", | ^ game/lbuilderpalette.cpp:321:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 321 | "###################################################,,,,,,,,,+,,,,,,,,,,,########", | ^ game/lbuilderpalette.cpp:322:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 322 | "#############################,,,,,,################,,,,,,,,,###########,########", | ^ game/lbuilderpalette.cpp:323:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 323 | "#########################,,,,,,,,,,####################+###############,########", | ^ game/lbuilderpalette.cpp:324:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 324 | "#######################,,,,,,,,,,,,##########,,,,,,####,####,,,,,,#####,########", | ^ game/lbuilderpalette.cpp:325:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 325 | "###,,,,,##############,,,,,,,,,,,,,#########,,,,,,,,###,###,,,,,,,,####,########", | ^ game/lbuilderpalette.cpp:326:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 326 | "###,,,,,##############,,,,,,,,,,,,,########,,######,,##+##,,######,,###+########", | ^ game/lbuilderpalette.cpp:327:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 327 | "###,,,,,+,,,,,,,,,,,,+,,,,,,,,,,,,,+,,,,,,+,########,,+,+,,########,+,+,########", | ^ game/lbuilderpalette.cpp:328:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 328 | "###,,,,,##############,,,,,,,,,,,,,########,,######,,##+##,,######,,###+########", | ^ game/lbuilderpalette.cpp:329:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 329 | "###,,,,,##############,,,,,,,,,,,,,#########,,,,,,,,###,###,,,,,,,,####,########", | ^ game/lbuilderpalette.cpp:330:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 330 | "#######################,,,,,,,,,,,,##########,,,,,,####,####,,,,,,#####,########", | ^ game/lbuilderpalette.cpp:331:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 331 | "#########################,,,,,,,,,,####################+###############,########", | ^ game/lbuilderpalette.cpp:332:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 332 | "#############################,,,,,,################,,,,,,,,,###########,########", | ^ game/lbuilderpalette.cpp:333:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 333 | "###################################################,,,,,,,,,+,,,,,,,,,,,########", | ^ game/lbuilderpalette.cpp:334:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 334 | "###################################################,,,,,,,,,####################", | ^ game/lbuilderpalette.cpp:335:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 335 | "################################################################################", | ^ game/lbuilderpalette.cpp:336:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 336 | "################################################################################" | ^ game/lbuilderpalette.cpp:345:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 345 | " ########", | ^ game/lbuilderpalette.cpp:346:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 346 | " ###########,,,,,,#", | ^ game/lbuilderpalette.cpp:347:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 347 | " #,,,,,,,,,,,,,,,##", | ^ game/lbuilderpalette.cpp:348:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 348 | "#######,,,,,,,,,,##,# ", | ^ game/lbuilderpalette.cpp:349:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 349 | "+,,+,,+,,,,,,,,,,#,,# ", | ^ game/lbuilderpalette.cpp:350:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 350 | "#######,,,,,,,,,,##,# ", | ^ game/lbuilderpalette.cpp:351:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 351 | " #,,,,,,,,,,,,,,,##", | ^ game/lbuilderpalette.cpp:352:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 352 | " ###########,,,,,,#", | ^ game/lbuilderpalette.cpp:353:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 353 | " ########" | ^ game/lbuilderpalette.cpp:364:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 364 | "#####################", | ^ game/lbuilderpalette.cpp:365:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 365 | "#######,,,,,,########", | ^ game/lbuilderpalette.cpp:366:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 366 | "#####,,,,,^,,,,######", | ^ game/lbuilderpalette.cpp:367:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 367 | "##,^,,,,,,,,,,,,,,,##", | ^ game/lbuilderpalette.cpp:368:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 368 | "##^^,,^,,,^,,,^,,,,##", | ^ game/lbuilderpalette.cpp:369:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 369 | "####,,,,,,,,,,,,,####", | ^ game/lbuilderpalette.cpp:370:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 370 | "#######,,,,,,,#######", | ^ game/lbuilderpalette.cpp:371:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 371 | "##########^##########", | ^ game/lbuilderpalette.cpp:372:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 372 | "##########+##########", | ^ game/lbuilderpalette.cpp:373:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 373 | "#########,,,#########", | ^ game/lbuilderpalette.cpp:374:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 374 | "#####################" | ^ game/lbuilderpalette.cpp:383:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 383 | " : ,,, ", | ^ game/lbuilderpalette.cpp:384:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 384 | " :: :;: ,:::, ", | ^ game/lbuilderpalette.cpp:385:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 385 | " :;^;:, ::, ", | ^ game/lbuilderpalette.cpp:386:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 386 | " :;^:^;:,,,, ", | ^ game/lbuilderpalette.cpp:387:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 387 | " ,,,:;^:: :::::", | ^ game/lbuilderpalette.cpp:388:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 388 | " ,,:;::::: ", | ^ game/lbuilderpalette.cpp:389:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 389 | " :,,, ", | ^ game/lbuilderpalette.cpp:429:10: warning: enumeration value 'PAL_UNKNOWN' not handled in switch [-Wswitch] 429 | 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 game/cave.cpp -o obj/cave.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 55 | REGISTER_CLASS(XModWound); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :242:1: note: expanded from here 242 | "XModWound" | ^ magic/modifers.cpp:70:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 70 | REGISTER_CLASS(XModPoison); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :244:1: note: expanded from here 244 | "XModPoison" | ^ magic/modifers.cpp:84:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 84 | REGISTER_CLASS(XModConfuse); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :246:1: note: expanded from here 246 | "XModConfuse" | ^ magic/modifers.cpp:94:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 94 | REGISTER_CLASS(XModStun); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :248:1: note: expanded from here 248 | "XModStun" | ^ magic/modifers.cpp:109:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 109 | REGISTER_CLASS(XModHeroism); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :250:1: note: expanded from here 250 | "XModHeroism" | ^ magic/modifers.cpp:124:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 124 | REGISTER_CLASS(XModDisease); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :252:1: note: expanded from here 252 | "XModDisease" | ^ magic/modifers.cpp:156:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 156 | REGISTER_CLASS(XModWeak); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :254:1: note: expanded from here 254 | "XModWeak" | ^ magic/modifers.cpp:178:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 178 | REGISTER_CLASS(XModParalyse); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :256:1: note: expanded from here 256 | "XModParalyse" | ^ magic/modifers.cpp:187:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 187 | REGISTER_CLASS(XModDelayed); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :258:1: note: expanded from here 258 | "XModDelayed" | ^ magic/modifers.cpp:213:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 213 | REGISTER_CLASS(XModSeeInvisible); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :260:1: note: expanded from here 260 | "XModSeeInvisible" | ^ magic/modifers.cpp:227:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 227 | REGISTER_CLASS(XModBoostSpeed); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :262:1: note: expanded from here 262 | "XModBoostSpeed" | ^ magic/modifers.cpp:241:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 241 | REGISTER_CLASS(XModSlowness); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :264:1: note: expanded from here 264 | "XModSlowness" | ^ magic/modifers.cpp:255:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 255 | REGISTER_CLASS(XModAcidResistance); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :266:1: note: expanded from here 266 | "XModAcidResistance" | ^ magic/modifers.cpp:269:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 269 | REGISTER_CLASS(XModFireResistance); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :268:1: note: expanded from here 268 | "XModFireResistance" | ^ magic/modifers.cpp:283:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 283 | REGISTER_CLASS(XModColdResistance); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :270:1: note: expanded from here 270 | "XModColdResistance" | ^ magic/modifers.cpp:297:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 297 | REGISTER_CLASS(XModPoisonResistance); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :272:1: note: expanded from here 272 | "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 creature/bodypart.cpp -o obj/bodypart.o item/itemdb.cpp:37:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 37 | {"cloth", xWHITE, "1d1", "1d1", | ^ item/itemdb.cpp:37:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 37 | {"cloth", xWHITE, "1d1", "1d1", | ^ item/itemdb.cpp:37:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 37 | {"cloth", xWHITE, "1d1", "1d1", | ^ item/itemdb.cpp:38:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 38 | "", "0d0", "", "", | ^ item/itemdb.cpp:38:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 38 | "", "0d0", "", "", | ^ item/itemdb.cpp:38:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 38 | "", "0d0", "", "", | ^ item/itemdb.cpp:38:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 38 | "", "0d0", "", "", | ^ item/itemdb.cpp:40:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 40 | "", | ^ item/itemdb.cpp:44:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | {"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] 44 | {"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] 44 | {"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] 45 | "", "0d0", "", "", | ^ item/itemdb.cpp:45:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | "", "0d0", "", "", | ^ item/itemdb.cpp:45:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | "", "0d0", "", "", | ^ item/itemdb.cpp:45:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | "", "0d0", "", "", | ^ item/itemdb.cpp:47:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | "", | ^ item/itemdb.cpp:51:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | {"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] 51 | {"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] 51 | {"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] 52 | "", "0d0", "", "", | ^ item/itemdb.cpp:52:6: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | "", "0d0", "", "", | ^ item/itemdb.cpp:52:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | "", "0d0", "", "", | ^ item/itemdb.cpp:52:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | "", "0d0", "", "", | ^ item/itemdb.cpp:54:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 54 | "", | ^ item/itemdb.cpp:58:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | {"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] 58 | {"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] 58 | {"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] 59 | "1d2","0d0", "1d2-4", "", | ^ item/itemdb.cpp:59:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | "1d2","0d0", "1d2-4", "", | ^ item/itemdb.cpp:59:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | "1d2","0d0", "1d2-4", "", | ^ item/itemdb.cpp:59:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | "1d2","0d0", "1d2-4", "", | ^ item/itemdb.cpp:61:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | "", | ^ item/itemdb.cpp:65:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | {"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] 65 | {"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] 65 | {"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] 66 | "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] 66 | "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] 66 | "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] 66 | "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] 68 | "earth:4d5", | ^ item/itemdb.cpp:72:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 72 | {"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] 72 | {"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] 72 | {"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] 73 | "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] 73 | "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] 73 | "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] 73 | "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] 75 | "", | ^ item/itemdb.cpp:79:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | {"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] 79 | {"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] 79 | {"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] 80 | "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] 80 | "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] 80 | "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] 80 | "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] 82 | "stun:1d5", | ^ item/itemdb.cpp:86:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 86 | {"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] 86 | {"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] 86 | {"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] 87 | "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] 87 | "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] 87 | "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] 87 | "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] 89 | "stun:1d8", | ^ item/itemdb.cpp:93:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 93 | {"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] 93 | {"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] 93 | {"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] 94 | "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] 94 | "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] 94 | "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] 94 | "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] 96 | "acid:3d5", | ^ item/itemdb.cpp:100:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 100 | {"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] 100 | {"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] 100 | {"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] 101 | "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] 101 | "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] 101 | "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] 101 | "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] 103 | "acid:5d5", | ^ item/itemdb.cpp:107:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 107 | {"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] 107 | {"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] 107 | {"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] 108 | "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] 108 | "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] 108 | "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] 108 | "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] 110 | "water:5d5", | ^ item/itemdb.cpp:114:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 114 | {"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] 114 | {"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] 114 | {"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] 115 | "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] 115 | "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] 115 | "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] 115 | "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] 117 | "stun:3d5", | ^ item/itemdb.cpp:121:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 121 | {"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] 121 | {"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] 121 | {"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] 122 | "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] 122 | "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] 122 | "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] 122 | "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] 124 | "fire:3d5", | ^ item/itemdb.cpp:128:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 128 | {"mithril", xLIGHTCYAN, "2d3", "2d3", | ^ item/itemdb.cpp:128:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 128 | {"mithril", xLIGHTCYAN, "2d3", "2d3", | ^ item/itemdb.cpp:128:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 128 | {"mithril", xLIGHTCYAN, "2d3", "2d3", | ^ item/itemdb.cpp:129:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 129 | "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] 129 | "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] 129 | "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] 129 | "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] 131 | "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] 135 | {"adamantium", xLIGHTGREEN, "2d4", "2d4", | ^ item/itemdb.cpp:135:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 135 | {"adamantium", xLIGHTGREEN, "2d4", "2d4", | ^ item/itemdb.cpp:135:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 135 | {"adamantium", xLIGHTGREEN, "2d4", "2d4", | ^ item/itemdb.cpp:136:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 136 | "2d6", "1d0", "2d4", "1d4", | ^ item/itemdb.cpp:136:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 136 | "2d6", "1d0", "2d4", "1d4", | ^ item/itemdb.cpp:136:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 136 | "2d6", "1d0", "2d4", "1d4", | ^ item/itemdb.cpp:136:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 136 | "2d6", "1d0", "2d4", "1d4", | ^ item/itemdb.cpp:138:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 138 | "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] 146 | "%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] 147 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:147:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 147 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:147:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 147 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:147:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 147 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:147:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 147 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:147:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 147 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:152:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 152 | "", | ^ item/itemdb.cpp:153:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 153 | "fire:5d5+25" | ^ item/itemdb.cpp:157:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 157 | "%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] 158 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:158:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 158 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:158:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 158 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:158:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 158 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:158:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 158 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:158:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 158 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:163:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 163 | "", | ^ item/itemdb.cpp:164:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 164 | "cold:5d5+25" | ^ item/itemdb.cpp:168:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 168 | "%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] 169 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:169:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 169 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:169:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 169 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:169:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 169 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:169:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 169 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:169:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 169 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:174:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 174 | "", | ^ item/itemdb.cpp:175:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 175 | "air:5d5+25" | ^ item/itemdb.cpp:179:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 179 | "%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] 180 | "", "", "", "", "", "", 5, | ^ item/itemdb.cpp:180:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 180 | "", "", "", "", "", "", 5, | ^ item/itemdb.cpp:180:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 180 | "", "", "", "", "", "", 5, | ^ item/itemdb.cpp:180:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 180 | "", "", "", "", "", "", 5, | ^ item/itemdb.cpp:180:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 180 | "", "", "", "", "", "", 5, | ^ item/itemdb.cpp:180:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 180 | "", "", "", "", "", "", 5, | ^ item/itemdb.cpp:185:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 185 | "", | ^ item/itemdb.cpp:186:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 186 | "acid:5d5+25" | ^ item/itemdb.cpp:190:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 190 | "%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] 191 | "", "", "", "", "", "", 2, | ^ item/itemdb.cpp:191:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 191 | "", "", "", "", "", "", 2, | ^ item/itemdb.cpp:191:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 191 | "", "", "", "", "", "", 2, | ^ item/itemdb.cpp:191:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 191 | "", "", "", "", "", "", 2, | ^ item/itemdb.cpp:191:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 191 | "", "", "", "", "", "", 2, | ^ item/itemdb.cpp:191:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 191 | "", "", "", "", "", "", 2, | ^ item/itemdb.cpp:196:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 196 | "", | ^ item/itemdb.cpp:197:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 197 | "poison:5d5+25" | ^ item/itemdb.cpp:201:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 201 | "%s of Resistance", xDARKGRAY, | ^ item/itemdb.cpp:202:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 202 | "", "", "", "", "", "", 80, | ^ item/itemdb.cpp:202:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 202 | "", "", "", "", "", "", 80, | ^ item/itemdb.cpp:202:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 202 | "", "", "", "", "", "", 80, | ^ item/itemdb.cpp:202:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 202 | "", "", "", "", "", "", 80, | ^ item/itemdb.cpp:202:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 202 | "", "", "", "", "", "", 80, | ^ item/itemdb.cpp:202:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 202 | "", "", "", "", "", "", 80, | ^ item/itemdb.cpp:207:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 207 | "", | ^ item/itemdb.cpp:208:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 208 | "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] 212 | "%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] 213 | "", "", "", "", "", "", 50, | ^ item/itemdb.cpp:213:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 213 | "", "", "", "", "", "", 50, | ^ item/itemdb.cpp:213:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 213 | "", "", "", "", "", "", 50, | ^ item/itemdb.cpp:213:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 213 | "", "", "", "", "", "", 50, | ^ item/itemdb.cpp:213:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 213 | "", "", "", "", "", "", 50, | ^ item/itemdb.cpp:213:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 213 | "", "", "", "", "", "", 50, | ^ item/itemdb.cpp:218:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 218 | "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] 219 | "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] 223 | "%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] 224 | "", "", "", "", "", "", 50, | ^ item/itemdb.cpp:224:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 224 | "", "", "", "", "", "", 50, | ^ item/itemdb.cpp:224:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 224 | "", "", "", "", "", "", 50, | ^ item/itemdb.cpp:224:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 224 | "", "", "", "", "", "", 50, | ^ item/itemdb.cpp:224:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 224 | "", "", "", "", "", "", 50, | ^ item/itemdb.cpp:224:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 224 | "", "", "", "", "", "", 50, | ^ item/itemdb.cpp:229:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 229 | "", | ^ item/itemdb.cpp:230:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 230 | "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] 234 | "%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] 235 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:235:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 235 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:235:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 235 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:235:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 235 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:235:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 235 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:235:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 235 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:240:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 240 | "", | ^ item/itemdb.cpp:241:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 241 | "" | ^ item/itemdb.cpp:245:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 245 | "%s of Strength", 0, | ^ item/itemdb.cpp:246:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 246 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:246:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 246 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:246:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 246 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:246:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 246 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:246:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 246 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:246:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 246 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:251:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 251 | "St:1d4", | ^ item/itemdb.cpp:252:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 252 | "" | ^ item/itemdb.cpp:256:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 256 | "%s of Swiftness", 0, | ^ item/itemdb.cpp:257:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 257 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:257:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 257 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:257:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 257 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:257:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 257 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:257:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 257 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:257:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 257 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:262:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 262 | "Dx:1d4", | ^ item/itemdb.cpp:263:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 263 | "" | ^ item/itemdb.cpp:267:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 267 | "%s of Toughness", 0, | ^ item/itemdb.cpp:268:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 268 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:268:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 268 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:268:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 268 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:268:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 268 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:268:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 268 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:268:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 268 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:273:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 273 | "To:1d4", | ^ item/itemdb.cpp:274:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 274 | "" | ^ item/itemdb.cpp:278:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 278 | "%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] 279 | "", "", "", "", "", "", 30, | ^ item/itemdb.cpp:279:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 279 | "", "", "", "", "", "", 30, | ^ item/itemdb.cpp:279:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 279 | "", "", "", "", "", "", 30, | ^ item/itemdb.cpp:279:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 279 | "", "", "", "", "", "", 30, | ^ item/itemdb.cpp:279:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 279 | "", "", "", "", "", "", 30, | ^ item/itemdb.cpp:279:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 279 | "", "", "", "", "", "", 30, | ^ item/itemdb.cpp:284:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 284 | "St:1d5+5", | ^ item/itemdb.cpp:285:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 285 | "" | ^ item/itemdb.cpp:289:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 289 | "%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] 290 | "", "", "", "", "", "", 60, | ^ item/itemdb.cpp:290:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 290 | "", "", "", "", "", "", 60, | ^ item/itemdb.cpp:290:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 290 | "", "", "", "", "", "", 60, | ^ item/itemdb.cpp:290:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 290 | "", "", "", "", "", "", 60, | ^ item/itemdb.cpp:290:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 290 | "", "", "", "", "", "", 60, | ^ item/itemdb.cpp:290:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 290 | "", "", "", "", "", "", 60, | ^ item/itemdb.cpp:295:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 295 | "St:1d10+10", | ^ item/itemdb.cpp:296:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 296 | "" | ^ item/itemdb.cpp:300:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 300 | "%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] 301 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:301:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 301 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:301:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 301 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:301:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 301 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:301:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 301 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:301:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 301 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:306:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 306 | "St:1d1+24", | ^ item/itemdb.cpp:307:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 307 | "" | ^ item/itemdb.cpp:311:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 311 | "%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] 312 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:312:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 312 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:312:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 312 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:312:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 312 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:312:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 312 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:312:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 312 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:317:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 317 | "St:1d1+24", | ^ item/itemdb.cpp:318:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 318 | "" | ^ item/itemdb.cpp:322:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 322 | "%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] 323 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:323:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 323 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:323:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 323 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:323:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 323 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:323:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 323 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:323:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 323 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:328:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 328 | "To:1d1+24", | ^ item/itemdb.cpp:329:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 329 | "" | ^ item/itemdb.cpp:333:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 333 | "%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] 334 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:334:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 334 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:334:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 334 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:334:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 334 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:334:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 334 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:334:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 334 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:339:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 339 | "Dx:1d1+24", | ^ item/itemdb.cpp:340:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 340 | "" | ^ item/itemdb.cpp:344:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 344 | "%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] 345 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:345:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 345 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:345:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 345 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:345:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 345 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:345:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 345 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:345:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 345 | "", "", "", "", "", "", 90, | ^ item/itemdb.cpp:350:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 350 | "Le:1d1+24", | ^ item/itemdb.cpp:351:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 351 | "" | ^ item/itemdb.cpp:355:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 355 | "clean %s", 0, | ^ item/itemdb.cpp:356:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 356 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:356:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 356 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:356:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 356 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:356:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 356 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:356:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 356 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:356:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 356 | "", "", "", "", "", "", 1, | ^ item/itemdb.cpp:361:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 361 | "ch:1d6+0", | ^ item/itemdb.cpp:362:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 362 | "" | ^ 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 creature/anycr.cpp -o obj/anycr.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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/ai_view.cpp -o obj/ai_view.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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 101 | msgwin.Add(caster->GetVerb("feel")); | ^ magic/effect.cpp:195:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 195 | 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 195 | 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 195 | 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] 316 | 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] 320 | 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] 326 | 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] 333 | 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] 337 | 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] 341 | 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] 345 | 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] 349 | 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] 421 | msgwin.Add(pData->caller->GetVerb("summon")); | ^ magic/effect.cpp:258:10: warning: enumeration value 'E_NONE' not handled in switch [-Wswitch] 258 | switch (pData->effect) | ^~~~~~~~~~~~~ 16 warnings generated. 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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 28 | {' ', 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] 29 | {'.', 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] 30 | {'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] 31 | {'.', 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] 32 | {'#', 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] 33 | {'#', 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] 34 | {'#', 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] 35 | {'.', 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] 36 | {'.', 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] 37 | {'.', 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] 38 | {'#', 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] 39 | {'#', 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] 40 | {'=', 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] 41 | {'=', 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] 42 | {'^', 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] 43 | {'^', 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] 44 | {'^', 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] 45 | {'^', 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] 46 | {'=', 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] 47 | {'.', 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] 48 | {'.', 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] 49 | {'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] 50 | {'.', 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] 51 | {'#', 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] 52 | {'#', 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] 53 | {'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] 54 | {'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] 257 | return ""; | ^ 32 warnings generated. 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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 186 | FILE * f = fopen(vMakePath(HOME_DIR, "location.txt"), "w"); | ^ ./global/global.h:43:22: note: expanded from macro 'HOME_DIR' 43 | # define HOME_DIR "~/.avanor/" | ^ game/Game.cpp:186:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 186 | 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] 231 | FILE * f = fopen(vMakePath(HOME_DIR, "items.txt"), "wt"); | ^ ./global/global.h:43:22: note: expanded from macro 'HOME_DIR' 43 | # define HOME_DIR "~/.avanor/" | ^ game/Game.cpp:231:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 231 | 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] 255 | "Number of valid objects : %d\n" | ~~ | %ld 256 | "Number of invalid objects : %d\n" 257 | "\n" 258 | "Number of creatures : %d\n" 259 | "Number of items : %d\n" 260 | "\n" 261 | "Best creature : %s [%d]\n" 262 | "\n" 263 | "Turns : %d\n" 264 | "Performance : %.1lf turns/s", 265 | XObject::count, | ^~~~~~~~~~~~~~ game/Game.cpp:266:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 256 | "Number of invalid objects : %d\n" | ~~ | %ld 257 | "\n" 258 | "Number of creatures : %d\n" 259 | "Number of items : %d\n" 260 | "\n" 261 | "Best creature : %s [%d]\n" 262 | "\n" 263 | "Turns : %d\n" 264 | "Performance : %.1lf turns/s", 265 | XObject::count, 266 | XObject::invalid_count, | ^~~~~~~~~~~~~~~~~~~~~~ game/Game.cpp:267:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 258 | "Number of creatures : %d\n" | ~~ | %lu 259 | "Number of items : %d\n" 260 | "\n" 261 | "Best creature : %s [%d]\n" 262 | "\n" 263 | "Turns : %d\n" 264 | "Performance : %.1lf turns/s", 265 | XObject::count, 266 | XObject::invalid_count, 267 | total_cr, | ^~~~~~~~ game/Game.cpp:268:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 259 | "Number of items : %d\n" | ~~ | %lu 260 | "\n" 261 | "Best creature : %s [%d]\n" 262 | "\n" 263 | "Turns : %d\n" 264 | "Performance : %.1lf turns/s", 265 | XObject::count, 266 | XObject::invalid_count, 267 | total_cr, 268 | total_it, | ^~~~~~~~ game/Game.cpp:270:13: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 263 | "Turns : %d\n" | ~~ | %ld 264 | "Performance : %.1lf turns/s", 265 | XObject::count, 266 | XObject::invalid_count, 267 | total_cr, 268 | total_it, 269 | tname, best_cr_level, 270 | Game.Scheduler.GetTime() / 1000, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13 warnings generated. 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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 108 | 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] 54 | 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] 92 | 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] 163 | REGISTER_CLASS(XDwarvenTresurePlace); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :268:1: note: expanded from here 268 | "XDwarvenTresurePlace" | ^ game/dwarfcity.cpp:243:10: warning: 36 enumeration values not handled in switch: 'L_UNKNOWN', 'L_MAIN', 'L_DWARFCITYCAVE1'... [-Wswitch] 243 | switch (loc) | ^~~ game/dwarfcity.cpp:288:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 288 | REGISTER_CLASS(XGasPlace); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :270:1: note: expanded from here 270 | "XGasPlace" | ^ game/dwarfcity.cpp:296:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 296 | 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] 305 | REGISTER_CLASS(XGasPump); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :272:1: note: expanded from here 272 | "XGasPump" | ^ 12 warnings generated. 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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 69 | {"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] 70 | {"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] 72 | {"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] 73 | {"heroism", 10, PRAY_HEROISM}, | ^ creature/deity.cpp:75:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | {"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] 77 | {"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] 79 | {"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] 84 | {"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] 85 | {"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] 87 | {"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] 88 | {"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] 90 | {"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] 92 | {"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] 94 | {"major divine intervention", 5, PRAY_MAJOR_INTERVENTION}, | ^ creature/deity.cpp:200:10: warning: enumeration value 'D_UNKNOWN' not handled in switch [-Wswitch] 200 | switch (deity) | ^~~~~ creature/deity.cpp:224:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 224 | MSG_RED "fallen champion", MSG_RED "very bad", MSG_RED "bad", | ^ ./global/global.h:100:28: note: expanded from macro 'MSG_RED' 100 | #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] 224 | MSG_RED "fallen champion", MSG_RED "very bad", MSG_RED "bad", | ^ ./global/global.h:100:28: note: expanded from macro 'MSG_RED' 100 | #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] 224 | MSG_RED "fallen champion", MSG_RED "very bad", MSG_RED "bad", | ^ ./global/global.h:100:28: note: expanded from macro 'MSG_RED' 100 | #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] 225 | MSG_LIGHTGRAY "normal", MSG_LIGHTGRAY "adept", MSG_LIGHTGREEN "follower", | ^ ./global/global.h:103:28: note: expanded from macro 'MSG_LIGHTGRAY' 103 | #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] 225 | MSG_LIGHTGRAY "normal", MSG_LIGHTGRAY "adept", MSG_LIGHTGREEN "follower", | ^ ./global/global.h:103:28: note: expanded from macro 'MSG_LIGHTGRAY' 103 | #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] 225 | MSG_LIGHTGRAY "normal", MSG_LIGHTGRAY "adept", MSG_LIGHTGREEN "follower", | ^ ./global/global.h:106:28: note: expanded from macro 'MSG_LIGHTGREEN' 106 | #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] 226 | MSG_YELLOW "messiah", MSG_WHITE "champion" | ^ ./global/global.h:110:28: note: expanded from macro 'MSG_YELLOW' 110 | #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] 226 | MSG_YELLOW "messiah", MSG_WHITE "champion" | ^ ./global/global.h:111:28: note: expanded from macro 'MSG_WHITE' 111 | #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] 237 | return "Tiamat"; | ^ creature/deity.cpp:239:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 239 | return "Marduk"; | ^ 29 warnings generated. helpers/hiscore.cpp:148:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 148 | if (f.Open(HISCORE_FILE_NAME, "rb")) | ^ helpers/hiscore.h:28:37: note: expanded from macro 'HISCORE_FILE_NAME' 28 | #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' 28 | #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] 148 | 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] 156 | f.Open(HISCORE_FILE_NAME, "w"); | ^ helpers/hiscore.h:28:37: note: expanded from macro 'HISCORE_FILE_NAME' 28 | #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' 28 | #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] 156 | 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] 214 | if (f.Open(HISCORE_FILE_NAME, "wb")) | ^ helpers/hiscore.h:28:37: note: expanded from macro 'HISCORE_FILE_NAME' 28 | #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' 28 | #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] 214 | if (f.Open(HISCORE_FILE_NAME, "wb")) | ^ 9 warnings generated. 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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | virtual char * StdAnswer() {return "You receive no answer.";} | ^ 4 warnings generated. 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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 108 | 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] 37 | switch (l_name) | ^~~~~~ 6 warnings generated. 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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | virtual char * StdAnswer() {return "You receive no answer.";} | ^ 4 warnings generated. 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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 312 | msgwin.Add(GetVerb("attack")); | ^ creature/creature2.cpp:315:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 315 | 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] 395 | msgwin.Add(GetVerb("stab")); | ^ creature/creature2.cpp:397:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 397 | msgwin.Add(GetVerb("hit")); | ^ creature/creature2.cpp:445:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 445 | msgwin.Add(GetVerb("attack")); | ^ creature/creature2.cpp:447:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 447 | 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] 502 | 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] 509 | 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] 682 | 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] 684 | 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] 729 | 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] 731 | msgwin.Add(attacker->GetVerb("kill")); | ^ 16 warnings generated. 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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 45 | "####+####" | ^ game/cave.cpp:58:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | "####+####" | ^ game/cave.cpp:71:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 71 | "##############" | ^ game/cave.cpp:86:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 86 | "#################" | ^ 8 warnings generated. 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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 26 | REGISTER_CLASS(XBodyPart); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :226:1: note: expanded from here 226 | "XBodyPart" | ^ creature/bodypart.cpp:28:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 28 | char * bp_names[] = {"", | ^ creature/bodypart.cpp:29:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 29 | "head", "neck", "body", "cloak", | ^ creature/bodypart.cpp:29:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 29 | "head", "neck", "body", "cloak", | ^ creature/bodypart.cpp:29:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 29 | "head", "neck", "body", "cloak", | ^ creature/bodypart.cpp:29:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 29 | "head", "neck", "body", "cloak", | ^ creature/bodypart.cpp:30:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 30 | "hand", "ring", "gloves", | ^ creature/bodypart.cpp:30:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 30 | "hand", "ring", "gloves", | ^ creature/bodypart.cpp:30:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 30 | "hand", "ring", "gloves", | ^ creature/bodypart.cpp:31:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 31 | "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] 31 | "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] 31 | "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] 31 | "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] 31 | "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] 31 | "boots", "light_source", "tool", "missile_weapon", "missile", "eof"}; | ^ 19 warnings generated. 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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 108 | 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] 29 | REGISTER_CLASS(XAnyCreature); | ^ ./engine/xobject.h:85:30: note: expanded from macro 'REGISTER_CLASS' 85 | XClassFactory reg##__xClass(#__xClass, (CLASS_CREATOR)__xClass::Creator) | ^ :261:1: note: expanded from here 261 | "XAnyCreature" | ^ creature/anycr.cpp:410:11: warning: 91 enumeration values not handled in switch: 'CN_NONE', 'CN_RAT', 'CN_LARGE_RAT'... [-Wswitch] 410 | switch (cn) | ^~ 7 warnings generated. 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] 21 | #ifndef __XSHIELD_H | ^~~~~~~~~~~ ./item/xshield.h:22:9: note: '__XSHILED_H' is defined here; did you mean '__XSHIELD_H'? 22 | #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] 63 | 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] 311 | 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] 324 | 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] 492 | switch (action_data.action) | ^~~~~~~~~~~~~~~~~~ creature/creature.cpp:657:13: warning: enumeration values 'S_UNKNOWN' and 'S_EOF' not handled in switch [-Wswitch] 657 | switch (st) | ^~ creature/creature.cpp:678:13: warning: enumeration values 'S_UNKNOWN' and 'S_EOF' not handled in switch [-Wswitch] 678 | switch (st) | ^~ creature/creature.cpp:701:11: warning: 15 enumeration values not handled in switch: 'R_NONE', 'R_WHITE', 'R_BLACK'... [-Wswitch] 701 | switch (rs) | ^~ creature/creature.cpp:711:11: warning: 15 enumeration values not handled in switch: 'R_NONE', 'R_WHITE', 'R_BLACK'... [-Wswitch] 711 | switch (rs) | ^~ creature/creature.cpp:994:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 994 | return ""; | ^ creature/creature.cpp:996:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 996 | return "not wounded"; | ^ creature/creature.cpp:1000:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1000 | return "slightly wounds"; | ^ creature/creature.cpp:1002:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1002 | return "slightly wounded"; | ^ creature/creature.cpp:1006:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1006 | return "wounds"; | ^ creature/creature.cpp:1008:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1008 | return "wounded"; | ^ creature/creature.cpp:1012:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1012 | return "seriously wounds"; | ^ creature/creature.cpp:1014:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1014 | return "seriously wounded"; | ^ creature/creature.cpp:1018:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1018 | return "critically wounds"; | ^ creature/creature.cpp:1020:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1020 | return "critically wounded"; | ^ creature/creature.cpp:1140:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1140 | msgwin.Add(GetVerb("shoot")); | ^ creature/creature.cpp:1145:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1145 | msgwin.Add(GetVerb("throw")); | ^ creature/creature.cpp:1165:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1165 | 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] 1211 | msgwin.Add(GetVerb("exactly")); | ^ creature/creature.cpp:1212:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1212 | 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] 1217 | 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] 1219 | 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] 1254 | 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] 1533 | switch (tr) | ^~ creature/creature.cpp:1698:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1698 | return "male"; | ^ creature/creature.cpp:1700:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1700 | return "female"; | ^ creature/creature.cpp:1702:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1702 | return "neuter"; | ^ creature/creature.cpp:1717:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1717 | 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] 1718 | 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] 1719 | 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] 1720 | 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] 1727 | 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] 1728 | 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] 1729 | 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] 1736 | 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] 1737 | 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] 1738 | 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] 1745 | 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] 1746 | 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] 1747 | 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] 1755 | 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] 1756 | 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] 1757 | 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] 1764 | 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] 1765 | 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] 1766 | 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] 1773 | 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] 1774 | 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] 1775 | 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] 1782 | 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] 1783 | 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] 1784 | 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] 1785 | 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] 1789 | return ""; | ^ 58 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 -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=2025-10-03T23:15:57+0000' 'PKG_NOTE_ports_top_git_hash=a936fb9b16ba' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=d56127bdfc7d' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' 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 Fri Oct 3 19:16:30 EDT 2025 build time: 00:00:36