=>> Building games/gl-117 build started at Tue Apr 2 14:46:25 BST 2024 port directory: /usr/ports/games/gl-117 package name: gl-117-1.3.2_13 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: erik@bz.bzflag.bz Makefile datestamp: -rw-r--r-- 1 root wheel 864 Jan 25 05:29 /usr/ports/games/gl-117/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 1182a310bb Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 16 ---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/16/.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 gl-117-1.3.2_13: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- erik@bz.bzflag.bz --End MAINTAINER-- --CONFIGURE_ARGS-- --with-opengl-dir=/usr/local --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/gl-117/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/gl-117/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/gl-117/work/.cache HOME=/wrkdirs/usr/ports/games/gl-117/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/gl-117/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/gl-117/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/gl-117/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/gl-117/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/gl-117/work/.cache HOME=/wrkdirs/usr/ports/games/gl-117/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/gl-117/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/gl-117/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -lpthread -L/usr/local/lib -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/gl-117" EXAMPLESDIR="share/examples/gl-117" DATADIR="share/gl-117" WWWDIR="www/gl-117" ETCDIR="etc/gl-117" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/gl-117 DOCSDIR=/usr/local/share/doc/gl-117 EXAMPLESDIR=/usr/local/share/examples/gl-117 WWWDIR=/usr/local/www/gl-117 ETCDIR=/usr/local/etc/gl-117 --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 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> gl-117-1.3.2_13 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 ===> gl-117-1.3.2_13 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of gl-117-1.3.2_13 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by gl-117-1.3.2_13 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by gl-117-1.3.2_13 for building => SHA256 Checksum OK for gl-117-1.3.2-src.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by gl-117-1.3.2_13 for building ===> Extracting for gl-117-1.3.2_13 => SHA256 Checksum OK for gl-117-1.3.2-src.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for gl-117-1.3.2_13 ===> Applying FreeBSD patches for gl-117-1.3.2_13 from /usr/ports/games/gl-117/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> gl-117-1.3.2_13 depends on shared library: libglut.so - not found ===> Installing existing package /packages/All/freeglut-3.2.1.pkg [pkg-builder.dan.net.uk] Installing freeglut-3.2.1... [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 libICE-1.1.0_2,1... [pkg-builder.dan.net.uk] `-- Extracting libICE-1.1.0_2,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXi-1.8_1,1... [pkg-builder.dan.net.uk] | `-- Installing libXfixes-6.0.0_1... [pkg-builder.dan.net.uk] | `-- Extracting libXfixes-6.0.0_1: ....... done [pkg-builder.dan.net.uk] `-- Extracting libXi-1.8_1,1: .......... 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] `-- Installing libXxf86vm-1.1.4_4... [pkg-builder.dan.net.uk] `-- Extracting libXxf86vm-1.1.4_4: .......... done [pkg-builder.dan.net.uk] Extracting freeglut-3.2.1: .......... done ===== Message from freeglut-3.2.1: -- Joystick support is untested and it is unknown if it works. Do not hesitate to contact x11@FreeBSD.org if this causes issues. ===> gl-117-1.3.2_13 depends on shared library: libglut.so - found (/usr/local/lib/libglut.so) ===> Returning to build of gl-117-1.3.2_13 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for gl-117-1.3.2_13 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 make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... cc checking for C compiler default output file name... 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 cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking dependency style of cc... gcc3 checking how to run the C preprocessor... cpp checking for X... no checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ANSI C... (cached) none needed checking dependency style of cc... (cached) gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking whether byte ordering is bigendian... no checking for OpenGL directory... /usr/local checking for SDL directory... not found 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 GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking GL/glu.h usability... yes checking GL/glu.h presence... yes checking for GL/glu.h... yes checking GL/glut.h usability... yes checking GL/glut.h presence... yes checking for GL/glut.h... yes checking SDL/SDL.h usability... no checking SDL/SDL.h presence... no checking for SDL/SDL.h... no configure: WARNING: SDL.h not found - no sounds and no joystick available checking SDL/SDL_mixer.h usability... no checking SDL/SDL_mixer.h presence... no checking for SDL/SDL_mixer.h... no configure: WARNING: SDL_mixer.h not found - no advanced sounds available checking for glEnable in -lGL... yes checking for gluPerspective in -lGLU... yes checking for glutMainLoop in -lglut... yes checking for SDL_Init in -lSDL... no configure: WARNING: SDL not found - please install SDL checking for Mix_LoadMUS in -lSDL_mixer... no configure: WARNING: SDL_mixer not found - please install SDL_mixer configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for gl-117-1.3.2_13 /usr/bin/make all-recursive Making all in src if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi In file included from main.cpp:38: In file included from ./main.h:41: In file included from ./aiobject.h:29: ./effects.h:164:8: warning: 'HighClouds::drawGL' hides overloaded virtual function [-Woverloaded-virtual] void drawGL (CVector3 *tl, CVector3 *textl); ^ ./object.h:58:16: note: hidden overloaded virtual function 'CSpaceObj::drawGL' declared here: different number of parameters (7 vs 2) virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); ^ main.cpp:669:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Could not startup mission", LOG_ERROR); ^ main.cpp:1188:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Could not init mission", LOG_ERROR); ^ main.cpp:1864:18: warning: variable 'yf' set but not used [-Wunused-but-set-variable] float zf = -3, yf; ^ main.cpp:1974:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, -0.5, -1.5, "PLEASE WAIT...", &colorwhite); ^ main.cpp:1983:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Initing new mission", LOG_MOST); ^ main.cpp:2083:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "THE FALCON IS A NIMBLE AND\nFAST FIGHTER PROVIDING\nBOTH AIR-AIR AND\nAIR-GROUND-MISSILES."; ^ main.cpp:2085:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "THE HAWK IS A TYPICAL\nALLROUNDER AND DESIGNED\nFOR GROUND ATTACKS."; ^ main.cpp:2087:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "THE HAWK II IS A ..."; ^ main.cpp:2088:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "NO INFO"; ^ main.cpp:2094:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "GL-16 FALCON"; ^ main.cpp:2096:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "GL-22 HAWK"; ^ main.cpp:2098:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "GL-23 HAWK II"; ^ main.cpp:2100:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "GL-15 REDARROW"; ^ main.cpp:2102:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "GL-117 PHOENIX"; ^ main.cpp:2104:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "GL-50 STORM"; ^ main.cpp:2106:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "CROW"; ^ main.cpp:2108:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "BUZZARD"; ^ main.cpp:2110:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "SWALLOW"; ^ main.cpp:2112:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "BLACKBIRD"; ^ main.cpp:2114:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "AIR-AIR MISSILE PACK"; ^ main.cpp:2116:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "AIR-GROUND MISSILE PACK"; ^ main.cpp:2118:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "DUMB FIRE MISSILE PACK"; ^ main.cpp:2119:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "NO INFO"; ^ main.cpp:2280:62: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (textx / fontscale, texty / fontscale, -2, "BRIEFING:", col); ^ main.cpp:2286:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (xstats / fontscale, ystats / fontscale, -2, "STATUS:", col); ^ main.cpp:2288:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (xstatstab / fontscale, ystats / fontscale, -2, "SUCCESS", colorstd); ^ main.cpp:2290:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (xstatstab / fontscale, ystats / fontscale, -2, "FAILED", colorstd); ^ main.cpp:2292:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (xstatstab / fontscale, ystats / fontscale, -2, "EMPTY", colorstd); ^ main.cpp:2296:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (xstats / fontscale, texty / fontscale, -2, "SCORE:", col); ^ main.cpp:2302:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (xstats / fontscale, texty / fontscale, -2, "KILLS:", col); ^ main.cpp:2310:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (xstats / fontscale, texty / fontscale, -2, "SCORE:", col); ^ main.cpp:2311:68: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (xstatstab / fontscale, texty / fontscale, -2, "TRAINING", col); ^ main.cpp:2314:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (textx / fontscale, piloty / fontscale, -2, "PILOTS:", col); ^ main.cpp:2327:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (textx / fontscale, -1 / fontscale, -2, "CHOOSE FIGHTER:", col); ^ main.cpp:2328:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (xstats / fontscale, -1 / fontscale, -2, "CHOOSE WEAPON PACK:", col); ^ main.cpp:2382:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 9, -1.5, "CREATE GAME"); ^ main.cpp:2385:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextScaled (-2, -12, -2, "BACK", colorstd, -missionmenutimer * 5); ^ main.cpp:2387:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (-2, -12, -2, "BACK"); ^ main.cpp:2426:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 9, -1.5, "JOIN GAME"); ^ main.cpp:2429:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextScaled (-2, -12, -2, "BACK", colorstd, -missionmenutimer * 5); ^ main.cpp:2431:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (-2, -12, -2, "BACK"); ^ main.cpp:2583:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pilots->save (dirs->getSaves ("pilots")); ^ main.cpp:2584:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Pilots saved", LOG_MOST); ^ main.cpp:2700:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2, "SUCCESS", &colorblue); ^ main.cpp:2704:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2, "FAILED", &colorred); ^ main.cpp:2707:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (xf1, yf, zf, "SCORE:", color); ^ main.cpp:2712:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (xf1, yf, zf, "DIFFICULTY:", color); ^ main.cpp:2713:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (mission->difficulty == 0) font1->drawText (xf2, yf, zf, "EASY", color); ^ main.cpp:2714:68: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else if (mission->difficulty == 1) font1->drawText (xf2, yf, zf, "NORMAL", color); ^ main.cpp:2715:68: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else if (mission->difficulty == 2) font1->drawText (xf2, yf, zf, "HARD", color); ^ main.cpp:2716:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (mission->difficulty == 0) font1->drawText (xf3, yf, zf, "-25", color); ^ main.cpp:2717:68: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else if (mission->difficulty == 1) font1->drawText (xf3, yf, zf, "+25", color); ^ main.cpp:2718:68: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else if (mission->difficulty == 2) font1->drawText (xf3, yf, zf, "+75", color); ^ main.cpp:2721:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (xf1, yf, zf, "FLIGHT MODEL:", color); ^ main.cpp:2722:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (!fplayer->realism) font1->drawText (xf2, yf, zf, "ACTION", color); ^ main.cpp:2723:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else font1->drawText (xf2, yf, zf, "SIM", color); ^ main.cpp:2724:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (!fplayer->realism) font1->drawText (xf3, yf, zf, "-25", color); ^ main.cpp:2725:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else font1->drawText (xf3, yf, zf, "+25", color); ^ main.cpp:2731:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (xf1, yf, zf, "TIME BONUS:", color); ^ main.cpp:2738:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (xf1, yf, zf, "SHIELD BONUS:", color); ^ main.cpp:2744:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (xf1, yf, zf, "KILLS:", color); ^ main.cpp:2782:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, yf, zf, "PROMOTED TO", color); ^ main.cpp:2938:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (-3, -1, -1, "PAUSED", &colorwhite); ^ main.cpp:3009:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font2->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "GAME PROGRAMMING,", col); ^ main.cpp:3010:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font2->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "GRAPHICS, MODELS, SOUND & MUSIC", col); ^ main.cpp:3011:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "THOMAS A. DREXL", col2); ^ main.cpp:3015:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "SPECIAL THANKS TO...", col); ^ main.cpp:3016:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "LENS FLARES & FURTHER DEBUGGING", col); ^ main.cpp:3017:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "PIOTR PAWLOW", col2); ^ main.cpp:3018:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "MOUSE INTERFACE & LANDSCAPE IMPROVEMENTS", col); ^ main.cpp:3019:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "LOURENS VEEN", col2); ^ main.cpp:3020:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "PUBLISHING & FURTHER GAME IDEAS", col); ^ main.cpp:3021:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "BERNHARD KAINDL", col2); ^ main.cpp:3022:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "MOON TERRAIN", col); ^ main.cpp:3023:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "NORBERT DREXL", col2); ^ main.cpp:3024:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "PHYSICAL MODEL (ACTION) & COCKPIT IMPROVEMENTS", col); ^ main.cpp:3025:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "ARNE REINERS", col2); ^ main.cpp:3026:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "...AND THANKS TO ALL PEOPLE GIVING FEEDBACK AND ADVICE", col); ^ main.cpp:3031:66: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, (yt -= 10 * ydist) / fontzoom, zf, "***********************", col); ^ main.cpp:3032:66: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, (yt -= 10 * ydist) / fontzoom, zf, "DO YOU WANT TO CONTRIBUTE?", col); ^ main.cpp:3036:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font2->drawText (xf / fontzoom, (yt -= 4 * ydist) / fontzoom, zf, "LOTS OF THINGS ARE STILL NEEDED:", col); ^ main.cpp:3037:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- DRAW TEXTURES OF TREES, BUILDINGS, ETC", col); ^ main.cpp:3038:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- DESIGN 3D MODELS", col); ^ main.cpp:3039:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- CREATE SOUNDTRACKS", col); ^ main.cpp:3040:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- MAKE MISSION SUGGESTIONS", col); ^ main.cpp:3041:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- GIVE FEEDBACK AND ADVICE", col); ^ main.cpp:3052:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 12, -3, "CONGRATULATIONS!", col); ^ main.cpp:3053:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 10, -3, "THE WORLD HAS BEEN SAVED YET AGAIN.", col); ^ main.cpp:3054:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -3, "HOPE YOU HAD FUN PLAYING GL-117!", col); ^ main.cpp:3055:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 4, -3, "THIS GAME HAS ORIGINALLY BEEN DEVELOPED AS PART", col); ^ main.cpp:3056:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 2, -3, "OF THE COURSE \"APPLICATIONS OF COMPUTER GRAPHICS\"", col); ^ main.cpp:3057:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 0, -3, "AT THE TECHNICAL UNIVERSITY OF MUNICH, GERMANY.", col); ^ main.cpp:3058:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, -2, -3, "IN FEBRUARY 2002 THE WORK WAS DONE AND I", col); ^ main.cpp:3059:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, -4, -3, "PRESENTED THE PROTOTYPE OF A FLIGHT SIM,", col); ^ main.cpp:3060:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, -6, -3, "YET WITHOUT TEXTURES, JOYSTICK, SOUNDS, MUSIC,", col); ^ main.cpp:3061:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, -8, -3, "NO CAMPAIGN!", col); ^ main.cpp:3062:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, -10, -3, "TWO MONTHS LATER THE FIRST RELEASE OF GL-117 WAS READY.", col); ^ main.cpp:3063:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, -12, -3, "FURTHER RELEASES FOLLOWED, FEEDBACK ARRIVED, AND", col); ^ main.cpp:3064:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, -14, -3, "PROGRAMMERS JOINED (LISTED IN THE CREDITS SECTION).", col); ^ main.cpp:3065:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, -16, -3, "SPECIAL THANKS TO JOSEF DREXL FOR THE MODELING IDEAS,", col); ^ main.cpp:3066:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, -18, -3, "AND THE UNIX AWARD GOES TO WOLFGANG HOMMEL ;-)", col); ^ main.cpp:3075:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 0, -2, "REALLY QUIT?", &menu_colwhite); ^ main.cpp:3578:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 0, -1.8, "PLEASE WAIT WHILE", &colorred); ^ main.cpp:3579:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, -1, -1.8, "ADJUSTING QUALITY", &colorred); ^ main.cpp:3585:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, -8, -2, "FPS TOO LOW", &colorred); ^ main.cpp:3586:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, -9, -2, "TURN DOWN VIEW OR QUALITY", &colorred); ^ main.cpp:3591:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, -8, -2, "FPS FAR TOO LOW", &colorred); ^ main.cpp:3592:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, -9, -2, "SEE \"README\" OR \"FAQ\" FILES", &colorred); ^ main.cpp:3593:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, -10, -2, "HIT \"ESC\" AND 'Y' TO EXIT THE GAME", &colorred); ^ main.cpp:3249:9: warning: variable 'fac' set but not used [-Wunused-but-set-variable] float fac = view, zfac = view * 0.2; ^ main.cpp:3249:21: warning: variable 'zfac' set but not used [-Wunused-but-set-variable] float fac = view, zfac = view * 0.2; ^ main.cpp:3916:11: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!mission->id == MISSION_DEMO) ^ ~~ main.cpp:3916:11: note: add parentheses after the '!' to evaluate the comparison first if (!mission->id == MISSION_DEMO) ^ ( ) main.cpp:3916:11: note: add parentheses around left hand side expression to silence this warning if (!mission->id == MISSION_DEMO) ^ ( ) main.cpp:4298:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Creating calculation tables", LOG_ALL); ^ main.cpp:4301:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Creating advanced OpenGL methods", LOG_ALL); ^ main.cpp:4305:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Loading textures", LOG_ALL); ^ main.cpp:4306:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texgrass = gl->genTextureTGA (dirs->getTextures ("grass1.tga"), 0, 0, 1, false); ^ main.cpp:4307:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texrocks = gl->genTextureTGA (dirs->getTextures ("rocks1.tga"), 0, 0, 1, false); ^ main.cpp:4308:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texwater = gl->genTextureTGA (dirs->getTextures ("water1.tga"), 0, 0, 1, false); ^ main.cpp:4309:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texsand = gl->genTextureTGA (dirs->getTextures ("sand1.tga"), 0, 0, 1, false); ^ main.cpp:4310:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texredsand = gl->genTextureTGA (dirs->getTextures ("redsand1.tga"), 0, 0, 1, false); ^ main.cpp:4311:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texredstone = gl->genTextureTGA (dirs->getTextures ("redstone2.tga"), 0, 0, 1, false); ^ main.cpp:4312:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texgravel1 = gl->genTextureTGA (dirs->getTextures ("gravel1.tga"), 0, 0, 1, false); ^ main.cpp:4313:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texglitter1 = gl->genTextureTGA (dirs->getTextures ("glitter.tga"), 0, -1, 0, true); ^ main.cpp:4314:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] textree = gl->genTextureTGA (dirs->getTextures ("tree1.tga"), 0, -1, 1, true); ^ main.cpp:4315:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] textreeu = gl->genTextureTGA (dirs->getTextures ("treeu1.tga"), 0, -1, 1, true); ^ main.cpp:4316:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] textree2 = gl->genTextureTGA (dirs->getTextures ("tree2.tga"), 0, -1, 1, true); ^ main.cpp:4317:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] textreeu2 = gl->genTextureTGA (dirs->getTextures ("treeu2.tga"), 0, -1, 1, true); ^ main.cpp:4318:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] textree3 = gl->genTextureTGA (dirs->getTextures ("tree3.tga"), 0, 3, 1, true); ^ main.cpp:4319:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] textreeu3 = gl->genTextureTGA (dirs->getTextures ("treeu3.tga"), 0, 3, 1, true); ^ main.cpp:4320:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] textree4 = gl->genTextureTGA (dirs->getTextures ("tree4.tga"), 0, 3, 1, true); ^ main.cpp:4321:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] textreeu4 = gl->genTextureTGA (dirs->getTextures ("treeu4.tga"), 0, 3, 1, true); ^ main.cpp:4322:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] textree5 = gl->genTextureTGA (dirs->getTextures ("tree5.tga"), 0, -1, 1, true); ^ main.cpp:4323:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] textreeu5 = gl->genTextureTGA (dirs->getTextures ("treeu5.tga"), 0, -1, 1, true); ^ main.cpp:4324:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texcactus1 = gl->genTextureTGA (dirs->getTextures ("cactus1.tga"), 0, 3, 1, true); ^ main.cpp:4325:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texcactusu1 = gl->genTextureTGA (dirs->getTextures ("cactusu1.tga"), 0, 3, 1, true); ^ main.cpp:4326:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texsmoke = gl->genTextureTGA (dirs->getTextures ("smoke1.tga"), 0, -1, 1, true); ^ main.cpp:4327:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texsmoke2 = gl->genTextureTGA (dirs->getTextures ("smoke2.tga"), 0, -1, 1, true); ^ main.cpp:4328:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texsmoke3 = gl->genTextureTGA (dirs->getTextures ("smoke3.tga"), 0, 5, 1, true); ^ main.cpp:4329:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texsun = gl->genTextureTGA (dirs->getTextures ("sun2.tga"), 1, -1, 0, true); ^ main.cpp:4330:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texmoon = gl->genTextureTGA (dirs->getTextures ("moon1.tga"), 1, 2, 0, true); ^ main.cpp:4331:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texearth = gl->genTextureTGA (dirs->getTextures ("earth.tga"), 1, 0, 0, true); ^ main.cpp:4332:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texflare1 = gl->genTextureTGA (dirs->getTextures ("flare1.tga"), 1, -1, 0, true); ^ main.cpp:4333:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texflare2 = gl->genTextureTGA (dirs->getTextures ("flare2.tga"), 1, -1, 0, true); ^ main.cpp:4334:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texflare3 = gl->genTextureTGA (dirs->getTextures ("flare3.tga"), 1, -1, 0, true); ^ main.cpp:4335:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texflare4 = gl->genTextureTGA (dirs->getTextures ("flare4.tga"), 1, -1, 0, true); ^ main.cpp:4336:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texcross = gl->genTextureTGA (dirs->getTextures ("cross.tga"), 0, -1, 1, true); ^ main.cpp:4337:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texcross2 = gl->genTextureTGA (dirs->getTextures ("cross2.tga"), 0, -1, 1, true); ^ main.cpp:4338:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texranks = gl->genTextureTGA (dirs->getTextures ("ranks.tga"), 0, 0, 0, true); ^ main.cpp:4339:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texmedals = gl->genTextureTGA (dirs->getTextures ("medals.tga"), 0, 0, 0, true); ^ main.cpp:4340:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texclouds1 = gl->genTextureTGA (dirs->getTextures ("clouds1.tga"), 0, -1, 1, true); ^ main.cpp:4341:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texclouds2 = gl->genTextureTGA (dirs->getTextures ("clouds2.tga"), 0, 4, 1, true); ^ main.cpp:4342:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texclouds3 = gl->genTextureTGA (dirs->getTextures ("clouds3.tga"), 0, 6, 1, true); ^ main.cpp:4343:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texradar1 = gl->genTextureTGA (dirs->getTextures ("radar2.tga"), 0, -1, 0, true); ^ main.cpp:4344:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texradar2 = gl->genTextureTGA (dirs->getTextures ("radar1.tga"), 0, -1, 0, true); ^ main.cpp:4345:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] texarrow = gl->genTextureTGA (dirs->getTextures ("arrow.tga"), 0, -1, 0, true); ^ main.cpp:4347:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Loading Fonts", LOG_ALL); ^ main.cpp:4348:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1 = new Font (dirs->getTextures ("font1.tga"), 32, '!', 64); ^ main.cpp:4350:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font2 = new Font (dirs->getTextures ("font2.tga"), 32, '!', 64); ^ main.cpp:4352:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Loading 3ds models:", LOG_ALL); ^ main.cpp:4353:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * gl-16.3ds", LOG_ALL); ^ main.cpp:4354:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_fig, dirs->getModels ("gl-16.3ds")); ^ main.cpp:4355:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_fig.setName ("FALCON"); ^ main.cpp:4356:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * gl-15.3ds", LOG_ALL); ^ main.cpp:4357:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_figa, dirs->getModels ("gl-15.3ds")); ^ main.cpp:4358:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_figa.setName ("SWALLOW"); ^ main.cpp:4359:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * gl-14c.3ds", LOG_ALL); ^ main.cpp:4360:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_figb, dirs->getModels ("gl-14c.3ds")); ^ main.cpp:4361:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_figb.setName ("HAWK"); ^ main.cpp:4362:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * gl-14d.3ds", LOG_ALL); ^ main.cpp:4363:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_figc, dirs->getModels ("gl-14d.3ds")); ^ main.cpp:4364:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_figc.setName ("HAWK II"); ^ main.cpp:4365:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * gl-21b.3ds", LOG_ALL); ^ main.cpp:4366:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_figd, dirs->getModels ("gl-21b.3ds")); ^ main.cpp:4367:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_figd.setName ("BUZZARD"); ^ main.cpp:4368:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * gl-21.3ds", LOG_ALL); ^ main.cpp:4369:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_fige, dirs->getModels ("gl-21.3ds")); ^ main.cpp:4370:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_fige.setName ("CROW"); ^ main.cpp:4371:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * gl-14b.3ds", LOG_ALL); ^ main.cpp:4372:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_figf, dirs->getModels ("gl-14b.3ds")); ^ main.cpp:4373:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_figf.setName ("PHOENIX"); ^ main.cpp:4374:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * gl-14.3ds", LOG_ALL); ^ main.cpp:4375:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_figg, dirs->getModels ("gl-14.3ds")); ^ main.cpp:4376:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_figg.setName ("RED ARROW"); ^ main.cpp:4377:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * gl-29.3ds", LOG_ALL); ^ main.cpp:4378:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_figh, dirs->getModels ("gl-29.3ds")); ^ main.cpp:4379:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_figh.setName ("BLACKBIRD"); ^ main.cpp:4381:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * gl-50.3ds", LOG_ALL); ^ main.cpp:4382:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_figi, dirs->getModels ("gl-50.3ds")); ^ main.cpp:4383:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_figi.setName ("STORM"); ^ main.cpp:4384:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * transp2.3ds", LOG_ALL); ^ main.cpp:4385:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_figt, dirs->getModels ("transp2.3ds")); ^ main.cpp:4386:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_figt.setName ("TRANSPORT"); ^ main.cpp:4387:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * transp4.3ds", LOG_ALL); ^ main.cpp:4388:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_figu, dirs->getModels ("transp4.3ds")); ^ main.cpp:4389:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_figu.setName ("TRANSPORT"); ^ main.cpp:4393:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * cannon1.3ds", LOG_ALL); ^ main.cpp:4394:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_cannon1, dirs->getModels ("cannon1.3ds")); ^ main.cpp:4396:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * cannon1b.3ds", LOG_ALL); ^ main.cpp:4397:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_cannon1b, dirs->getModels ("cannon1b.3ds")); ^ main.cpp:4401:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * cannon2.3ds", LOG_ALL); ^ main.cpp:4402:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_cannon2, dirs->getModels ("cannon2.3ds")); ^ main.cpp:4416:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * cannon2b.3ds", LOG_ALL); ^ main.cpp:4417:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_cannon2b, dirs->getModels ("cannon2b.3ds")); ^ main.cpp:4434:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * flare1.3ds", LOG_ALL); ^ main.cpp:4435:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_flare1, dirs->getModels ("flare1.3ds")); ^ main.cpp:4436:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_flare1.setName ("FLARE"); ^ main.cpp:4439:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * chaff1.3ds", LOG_ALL); ^ main.cpp:4440:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_chaff1, dirs->getModels ("chaff1.3ds")); ^ main.cpp:4441:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_chaff1.setName ("CHAFF"); ^ main.cpp:4444:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * missile1.3ds", LOG_ALL); ^ main.cpp:4445:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_missile1, dirs->getModels ("missile1.3ds")); ^ main.cpp:4446:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_missile1.setName ("AAM HS MK1"); ^ main.cpp:4447:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * missile2.3ds", LOG_ALL); ^ main.cpp:4448:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_missile2, dirs->getModels ("missile2.3ds")); ^ main.cpp:4449:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_missile2.setName ("AAM HS MK2"); ^ main.cpp:4450:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * missile3.3ds", LOG_ALL); ^ main.cpp:4451:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_missile3, dirs->getModels ("missile3.3ds")); ^ main.cpp:4452:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_missile3.setName ("AAM HS MK3"); ^ main.cpp:4453:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * missile4.3ds", LOG_ALL); ^ main.cpp:4454:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_missile4, dirs->getModels ("missile4.3ds")); ^ main.cpp:4455:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_missile4.setName ("AGM MK1"); ^ main.cpp:4456:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * missile5.3ds", LOG_ALL); ^ main.cpp:4457:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_missile5, dirs->getModels ("missile5.3ds")); ^ main.cpp:4458:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_missile5.setName ("AGM MK2"); ^ main.cpp:4459:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * missile6.3ds", LOG_ALL); ^ main.cpp:4460:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_missile6, dirs->getModels ("missile6.3ds")); ^ main.cpp:4461:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_missile6.setName ("DFM"); ^ main.cpp:4462:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * missile7.3ds", LOG_ALL); ^ main.cpp:4463:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_missile7, dirs->getModels ("missile7.3ds")); ^ main.cpp:4464:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_missile7.setName ("AAM FF MK1"); ^ main.cpp:4465:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * missile8.3ds", LOG_ALL); ^ main.cpp:4466:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_missile8, dirs->getModels ("missile8.3ds")); ^ main.cpp:4467:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_missile8.setName ("AAM FF MK2"); ^ main.cpp:4468:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * flak2.3ds", LOG_ALL); ^ main.cpp:4469:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_flak1, dirs->getModels ("flak2.3ds")); ^ main.cpp:4470:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_flak1.setName ("SA CANNON"); ^ main.cpp:4471:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * flarak1.3ds", LOG_ALL); ^ main.cpp:4472:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_flarak1, dirs->getModels ("flarak1.3ds")); ^ main.cpp:4473:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_flarak1.setName ("SAM"); ^ main.cpp:4474:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * ship1.3ds", LOG_ALL); ^ main.cpp:4475:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_ship1, dirs->getModels ("ship1.3ds")); ^ main.cpp:4476:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_ship1.setName ("CRUISER"); ^ main.cpp:4477:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * tent1.3ds", LOG_ALL); ^ main.cpp:4478:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_tent1, dirs->getModels ("tent1.3ds")); ^ main.cpp:4479:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_tent1.setName ("TENT"); ^ main.cpp:4480:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * gl-117.3ds", LOG_ALL); ^ main.cpp:4481:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_gl117, dirs->getModels ("gl-117.3ds")); ^ main.cpp:4483:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * tank1.3ds", LOG_ALL); ^ main.cpp:4484:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_tank1, dirs->getModels ("tank1.3ds")); ^ main.cpp:4485:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_tank1.setName ("WIESEL"); ^ main.cpp:4487:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * container1.3ds", LOG_ALL); ^ main.cpp:4488:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_container1, dirs->getModels ("container1.3ds")); ^ main.cpp:4489:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_container1.setName ("CONTAINER"); ^ main.cpp:4490:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * ship2.3ds", LOG_ALL); ^ main.cpp:4491:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_ship2, dirs->getModels ("ship2.3ds")); ^ main.cpp:4492:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_ship2.setName ("LIGHT DESTROYER"); ^ main.cpp:4493:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * truck1.3ds", LOG_ALL); ^ main.cpp:4494:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_truck1, dirs->getModels ("truck1.3ds")); ^ main.cpp:4495:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_truck1.setName ("TRUCK"); ^ main.cpp:4496:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * truck2.3ds", LOG_ALL); ^ main.cpp:4497:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_truck2, dirs->getModels ("truck2.3ds")); ^ main.cpp:4498:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_truck2.setName ("TRUCK"); ^ main.cpp:4499:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * trsam.3ds", LOG_ALL); ^ main.cpp:4500:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_trsam, dirs->getModels ("trsam.3ds")); ^ main.cpp:4501:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_trsam.setName ("MOBILE SAM"); ^ main.cpp:4502:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * pickup1.3ds", LOG_ALL); ^ main.cpp:4503:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_pickup1, dirs->getModels ("pickup1.3ds")); ^ main.cpp:4504:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_pickup1.setName ("PICKUP"); ^ main.cpp:4505:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * pickup2.3ds", LOG_ALL); ^ main.cpp:4506:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_pickup2, dirs->getModels ("pickup2.3ds")); ^ main.cpp:4507:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_pickup2.setName ("PICKUP"); ^ main.cpp:4508:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * tank2.3ds", LOG_ALL); ^ main.cpp:4509:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_tank2, dirs->getModels ("tank2.3ds")); ^ main.cpp:4510:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_tank2.setName ("PANTHER"); ^ main.cpp:4512:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * tent4.3ds", LOG_ALL); ^ main.cpp:4513:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_tent4, dirs->getModels ("tent4.3ds")); ^ main.cpp:4514:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_tent4.setName ("BIG TENT"); ^ main.cpp:4515:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * hall1.3ds", LOG_ALL); ^ main.cpp:4516:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_hall1, dirs->getModels ("hall1.3ds")); ^ main.cpp:4517:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_hall1.setName ("HALL"); ^ main.cpp:4518:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * hall2.3ds", LOG_ALL); ^ main.cpp:4519:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_hall2, dirs->getModels ("hall2.3ds")); ^ main.cpp:4520:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_hall2.setName ("HALL"); ^ main.cpp:4521:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * oilrig.3ds", LOG_ALL); ^ main.cpp:4522:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_oilrig, dirs->getModels ("oilrig.3ds")); ^ main.cpp:4523:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_oilrig.setName ("OILRIG"); ^ main.cpp:4525:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * egg.3ds", LOG_ALL); ^ main.cpp:4526:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_egg, dirs->getModels ("egg.3ds")); ^ main.cpp:4528:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_egg.setName ("COMPLEX"); ^ main.cpp:4529:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * radar.3ds", LOG_ALL); ^ main.cpp:4530:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_radar, dirs->getModels ("radar.3ds")); ^ main.cpp:4531:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_radar.setName ("RADAR"); ^ main.cpp:4532:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * mine1.3ds", LOG_ALL); ^ main.cpp:4533:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_mine1, dirs->getModels ("mine1.3ds")); ^ main.cpp:4534:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_mine1.setName ("MINE"); ^ main.cpp:4535:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * aster1.3ds", LOG_ALL); ^ main.cpp:4536:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_aster1, dirs->getModels ("aster1.3ds")); ^ main.cpp:4537:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_aster1.setName ("ASTEROID"); ^ main.cpp:4538:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * base1.3ds", LOG_ALL); ^ main.cpp:4539:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_base1, dirs->getModels ("base1.3ds")); ^ main.cpp:4540:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_base1.setName ("MOON BASE"); ^ main.cpp:4541:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * barrier.3ds", LOG_ALL); ^ main.cpp:4542:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_barrier1, dirs->getModels ("barrier.3ds")); ^ main.cpp:4543:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_barrier1.setName ("MOON BASE"); ^ main.cpp:4546:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * rubble.3ds", LOG_ALL); ^ main.cpp:4547:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_rubble1, dirs->getModels ("rubble.3ds")); ^ main.cpp:4548:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_base1.setName ("RUBBLE"); ^ main.cpp:4549:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" * depot1.3ds", LOG_ALL); ^ main.cpp:4550:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_depot1, dirs->getModels ("depot1.3ds")); ^ main.cpp:4551:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_depot1.setName ("DEPOT"); ^ main.cpp:4553:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Load3ds.Import3DS (&model_house1, dirs->getModels ("house1.3ds")); ^ main.cpp:4554:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] model_house1.setName ("HOUSE"); ^ main.cpp:4573:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Setting up world geometry", LOG_ALL); ^ main.cpp:4602:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] textitle = gl->genTextureTGA (dirs->getTextures ("patents.tga"), 0, 0, 0, true); ^ main.cpp:4718:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font2->drawText (20, -20, -3, VERSIONSTRING, &color); ^ ./common.h:52:23: note: expanded from macro 'VERSIONSTRING' #define VERSIONSTRING "V1.3" ^ main.cpp:5220:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Out of sync", LOG_ERROR); ^ main.cpp:5577:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("No configuration file found. Testing...", LOG_MOST); ^ main.cpp:5581:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Using GLUT only", LOG_MOST); ^ main.cpp:5616:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("No working display modes found! Try editing the file conf yourself. You may not be able to play this game.", LOG_FATAL); ^ main.cpp:5635:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" ", LOG_NONE); ^ main.cpp:5636:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Usage: gl-117 [-h -v -dLEVEL]", LOG_NONE); ^ main.cpp:5637:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" ", LOG_NONE); ^ main.cpp:5638:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("-h: Display this help screen and quit", LOG_NONE); ^ main.cpp:5639:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("-v: Display version string and quit", LOG_NONE); ^ main.cpp:5640:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("-dLEVEL: Set debug LEVEL to 0=silent...5=log all", LOG_NONE); ^ main.cpp:5641:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (" ", LOG_NONE); ^ main.cpp:5657:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Invalid debug level", LOG_FATAL); ^ main.cpp:5669:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display (VERSIONSTRING, LOG_NONE); ^ ./common.h:52:23: note: expanded from macro 'VERSIONSTRING' #define VERSIONSTRING "V1.3" ^ main.cpp:5679:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Invalid command line parameter", LOG_FATAL); ^ main.cpp:5889:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ((Label *) submenu [0]->components [i + 2])->setText ("N/A"); ^ main.cpp:5902:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ((EditField *) submenu [0]->components [9])->setText (""); ^ main.cpp:6036:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ((Label *) controlsmenu [2]->components [z])->setText ("A 0"); ^ main.cpp:6038:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ((Label *) controlsmenu [2]->components [z])->setText ("A 1"); ^ main.cpp:6040:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ((Label *) controlsmenu [2]->components [z])->setText ("A 2"); ^ main.cpp:6042:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ((Label *) controlsmenu [2]->components [z])->setText ("A 3"); ^ main.cpp:6044:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ((Label *) controlsmenu [2]->components [z])->setText ("A 4"); ^ main.cpp:6046:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ((Label *) controlsmenu [2]->components [z])->setText ("A 5"); ^ main.cpp:6308:74: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (wantfullscreen) ((Label *) optmenu [0]->components [18])->setText ("YES"); ^ main.cpp:6309:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else ((Label *) optmenu [0]->components [18])->setText ("NO"); ^ main.cpp:6571:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("DELETE (RIGHT MB)"); ^ main.cpp:6578:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("ADD"); ^ main.cpp:6634:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("FIGHTER INFO"); ^ main.cpp:6686:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("PILOTS RANKING"); ^ main.cpp:6728:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("QUALITY"); ^ main.cpp:6740:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("VIEW"); ^ main.cpp:6752:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("DITHERING"); ^ main.cpp:6765:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("ANTIALIASING"); ^ main.cpp:6778:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("SPECIAL EFFECTS"); ^ main.cpp:6791:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("DYN LIGHTING"); ^ main.cpp:6804:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("BRIGHTNESS"); ^ main.cpp:6824:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("RESOLUTION"); ^ main.cpp:6836:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("FULLSCREEN"); ^ main.cpp:6857:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] textfield = new TextField ("PLEASE INSTALL SDL AND\nSDLMIXER AND RECOMIPLE\nGL-117 TO ENABLE SOUND\nAND MUSIC", 0.6); ^ main.cpp:6905:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("DIFFICULTY"); ^ main.cpp:6919:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("PHYSICS"); ^ main.cpp:6932:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("CONTROLS"); ^ main.cpp:6957:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] label = new Label ("ROLL: \t LEFT, RIGHT"); ^ main.cpp:6962:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] label = new Label ("ELEVATOR: \t UP, DOWN"); ^ main.cpp:6967:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] label = new Label ("RUDDER: \t LSHIFT+ROLL"); ^ main.cpp:6972:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] label = new Label ("THROTTLE: \t 1...9"); ^ main.cpp:6977:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] label = new Label ("CAMERA: \t F1...F8"); ^ main.cpp:7020:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("LOAD DEFAULTS"); ^ main.cpp:7033:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("SENSITIVITY"); ^ main.cpp:7045:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("REVERSE"); ^ main.cpp:7058:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("RELATIVE"); ^ main.cpp:7071:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("AUTORUDDER"); ^ main.cpp:7106:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("LOAD DEFAULTS"); ^ main.cpp:7232:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] textfield = new TextField ("", yfstep - 0.1); ^ main.cpp:7266:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] textfield = new TextField ("", yfstep - 0.1); ^ main.cpp:7271:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button ("<"); ^ main.cpp:7275:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button (">"); ^ main.cpp:7279:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] textfield = new TextField ("", yfstep - 0.1); ^ main.cpp:7334:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button (" BACK TO MAIN MENU"); ^ main.cpp:7339:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button (" START MISSION"); ^ main.cpp:7358:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button (" YES"); ^ main.cpp:7363:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button (" NO"); ^ main.cpp:7382:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button = new Button (" CONTINUE"); ^ main.cpp:7421:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Getting directory locations", LOG_ALL); ^ main.cpp:7426:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Creating new configuration", LOG_ALL); ^ main.cpp:7444:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Creating/Loading pilots list", LOG_ALL); ^ main.cpp:7445:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pilots = new PilotList (dirs->getSaves ("pilots")); // look at pilots.h ^ main.cpp:7450:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Using GLUT only", LOG_MOST); ^ main.cpp:7467:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Calling main initialization method", LOG_ALL); ^ main.cpp:7470:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Creating dummy sound system, install SDL to enable sound", LOG_ALL); ^ main.cpp:7475:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Registering GLUT callbacks", LOG_ALL); ^ main.cpp:7492:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Entering GLUT main loop", LOG_ALL); ^ main.cpp:4903:13: warning: unused function 'myKeyboardFuncUp' [-Wunused-function] static void myKeyboardFuncUp (unsigned char key, int x, int y) ^ main.cpp:4919:13: warning: unused function 'mySpecialFuncUp' [-Wunused-function] static void mySpecialFuncUp (int key, int x, int y) ^ main.cpp:4925:13: warning: unused function 'myPassiveRelMotionFunc' [-Wunused-function] static void myPassiveRelMotionFunc (int xrel, int yrel) ^ main.cpp:5160:13: warning: unused function 'myJoystickAxisFunc' [-Wunused-function] static void myJoystickAxisFunc (int x, int y, int t, int r) ^ main.cpp:5169:13: warning: unused function 'myJoystickButtonFunc' [-Wunused-function] static void myJoystickButtonFunc (int button) ^ main.cpp:5182:13: warning: unused function 'myJoystickHatFunc' [-Wunused-function] static void myJoystickHatFunc (int hat) ^ 393 warnings generated. if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT gl.o -MD -MP -MF ".deps/gl.Tpo" -c -o gl.o gl.cpp; then mv -f ".deps/gl.Tpo" ".deps/gl.Po"; else rm -f ".deps/gl.Tpo"; exit 1; fi if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT model.o -MD -MP -MF ".deps/model.Tpo" -c -o model.o model.cpp; then mv -f ".deps/model.Tpo" ".deps/model.Po"; else rm -f ".deps/model.Tpo"; exit 1; fi if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT 3ds.o -MD -MP -MF ".deps/3ds.Tpo" -c -o 3ds.o 3ds.cpp; then mv -f ".deps/3ds.Tpo" ".deps/3ds.Po"; else rm -f ".deps/3ds.Tpo"; exit 1; fi 3ds.cpp:59:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] int tmp; ^ 3ds.cpp:506:3: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete p; ^ [] 3ds.cpp:499:17: note: allocated with 'new[]' here CVector2 *p = new CVector2 [object->numTexVertex]; ^ 3ds.cpp:535:3: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete p; ^ [] 3ds.cpp:518:17: note: allocated with 'new[]' here CVector3 *p = new CVector3 [object->numVertices]; ^ In file included from 3ds.cpp:32: ./3ds.h:133:9: warning: private field 'filepointer' is not used [-Wunused-private-field] FILE *filepointer; ^ 4 warnings generated. if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT audio.o -MD -MP -MF ".deps/audio.Tpo" -c -o audio.o audio.cpp; then mv -f ".deps/audio.Tpo" ".deps/audio.Po"; else rm -f ".deps/audio.Tpo"; exit 1; fi if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT land.o -MD -MP -MF ".deps/land.Tpo" -c -o land.o land.cpp; then mv -f ".deps/land.Tpo" ".deps/land.Po"; else rm -f ".deps/land.Tpo"; exit 1; fi land.cpp:749:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ land.cpp:1042:37: warning: '&&' within '||' [-Wlogical-op-parentheses] if (f [i - 1] [i2] == ROCKS && f [i + 1] [i2] == ROCKS || ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ land.cpp:1042:37: note: place parentheses around the '&&' expression to silence this warning if (f [i - 1] [i2] == ROCKS && f [i + 1] [i2] == ROCKS || ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ land.cpp:1043:37: warning: '&&' within '||' [-Wlogical-op-parentheses] f [i] [i2 - 1] == ROCKS && f [i] [i2 + 1] == ROCKS) ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ land.cpp:1043:37: note: place parentheses around the '&&' expression to silence this warning f [i] [i2 - 1] == ROCKS && f [i] [i2 + 1] == ROCKS) ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ land.cpp:1046:39: warning: '&&' within '||' [-Wlogical-op-parentheses] if (f [i - 1] [i2] == GLACIER && f [i + 1] [i2] == GLACIER || ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ land.cpp:1046:39: note: place parentheses around the '&&' expression to silence this warning if (f [i - 1] [i2] == GLACIER && f [i + 1] [i2] == GLACIER || ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ land.cpp:1047:39: warning: '&&' within '||' [-Wlogical-op-parentheses] f [i] [i2 - 1] == GLACIER && f [i] [i2 + 1] == GLACIER) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ land.cpp:1047:39: note: place parentheses around the '&&' expression to silence this warning f [i] [i2 - 1] == GLACIER && f [i] [i2 + 1] == GLACIER) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ land.cpp:1074:17: warning: variable 'w' set but not used [-Wunused-but-set-variable] int i, i2, n, w, timeout = 0; ^ land.cpp:1384:38: warning: '&&' within '||' [-Wlogical-op-parentheses] if (isWoods (f [i - 1] [i2]) && isWoods (f [i + 1] [i2]) || ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ land.cpp:1384:38: note: place parentheses around the '&&' expression to silence this warning if (isWoods (f [i - 1] [i2]) && isWoods (f [i + 1] [i2]) || ^ ( ) land.cpp:1385:38: warning: '&&' within '||' [-Wlogical-op-parentheses] isWoods (f [i] [i2 - 1]) && isWoods (f [i] [i2 + 1])) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ land.cpp:1385:38: note: place parentheses around the '&&' expression to silence this warning isWoods (f [i] [i2 - 1]) && isWoods (f [i] [i2 + 1])) ^ ( ) land.cpp:1407:35: warning: bitwise comparison always evaluates to false [-Wtautological-bitwise-compare] else if ((f [i] [i2] & 4) == 2) f [i] [i2] --; ~~~~~~~~~~~~~~~~~^~~~ land.cpp:1406:30: warning: bitwise comparison always evaluates to false [-Wtautological-bitwise-compare] if ((f [i] [i2] & 4) == 1) f [i] [i2] ++; ~~~~~~~~~~~~~~~~~^~~~ 10 warnings generated. if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT glland.o -MD -MP -MF ".deps/glland.Tpo" -c -o glland.o glland.cpp; then mv -f ".deps/glland.Tpo" ".deps/glland.Po"; else rm -f ".deps/glland.Tpo"; exit 1; fi In file included from glland.cpp:26: In file included from ./glland.h:30: In file included from ./aiobject.h:29: ./effects.h:164:8: warning: 'HighClouds::drawGL' hides overloaded virtual function [-Woverloaded-virtual] void drawGL (CVector3 *tl, CVector3 *textl); ^ ./object.h:58:16: note: hidden overloaded virtual function 'CSpaceObj::drawGL' declared here: different number of parameters (7 vs 2) virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); ^ glland.cpp:2048:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("view exceeds ray casting blocks - not implemented", LOG_FATAL); ^ 2 warnings generated. if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT aiobject.o -MD -MP -MF ".deps/aiobject.Tpo" -c -o aiobject.o aiobject.cpp; then mv -f ".deps/aiobject.Tpo" ".deps/aiobject.Po"; else rm -f ".deps/aiobject.Tpo"; exit 1; fi In file included from aiobject.cpp:26: In file included from ./aiobject.h:29: ./effects.h:164:8: warning: 'HighClouds::drawGL' hides overloaded virtual function [-Woverloaded-virtual] void drawGL (CVector3 *tl, CVector3 *textl); ^ ./object.h:58:16: note: hidden overloaded virtual function 'CSpaceObj::drawGL' declared here: different number of parameters (7 vs 2) virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); ^ aiobject.cpp:36:37: warning: 'memcpy' call operates on objects of type 'float' while the size is based on a different type 'float *' [-Wsizeof-pointer-memaccess] memcpy (&net [z], &tl->x, sizeof (&tl->x)); ~~~~~~ ^~~~~~ aiobject.cpp:36:37: note: did you mean to remove the addressof in the argument to 'sizeof' (and multiply it by the number of elements)? memcpy (&net [z], &tl->x, sizeof (&tl->x)); ^~~~~~ aiobject.cpp:38:37: warning: 'memcpy' call operates on objects of type 'float' while the size is based on a different type 'float *' [-Wsizeof-pointer-memaccess] memcpy (&net [z], &tl->y, sizeof (&tl->y)); ~~~~~~ ^~~~~~ aiobject.cpp:38:37: note: did you mean to remove the addressof in the argument to 'sizeof' (and multiply it by the number of elements)? memcpy (&net [z], &tl->y, sizeof (&tl->y)); ^~~~~~ aiobject.cpp:40:37: warning: 'memcpy' call operates on objects of type 'float' while the size is based on a different type 'float *' [-Wsizeof-pointer-memaccess] memcpy (&net [z], &tl->z, sizeof (&tl->z)); ~~~~~~ ^~~~~~ aiobject.cpp:40:37: note: did you mean to remove the addressof in the argument to 'sizeof' (and multiply it by the number of elements)? memcpy (&net [z], &tl->z, sizeof (&tl->z)); ^~~~~~ aiobject.cpp:42:35: warning: 'memcpy' call operates on objects of type 'float' while the size is based on a different type 'float *' [-Wsizeof-pointer-memaccess] memcpy (&net [z], &phi, sizeof (&phi)); ~~~~ ^~~~ aiobject.cpp:42:35: note: did you mean to remove the addressof in the argument to 'sizeof' (and multiply it by the number of elements)? memcpy (&net [z], &phi, sizeof (&phi)); ^~~~ aiobject.cpp:44:37: warning: 'memcpy' call operates on objects of type 'float' while the size is based on a different type 'float *' [-Wsizeof-pointer-memaccess] memcpy (&net [z], &theta, sizeof (&theta)); ~~~~~~ ^~~~~~ aiobject.cpp:44:37: note: did you mean to remove the addressof in the argument to 'sizeof' (and multiply it by the number of elements)? memcpy (&net [z], &theta, sizeof (&theta)); ^~~~~~ aiobject.cpp:46:37: warning: 'memcpy' call operates on objects of type 'float' while the size is based on a different type 'float *' [-Wsizeof-pointer-memaccess] memcpy (&net [z], &gamma, sizeof (&gamma)); ~~~~~~ ^~~~~~ aiobject.cpp:46:37: note: did you mean to remove the addressof in the argument to 'sizeof' (and multiply it by the number of elements)? memcpy (&net [z], &gamma, sizeof (&gamma)); ^~~~~~ aiobject.cpp:55:37: warning: 'memcpy' call operates on objects of type 'float' while the size is based on a different type 'float *' [-Wsizeof-pointer-memaccess] memcpy (&tl->x, &net [z], sizeof (&tl->x)); ~~~~~~ ^~~~~~ aiobject.cpp:55:37: note: did you mean to remove the addressof in the argument to 'sizeof' (and multiply it by the number of elements)? memcpy (&tl->x, &net [z], sizeof (&tl->x)); ^~~~~~ aiobject.cpp:57:37: warning: 'memcpy' call operates on objects of type 'float' while the size is based on a different type 'float *' [-Wsizeof-pointer-memaccess] memcpy (&tl->y, &net [z], sizeof (&tl->y)); ~~~~~~ ^~~~~~ aiobject.cpp:57:37: note: did you mean to remove the addressof in the argument to 'sizeof' (and multiply it by the number of elements)? memcpy (&tl->y, &net [z], sizeof (&tl->y)); ^~~~~~ aiobject.cpp:59:37: warning: 'memcpy' call operates on objects of type 'float' while the size is based on a different type 'float *' [-Wsizeof-pointer-memaccess] memcpy (&tl->z, &net [z], sizeof (&tl->z)); ~~~~~~ ^~~~~~ aiobject.cpp:59:37: note: did you mean to remove the addressof in the argument to 'sizeof' (and multiply it by the number of elements)? memcpy (&tl->z, &net [z], sizeof (&tl->z)); ^~~~~~ aiobject.cpp:61:35: warning: 'memcpy' call operates on objects of type 'float' while the size is based on a different type 'float *' [-Wsizeof-pointer-memaccess] memcpy (&phi, &net [z], sizeof (&phi)); ~~~~ ^~~~ aiobject.cpp:61:35: note: did you mean to remove the addressof in the argument to 'sizeof' (and multiply it by the number of elements)? memcpy (&phi, &net [z], sizeof (&phi)); ^~~~ aiobject.cpp:63:37: warning: 'memcpy' call operates on objects of type 'float' while the size is based on a different type 'float *' [-Wsizeof-pointer-memaccess] memcpy (&theta, &net [z], sizeof (&theta)); ~~~~~~ ^~~~~~ aiobject.cpp:63:37: note: did you mean to remove the addressof in the argument to 'sizeof' (and multiply it by the number of elements)? memcpy (&theta, &net [z], sizeof (&theta)); ^~~~~~ aiobject.cpp:65:37: warning: 'memcpy' call operates on objects of type 'float' while the size is based on a different type 'float *' [-Wsizeof-pointer-memaccess] memcpy (&gamma, &net [z], sizeof (&gamma)); ~~~~~~ ^~~~~~ aiobject.cpp:65:37: note: did you mean to remove the addressof in the argument to 'sizeof' (and multiply it by the number of elements)? memcpy (&gamma, &net [z], sizeof (&gamma)); ^~~~~~ aiobject.cpp:1735:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Missile to flare", LOG_ALL); ^ aiobject.cpp:1781:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Missile to chaff", LOG_ALL); ^ aiobject.cpp:2449:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Manoever: Vertical climb", LOG_ALL); ^ aiobject.cpp:2656:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Manoever: Immelmann", LOG_ALL); ^ aiobject.cpp:2661:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Manoever: Immelmann", LOG_ALL); ^ aiobject.cpp:2668:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Manoever: Roll", LOG_ALL); ^ aiobject.cpp:2676:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Manoever: Turn", LOG_ALL); ^ aiobject.cpp:2683:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Manoever: Height change", LOG_ALL); ^ aiobject.cpp:2714:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Manoever: Immelmann", LOG_ALL); ^ aiobject.cpp:2719:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Manoever: Immelmann", LOG_ALL); ^ aiobject.cpp:2726:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Manoever: Roll", LOG_ALL); ^ aiobject.cpp:2734:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Manoever: Turn", LOG_ALL); ^ aiobject.cpp:2741:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Manoever: Height change", LOG_ALL); ^ 26 warnings generated. if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT effects.o -MD -MP -MF ".deps/effects.Tpo" -c -o effects.o effects.cpp; then mv -f ".deps/effects.Tpo" ".deps/effects.Po"; else rm -f ".deps/effects.Tpo"; exit 1; fi In file included from effects.cpp:29: ./effects.h:164:8: warning: 'HighClouds::drawGL' hides overloaded virtual function [-Woverloaded-virtual] void drawGL (CVector3 *tl, CVector3 *textl); ^ ./object.h:58:16: note: hidden overloaded virtual function 'CSpaceObj::drawGL' declared here: different number of parameters (7 vs 2) virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); ^ 1 warning generated. if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT vertexarray.o -MD -MP -MF ".deps/vertexarray.Tpo" -c -o vertexarray.o vertexarray.cpp; then mv -f ".deps/vertexarray.Tpo" ".deps/vertexarray.Po"; else rm -f ".deps/vertexarray.Tpo"; exit 1; fi vertexarray.cpp:160:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Out of memory", LOG_FATAL); ^ 1 warning generated. if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT net.o -MD -MP -MF ".deps/net.Tpo" -c -o net.o net.cpp; then mv -f ".deps/net.Tpo" ".deps/net.Po"; else rm -f ".deps/net.Tpo"; exit 1; fi In file included from net.cpp:27: In file included from ./main.h:41: In file included from ./aiobject.h:29: ./effects.h:164:8: warning: 'HighClouds::drawGL' hides overloaded virtual function [-Woverloaded-virtual] void drawGL (CVector3 *tl, CVector3 *textl); ^ ./object.h:58:16: note: hidden overloaded virtual function 'CSpaceObj::drawGL' declared here: different number of parameters (7 vs 2) virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); ^ 1 warning generated. if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT mathtab.o -MD -MP -MF ".deps/mathtab.Tpo" -c -o mathtab.o mathtab.cpp; then mv -f ".deps/mathtab.Tpo" ".deps/mathtab.Po"; else rm -f ".deps/mathtab.Tpo"; exit 1; fi if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT dirs.o -MD -MP -MF ".deps/dirs.Tpo" -c -o dirs.o dirs.cpp; then mv -f ".deps/dirs.Tpo" ".deps/dirs.Po"; else rm -f ".deps/dirs.Tpo"; exit 1; fi dirs.cpp:141:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] p = mystrtok (p, (int) (path + pathlen - p), ":"); ^ dirs.cpp:158:71: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] p = mystrtok (p + strlen (p) + 1, (int) (path + pathlen - p), ":"); ^ dirs.cpp:161:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Binary file has no context to the data files.", LOG_FATAL); ^ dirs.cpp:185:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Binary file has no context to the data files.", LOG_FATAL); ^ dirs.cpp:194:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] append (saves, ".gl-117"); ^ dirs.cpp:230:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] append (textures, "textures"); ^ dirs.cpp:231:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] append (music, "music"); ^ dirs.cpp:232:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] append (sound, "sounds"); ^ dirs.cpp:233:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] append (models, "models"); ^ dirs.cpp:234:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] append (maps, "maps"); ^ 10 warnings generated. if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT objload.o -MD -MP -MF ".deps/objload.Tpo" -c -o objload.o objload.cpp; then mv -f ".deps/objload.Tpo" ".deps/objload.Po"; else rm -f ".deps/objload.Tpo"; exit 1; fi if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT pilots.o -MD -MP -MF ".deps/pilots.Tpo" -c -o pilots.o pilots.cpp; then mv -f ".deps/pilots.Tpo" ".deps/pilots.Po"; else rm -f ".deps/pilots.Tpo"; exit 1; fi In file included from pilots.cpp:31: In file included from ./mission.h:28: In file included from ./aiobject.h:29: ./effects.h:164:8: warning: 'HighClouds::drawGL' hides overloaded virtual function [-Woverloaded-virtual] void drawGL (CVector3 *tl, CVector3 *textl); ^ ./object.h:58:16: note: hidden overloaded virtual function 'CSpaceObj::drawGL' declared here: different number of parameters (7 vs 2) virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); ^ pilots.cpp:55:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (ranking == 0) return "AIRMAN BASIC"; ^ pilots.cpp:56:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else if (ranking == 1) return "AIRMAN"; ^ pilots.cpp:57:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else if (ranking == 2) return "AIRMAN 1ST CLASS"; ^ pilots.cpp:58:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else if (ranking == 3) return "2ND LIEUTNANT"; ^ pilots.cpp:59:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else if (ranking == 4) return "1ST LIEUTNANT"; ^ pilots.cpp:60:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else if (ranking == 5) return "CAPTAIN"; ^ pilots.cpp:61:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else if (ranking == 6) return "MAJOR"; ^ pilots.cpp:62:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else if (ranking == 7) return "COLONEL"; ^ pilots.cpp:63:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else return "GENERAL"; ^ pilots.cpp:68:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (ranking == 0) return "AB"; ^ pilots.cpp:69:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else if (ranking == 1) return "ARM"; ^ pilots.cpp:70:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else if (ranking == 2) return "A1C"; ^ pilots.cpp:71:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else if (ranking == 3) return "2ND LT"; ^ pilots.cpp:72:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else if (ranking == 4) return "1ST LT"; ^ pilots.cpp:73:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else if (ranking == 5) return "CAPT"; ^ pilots.cpp:74:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else if (ranking == 6) return "MAJ"; ^ pilots.cpp:75:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else if (ranking == 7) return "COL"; ^ pilots.cpp:76:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] else return "GEN"; ^ pilots.cpp:140:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tp [0] = new TeamPilot (5, "PRIMETIME", 200, 100, 150, 20); ^ pilots.cpp:141:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tp [1] = new TeamPilot (1, "HEPTARGON", 80, 220, 300, 1); ^ pilots.cpp:142:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tp [2] = new TeamPilot (2, "KARA", 180, 160, 50, 4); ^ pilots.cpp:143:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tp [3] = new TeamPilot (6, "SHARK", 70, 90, 120, 22); ^ pilots.cpp:144:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tp [4] = new TeamPilot (3, "BOSS", 250, 180, 80, 10); ^ pilots.cpp:145:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tp [5] = new TeamPilot (2, "DR DOOM", 320, 210, 20, 2); ^ pilots.cpp:146:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tp [6] = new TeamPilot (4, "SHADOW", 130, 200, 320, 15); ^ pilots.cpp:147:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tp [7] = new TeamPilot (7, "MATRIX", 40, 80, 180, 25); ^ pilots.cpp:148:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tp [8] = new TeamPilot (1, "FIREBIRD", 250, 140, 100, 1); ^ pilots.cpp:149:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tp [9] = new TeamPilot (4, "THUNDER", 150, 170, 60, 18); ^ pilots.cpp:150:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tp [10] = new TeamPilot (0, "PLAYER", 0, 0, 0, 0); ^ pilots.cpp:158:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Could not load pilot", LOG_WARN); ^ pilots.cpp:185:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Could not write pilot", LOG_WARN); ^ pilots.cpp:212:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { ranking = 0; return "AIRMAN BASIC"; } ^ pilots.cpp:214:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { ranking = 1; return "AIRMAN"; } ^ pilots.cpp:216:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { ranking = 2; return "AIRMAN 1ST CLASS"; } ^ pilots.cpp:218:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { ranking = 3; return "2ND LIEUTNANT"; } ^ pilots.cpp:220:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { ranking = 4; return "1ST LIEUTNANT"; } ^ pilots.cpp:222:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { ranking = 5; return "CAPTAIN"; } ^ pilots.cpp:224:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { ranking = 6; return "MAJOR"; } ^ pilots.cpp:226:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { ranking = 7; return "COLONEL"; } ^ pilots.cpp:228:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { ranking = 8; return "GENERAL"; } ^ pilots.cpp:254:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { ranking = 0; return "AB"; } ^ pilots.cpp:256:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { ranking = 1; return "AMN"; } ^ pilots.cpp:258:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { ranking = 2; return "A1C"; } ^ pilots.cpp:260:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { ranking = 3; return "2ND LT"; } ^ pilots.cpp:262:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { ranking = 4; return "1ST LT"; } ^ pilots.cpp:264:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { ranking = 5; return "CAPT"; } ^ pilots.cpp:266:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { ranking = 6; return "MAJ"; } ^ pilots.cpp:268:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { ranking = 7; return "COL"; } ^ pilots.cpp:270:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { ranking = 8; return "GEN"; } ^ pilots.cpp:296:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Could not load saves/pilots", LOG_WARN); ^ pilots.cpp:298:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add ("PLAYER"); ^ pilots.cpp:325:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Could not write saves/pilots", LOG_WARN); ^ 53 warnings generated. if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT loader_tga.o -MD -MP -MF ".deps/loader_tga.Tpo" -c -o loader_tga.o loader_tga.cpp; then mv -f ".deps/loader_tga.Tpo" ".deps/loader_tga.Po"; else rm -f ".deps/loader_tga.Tpo"; exit 1; fi loader_tga.cpp:198:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Out of memory", LOG_FATAL); ^ loader_tga.cpp:217:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Out of memory", LOG_FATAL); ^ loader_tga.cpp:438:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Out of memory", LOG_FATAL); ^ 3 warnings generated. if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT object.o -MD -MP -MF ".deps/object.Tpo" -c -o object.o object.cpp; then mv -f ".deps/object.Tpo" ".deps/object.Po"; else rm -f ".deps/object.Tpo"; exit 1; fi if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT conf.o -MD -MP -MF ".deps/conf.Tpo" -c -o conf.o conf.cpp; then mv -f ".deps/conf.Tpo" ".deps/conf.Po"; else rm -f ".deps/conf.Tpo"; exit 1; fi conf.cpp:153:7: warning: comparison of array 'res' equal to a null pointer is always false [-Wtautological-pointer-compare] if (res == NULL) return -1; ^~~ ~~~~ conf.cpp:204:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *confname = dirs->getSaves ("conf"); ^ conf.cpp:210:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Could not save configuration", LOG_ERROR); ^ conf.cpp:214:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Configuration\n"); ^ conf.cpp:215:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Some possible width x height values for fullscreen mode:"); ^ conf.cpp:216:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# 640x480, 800x600, 1024x768, 1152x864, 1280x768, 1280x960, 1280x1024"); ^ conf.cpp:217:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" width", wantwidth); ^ conf.cpp:218:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" height", wantheight); ^ conf.cpp:219:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Possible bits per pixel values (color depth):"); ^ conf.cpp:220:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# 8 (not recommended), 16, 24, 32"); ^ conf.cpp:221:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" bpp", bpp); ^ conf.cpp:222:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Try to go fullscreen = 1, game in window = 0"); ^ conf.cpp:223:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" fullscreen", wantfullscreen); ^ conf.cpp:224:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Quality: 0=software rendered up to 5=best (default=2)"); ^ conf.cpp:225:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" quality", quality); ^ conf.cpp:226:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Far clipping plane: 20..100 (default=50)"); ^ conf.cpp:227:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" view", (int) view); ^ conf.cpp:228:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Dithering: 0=off, 1=on (default=1)"); ^ conf.cpp:229:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" dithering", dithering); ^ conf.cpp:230:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Antialiasing: 0=off, 1=on (default=1)"); ^ conf.cpp:231:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" antialiasing", antialiasing); ^ conf.cpp:232:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Special effects: 0=off, 1=on (default=1)"); ^ conf.cpp:233:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" specialeffects", specialeffects); ^ conf.cpp:234:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Dynamic lighting: 0=off, 1=on (default=1)"); ^ conf.cpp:235:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" dynamiclighting", dynamiclighting); ^ conf.cpp:242:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Piloting controls: 0=keyboard, 1=mouse easy, 2=joystick"); ^ conf.cpp:243:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" controls", controls); ^ conf.cpp:244:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Difficulty level: 0=easy, 1=medium, 2=hard"); ^ conf.cpp:245:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" difficulty", difficulty); ^ conf.cpp:246:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Brightness: -50..50 per cent (default=0)"); ^ conf.cpp:247:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" brightness", brightness); ^ conf.cpp:248:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Physics: 0=action, 1=realistic"); ^ conf.cpp:249:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" physics", physics); ^ conf.cpp:250:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("\n# This file is meant to give sensible startup settings"); ^ conf.cpp:251:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# as graphic cards and drivers may differ some 100 times in speed"); ^ conf.cpp:252:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("\n# To get back to default settings, just delete this file!"); ^ conf.cpp:261:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *confname = dirs->getSaves ("saveconf"); ^ conf.cpp:267:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Could not save working graphics mode configuration", LOG_ERROR); ^ conf.cpp:271:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Working backup configuration\n"); ^ conf.cpp:272:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Do not edit this file. It is only used to restore a broken configuration!"); ^ conf.cpp:273:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" width", width); ^ conf.cpp:274:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" height", height); ^ conf.cpp:275:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" bpp", bpp); ^ conf.cpp:276:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" fullscreen", fullscreen); ^ conf.cpp:286:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *confname = dirs->getSaves ("conf"); ^ conf.cpp:297:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "width"); ^ conf.cpp:306:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "height"); ^ conf.cpp:315:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "bpp"); ^ conf.cpp:323:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "fullscreen"); ^ conf.cpp:331:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "quality"); ^ conf.cpp:339:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "view"); ^ conf.cpp:353:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "dithering"); ^ conf.cpp:357:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "antialiasing"); ^ conf.cpp:361:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "specialeffects"); ^ conf.cpp:365:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "dynamiclighting"); ^ conf.cpp:387:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "controls"); ^ conf.cpp:395:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "difficulty"); ^ conf.cpp:403:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "brightness"); ^ conf.cpp:411:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "physics"); ^ conf.cpp:428:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *confname = dirs->getSaves ("saveconf"); ^ conf.cpp:439:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "savewidth"); ^ conf.cpp:447:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "saveheight"); ^ conf.cpp:455:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "savebpp"); ^ conf.cpp:463:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "savefullscreen"); ^ conf.cpp:485:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *confname = dirs->getSaves ("conf.interface"); ^ conf.cpp:491:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Could not save interface configuration", LOG_ERROR); ^ conf.cpp:494:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Interface configuration\n"); ^ conf.cpp:495:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# ---------------------------------------------------------------------"); ^ conf.cpp:496:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Keyboard section"); ^ conf.cpp:497:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# ---------------------------------------------------------------------\n"); ^ conf.cpp:498:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Use ASCII-Code values or letters to remap"); ^ conf.cpp:499:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# 8=BACKSPACE, 13=ENTER, 32=SPACE, 65=A...90=Z (NOT case sensitive)"); ^ conf.cpp:500:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" key_firecannon", (int) key_firecannon); ^ conf.cpp:501:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" key_firemissile", (int) key_firemissile); ^ conf.cpp:502:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" key_dropflare", (int) key_dropflare); ^ conf.cpp:503:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" key_dropchaff", (int) key_dropchaff); ^ conf.cpp:504:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" key_selectmissile", (int) key_selectmissile); ^ conf.cpp:505:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Target nearest enemy with priority for enemies in front of you"); ^ conf.cpp:506:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" key_targetnearest", (int) key_targetnearest); ^ conf.cpp:507:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Target next enemy who has locked you"); ^ conf.cpp:508:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" key_targetlocking", (int) key_targetlocking); ^ conf.cpp:509:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" key_targetnext", (int) key_targetnext); ^ conf.cpp:510:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" key_targetprevious", (int) key_targetprevious); ^ conf.cpp:511:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" key_incthrust", (int) key_thrustup); ^ conf.cpp:512:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" key_decthrust", (int) key_thrustdown); ^ conf.cpp:513:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# All other piloting keys (CURSORS, PGUP/DN) are fixed."); ^ conf.cpp:514:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("\n# ---------------------------------------------------------------------"); ^ conf.cpp:515:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Mouse section"); ^ conf.cpp:516:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# ---------------------------------------------------------------------\n"); ^ conf.cpp:517:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Sensitivity: 70...200%, 70%=full screen area, 200%=max sensitivity"); ^ conf.cpp:518:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" mouse_sensitivity", (int) mouse_sensitivity); ^ conf.cpp:519:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Reverse y-axis: 0 (no) or 1 (yes)"); ^ conf.cpp:520:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" mouse_reverse", (int) mouse_reverse); ^ conf.cpp:521:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Relative coordinates: 0 (no) or 1 (yes)"); ^ conf.cpp:522:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" mouse_relative", (int) mouse_relative); ^ conf.cpp:523:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Auto rudder on x-axis, dead area for rolls: 0...100"); ^ conf.cpp:524:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" mouse_autorudder", (int) mouse_autorudder); ^ conf.cpp:525:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("\n# Buttons: 1=Left, 2=Middle, 3=Right"); ^ conf.cpp:530:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" mouse_firecannon", mousebutton); ^ conf.cpp:534:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" mouse_firemissile", mousebutton); ^ conf.cpp:538:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->write (" mouse_selectmissile", mousebutton); ^ conf.cpp:539:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("\n# ---------------------------------------------------------------------"); ^ conf.cpp:540:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Joystick section"); ^ conf.cpp:541:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# ---------------------------------------------------------------------\n"); ^ conf.cpp:542:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# The number of axes, buttons, and the coolie hat depends on your joystick!"); ^ conf.cpp:543:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Numbers start with A=first joystick, B=second joystick...J=10th joystick"); ^ conf.cpp:544:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# followed by a number to identify axes, buttons, and coolie hat\n"); ^ conf.cpp:545:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Axis: 0...MAX-1 (maybe 0=aileron 1=elevator 2=throttle 3=rudder)"); ^ conf.cpp:546:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] writeJoystick (cf, " joystick_aileron", joystick_aileron); ^ conf.cpp:547:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] writeJoystick (cf, " joystick_elevator", joystick_elevator); ^ conf.cpp:548:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] writeJoystick (cf, " joystick_throttle", joystick_throttle); ^ conf.cpp:549:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] writeJoystick (cf, " joystick_rudder", joystick_rudder); ^ conf.cpp:550:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] writeJoystick (cf, " joystick_view_x", joystick_view_x); ^ conf.cpp:551:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] writeJoystick (cf, " joystick_view_y", joystick_view_y); ^ conf.cpp:552:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("\n# Buttons: 0...MAX-1, Coolie: 100=Right, 101=Up, 102=Left, 103=Down"); ^ conf.cpp:553:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] writeJoystick (cf, " joystick_firecannon", joystick_firecannon); ^ conf.cpp:554:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] writeJoystick (cf, " joystick_firemissile", joystick_firemissile); ^ conf.cpp:555:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("# Dropping chaff AND flare may be preferred"); ^ conf.cpp:556:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] writeJoystick (cf, " joystick_dropflare", joystick_dropflare); ^ conf.cpp:557:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] writeJoystick (cf, " joystick_dropchaff", joystick_dropchaff); ^ conf.cpp:558:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] writeJoystick (cf, " joystick_selectmissile", joystick_selectmissile); ^ conf.cpp:559:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] writeJoystick (cf, " joystick_targetnearest", joystick_targetnearest); ^ conf.cpp:560:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] writeJoystick (cf, " joystick_targetlocking", joystick_targetlocking); ^ conf.cpp:561:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] writeJoystick (cf, " joystick_targetnext", joystick_targetnext); ^ conf.cpp:562:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] writeJoystick (cf, " joystick_targetprevious", joystick_targetprevious); ^ conf.cpp:563:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] writeJoystick (cf, " joystick_incthrust", joystick_thrustup); ^ conf.cpp:564:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] writeJoystick (cf, " joystick_decthrust", joystick_thrustdown); ^ conf.cpp:565:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("\n# This file is meant to give sensible custom interface settings"); ^ conf.cpp:566:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] cf->writeText ("\n# To get back to default settings, just delete this file!"); ^ conf.cpp:605:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *confname = dirs->getSaves ("conf.interface"); ^ conf.cpp:610:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "key_firecannon"); ^ conf.cpp:613:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "key_firemissile"); ^ conf.cpp:616:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "key_dropchaff"); ^ conf.cpp:619:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "key_dropflare"); ^ conf.cpp:622:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "key_selectmissile"); ^ conf.cpp:625:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "key_targetnearest"); ^ conf.cpp:628:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "key_targetlocking"); ^ conf.cpp:631:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "key_targetnext"); ^ conf.cpp:634:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "key_targetprevious"); ^ conf.cpp:637:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "key_incthrust"); ^ conf.cpp:640:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "key_decthrust"); ^ conf.cpp:643:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "mouse_sensitivity"); ^ conf.cpp:651:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "mouse_reverse"); ^ conf.cpp:657:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "mouse_relative"); ^ conf.cpp:663:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "mouse_autorudder"); ^ conf.cpp:672:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "mouse_firecannon"); ^ conf.cpp:681:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "mouse_firemissile"); ^ conf.cpp:690:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "mouse_selectmissile"); ^ conf.cpp:699:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "joystick_aileron"); ^ conf.cpp:702:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "joystick_elevator"); ^ conf.cpp:705:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "joystick_throttle"); ^ conf.cpp:708:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "joystick_rudder"); ^ conf.cpp:711:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "joystick_view_x"); ^ conf.cpp:714:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "joystick_view_y"); ^ conf.cpp:717:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "joystick_firecannon"); ^ conf.cpp:720:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "joystick_firemissile"); ^ conf.cpp:723:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "joystick_dropchaff"); ^ conf.cpp:726:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "joystick_dropflare"); ^ conf.cpp:729:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "joystick_selectmissile"); ^ conf.cpp:732:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "joystick_targetnearest"); ^ conf.cpp:735:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "joystick_targetlocking"); ^ conf.cpp:738:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "joystick_targetnext"); ^ conf.cpp:741:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "joystick_targetprevious"); ^ conf.cpp:744:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "joystick_incthrust"); ^ conf.cpp:747:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] str = cf->getString (ret, "joystick_decthrust"); ^ 165 warnings generated. if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT mission.o -MD -MP -MF ".deps/mission.Tpo" -c -o mission.o mission.cpp; then mv -f ".deps/mission.Tpo" ".deps/mission.Po"; else rm -f ".deps/mission.Tpo"; exit 1; fi In file included from mission.cpp:28: In file included from ./mission.h:28: In file included from ./aiobject.h:29: ./effects.h:164:8: warning: 'HighClouds::drawGL' hides overloaded virtual function [-Woverloaded-virtual] void drawGL (CVector3 *tl, CVector3 *textl); ^ ./object.h:58:16: note: hidden overloaded virtual function 'CSpaceObj::drawGL' declared here: different number of parameters (7 vs 2) virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); ^ mission.cpp:385:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "LEAVE THE JOYSTICK CENTERED.", &textcolor); ^ mission.cpp:386:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "THE FIGHTER SHOULD FLY STRAIGHT ON.", &textcolor); ^ mission.cpp:387:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "IF NOT, RECALIBRATE YOUR JOYSTICK", &textcolor); ^ mission.cpp:391:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "THE MENU OPTIONS/CONTROLS LETS YOU", &textcolor); ^ mission.cpp:392:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "DETERMINE THE INPUT DEVICE.", &textcolor); ^ mission.cpp:393:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "CURRENTLY, THIS IS THE MOUSE", &textcolor); ^ mission.cpp:397:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "THE MENU OPTIONS/CONTROLS LETS YOU", &textcolor); ^ mission.cpp:398:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "DETERMINE THE INPUT DEVICE.", &textcolor); ^ mission.cpp:399:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "CURRENTLY, THIS IS THE KEYBOARD", &textcolor); ^ mission.cpp:406:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "MOVING THE JOYSTICK LEFT OR RIGHT", &textcolor); ^ mission.cpp:407:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "WILL AFFECT THE AILERON.", &textcolor); ^ mission.cpp:408:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "THUS YOU WILL ONLY ROLL", &textcolor); ^ mission.cpp:414:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "THE MOUSE INTERFACE IS VERY EASY.", &textcolor); ^ mission.cpp:415:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "ALWAYS POINT TO WHERE YOU WANT TO FLY.", &textcolor); ^ mission.cpp:416:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "YOU'LL HAVE TO MOVE THE MOUSE PERMANENTLY", &textcolor); ^ mission.cpp:420:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "THE REVERTED MOUSE IS FOR REAL GAMERS ONLY.", &textcolor); ^ mission.cpp:421:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "THE STANDARD MOUSE INTERFACE MAY BE", &textcolor); ^ mission.cpp:422:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "EASIER TO LEARN", &textcolor); ^ mission.cpp:426:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "MOUSE RELATIVE IS A LOT OF WORK.", &textcolor); ^ mission.cpp:427:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "ONLY THE RELATIVE MOUSE COORDINATES (MOVING)", &textcolor); ^ mission.cpp:428:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "WILL HAVE AN EFFECT", &textcolor); ^ mission.cpp:433:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "THE KEYBOARD INTERFACE IS NOT THAT EASY.", &textcolor); ^ mission.cpp:434:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "USING THE MOUSE IS STRONLY RECOMMENDED", &textcolor); ^ mission.cpp:441:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "MOVING UP OR DOWN WILL AFFECT", &textcolor); ^ mission.cpp:442:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "THE ELEVATOR.", &textcolor); ^ mission.cpp:443:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "YOU'LL START TO FLY A LOOP", &textcolor); ^ mission.cpp:447:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "MOVING RIGHT OR LEFT WILL AFFECT THE AILERON,", &textcolor); ^ mission.cpp:448:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "MOVING UP OR DOWN WILL AFFECT THE ELEVATOR.", &textcolor); ^ mission.cpp:449:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "THUS YOU CAN FLY ROLLS AND LOOPS", &textcolor); ^ mission.cpp:456:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "IF YOUR JOYSTICK HAS A SO-CALLED \"RUDDER\",", &textcolor); ^ mission.cpp:457:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "YOU MAY ALTER THE FIGHTER'S RUDDER.", &textcolor); ^ mission.cpp:458:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "YOU'LL SLIGHTLY FLY TO THE LEFT OR RIGHT", &textcolor); ^ mission.cpp:462:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "MOVING THE MOUSE SLIGHTLY LEFT OR RIGHT", &textcolor); ^ mission.cpp:463:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "WILL AFFECT THE RUDDER.", &textcolor); ^ mission.cpp:467:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "TO ALTER THE RUDDER", &textcolor); ^ mission.cpp:468:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "USE THE KEYS PGUP AND PGDN", &textcolor); ^ mission.cpp:475:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "YOUR JOYSTICK HAS ALSO A THROTTLE", &textcolor); ^ mission.cpp:476:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "TO SPEEDUP OR DECELERATE.", &textcolor); ^ mission.cpp:477:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "THERE IS NO WAY TO ENTIRELY STOP", &textcolor); ^ mission.cpp:481:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "USE THE KEYS '1' THROUGH '9' TO ALTER", &textcolor); ^ mission.cpp:482:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "YOUR THROTTLE (SPEED).", &textcolor); ^ mission.cpp:483:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "THERE IS NO WAY TO ENTIRELY STOP", &textcolor); ^ mission.cpp:490:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "THE PREDEFINED JOYSTICK BUTTONS:", &textcolor); ^ mission.cpp:491:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "FIRE CANNON, DROP CHAFF/FLARE,", &textcolor); ^ mission.cpp:492:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "FIRE MISSILE, CHOOSE MISSILE", &textcolor); ^ mission.cpp:496:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "LEFT MOUSE BUTTON: FIRE CANNON", &textcolor); ^ mission.cpp:497:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "RIGHT MOUSE BUTTON: FIRE MISSILE", &textcolor); ^ mission.cpp:498:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "BUT YOU SHOULD REALLY PREFER THE KEYBOARD", &textcolor); ^ mission.cpp:502:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "NOW, LETS HAVE A LOOK AT SOME IMPORTANT KEYS", &textcolor); ^ mission.cpp:509:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "A SUMMARY OF COMMANDS CAN BE FOUND IN THE MENU.", &textcolor); ^ mission.cpp:510:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "\"ESC\" WILL SHOW THE MENU", &textcolor); ^ mission.cpp:511:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "AND RETURN BACK TO THE ACTION", &textcolor); ^ mission.cpp:528:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "LOOK AT THE RADAR ON THE BOTTOM OF YOUR SCREEN.", &textcolor); ^ mission.cpp:529:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "THERE ARE ENEMIES REPRESENTED BY A YELLOW POINT (TARGETED)", &textcolor); ^ mission.cpp:530:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "AND A RED POINT (NOT TARGETED)", &textcolor); ^ mission.cpp:536:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "YOU MAY TARGET AN ENEMY USING THE COOLIE HAT,", &textcolor); ^ mission.cpp:540:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "THEN APPROACH!", &textcolor); ^ mission.cpp:544:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "YOU MAY TARGET AN ENEMY PRESSING", &textcolor); ^ mission.cpp:548:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "THEN APPROACH!", &textcolor); ^ mission.cpp:553:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "SHOOT THE TARGETS TO COMPLETE", &textcolor); ^ mission.cpp:554:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "THIS TUTORIAL SUCCESSFULLY", &textcolor); ^ mission.cpp:649:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "FIRSTLY, HAVE A LOOK AT YOUR MISSILES:", &textcolor); ^ mission.cpp:653:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "AGM (AIR-GROUND-MISSILE) AND DF (DUMB FIRE)", &textcolor); ^ mission.cpp:657:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "LET'S USE THE AGM: AS SOON AS THE TARGET", &textcolor); ^ mission.cpp:658:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "IS LOCKED (YELLOW), SHOOT THE AGM AT ANY", &textcolor); ^ mission.cpp:659:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "DIRECTION AND WATCH WHERE IT GOES.", &textcolor); ^ mission.cpp:663:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "THEN TRY A DF MISSILE BUT CAREFUL:", &textcolor); ^ mission.cpp:664:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "IT IS QUITE 'DUMB' AND WILL FLY STRAIGHT AHEAD.", &textcolor); ^ mission.cpp:668:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "HOWEVER, DF MISSILES WILL CAUSE MUCH MORE DAMAGE", &textcolor); ^ mission.cpp:672:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "NOW, BLOW UP THE TWO TANKS", &textcolor); ^ mission.cpp:724:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "THE MENU OPTIONS/CONTROLS LETS YOU DEFINE DIFFICULTY", &textcolor); ^ mission.cpp:725:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "AND REALISM. CHANGING THESE SETTINGS WILL ONLY HAVE", &textcolor); ^ mission.cpp:726:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "EFFECT ON THE NEXT MISSION YOU START", &textcolor); ^ mission.cpp:730:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "APART FROM YOUR CURRENT PHYSICS SETTINGS", &textcolor); ^ mission.cpp:731:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "LET'S USE THE SIMULATION MODEL AND DISCUSS", &textcolor); ^ mission.cpp:732:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "THE FOUR FORCES THRUST, DRAG, LIFT, AND WEIGHT", &textcolor); ^ mission.cpp:736:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "THRUST IS FORWARD FORCE CREATED BY THE ENGINES.", &textcolor); ^ mission.cpp:737:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "CHANGE THE THRUST TO GAIN OR LOSE SPEED", &textcolor); ^ mission.cpp:741:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "DRAG IS THE RETARDING FORCE THAT LIMITS THE AIRCRAFT'S", &textcolor); ^ mission.cpp:742:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "SPEED. IT IS MAINLY CAUSED BY THE AIRCRAFT'S STRUCTURE", &textcolor); ^ mission.cpp:743:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "THAT PROTUDES INTO THE WIND", &textcolor); ^ mission.cpp:747:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "LIFT IS THE UPWARD FORCE CREATED BY THE AIRFLOW THAT PASSES", &textcolor); ^ mission.cpp:748:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "OVER THE WINGS. IN STRAIGHT UNACCELERATED FLIGHT, IT", &textcolor); ^ mission.cpp:749:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "COMPENSATES THE WEIGHT AND YOUR FIGHTER WON'T CLIMB OR DIVE", &textcolor); ^ mission.cpp:753:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "THE LIFT FORCE DEPENDS ON THE SPEED:", &textcolor); ^ mission.cpp:754:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "LOW SPEED WILL CAUSE THE AIRPLANE TO DIVE,", &textcolor); ^ mission.cpp:755:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "AT HIGH SPEED IT WILL EVEN CLIMB", &textcolor); ^ mission.cpp:759:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "NOW TRY THIS EFFECT BY FLYING STRAIGHT AHEAD AT 0 DEGREE", &textcolor); ^ mission.cpp:760:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "ELEVATION WHILE USING THE LOWEST/HIGHEST THRUST SETTINGS", &textcolor); ^ mission.cpp:764:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "IF YOU FLY A ROLL, THE LIFT WILL NOT OPPOSE THE THRUST", &textcolor); ^ mission.cpp:765:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "AND YOU WILL LOSE HEIGHT. TRY!", &textcolor); ^ mission.cpp:769:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "IF YOU ROLL TO THE SIDE, THE LIFT WILL TEAR THE AIRCRAFT", &textcolor); ^ mission.cpp:770:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "FROM STRAIGHT FLIGHT TO A DIAGONAL DIRECTION WHILE", &textcolor); ^ mission.cpp:771:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "LOSING HEIGHT. TRY!", &textcolor); ^ mission.cpp:775:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "THE OVERALL FORCE IS GAINED BY ADDING THE FOUR FORCES.", &textcolor); ^ mission.cpp:776:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "IT IS MEASURED IN 'G' WITH 1G MEANING THE EARTH'S GRAVITY", &textcolor); ^ mission.cpp:780:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "YOU ARE MOSTLY OPPOSED TO MORE THAN ONLY 1G. BE CAREFUL:", &textcolor); ^ mission.cpp:781:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "9G OR MORE MAY LEAD TO A BLACKOUT,", &textcolor); ^ mission.cpp:782:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "AT LESS THAN -3G THE BLOOD WILL SHOOT INTO YOUR HEAD", &textcolor); ^ mission.cpp:786:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "NOW ROLL ON THE BACK AND GET RID OF", &textcolor); ^ mission.cpp:787:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "THE TWO TRANSPORTERS AHEAD", &textcolor); ^ mission.cpp:907:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "THAT WAS EASY", &textcolor); ^ mission.cpp:908:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "BUT CAN YOU HANDLE TWO ENEMIES?", &textcolor); ^ mission.cpp:913:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "OK, LET'S TRY THREE ENEMIES", &textcolor); ^ mission.cpp:924:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "THERE IS AN ENEMY ATTACKING", &textcolor); ^ mission.cpp:928:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "SELECT A MISSILE", &textcolor); ^ mission.cpp:932:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "CHOOSE A FRIEND-FOE (FF) MISSILE", &textcolor); ^ mission.cpp:933:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "WHICH DETECTS ENEMIES BY RADAR.", &textcolor); ^ mission.cpp:934:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "SHOOT AS EARLY AS POSSIBLE", &textcolor); ^ mission.cpp:938:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "YOU CAN ONLY FIRE MISSILES WHEN", &textcolor); ^ mission.cpp:939:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "THE RECTANGULAR LOCK AROUND THE ENEMY", &textcolor); ^ mission.cpp:940:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "APPEARS YELLOW", &textcolor); ^ mission.cpp:944:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "CHECK THE CHAFF/FLARE DISPLAYS.", &textcolor); ^ mission.cpp:945:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "IF THEY START BLINKING, AN ENEMY HAS", &textcolor); ^ mission.cpp:946:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 5, -2.5, "FIRED A MISSILE TO GET YOU DOWN", &textcolor); ^ mission.cpp:950:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "CHAFF IS A DECOY FOR RADAR SEEKING MISSILES,", &textcolor); ^ mission.cpp:951:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "FLARES PROTECT FROM INFRARED MISSILES", &textcolor); ^ mission.cpp:959:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "THE COUNTER MEASURE ONLY HAD AN EFFECT,", &textcolor); ^ mission.cpp:960:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "IF THE DISPLAYS STOP BLINKING", &textcolor); ^ mission.cpp:964:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -2.5, "A LITTLE TARGETING HINT:", &textcolor); ^ mission.cpp:1079:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "TRANSPORTERS RESPAWNING", &textcolor); ^ mission.cpp:1084:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "TRANSPORTERS RESPAWNING", &textcolor); ^ mission.cpp:1803:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "NEXT WAVE - YOU ARE FULLY REPAIRED", &textcolor); ^ mission.cpp:1808:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 6, -2.5, "NEXT WAVE - YOU ARE FULLY REPAIRED", &textcolor); ^ mission.cpp:1984:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 4, -2, "ALMOST! GET CLEARLY BEHIND HIM!", &textcolor); ^ mission.cpp:2240:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -3, "MORE ENEMIES ENTERING THE REGION", &textcolor); ^ mission.cpp:2984:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -3, "MORE TANKS ARE ATTACKING", &textcolor); ^ mission.cpp:3090:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 7, -3, "BOMBERS ARE ENTERING THE REGION", &textcolor); ^ mission.cpp:4394:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawTextCentered (0, 0, -1, "DOGFIGHT"); ^ 130 warnings generated. if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT cockpit.o -MD -MP -MF ".deps/cockpit.Tpo" -c -o cockpit.o cockpit.cpp; then mv -f ".deps/cockpit.Tpo" ".deps/cockpit.Po"; else rm -f ".deps/cockpit.Tpo"; exit 1; fi In file included from cockpit.cpp:29: In file included from ./main.h:41: In file included from ./aiobject.h:29: ./effects.h:164:8: warning: 'HighClouds::drawGL' hides overloaded virtual function [-Woverloaded-virtual] void drawGL (CVector3 *tl, CVector3 *textl); ^ ./object.h:58:16: note: hidden overloaded virtual function 'CSpaceObj::drawGL' declared here: different number of parameters (7 vs 2) virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); ^ cockpit.cpp:463:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (xf - 0.5, yf - 2.0, zf, "S", &color); ^ cockpit.cpp:465:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (xf - 0.5, yf - 2.0, zf, "E", &color); ^ cockpit.cpp:467:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (xf - 0.5, yf - 2.0, zf, "N", &color); ^ cockpit.cpp:469:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1->drawText (xf - 0.5, yf - 2.0, zf, "W", &color); ^ 5 warnings generated. if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT common.o -MD -MP -MF ".deps/common.Tpo" -c -o common.o common.cpp; then mv -f ".deps/common.Tpo" ".deps/common.Po"; else rm -f ".deps/common.Tpo"; exit 1; fi common.cpp:47:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ((display_out = fopen (dirs->getSaves ("logfile.txt"), "wt")) != NULL) ^ common.cpp:62:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Out of memory", LOG_FATAL); ^ 2 warnings generated. if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT menu.o -MD -MP -MF ".deps/menu.Tpo" -c -o menu.o menu.cpp; then mv -f ".deps/menu.Tpo" ".deps/menu.Po"; else rm -f ".deps/menu.Tpo"; exit 1; fi In file included from menu.cpp:27: In file included from ./main.h:41: In file included from ./aiobject.h:29: ./effects.h:164:8: warning: 'HighClouds::drawGL' hides overloaded virtual function [-Woverloaded-virtual] void drawGL (CVector3 *tl, CVector3 *textl); ^ ./object.h:58:16: note: hidden overloaded virtual function 'CSpaceObj::drawGL' declared here: different number of parameters (7 vs 2) virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); ^ 1 warning generated. if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT fileloader.o -MD -MP -MF ".deps/fileloader.Tpo" -c -o fileloader.o fileloader.cpp; then mv -f ".deps/fileloader.Tpo" ".deps/fileloader.Po"; else rm -f ".deps/fileloader.Tpo"; exit 1; fi if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -MT maploader.o -MD -MP -MF ".deps/maploader.Tpo" -c -o maploader.o maploader.cpp; then mv -f ".deps/maploader.Tpo" ".deps/maploader.Po"; else rm -f ".deps/maploader.Tpo"; exit 1; fi In file included from maploader.cpp:30: In file included from ./maploader.h:27: In file included from ./aiobject.h:29: ./effects.h:164:8: warning: 'HighClouds::drawGL' hides overloaded virtual function [-Woverloaded-virtual] void drawGL (CVector3 *tl, CVector3 *textl); ^ ./object.h:58:16: note: hidden overloaded virtual function 'CSpaceObj::drawGL' declared here: different number of parameters (7 vs 2) virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); ^ maploader.cpp:57:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (!file_open (dirs->getMaps ("maps.txt"))) ^ maploader.cpp:73:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] file_setWhitespace (" \t\r\n"); ^ maploader.cpp:74:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] file_addComment ("#", "\n"); ^ maploader.cpp:74:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] file_addComment ("#", "\n"); ^ maploader.cpp:75:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding] file_setQuotes ("\"'`"); ^~~~ maploader.cpp:75:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] file_setQuotes ("\"'`"); ^ maploader.cpp:145:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Assignment symbol '=' is missing"); ^ maploader.cpp:152:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Unexpected end of file"); ^ maploader.cpp:163:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (!file_find ("\n")) return 0; ^ maploader.cpp:235:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Heading value must be an integer"); ^ maploader.cpp:259:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Time value must be an integer in [0...24]"); ^ maploader.cpp:266:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Time value must be an integer in [0...24]"); ^ maploader.cpp:300:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Only 32 bpp TGA files are valid"); ^ maploader.cpp:313:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Scaleheight value must be a float number in [0...1]"); ^ maploader.cpp:320:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Scaleheight value must be a float number in [0...1]"); ^ maploader.cpp:333:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Tree needs a number suffix like \"Tree2\" with number in [1...3]"); ^ maploader.cpp:339:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Tree value must be an integer in [0...100]"); ^ maploader.cpp:345:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Tree value must be an integer in [0...100]"); ^ maploader.cpp:369:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Too many objects defined"); ^ maploader.cpp:426:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Party value must be an integer"); ^ maploader.cpp:437:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Level value must be an integer in [0...10]"); ^ maploader.cpp:443:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Level value must be an integer in [0...10]"); ^ maploader.cpp:451:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("X value must be a float number"); ^ maploader.cpp:462:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Y value must be a float number"); ^ maploader.cpp:473:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Inittime value must be a float number"); ^ maploader.cpp:485:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Critical value must be an integer"); ^ maploader.cpp:511:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Too many text blocks"); ^ maploader.cpp:530:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Starttime value must be a float number"); ^ maploader.cpp:542:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Delay value must be a float number"); ^ maploader.cpp:576:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("No object defined yet: coords origin could not be set"); ^ maploader.cpp:587:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("No object defined yet: coords origin could not be set"); ^ maploader.cpp:608:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Quadrant value must be an integer in [1...16]"); ^ maploader.cpp:614:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Quadrant value must be an integer in [1...16]"); ^ maploader.cpp:657:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Pilot needs a number suffix like \"Pilot5\" with number in [1...maxpilots]"); ^ maploader.cpp:664:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Invalid pilot name"); ^ maploader.cpp:677:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Fighter needs a number suffix like \"Fighter1\" with number in [1...3]"); ^ maploader.cpp:689:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Invalid fighter type"); ^ maploader.cpp:698:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Weapon needs a number suffix like \"Weapon\" with number in [1...3]"); ^ maploader.cpp:707:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Invalid weapon type"); ^ maploader.cpp:715:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Maxtime value must be a float number"); ^ maploader.cpp:741:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error ("Could not open map file"); ^ maploader.cpp:871:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] display ("Map has a valid bpp entry but seems to be corrupt", LOG_FATAL); ^ 43 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -lpthread -L/usr/local/lib -fstack-protector-strong -lm -lGL -lGLU -lglut -o gl-117 main.o gl.o model.o 3ds.o audio.o land.o glland.o aiobject.o effects.o vertexarray.o net.o mathtab.o dirs.o objload.o pilots.o loader_tga.o object.o conf.o mission.o cockpit.o common.o menu.o fileloader.o maploader.o -L/usr/X11R6/lib -L/usr/local/lib -lGL -lGLU -lglut =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for gl-117-1.3.2_13 ===> Generating temporary packing list Making install in src test -z "/usr/local/bin" || /bin/sh ../mkinstalldirs "/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/bin" install -s -m 555 'gl-117' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/bin/gl-117' test -z "/usr/local/share/gl-117/models" || /bin/sh ./mkinstalldirs "/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models" mkdir /wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117 mkdir /wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models install -m 0644 'models/aster1.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/aster1.3ds' install -m 0644 'models/barrier.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/barrier.3ds' install -m 0644 'models/base1.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/base1.3ds' install -m 0644 'models/cannon1.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/cannon1.3ds' install -m 0644 'models/cannon1b.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/cannon1b.3ds' install -m 0644 'models/cannon2.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/cannon2.3ds' install -m 0644 'models/cannon2b.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/cannon2b.3ds' install -m 0644 'models/chaff1.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/chaff1.3ds' install -m 0644 'models/container1.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/container1.3ds' install -m 0644 'models/depot1.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/depot1.3ds' install -m 0644 'models/egg.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/egg.3ds' install -m 0644 'models/flak2.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/flak2.3ds' install -m 0644 'models/flarak1.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/flarak1.3ds' install -m 0644 'models/flare1.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/flare1.3ds' install -m 0644 'models/gl-117.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/gl-117.3ds' install -m 0644 'models/gl-14.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/gl-14.3ds' install -m 0644 'models/gl-14b.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/gl-14b.3ds' install -m 0644 'models/gl-14c.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/gl-14c.3ds' install -m 0644 'models/gl-14d.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/gl-14d.3ds' install -m 0644 'models/gl-15.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/gl-15.3ds' install -m 0644 'models/gl-16.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/gl-16.3ds' install -m 0644 'models/gl-21.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/gl-21.3ds' install -m 0644 'models/gl-21b.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/gl-21b.3ds' install -m 0644 'models/gl-29.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/gl-29.3ds' install -m 0644 'models/gl-50.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/gl-50.3ds' install -m 0644 'models/hall1.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/hall1.3ds' install -m 0644 'models/hall2.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/hall2.3ds' install -m 0644 'models/house1.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/house1.3ds' install -m 0644 'models/mine1.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/mine1.3ds' install -m 0644 'models/missile1.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/missile1.3ds' install -m 0644 'models/missile2.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/missile2.3ds' install -m 0644 'models/missile3.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/missile3.3ds' install -m 0644 'models/missile4.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/missile4.3ds' install -m 0644 'models/missile5.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/missile5.3ds' install -m 0644 'models/missile6.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/missile6.3ds' install -m 0644 'models/missile7.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/missile7.3ds' install -m 0644 'models/missile8.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/missile8.3ds' install -m 0644 'models/oilrig.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/oilrig.3ds' install -m 0644 'models/pickup1.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/pickup1.3ds' install -m 0644 'models/pickup2.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/pickup2.3ds' install -m 0644 'models/radar.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/radar.3ds' install -m 0644 'models/rubble.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/rubble.3ds' install -m 0644 'models/ship1.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/ship1.3ds' install -m 0644 'models/ship2.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/ship2.3ds' install -m 0644 'models/tank1.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/tank1.3ds' install -m 0644 'models/tank2.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/tank2.3ds' install -m 0644 'models/tent1.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/tent1.3ds' install -m 0644 'models/tent4.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/tent4.3ds' install -m 0644 'models/transp1.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/transp1.3ds' install -m 0644 'models/transp2.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/transp2.3ds' install -m 0644 'models/transp4.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/transp4.3ds' install -m 0644 'models/trsam.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/trsam.3ds' install -m 0644 'models/truck1.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/truck1.3ds' install -m 0644 'models/truck2.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/truck2.3ds' install -m 0644 'models/wall.3ds' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/models/wall.3ds' test -z "/usr/local/share/gl-117/music" || /bin/sh ./mkinstalldirs "/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/music" mkdir /wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/music install -m 0644 'music/ambient.s3m' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/music/ambient.s3m' install -m 0644 'music/dark.s3m' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/music/dark.s3m' install -m 0644 'music/electro.s3m' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/music/electro.s3m' install -m 0644 'music/loser.s3m' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/music/loser.s3m' install -m 0644 'music/softtec.s3m' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/music/softtec.s3m' install -m 0644 'music/standby.s3m' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/music/standby.s3m' install -m 0644 'music/stars.s3m' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/music/stars.s3m' install -m 0644 'music/winner.s3m' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/music/winner.s3m' test -z "/usr/local/share/gl-117/sounds" || /bin/sh ./mkinstalldirs "/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/sounds" mkdir /wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/sounds install -m 0644 'sounds/beep1.wav' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/sounds/beep1.wav' install -m 0644 'sounds/beep2.wav' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/sounds/beep2.wav' install -m 0644 'sounds/cannon1.wav' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/sounds/cannon1.wav' install -m 0644 'sounds/chaff1.wav' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/sounds/chaff1.wav' install -m 0644 'sounds/click1.wav' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/sounds/click1.wav' install -m 0644 'sounds/explode1.wav' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/sounds/explode1.wav' install -m 0644 'sounds/hit1.wav' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/sounds/hit1.wav' install -m 0644 'sounds/missile1.wav' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/sounds/missile1.wav' install -m 0644 'sounds/plane1.wav' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/sounds/plane1.wav' install -m 0644 'sounds/thunder1.wav' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/sounds/thunder1.wav' test -z "/usr/local/share/gl-117/textures" || /bin/sh ./mkinstalldirs "/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures" mkdir /wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures install -m 0644 'textures/arrow.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/arrow.tga' install -m 0644 'textures/aster1_n.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/aster1_n.tga' install -m 0644 'textures/barrier_.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/barrier_.tga' install -m 0644 'textures/base1_no.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/base1_no.tga' install -m 0644 'textures/cactus1.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/cactus1.tga' install -m 0644 'textures/cactusu1.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/cactusu1.tga' install -m 0644 'textures/camoufl.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/camoufl.tga' install -m 0644 'textures/chaff_ch.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/chaff_ch.tga' install -m 0644 'textures/clouds1.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/clouds1.tga' install -m 0644 'textures/clouds2.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/clouds2.tga' install -m 0644 'textures/clouds3.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/clouds3.tga' install -m 0644 'textures/cross.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/cross.tga' install -m 0644 'textures/cross2.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/cross2.tga' install -m 0644 'textures/depot_fr.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/depot_fr.tga' install -m 0644 'textures/eagle_gr.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/eagle_gr.tga' install -m 0644 'textures/earth.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/earth.tga' install -m 0644 'textures/egg_chec.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/egg_chec.tga' install -m 0644 'textures/flare1.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/flare1.tga' install -m 0644 'textures/flare2.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/flare2.tga' install -m 0644 'textures/flare3.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/flare3.tga' install -m 0644 'textures/flare4.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/flare4.tga' install -m 0644 'textures/flare_ch.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/flare_ch.tga' install -m 0644 'textures/font1.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/font1.tga' install -m 0644 'textures/font2.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/font2.tga' install -m 0644 'textures/gl-14_c2.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/gl-14_c2.tga' install -m 0644 'textures/gl-14_ch.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/gl-14_ch.tga' install -m 0644 'textures/gl-14b_c.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/gl-14b_c.tga' install -m 0644 'textures/gl-14b_d.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/gl-14b_d.tga' install -m 0644 'textures/gl-14c_c.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/gl-14c_c.tga' install -m 0644 'textures/gl-14c_d.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/gl-14c_d.tga' install -m 0644 'textures/gl-14d_c.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/gl-14d_c.tga' install -m 0644 'textures/gl-14d_d.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/gl-14d_d.tga' install -m 0644 'textures/gl-15_c2.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/gl-15_c2.tga' install -m 0644 'textures/gl-15_ch.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/gl-15_ch.tga' install -m 0644 'textures/gl-16_c2.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/gl-16_c2.tga' install -m 0644 'textures/gl-16_ch.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/gl-16_ch.tga' install -m 0644 'textures/gl-21_c2.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/gl-21_c2.tga' install -m 0644 'textures/gl-21_ch.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/gl-21_ch.tga' install -m 0644 'textures/gl-21b_c.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/gl-21b_c.tga' install -m 0644 'textures/gl-21b_d.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/gl-21b_d.tga' install -m 0644 'textures/gl-29_ch.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/gl-29_ch.tga' install -m 0644 'textures/gl-50_c2.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/gl-50_c2.tga' install -m 0644 'textures/gl-50_ch.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/gl-50_ch.tga' install -m 0644 'textures/glitter.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/glitter.tga' install -m 0644 'textures/grass1.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/grass1.tga' install -m 0644 'textures/gravel1.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/gravel1.tga' install -m 0644 'textures/greendrk.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/greendrk.tga' install -m 0644 'textures/greenlit.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/greenlit.tga' install -m 0644 'textures/greygrid.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/greygrid.tga' install -m 0644 'textures/hall1b_g.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/hall1b_g.tga' install -m 0644 'textures/hall2b_c.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/hall2b_c.tga' install -m 0644 'textures/house_s1.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/house_s1.tga' install -m 0644 'textures/medals.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/medals.tga' install -m 0644 'textures/moon1.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/moon1.tga' install -m 0644 'textures/oilrig_c.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/oilrig_c.tga' install -m 0644 'textures/oilrig_c2.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/oilrig_c2.tga' install -m 0644 'textures/panzer1_.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/panzer1_.tga' install -m 0644 'textures/panzer2_.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/panzer2_.tga' install -m 0644 'textures/patents.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/patents.tga' install -m 0644 'textures/radar1.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/radar1.tga' install -m 0644 'textures/radar2.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/radar2.tga' install -m 0644 'textures/ranks.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/ranks.tga' install -m 0644 'textures/redsand1.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/redsand1.tga' install -m 0644 'textures/redstone2.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/redstone2.tga' install -m 0644 'textures/rocks1.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/rocks1.tga' install -m 0644 'textures/roof.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/roof.tga' install -m 0644 'textures/sand1.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/sand1.tga' install -m 0644 'textures/ship2_fr.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/ship2_fr.tga' install -m 0644 'textures/ship_fra.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/ship_fra.tga' install -m 0644 'textures/smoke1.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/smoke1.tga' install -m 0644 'textures/smoke2.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/smoke2.tga' install -m 0644 'textures/smoke3.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/smoke3.tga' install -m 0644 'textures/sun2.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/sun2.tga' install -m 0644 'textures/tent1_no.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/tent1_no.tga' install -m 0644 'textures/tent4_fr.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/tent4_fr.tga' install -m 0644 'textures/title.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/title.tga' install -m 0644 'textures/transp2_.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/transp2_.tga' install -m 0644 'textures/transp4_.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/transp4_.tga' install -m 0644 'textures/tree1.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/tree1.tga' install -m 0644 'textures/tree2.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/tree2.tga' install -m 0644 'textures/tree3.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/tree3.tga' install -m 0644 'textures/tree4.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/tree4.tga' install -m 0644 'textures/tree5.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/tree5.tga' install -m 0644 'textures/treeu1.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/treeu1.tga' install -m 0644 'textures/treeu2.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/treeu2.tga' install -m 0644 'textures/treeu3.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/treeu3.tga' install -m 0644 'textures/treeu4.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/treeu4.tga' install -m 0644 'textures/treeu5.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/treeu5.tga' install -m 0644 'textures/water1.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/water1.tga' install -m 0644 'textures/wheel.tga' '/wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/gl-117/textures/wheel.tga' install -m 444 /wrkdirs/usr/ports/games/gl-117/work/gl-117-1.3.2-src/doc/gl-117.6 /wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/man/man6 /bin/mkdir -p /wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/doc/gl-117 install -m 0644 /wrkdirs/usr/ports/games/gl-117/work/gl-117-1.3.2-src/doc/gl-117.pdf /wrkdirs/usr/ports/games/gl-117/work/stage/usr/local/share/doc/gl-117 ====> 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-02T13:46:25+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=1182a310bb' '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 gl-117-1.3.2_13 ===> Building gl-117-1.3.2_13 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for gl-117-1.3.2_13 build of games/gl-117 | gl-117-1.3.2_13 ended at Tue Apr 2 14:47:02 BST 2024 build time: 00:00:38