=>> Building games/openglad build started at Wed Apr 3 17:10:15 BST 2024 port directory: /usr/ports/games/openglad package name: openglad-0.98_10 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 672 Jan 3 00:12 /usr/ports/games/openglad/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: bbab7f59e9 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 04 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/04/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for openglad-0.98_10: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/openglad/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/openglad/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/openglad/work/.cache HOME=/wrkdirs/usr/ports/games/openglad/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/openglad/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/openglad/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" CCACHE_DIR="/root/.ccache" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/openglad/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/openglad/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/openglad/work/.cache HOME=/wrkdirs/usr/ports/games/openglad/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/openglad/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/openglad/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 -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -fstack-protector-strong -L/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/openglad" EXAMPLESDIR="share/examples/openglad" DATADIR="share/openglad" WWWDIR="www/openglad" ETCDIR="etc/openglad" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/openglad DOCSDIR=/usr/local/share/doc/openglad EXAMPLESDIR=/usr/local/share/examples/openglad WWWDIR=/usr/local/www/openglad ETCDIR=/usr/local/etc/openglad --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The openglad 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 ===> openglad-0.98_10 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> openglad-0.98_10 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of openglad-0.98_10 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The openglad 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 openglad-0.98_10 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The openglad 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 openglad-0.98_10 for building => SHA256 Checksum OK for openglad-0.98.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The openglad 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 openglad-0.98_10 for building ===> Extracting for openglad-0.98_10 => SHA256 Checksum OK for openglad-0.98.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for openglad-0.98_10 ===> Applying FreeBSD patches for openglad-0.98_10 from /usr/ports/games/openglad/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> openglad-0.98_10 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> openglad-0.98_10 depends on package: gmake>=4.4.1 - found ===> Returning to build of openglad-0.98_10 ===> openglad-0.98_10 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_17,2.pkg [pkg-builder.dan.net.uk] Installing sdl-1.2.15_17,2... [pkg-builder.dan.net.uk] `-- Installing aalib-1.4.r5_14... [pkg-builder.dan.net.uk] `-- Extracting aalib-1.4.r5_14: .......... done [pkg-builder.dan.net.uk] `-- Installing libGLU-9.0.2_2... [pkg-builder.dan.net.uk] | `-- Installing libglvnd-1.7.0... [pkg-builder.dan.net.uk] | | `-- Installing libX11-1.8.7_1,1... [pkg-builder.dan.net.uk] | | `-- Installing libxcb-1.16.1... [pkg-builder.dan.net.uk] | | | `-- Installing libXau-1.0.9_1... [pkg-builder.dan.net.uk] | | | `-- Extracting libXau-1.0.9_1: .......... done [pkg-builder.dan.net.uk] | | | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | | | `-- Installing xorgproto-2023.2... [pkg-builder.dan.net.uk] | | | `-- Extracting xorgproto-2023.2: .......... done [pkg-builder.dan.net.uk] | | | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] | | `-- Extracting libxcb-1.16.1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting libX11-1.8.7_1,1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] | | `-- Extracting libXext-1.3.6,1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libglvnd-1.7.0: .......... done [pkg-builder.dan.net.uk] `-- Extracting libGLU-9.0.2_2: ..... done [pkg-builder.dan.net.uk] `-- Installing libXrandr-1.5.2_1... [pkg-builder.dan.net.uk] | `-- Installing libXrender-0.9.10_2... [pkg-builder.dan.net.uk] | `-- Extracting libXrender-0.9.10_2: ....... done [pkg-builder.dan.net.uk] `-- Extracting libXrandr-1.5.2_1: .......... done [pkg-builder.dan.net.uk] Extracting sdl-1.2.15_17,2: .......... done ===== Message from aalib-1.4.r5_14: -- ===> NOTICE: The aalib 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 ===== Message from sdl-1.2.15_17,2: -- Your SDL library has been built with libvgl support, which means that you can run almost any SDL application straight on your console (VESA 2.0 compatible videocard is required). To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". ===> openglad-0.98_10 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of openglad-0.98_10 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> openglad-0.98_10 depends on shared library: libSDL_mixer.so - not found ===> Installing existing package /packages/All/sdl_mixer-1.2.12_14.pkg [pkg-builder.dan.net.uk] Installing sdl_mixer-1.2.12_14... [pkg-builder.dan.net.uk] `-- Installing flac-1.4.3_1,1... [pkg-builder.dan.net.uk] | `-- Installing libogg-1.3.5,4... [pkg-builder.dan.net.uk] | `-- Extracting libogg-1.3.5,4: .......... done [pkg-builder.dan.net.uk] `-- Extracting flac-1.4.3_1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libmikmod-3.3.11.1_2... [pkg-builder.dan.net.uk] `-- Extracting libmikmod-3.3.11.1_2: .......... done [pkg-builder.dan.net.uk] `-- Installing libvorbis-1.3.7_2,3... [pkg-builder.dan.net.uk] `-- Extracting libvorbis-1.3.7_2,3: .......... done [pkg-builder.dan.net.uk] `-- Installing smpeg-0.4.4_18... [pkg-builder.dan.net.uk] `-- Extracting smpeg-0.4.4_18: .......... done [pkg-builder.dan.net.uk] `-- Installing timidity-0.2i_1... [pkg-builder.dan.net.uk] `-- Extracting timidity-0.2i_1: .......... done [pkg-builder.dan.net.uk] Extracting sdl_mixer-1.2.12_14: ...... done ===== Message from timidity-0.2i_1: -- ===> NOTICE: The timidity 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 ===> openglad-0.98_10 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> Returning to build of openglad-0.98_10 ===> openglad-0.98_10 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for openglad-0.98_10 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking whether gmake sets $(MAKE)... yes checking for C++ compiler default output... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking for style of include used by gmake... GNU checking dependency style of c++... gcc3 checking for gcc... cc checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking dependency style of cc... gcc3 checking whether gmake sets $(MAKE)... (cached) yes checking build system type... amd64-portbld-freebsd13.2 checking host system type... amd64-portbld-freebsd13.2 checking target system type... amd64-portbld-freebsd13.2 checking for sdl-config... /usr/local/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking for Mix_OpenAudio in -lSDL_mixer... yes checking how to run the C preprocessor... cpp checking for egrep... grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking whether struct tm is in sys/time.h or time.h... time.h checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking for memset... (cached) yes checking for pow... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating util/Makefile config.status: creating sound/Makefile config.status: creating src/config.h config.status: executing default-1 commands =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for openglad-0.98_10 Making all in util gmake[1]: Entering directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98/util' source='gladpack.c' object='gladpack.o' libtool=no \ depfile='.deps/gladpack.Po' tmpdepfile='.deps/gladpack.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ cc -DHAVE_CONFIG_H -I. -I. -I../src -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c `test -f gladpack.c || echo './'`gladpack.c gladpack.c:12:19: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (argc > 1 && !strcmp(argv[1], "p")) pack(argc, argv); ^ gladpack.c:12:19: note: include the header or explicitly provide a declaration for 'strcmp' gladpack.c:12:41: warning: implicit declaration of function 'pack' is invalid in C99 [-Wimplicit-function-declaration] if (argc > 1 && !strcmp(argv[1], "p")) pack(argc, argv); ^ gladpack.c:13:46: warning: implicit declaration of function 'unpack' is invalid in C99 [-Wimplicit-function-declaration] else if (argc > 1 && !strcmp(argv[1], "u")) unpack(argc, argv); ^ gladpack.c:119:42: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("Pack file is %i bytes long.\n", sizeoffile); ~~ ^~~~~~~~~~ %li 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fstack-protector-strong -L/usr/local/lib -o gladpack gladpack.o gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98/util' Making all in src gmake[1]: Entering directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98/src' cd .. \ && CONFIG_FILES= CONFIG_HEADERS=src/config.h \ /bin/sh ./config.status config.status: creating src/config.h config.status: src/config.h is unchanged config.status: executing default-1 commands gmake all-am gmake[2]: Entering directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98/src' source='glad.cpp' object='glad.o' libtool=no \ depfile='.deps/glad.Po' tmpdepfile='.deps/glad.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o glad.o `test -f glad.cpp || echo './'`glad.cpp glad.cpp:64:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] filepath = get_file_path("openglad.cfg"); ^ glad.cpp:132:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_saved_game("save0", myscreen); // over-rides current.fss .. ^ glad.cpp:161:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myscreen->viewob[0]->set_display_text("PRESS F1 FOR HELP", 100); ^ glad.cpp:210:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] dumbcount = myscreen->draw_dialog(160-80, 80, 160+80, 120, "Abort Mission"); ^ glad.cpp:328:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] text *mytext = new text(myscreen, TEXT_1); ^ ./base.h:358:16: note: expanded from macro 'TEXT_1' #define TEXT_1 "text.pix" // standard text pixie ^ glad.cpp:398:16: warning: implicit conversion from 'int' to 'char' changes value from 237 to -19 [-Wconstant-conversion] whatcolor = MID_HP_COLOR; ~ ^~~~~~~~~~~~ ./base.h:150:22: note: expanded from macro 'MID_HP_COLOR' #define MID_HP_COLOR 237 ^~~ glad.cpp:404:16: warning: implicit conversion from 'int' to 'char' changes value from 224 to -32 [-Wconstant-conversion] whatcolor = ORANGE_START; ~ ^~~~~~~~~~~~ ./base.h:137:22: note: expanded from macro 'ORANGE_START' #define ORANGE_START 224 ^~~ glad.cpp:462:16: warning: implicit conversion from 'int' to 'char' changes value from 208 to -48 [-Wconstant-conversion] whatcolor = WATER_START; ~ ^~~~~~~~~~~ ./base.h:135:22: note: expanded from macro 'WATER_START' #define WATER_START 208 ^~~ glad.cpp:524:16: warning: implicit conversion from 'int' to 'char' changes value from 237 to -19 [-Wconstant-conversion] whatcolor = MID_HP_COLOR; ~ ^~~~~~~~~~~~ ./base.h:150:22: note: expanded from macro 'MID_HP_COLOR' #define MID_HP_COLOR 237 ^~~ glad.cpp:530:16: warning: implicit conversion from 'int' to 'char' changes value from 224 to -32 [-Wconstant-conversion] whatcolor = ORANGE_START; ~ ^~~~~~~~~~~~ ./base.h:137:22: note: expanded from macro 'ORANGE_START' #define ORANGE_START 224 ^~~ glad.cpp:555:16: warning: implicit conversion from 'int' to 'char' changes value from 208 to -48 [-Wconstant-conversion] whatcolor = WATER_START; ~ ^~~~~~~~~~~ ./base.h:135:22: note: expanded from macro 'WATER_START' #define WATER_START 208 ^~~ glad.cpp:579:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] text *mytext = new text(myscreen, TEXT_1); ^ ./base.h:358:16: note: expanded from macro 'TEXT_1' #define TEXT_1 "text.pix" // standard text pixie ^ 12 warnings generated. source='button.cpp' object='button.o' libtool=no \ depfile='.deps/button.Po' tmpdepfile='.deps/button.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o button.o `test -f button.cpp || echo './'`button.cpp source='effect.cpp' object='effect.o' libtool=no \ depfile='.deps/effect.Po' tmpdepfile='.deps/effect.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o effect.o `test -f effect.cpp || echo './'`effect.cpp source='game.cpp' object='game.o' libtool=no \ depfile='.deps/game.Po' tmpdepfile='.deps/game.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o game.o `test -f game.cpp || echo './'`game.cpp game.cpp:51:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_scenario("scen0", myscreen); ^ game.cpp:358:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( (infile = open_misc_file(temp_filename, "save/")) == NULL ) ^ game.cpp:612:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( (outfile = open_misc_file(temp_filename, "save/", "wb")) == NULL ) // open for write ^ game.cpp:612:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( (outfile = open_misc_file(temp_filename, "save/", "wb")) == NULL ) // open for write ^ 4 warnings generated. source='gladpack.cpp' object='gladpack.o' libtool=no \ depfile='.deps/gladpack.Po' tmpdepfile='.deps/gladpack.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o gladpack.o `test -f gladpack.cpp || echo './'`gladpack.cpp source='graphlib.cpp' object='graphlib.o' libtool=no \ depfile='.deps/graphlib.Po' tmpdepfile='.deps/graphlib.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o graphlib.o `test -f graphlib.cpp || echo './'`graphlib.cpp graphlib.cpp:72:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ((infile = open_misc_file((char *)filename, "pix/")) || (infile = open_misc_file((char *)filename, "scen/"))) ^ graphlib.cpp:72:104: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ((infile = open_misc_file((char *)filename, "pix/")) || (infile = open_misc_file((char *)filename, "scen/"))) ^ 2 warnings generated. source='guy.cpp' object='guy.o' libtool=no \ depfile='.deps/guy.Po' tmpdepfile='.deps/guy.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o guy.o `test -f guy.cpp || echo './'`guy.cpp source='help.cpp' object='help.o' libtool=no \ depfile='.deps/help.Po' tmpdepfile='.deps/help.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o help.o `test -f help.cpp || echo './'`help.cpp help.cpp:76:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] text *mytext = new text(myscreen, TEXT_1); ^ ./base.h:358:16: note: expanded from macro 'TEXT_1' #define TEXT_1 "text.pix" // standard text pixie ^ help.cpp:205:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static text *mytext = new text(myscreen, TEXT_1); ^ ./base.h:358:16: note: expanded from macro 'TEXT_1' #define TEXT_1 "text.pix" // standard text pixie ^ 2 warnings generated. source='input.cpp' object='input.o' libtool=no \ depfile='.deps/input.Po' tmpdepfile='.deps/input.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o input.o `test -f input.cpp || echo './'`input.cpp source='intro.cpp' object='intro.o' libtool=no \ depfile='.deps/intro.Po' tmpdepfile='.deps/intro.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o intro.o `test -f intro.cpp || echo './'`intro.cpp intro.cpp:65:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_and_set_palette("our.pal", (char *)mypalette); ^ intro.cpp:281:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_and_set_palette("our.pal", (char *)mypalette); ^ 2 warnings generated. source='living.cpp' object='living.o' libtool=no \ depfile='.deps/living.Po' tmpdepfile='.deps/living.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o living.o `test -f living.cpp || echo './'`living.cpp living.cpp:809:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. source='loader.cpp' object='loader.o' libtool=no \ depfile='.deps/loader.Po' tmpdepfile='.deps/loader.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o loader.o `test -f loader.cpp || echo './'`loader.cpp source='obmap.cpp' object='obmap.o' libtool=no \ depfile='.deps/obmap.Po' tmpdepfile='.deps/obmap.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o obmap.o `test -f obmap.cpp || echo './'`obmap.cpp source='pal32.cpp' object='pal32.o' libtool=no \ depfile='.deps/pal32.Po' tmpdepfile='.deps/pal32.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o pal32.o `test -f pal32.cpp || echo './'`pal32.cpp source='parser.cpp' object='parser.o' libtool=no \ depfile='.deps/parser.Po' tmpdepfile='.deps/parser.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o parser.o `test -f parser.cpp || echo './'`parser.cpp source='picker.cpp' object='picker.o' libtool=no \ depfile='.deps/picker.Po' tmpdepfile='.deps/picker.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o picker.o `test -f picker.cpp || echo './'`picker.cpp picker.cpp:250:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] loadgame = open_misc_file("save0.gtl", "save/"); ^ picker.cpp:250:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] loadgame = open_misc_file("save0.gtl", "save/"); ^ picker.cpp:254:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_team_list_one("save0"); ^ picker.cpp:804:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] read_help("start.tex", myscreen); ^ picker.cpp:2449:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] outfile = open_misc_file(temp_filename, "save/", "wb"); ^ picker.cpp:2449:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] outfile = open_misc_file(temp_filename, "save/", "wb"); ^ picker.cpp:2648:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( (infile = open_misc_file(temp_filename, "save/")) == NULL ) // open for write ^ picker.cpp:2870:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( (infile = open_misc_file(temp_filename, "save/")) == NULL ) // open for read ^ picker.cpp:2872:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "EMPTY SLOT"; ^ picker.cpp:2945:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myscreen->draw_dialog(100, 65, 220, 125, "Need a team!"); ^ picker.cpp:2958:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] save_team_list("save0"); ^ picker.cpp:3002:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] loadgame = open_misc_file("save0.gtl", "save/"); ^ picker.cpp:3002:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] loadgame = open_misc_file("save0.gtl", "save/"); ^ picker.cpp:3006:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_team_list_one("save0"); ^ picker.cpp:3196:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myscreen->draw_dialog(5, 68, 315, 167, "Character Special Abilities"); ^ picker.cpp:3329:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myscreen->draw_dialog(158, 4, 315, 66, "Become ArchMage"); ^ picker.cpp:3541:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myscreen->draw_dialog(158, 4, 315, 66, "Become Orc Captain"); ^ 17 warnings generated. source='pixie.cpp' object='pixie.o' libtool=no \ depfile='.deps/pixie.Po' tmpdepfile='.deps/pixie.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o pixie.o `test -f pixie.cpp || echo './'`pixie.cpp source='pixien.cpp' object='pixien.o' libtool=no \ depfile='.deps/pixien.Po' tmpdepfile='.deps/pixien.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o pixien.o `test -f pixien.cpp || echo './'`pixien.cpp source='radar.cpp' object='radar.o' libtool=no \ depfile='.deps/radar.Po' tmpdepfile='.deps/radar.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o radar.o `test -f radar.cpp || echo './'`radar.cpp source='screen.cpp' object='screen.o' libtool=no \ depfile='.deps/screen.Po' tmpdepfile='.deps/screen.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o screen.o `test -f screen.cpp || echo './'`screen.cpp screen.cpp:116:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_and_set_palette("our.pal", newpalette); ^ screen.cpp:1406:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] text mytext(this, TEXT_1); ^ ./base.h:358:16: note: expanded from macro 'TEXT_1' #define TEXT_1 "text.pix" // standard text pixie ^ screen.cpp:1424:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] draw_dialog(30, 70, 290, 134, "Defeat!"); ^ screen.cpp:1439:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] draw_dialog(30, 70, 290, 134, "Retreat!"); ^ screen.cpp:1459:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] draw_dialog(30, 70, 290, 134, "Defeat!"); ^ screen.cpp:1475:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] draw_dialog(30, 70, 290, 134, "Traveling On.."); ^ screen.cpp:1483:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] draw_dialog(30, 70, 290, 134, "Victory!"); ^ screen.cpp:1517:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] save_game("save0", this); ^ screen.cpp:1543:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] draw_dialog(30, 70, 290, 134, "Congratulations!"); ^ screen.cpp:1550:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] draw_dialog(30, 70, 290, 134, "Alas!"); ^ screen.cpp:1717:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "none"; ^ screen.cpp:1725:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ((infile = open_misc_file(tempfile, "scen/"))) ^ screen.cpp:1731:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else return "none"; ^ screen.cpp:1738:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "none"; ^ screen.cpp:1744:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "none"; ^ screen.cpp:1774:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_and_set_palette("our.pal", myscreen->ourpalette); ^ screen.cpp:1790:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( (infile = open_misc_file((char *)thefile.c_str(), "scen/"))) ^ 17 warnings generated. source='smooth.cpp' object='smooth.o' libtool=no \ depfile='.deps/smooth.Po' tmpdepfile='.deps/smooth.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o smooth.o `test -f smooth.cpp || echo './'`smooth.cpp smooth.cpp:429:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (left==TYPE_GRASS) ) ~~~~^~~~~~~~~~~~ smooth.cpp:429:15: note: remove extraneous parentheses around the comparison to silence this warning if ( (left==TYPE_GRASS) ) ~ ^ ~ smooth.cpp:429:15: note: use '=' to turn this equality comparison into an assignment if ( (left==TYPE_GRASS) ) ^~ = smooth.cpp:436:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (down==TYPE_GRASS) ) ~~~~^~~~~~~~~~~~ smooth.cpp:436:15: note: remove extraneous parentheses around the comparison to silence this warning if ( (down==TYPE_GRASS) ) ~ ^ ~ smooth.cpp:436:15: note: use '=' to turn this equality comparison into an assignment if ( (down==TYPE_GRASS) ) ^~ = 2 warnings generated. source='sound.cpp' object='sound.o' libtool=no \ depfile='.deps/sound.Po' tmpdepfile='.deps/sound.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o sound.o `test -f sound.cpp || echo './'`sound.cpp sound.cpp:121:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] filepath = get_file_path(file, "sound/"); ^ 1 warning generated. source='stats.cpp' object='stats.o' libtool=no \ depfile='.deps/stats.Po' tmpdepfile='.deps/stats.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o stats.o `test -f stats.cpp || echo './'`stats.cpp source='text.cpp' object='text.o' libtool=no \ depfile='.deps/text.Po' tmpdepfile='.deps/text.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o text.o `test -f text.cpp || echo './'`text.cpp text.cpp:35:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] filename = "text.pix"; ^ 1 warning generated. source='treasure.cpp' object='treasure.o' libtool=no \ depfile='.deps/treasure.Po' tmpdepfile='.deps/treasure.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o treasure.o `test -f treasure.cpp || echo './'`treasure.cpp treasure.cpp:184:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->draw_dialog(leftside, 20, rightside, 54, "Exit Field"); ^ treasure.cpp:221:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_saved_game("save0", myscreen); ^ treasure.cpp:224:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] save_game("save0", myscreen); ^ treasure.cpp:234:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->draw_dialog(30, 20, 290, 54, "Exit Field"); ^ 4 warnings generated. source='video.cpp' object='video.o' libtool=no \ depfile='.deps/video.Po' tmpdepfile='.deps/video.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o video.o `test -f video.cpp || echo './'`video.cpp video.cpp:82:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_and_set_palette("our.pal", ourpalette); ^ video.cpp:83:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_palette("our.pal", redpalette); ^ video.cpp:92:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_palette("our.pal", bluepalette); ^ video.cpp:261:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static text dialogtext(myscreen, "textbig.pix"); // large text ^ video.cpp:1144:22: warning: unsequenced modification and access to 'buffoff' [-Wunsequenced] pointb(buffoff++,get_pixel(buffoff-320)); ^ ~~~~~~~ video.cpp:1147:22: warning: unsequenced modification and access to 'buffoff' [-Wunsequenced] pointb(buffoff++,get_pixel(buffoff-2)); ^ ~~~~~~~ 6 warnings generated. source='view.cpp' object='view.o' libtool=no \ depfile='.deps/view.Po' tmpdepfile='.deps/view.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o view.o `test -f view.cpp || echo './'`view.cpp view.cpp:604:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] control->screenp->do_notify("Yo!", control); ^ view.cpp:628:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] control->screenp->do_notify("SUMMONING DEFENSE!", control); ^ view.cpp:645:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] control->screenp->do_notify("RELEASING MEN!", control); ^ view.cpp:1201:32: warning: address of array 'here->ob->stats->name' will always evaluate to 'true' [-Wpointer-bool-conversion] && (here->ob->stats->name || here->ob->myguy)) //&& here->ob->owner == NULL) ~~~~~~~~~~~~~~~~~^~~~ ~~ view.cpp:1239:28: warning: implicit conversion from 'int' to 'char' changes value from 234 to -22 [-Wconstant-conversion] hpcolor = MID_HP_COLOR -3; ~ ~~~~~~~~~~~~~^~ view.cpp:1245:15: warning: implicit conversion from 'int' to 'char' changes value from 224 to -32 [-Wconstant-conversion] hpcolor = ORANGE_START; ~ ^~~~~~~~~~~~ ./base.h:137:22: note: expanded from macro 'ORANGE_START' #define ORANGE_START 224 ^~~ view.cpp:1256:15: warning: implicit conversion from 'int' to 'char' changes value from 208 to -48 [-Wconstant-conversion] mpcolor = WATER_START; ~ ^~~~~~~~~~~ ./base.h:135:22: note: expanded from macro 'WATER_START' #define WATER_START 208 ^~~ view.cpp:1261:17: warning: implicit conversion from 'int' to 'char' changes value from 160 to -96 [-Wconstant-conversion] namecolor = BLACK; ~ ^~~~~ ./base.h:125:22: note: expanded from macro 'BLACK' #define BLACK 160 ^~~ view.cpp:1660:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] set_display_text("NEW KEYBOARD STATE SAVED", 30); ^ view.cpp:1661:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] set_display_text("DELETE KEYPREFS.DAT FOR DEFAULTS", 30); ^ view.cpp:1711:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_palette("our.pal", screenp->newpalette); ^ view.cpp:1716:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_palette("our.pal", screenp->newpalette); ^ view.cpp:1722:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_palette("our.pal", screenp->newpalette); ^ view.cpp:1751:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] infile = open_misc_file(KEY_FILE); ^ view.cpp:112:18: note: expanded from macro 'KEY_FILE' #define KEY_FILE "keyprefs.dat" ^ view.cpp:1794:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] outfile = open_misc_file(KEY_FILE, "", "wb"); ^ view.cpp:112:18: note: expanded from macro 'KEY_FILE' #define KEY_FILE "keyprefs.dat" ^ view.cpp:1794:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] outfile = open_misc_file(KEY_FILE, "", "wb"); ^ view.cpp:1794:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] outfile = open_misc_file(KEY_FILE, "", "wb"); ^ 17 warnings generated. source='walker.cpp' object='walker.o' libtool=no \ depfile='.deps/walker.Po' tmpdepfile='.deps/walker.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o walker.o `test -f walker.cpp || echo './'`walker.cpp walker.cpp:224:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ walker.cpp:1296:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ walker.cpp:1305:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ walker.cpp:1848:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->do_notify("Fighter Disarmed Enemy!", this); ^ walker.cpp:1926:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myscreen->do_notify("50 Int required for Mystic Mace!", this); ^ walker.cpp:1961:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->do_notify("You need 60 Int to Turn Undead", this); ^ walker.cpp:2021:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->do_notify("You need 60 Int to Turn Undead", this); ^ walker.cpp:2138:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->do_notify("Need 75 Int for Marker!", this); ^ walker.cpp:2156:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->do_notify("(Old Marker Removed)", this); ^ walker.cpp:2179:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->do_notify("Teleport Marker Placed", this); ^ walker.cpp:2327:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->do_notify("Need 75 Int for Marker!", this); ^ walker.cpp:2345:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->do_notify("(Old Marker Removed)", this); ^ walker.cpp:2366:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->do_notify("Teleport Marker Placed", this); ^ walker.cpp:2485:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myscreen->do_notify("150 Int required to Summon!", this); ^ walker.cpp:3298:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->do_notify("Marker is Blocked!", this); ^ 15 warnings generated. source='weap.cpp' object='weap.o' libtool=no \ depfile='.deps/weap.Po' tmpdepfile='.deps/weap.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o weap.o `test -f weap.cpp || echo './'`weap.cpp weap.cpp:74:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myscreen->do_notify("Weapon sitting", this); ^ weap.cpp:118:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myscreen->do_notify("No act type set for weapon", this); ^ 2 warnings generated. source='sai2x.cpp' object='sai2x.o' libtool=no \ depfile='.deps/sai2x.Po' tmpdepfile='.deps/sai2x.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o sai2x.o `test -f sai2x.cpp || echo './'`sai2x.cpp sai2x.cpp:159:8: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int r = 0; ^~~~~~~~~ sai2x.cpp:416:16: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int r = 0; ^~~~~~~~~ 2 warnings generated. source='util.cpp' object='util.o' libtool=no \ depfile='.deps/util.Po' tmpdepfile='.deps/util.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o util.o `test -f util.cpp || echo './'`util.cpp util.cpp:114:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return open_misc_file(file, pos_dir, "rb"); ^ util.cpp:119:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return open_misc_file(file, "", "rb"); ^ util.cpp:119:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return open_misc_file(file, "", "rb"); ^ util.cpp:200:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return get_file_path(file, pos_dir, "rb"); ^ util.cpp:205:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return get_file_path(file, "", "rb"); ^ util.cpp:205:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return get_file_path(file, "", "rb"); ^ 6 warnings generated. c++ -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -fstack-protector-strong -L/usr/local/lib -o openglad glad.o button.o effect.o game.o gladpack.o graphlib.o guy.o help.o input.o intro.o living.o loader.o obmap.o pal32.o parser.o picker.o pixie.o pixien.o radar.o screen.o smooth.o sound.o stats.o text.o treasure.o video.o view.o walker.o weap.o sai2x.o util.o -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_mixer source='scen.cpp' object='openscen-scen.o' libtool=no \ depfile='.deps/openscen-scen.Po' tmpdepfile='.deps/openscen-scen.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-scen.o `test -f scen.cpp || echo './'`scen.cpp scen.cpp:177:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] filepath = get_file_path("openglad.cfg"); ^ scen.cpp:227:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_and_set_palette("our.pal", scenpalette); ^ scen.cpp:231:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_scenario("test", myscreen); ^ scen.cpp:549:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_and_set_palette("our.pal", scenpalette); ^ scen.cpp:1050:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( (outfile = open_misc_file((char *)fullpath.c_str(), "pix/", "wb")) == NULL ) ^ scen.cpp:1050:67: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( (outfile = open_misc_file((char *)fullpath.c_str(), "pix/", "wb")) == NULL ) ^ scen.cpp:1377:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( (outfile = open_misc_file(temp_filename, "scen/", "wb")) == NULL ) // open for write ^ scen.cpp:1377:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( (outfile = open_misc_file(temp_filename, "scen/", "wb")) == NULL ) // open for write ^ scen.cpp:1669:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "LIVING", "WEAPON", "TREASURE", "GENERATOR", "FX", "SPECIAL", }; ^ scen.cpp:1669:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "LIVING", "WEAPON", "TREASURE", "GENERATOR", "FX", "SPECIAL", }; ^ scen.cpp:1669:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "LIVING", "WEAPON", "TREASURE", "GENERATOR", "FX", "SPECIAL", }; ^ scen.cpp:1669:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "LIVING", "WEAPON", "TREASURE", "GENERATOR", "FX", "SPECIAL", }; ^ scen.cpp:1669:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "LIVING", "WEAPON", "TREASURE", "GENERATOR", "FX", "SPECIAL", }; ^ scen.cpp:1669:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "LIVING", "WEAPON", "TREASURE", "GENERATOR", "FX", "SPECIAL", }; ^ scen.cpp:1671:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "SOLDIER", "ELF", "ARCHER", "MAGE", ^ scen.cpp:1671:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "SOLDIER", "ELF", "ARCHER", "MAGE", ^ scen.cpp:1671:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "SOLDIER", "ELF", "ARCHER", "MAGE", ^ scen.cpp:1671:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "SOLDIER", "ELF", "ARCHER", "MAGE", ^ scen.cpp:1672:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "SKELETON", "CLERIC", "ELEMENTAL", ^ scen.cpp:1672:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "SKELETON", "CLERIC", "ELEMENTAL", ^ scen.cpp:1672:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "SKELETON", "CLERIC", "ELEMENTAL", ^ scen.cpp:1673:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "FAERIE", "L-SLIME", "S-SLIME", ^ scen.cpp:1673:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "FAERIE", "L-SLIME", "S-SLIME", ^ scen.cpp:1673:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "FAERIE", "L-SLIME", "S-SLIME", ^ scen.cpp:1674:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "M-SLIME", "THIEF", "GHOST", ^ scen.cpp:1674:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "M-SLIME", "THIEF", "GHOST", ^ scen.cpp:1674:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "M-SLIME", "THIEF", "GHOST", ^ scen.cpp:1675:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "DRUID", ^ scen.cpp:1678:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "BLOODSTAIN", "DRUMSTICK: FOOD", ^ scen.cpp:1678:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "BLOODSTAIN", "DRUMSTICK: FOOD", ^ scen.cpp:1679:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "GOLD BAR", "SILVER BAR", ^ scen.cpp:1679:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "GOLD BAR", "SILVER BAR", ^ scen.cpp:1680:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "MAGIC POTION", "INVISIBILITY POTION", ^ scen.cpp:1680:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "MAGIC POTION", "INVISIBILITY POTION", ^ scen.cpp:1681:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "INVULNERABILITY POTION", ^ scen.cpp:1682:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "FLIGHT POTION", "EXIT", "TELEPORTER", ^ scen.cpp:1682:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "FLIGHT POTION", "EXIT", "TELEPORTER", ^ scen.cpp:1682:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "FLIGHT POTION", "EXIT", "TELEPORTER", ^ scen.cpp:1683:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "LIFE GEM", "KEY", "SPEED", "CC", ^ scen.cpp:1683:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "LIFE GEM", "KEY", "SPEED", "CC", ^ scen.cpp:1683:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "LIFE GEM", "KEY", "SPEED", "CC", ^ scen.cpp:1683:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "LIFE GEM", "KEY", "SPEED", "CC", ^ scen.cpp:1788:2: warning: array index 10 is past the end of the array (which contains 10 elements) [-Warray-bounds] newname[10] = 0; ^ ~~ scen.cpp:1757:2: note: array 'newname' declared here char newname[10]; ^ scen.cpp:1884:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myscreen->draw_dialog(100, 50, 220, 170, "Set Facing"); ^ 44 warnings generated. source='effect.cpp' object='openscen-effect.o' libtool=no \ depfile='.deps/openscen-effect.Po' tmpdepfile='.deps/openscen-effect.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-effect.o `test -f effect.cpp || echo './'`effect.cpp source='game.cpp' object='openscen-game.o' libtool=no \ depfile='.deps/openscen-game.Po' tmpdepfile='.deps/openscen-game.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-game.o `test -f game.cpp || echo './'`game.cpp game.cpp:51:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_scenario("scen0", myscreen); ^ game.cpp:358:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( (infile = open_misc_file(temp_filename, "save/")) == NULL ) ^ game.cpp:612:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( (outfile = open_misc_file(temp_filename, "save/", "wb")) == NULL ) // open for write ^ game.cpp:612:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( (outfile = open_misc_file(temp_filename, "save/", "wb")) == NULL ) // open for write ^ 4 warnings generated. source='gladpack.cpp' object='openscen-gladpack.o' libtool=no \ depfile='.deps/openscen-gladpack.Po' tmpdepfile='.deps/openscen-gladpack.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-gladpack.o `test -f gladpack.cpp || echo './'`gladpack.cpp source='graphlib.cpp' object='openscen-graphlib.o' libtool=no \ depfile='.deps/openscen-graphlib.Po' tmpdepfile='.deps/openscen-graphlib.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-graphlib.o `test -f graphlib.cpp || echo './'`graphlib.cpp graphlib.cpp:72:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ((infile = open_misc_file((char *)filename, "pix/")) || (infile = open_misc_file((char *)filename, "scen/"))) ^ graphlib.cpp:72:104: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ((infile = open_misc_file((char *)filename, "pix/")) || (infile = open_misc_file((char *)filename, "scen/"))) ^ 2 warnings generated. source='guy.cpp' object='openscen-guy.o' libtool=no \ depfile='.deps/openscen-guy.Po' tmpdepfile='.deps/openscen-guy.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-guy.o `test -f guy.cpp || echo './'`guy.cpp source='help.cpp' object='openscen-help.o' libtool=no \ depfile='.deps/openscen-help.Po' tmpdepfile='.deps/openscen-help.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-help.o `test -f help.cpp || echo './'`help.cpp help.cpp:76:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] text *mytext = new text(myscreen, TEXT_1); ^ ./base.h:358:16: note: expanded from macro 'TEXT_1' #define TEXT_1 "text.pix" // standard text pixie ^ help.cpp:205:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static text *mytext = new text(myscreen, TEXT_1); ^ ./base.h:358:16: note: expanded from macro 'TEXT_1' #define TEXT_1 "text.pix" // standard text pixie ^ 2 warnings generated. source='input.cpp' object='openscen-input.o' libtool=no \ depfile='.deps/openscen-input.Po' tmpdepfile='.deps/openscen-input.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-input.o `test -f input.cpp || echo './'`input.cpp source='intro.cpp' object='openscen-intro.o' libtool=no \ depfile='.deps/openscen-intro.Po' tmpdepfile='.deps/openscen-intro.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-intro.o `test -f intro.cpp || echo './'`intro.cpp intro.cpp:65:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_and_set_palette("our.pal", (char *)mypalette); ^ intro.cpp:281:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_and_set_palette("our.pal", (char *)mypalette); ^ 2 warnings generated. source='living.cpp' object='openscen-living.o' libtool=no \ depfile='.deps/openscen-living.Po' tmpdepfile='.deps/openscen-living.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-living.o `test -f living.cpp || echo './'`living.cpp living.cpp:809:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. source='loader.cpp' object='openscen-loader.o' libtool=no \ depfile='.deps/openscen-loader.Po' tmpdepfile='.deps/openscen-loader.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-loader.o `test -f loader.cpp || echo './'`loader.cpp source='obmap.cpp' object='openscen-obmap.o' libtool=no \ depfile='.deps/openscen-obmap.Po' tmpdepfile='.deps/openscen-obmap.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-obmap.o `test -f obmap.cpp || echo './'`obmap.cpp source='pal32.cpp' object='openscen-pal32.o' libtool=no \ depfile='.deps/openscen-pal32.Po' tmpdepfile='.deps/openscen-pal32.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-pal32.o `test -f pal32.cpp || echo './'`pal32.cpp source='parser.cpp' object='openscen-parser.o' libtool=no \ depfile='.deps/openscen-parser.Po' tmpdepfile='.deps/openscen-parser.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-parser.o `test -f parser.cpp || echo './'`parser.cpp source='pixie.cpp' object='openscen-pixie.o' libtool=no \ depfile='.deps/openscen-pixie.Po' tmpdepfile='.deps/openscen-pixie.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-pixie.o `test -f pixie.cpp || echo './'`pixie.cpp source='pixien.cpp' object='openscen-pixien.o' libtool=no \ depfile='.deps/openscen-pixien.Po' tmpdepfile='.deps/openscen-pixien.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-pixien.o `test -f pixien.cpp || echo './'`pixien.cpp source='radar.cpp' object='openscen-radar.o' libtool=no \ depfile='.deps/openscen-radar.Po' tmpdepfile='.deps/openscen-radar.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-radar.o `test -f radar.cpp || echo './'`radar.cpp source='screen.cpp' object='openscen-screen.o' libtool=no \ depfile='.deps/openscen-screen.Po' tmpdepfile='.deps/openscen-screen.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-screen.o `test -f screen.cpp || echo './'`screen.cpp screen.cpp:116:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_and_set_palette("our.pal", newpalette); ^ screen.cpp:1406:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] text mytext(this, TEXT_1); ^ ./base.h:358:16: note: expanded from macro 'TEXT_1' #define TEXT_1 "text.pix" // standard text pixie ^ screen.cpp:1424:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] draw_dialog(30, 70, 290, 134, "Defeat!"); ^ screen.cpp:1439:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] draw_dialog(30, 70, 290, 134, "Retreat!"); ^ screen.cpp:1459:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] draw_dialog(30, 70, 290, 134, "Defeat!"); ^ screen.cpp:1475:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] draw_dialog(30, 70, 290, 134, "Traveling On.."); ^ screen.cpp:1483:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] draw_dialog(30, 70, 290, 134, "Victory!"); ^ screen.cpp:1517:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] save_game("save0", this); ^ screen.cpp:1543:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] draw_dialog(30, 70, 290, 134, "Congratulations!"); ^ screen.cpp:1550:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] draw_dialog(30, 70, 290, 134, "Alas!"); ^ screen.cpp:1717:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "none"; ^ screen.cpp:1725:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ((infile = open_misc_file(tempfile, "scen/"))) ^ screen.cpp:1731:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else return "none"; ^ screen.cpp:1738:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "none"; ^ screen.cpp:1744:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "none"; ^ screen.cpp:1774:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_and_set_palette("our.pal", myscreen->ourpalette); ^ screen.cpp:1790:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( (infile = open_misc_file((char *)thefile.c_str(), "scen/"))) ^ 17 warnings generated. source='smooth.cpp' object='openscen-smooth.o' libtool=no \ depfile='.deps/openscen-smooth.Po' tmpdepfile='.deps/openscen-smooth.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-smooth.o `test -f smooth.cpp || echo './'`smooth.cpp smooth.cpp:429:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (left==TYPE_GRASS) ) ~~~~^~~~~~~~~~~~ smooth.cpp:429:15: note: remove extraneous parentheses around the comparison to silence this warning if ( (left==TYPE_GRASS) ) ~ ^ ~ smooth.cpp:429:15: note: use '=' to turn this equality comparison into an assignment if ( (left==TYPE_GRASS) ) ^~ = smooth.cpp:436:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (down==TYPE_GRASS) ) ~~~~^~~~~~~~~~~~ smooth.cpp:436:15: note: remove extraneous parentheses around the comparison to silence this warning if ( (down==TYPE_GRASS) ) ~ ^ ~ smooth.cpp:436:15: note: use '=' to turn this equality comparison into an assignment if ( (down==TYPE_GRASS) ) ^~ = 2 warnings generated. source='sound.cpp' object='openscen-sound.o' libtool=no \ depfile='.deps/openscen-sound.Po' tmpdepfile='.deps/openscen-sound.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-sound.o `test -f sound.cpp || echo './'`sound.cpp sound.cpp:121:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] filepath = get_file_path(file, "sound/"); ^ 1 warning generated. source='stats.cpp' object='openscen-stats.o' libtool=no \ depfile='.deps/openscen-stats.Po' tmpdepfile='.deps/openscen-stats.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-stats.o `test -f stats.cpp || echo './'`stats.cpp source='text.cpp' object='openscen-text.o' libtool=no \ depfile='.deps/openscen-text.Po' tmpdepfile='.deps/openscen-text.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-text.o `test -f text.cpp || echo './'`text.cpp text.cpp:35:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] filename = "text.pix"; ^ 1 warning generated. source='treasure.cpp' object='openscen-treasure.o' libtool=no \ depfile='.deps/openscen-treasure.Po' tmpdepfile='.deps/openscen-treasure.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-treasure.o `test -f treasure.cpp || echo './'`treasure.cpp treasure.cpp:184:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->draw_dialog(leftside, 20, rightside, 54, "Exit Field"); ^ treasure.cpp:221:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_saved_game("save0", myscreen); ^ treasure.cpp:224:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] save_game("save0", myscreen); ^ treasure.cpp:234:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->draw_dialog(30, 20, 290, 54, "Exit Field"); ^ 4 warnings generated. source='video.cpp' object='openscen-video.o' libtool=no \ depfile='.deps/openscen-video.Po' tmpdepfile='.deps/openscen-video.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-video.o `test -f video.cpp || echo './'`video.cpp video.cpp:82:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_and_set_palette("our.pal", ourpalette); ^ video.cpp:83:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_palette("our.pal", redpalette); ^ video.cpp:92:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_palette("our.pal", bluepalette); ^ video.cpp:261:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static text dialogtext(myscreen, "textbig.pix"); // large text ^ video.cpp:1144:22: warning: unsequenced modification and access to 'buffoff' [-Wunsequenced] pointb(buffoff++,get_pixel(buffoff-320)); ^ ~~~~~~~ video.cpp:1147:22: warning: unsequenced modification and access to 'buffoff' [-Wunsequenced] pointb(buffoff++,get_pixel(buffoff-2)); ^ ~~~~~~~ 6 warnings generated. source='view.cpp' object='openscen-view.o' libtool=no \ depfile='.deps/openscen-view.Po' tmpdepfile='.deps/openscen-view.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-view.o `test -f view.cpp || echo './'`view.cpp view.cpp:604:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] control->screenp->do_notify("Yo!", control); ^ view.cpp:628:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] control->screenp->do_notify("SUMMONING DEFENSE!", control); ^ view.cpp:645:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] control->screenp->do_notify("RELEASING MEN!", control); ^ view.cpp:1201:32: warning: address of array 'here->ob->stats->name' will always evaluate to 'true' [-Wpointer-bool-conversion] && (here->ob->stats->name || here->ob->myguy)) //&& here->ob->owner == NULL) ~~~~~~~~~~~~~~~~~^~~~ ~~ view.cpp:1239:28: warning: implicit conversion from 'int' to 'char' changes value from 234 to -22 [-Wconstant-conversion] hpcolor = MID_HP_COLOR -3; ~ ~~~~~~~~~~~~~^~ view.cpp:1245:15: warning: implicit conversion from 'int' to 'char' changes value from 224 to -32 [-Wconstant-conversion] hpcolor = ORANGE_START; ~ ^~~~~~~~~~~~ ./base.h:137:22: note: expanded from macro 'ORANGE_START' #define ORANGE_START 224 ^~~ view.cpp:1256:15: warning: implicit conversion from 'int' to 'char' changes value from 208 to -48 [-Wconstant-conversion] mpcolor = WATER_START; ~ ^~~~~~~~~~~ ./base.h:135:22: note: expanded from macro 'WATER_START' #define WATER_START 208 ^~~ view.cpp:1261:17: warning: implicit conversion from 'int' to 'char' changes value from 160 to -96 [-Wconstant-conversion] namecolor = BLACK; ~ ^~~~~ ./base.h:125:22: note: expanded from macro 'BLACK' #define BLACK 160 ^~~ view.cpp:1660:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] set_display_text("NEW KEYBOARD STATE SAVED", 30); ^ view.cpp:1661:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] set_display_text("DELETE KEYPREFS.DAT FOR DEFAULTS", 30); ^ view.cpp:1711:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_palette("our.pal", screenp->newpalette); ^ view.cpp:1716:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_palette("our.pal", screenp->newpalette); ^ view.cpp:1722:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_palette("our.pal", screenp->newpalette); ^ view.cpp:1751:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] infile = open_misc_file(KEY_FILE); ^ view.cpp:112:18: note: expanded from macro 'KEY_FILE' #define KEY_FILE "keyprefs.dat" ^ view.cpp:1794:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] outfile = open_misc_file(KEY_FILE, "", "wb"); ^ view.cpp:112:18: note: expanded from macro 'KEY_FILE' #define KEY_FILE "keyprefs.dat" ^ view.cpp:1794:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] outfile = open_misc_file(KEY_FILE, "", "wb"); ^ view.cpp:1794:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] outfile = open_misc_file(KEY_FILE, "", "wb"); ^ 17 warnings generated. source='walker.cpp' object='openscen-walker.o' libtool=no \ depfile='.deps/openscen-walker.Po' tmpdepfile='.deps/openscen-walker.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-walker.o `test -f walker.cpp || echo './'`walker.cpp walker.cpp:224:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ walker.cpp:1296:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ walker.cpp:1305:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ walker.cpp:1848:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->do_notify("Fighter Disarmed Enemy!", this); ^ walker.cpp:1926:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myscreen->do_notify("50 Int required for Mystic Mace!", this); ^ walker.cpp:1961:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->do_notify("You need 60 Int to Turn Undead", this); ^ walker.cpp:2021:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->do_notify("You need 60 Int to Turn Undead", this); ^ walker.cpp:2138:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->do_notify("Need 75 Int for Marker!", this); ^ walker.cpp:2156:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->do_notify("(Old Marker Removed)", this); ^ walker.cpp:2179:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->do_notify("Teleport Marker Placed", this); ^ walker.cpp:2327:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->do_notify("Need 75 Int for Marker!", this); ^ walker.cpp:2345:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->do_notify("(Old Marker Removed)", this); ^ walker.cpp:2366:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->do_notify("Teleport Marker Placed", this); ^ walker.cpp:2485:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myscreen->do_notify("150 Int required to Summon!", this); ^ walker.cpp:3298:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screenp->do_notify("Marker is Blocked!", this); ^ 15 warnings generated. source='weap.cpp' object='openscen-weap.o' libtool=no \ depfile='.deps/openscen-weap.Po' tmpdepfile='.deps/openscen-weap.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-weap.o `test -f weap.cpp || echo './'`weap.cpp weap.cpp:74:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myscreen->do_notify("Weapon sitting", this); ^ weap.cpp:118:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myscreen->do_notify("No act type set for weapon", this); ^ 2 warnings generated. source='sai2x.cpp' object='openscen-sai2x.o' libtool=no \ depfile='.deps/openscen-sai2x.Po' tmpdepfile='.deps/openscen-sai2x.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-sai2x.o `test -f sai2x.cpp || echo './'`sai2x.cpp sai2x.cpp:159:8: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int r = 0; ^~~~~~~~~ sai2x.cpp:416:16: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int r = 0; ^~~~~~~~~ 2 warnings generated. source='util.cpp' object='openscen-util.o' libtool=no \ depfile='.deps/openscen-util.Po' tmpdepfile='.deps/openscen-util.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I. -isystem /usr/local/include -DOPENSCEN -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o openscen-util.o `test -f util.cpp || echo './'`util.cpp util.cpp:114:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return open_misc_file(file, pos_dir, "rb"); ^ util.cpp:119:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return open_misc_file(file, "", "rb"); ^ util.cpp:119:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return open_misc_file(file, "", "rb"); ^ util.cpp:200:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return get_file_path(file, pos_dir, "rb"); ^ util.cpp:205:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return get_file_path(file, "", "rb"); ^ util.cpp:205:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return get_file_path(file, "", "rb"); ^ 6 warnings generated. c++ -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++14 -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -fstack-protector-strong -L/usr/local/lib -o openscen openscen-scen.o openscen-effect.o openscen-game.o openscen-gladpack.o openscen-graphlib.o openscen-guy.o openscen-help.o openscen-input.o openscen-intro.o openscen-living.o openscen-loader.o openscen-obmap.o openscen-pal32.o openscen-parser.o openscen-pixie.o openscen-pixien.o openscen-radar.o openscen-screen.o openscen-smooth.o openscen-sound.o openscen-stats.o openscen-text.o openscen-treasure.o openscen-video.o openscen-view.o openscen-walker.o openscen-weap.o openscen-sai2x.o openscen-util.o -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_mixer gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98/src' gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98/src' Making all in sound gmake[1]: Entering directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98/sound' gmake[1]: Nothing to be done for 'all'. gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98/sound' gmake[1]: Entering directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98' cd pix; ../util/gladpack p ../graphics.001 *.pix Creating packfile ../graphics.001... cd scen; ../util/gladpack p ../levels.001 *.fss Creating packfile ../levels.001... gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98' =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for openglad-0.98_10 ===> Generating temporary packing list Making install in util gmake[1]: Entering directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98/util' gmake[2]: Entering directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98/util' gmake[2]: Nothing to be done for 'install-exec-am'. gmake[2]: Nothing to be done for 'install-data-am'. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98/util' gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98/util' Making install in src gmake[1]: Entering directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98/src' gmake[2]: Entering directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98/src' /bin/sh ../mkinstalldirs /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/bin install -s -m 555 openglad /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/bin/openglad install -s -m 555 openscen /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/bin/openscen gmake[2]: Nothing to be done for 'install-data-am'. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98/src' gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98/src' Making install in sound gmake[1]: Entering directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98/sound' gmake[2]: Entering directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98/sound' gmake[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/sound mkdir -p -- /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/sound install -m 0644 blast1.wav /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/sound/blast1.wav install -m 0644 bolt1.wav /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/sound/bolt1.wav install -m 0644 boom.wav /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/sound/boom.wav install -m 0644 charge.wav /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/sound/charge.wav install -m 0644 clang.wav /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/sound/clang.wav install -m 0644 die1.wav /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/sound/die1.wav install -m 0644 die2.wav /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/sound/die2.wav install -m 0644 eat.wav /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/sound/eat.wav install -m 0644 explode1.wav /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/sound/explode1.wav install -m 0644 faerie1.wav /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/sound/faerie1.wav install -m 0644 fwip.wav /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/sound/fwip.wav install -m 0644 heal1.wav /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/sound/heal1.wav install -m 0644 money.wav /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/sound/money.wav install -m 0644 roar.wav /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/sound/roar.wav install -m 0644 teleport.wav /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/sound/teleport.wav install -m 0644 twang.wav /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/sound/twang.wav install -m 0644 yo.wav /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/sound/yo.wav gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98/sound' gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98/sound' gmake[1]: Entering directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98' gmake[2]: Entering directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98' gmake[2]: Nothing to be done for 'install-exec-am'. /bin/sh ./mkinstalldirs /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad install -m 0644 graphics.001 /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/graphics.001 install -m 0644 levels.001 /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/levels.001 install -m 0644 start.tex /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/start.tex install -m 0644 glad.hlp /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/glad.hlp install -m 0644 openglad.cfg /wrkdirs/usr/ports/games/openglad/work/stage/usr/local/share/openglad/openglad.cfg gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98' gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/openglad/work/openglad-0.98' mkdir -p -- /wrkdirs/usr/ports/games/openglad/work/stage//usr/local/share/doc/openglad installing NEWS as /wrkdirs/usr/ports/games/openglad/work/stage//usr/local/share/doc/openglad/NEWS installing README as /wrkdirs/usr/ports/games/openglad/work/stage//usr/local/share/doc/openglad/README installing ChangeLog as /wrkdirs/usr/ports/games/openglad/work/stage//usr/local/share/doc/openglad/ChangeLog installing release-notes.txt as /wrkdirs/usr/ports/games/openglad/work/stage//usr/local/share/doc/openglad/release-notes.txt installing cheats.txt as /wrkdirs/usr/ports/games/openglad/work/stage//usr/local/share/doc/openglad/cheats.txt installing scen.txt as /wrkdirs/usr/ports/games/openglad/work/stage//usr/local/share/doc/openglad/scen.txt installing AUTHORS as /wrkdirs/usr/ports/games/openglad/work/stage//usr/local/share/doc/openglad/AUTHORS installing INSTALL as /wrkdirs/usr/ports/games/openglad/work/stage//usr/local/share/doc/openglad/INSTALL ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-03T16:10:15+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=bbab7f59e9' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for openglad-0.98_10 ===> Building openglad-0.98_10 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for openglad-0.98_10 build of games/openglad | openglad-0.98_10 ended at Wed Apr 3 17:12:14 BST 2024 build time: 00:01:59