=> Building games/gl-117 build started at Sun Oct 9 00:29:36 PDT 2016 port directory: /usr/ports/games/gl-117 building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: erik@bz.bzflag.bz ident warning: no id keywords in /build/boomdata/data/.m/Release46-default/ref/../02//usr/ports/games/gl-117/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400600 ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/Release46-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=gl-117-1.3.2_10 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/Release46-default/ref/.p/pool MASTERNAME=Release46-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for gl-117-1.3.2_10: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --with-opengl-dir=/usr/local --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/games/gl-117 XDG_CONFIG_HOME=/wrkdirs/games/gl-117 HOME=/wrkdirs/games/gl-117 TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/games/gl-117 XDG_CONFIG_HOME=/wrkdirs/games/gl-117 HOME=/wrkdirs/games/gl-117 TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -lpthread -L/usr/local/lib" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.6 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " 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--- NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== =========================================================================== =================================================== ===> gl-117-1.3.2_10 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> gl-117-1.3.2_10 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of gl-117-1.3.2_10 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by gl-117-1.3.2_10 for building =========================================================================== =================================================== ===> Fetching all distfiles required by gl-117-1.3.2_10 for building => SHA256 Checksum OK for gl-117-1.3.2-src.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by gl-117-1.3.2_10 for building ===> Extracting for gl-117-1.3.2_10 => SHA256 Checksum OK for gl-117-1.3.2-src.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for gl-117-1.3.2_10 ===> Applying ports patches for gl-117-1.3.2_10 =========================================================================== =================================================== =========================================================================== =================================================== ===> gl-117-1.3.2_10 depends on shared library: libglut.so - not found ===> Installing existing package /packages/All/freeglut-3.0.0.txz Installing freeglut-3.0.0... `-- Installing libGL-11.2.2... | `-- Installing expat-2.2.0... | `-- Extracting expat-2.2.0: .......... done | `-- Installing dri2proto-2.8... | `-- Extracting dri2proto-2.8: .... done | `-- Installing libXdamage-1.1.4_3... | | `-- Installing libXfixes-5.0.1_3... | | `-- Installing xproto-7.0.28... | | `-- Extracting xproto-7.0.28: .......... done | | `-- Installing fixesproto-5.0... | | `-- Extracting fixesproto-5.0: .... done | | `-- Installing libX11-1.6.3,1... | | | `-- Installing kbproto-1.0.7... | | | `-- Extracting kbproto-1.0.7: .......... done | | | `-- Installing libXdmcp-1.1.2... | | | `-- Extracting libXdmcp-1.1.2: ......... done | | | `-- Installing libxcb-1.11.1... | | | `-- Installing libxml2-2.9.4... | | | `-- Extracting libxml2-2.9.4: .......... done | | | `-- Installing libpthread-stubs-0.3_6... | | | `-- Extracting libpthread-stubs-0.3_6: ..... done | | | `-- Installing libXau-1.0.8_3... | | | `-- Extracting libXau-1.0.8_3: .......... done | | | `-- Extracting libxcb-1.11.1: .......... done | | `-- Extracting libX11-1.6.3,1: .......... done | | `-- Extracting libXfixes-5.0.1_3: .......... done | | `-- Installing damageproto-1.2.1... | | `-- Extracting damageproto-1.2.1: .... done | `-- Extracting libXdamage-1.1.4_3: ...... done | `-- Installing libdevq-0.0.2_1... | `-- Extracting libdevq-0.0.2_1: ....... done | `-- Installing libXxf86vm-1.1.4_1... | | `-- Installing xf86vidmodeproto-2.3.1... | | `-- Extracting xf86vidmodeproto-2.3.1: .... done | | `-- Installing libXext-1.3.3_1,1... | | `-- Installing xextproto-7.3.0... | | `-- Extracting xextproto-7.3.0: .......... done | | `-- Extracting libXext-1.3.3_1,1: .......... done | `-- Extracting libXxf86vm-1.1.4_1: .......... done | `-- Installing libdrm-2.4.66,1... | | `-- Installing libpciaccess-0.13.4... | | `-- Installing pciids-20160621... | | `-- Extracting pciids-20160621: ..... done | | `-- Extracting libpciaccess-0.13.4: ...... done | `-- Extracting libdrm-2.4.66,1: .......... done | `-- Installing libelf-0.8.13_1... | | `-- Installing gettext-runtime-0.19.8.1... | | `-- Installing indexinfo-0.2.5... | | `-- Extracting indexinfo-0.2.5: .... done | | `-- Extracting gettext-runtime-0.19.8.1: .......... done | `-- Extracting libelf-0.8.13_1: .......... done | `-- Installing libxshmfence-1.2... | `-- Extracting libxshmfence-1.2: ......... done | `-- Installing libglapi-11.2.2... | | `-- Installing libXvMC-1.0.9... | | `-- Installing libXv-1.0.10_3,1... | | | `-- Installing videoproto-2.3.2... | | | `-- Extracting videoproto-2.3.2: ...... done | | `-- Extracting libXv-1.0.10_3,1: .......... done | | `-- Extracting libXvMC-1.0.9: .......... done | `-- Extracting libglapi-11.2.2: ... done `-- Extracting libGL-11.2.2: .......... done `-- Installing libGLU-9.0.0_2... `-- Extracting libGLU-9.0.0_2: ...... done `-- Installing libXrandr-1.5.0... | `-- Installing libXrender-0.9.9... | | `-- Installing renderproto-0.11.1... | | `-- Extracting renderproto-0.11.1: .... done | `-- Extracting libXrender-0.9.9: .......... done | `-- Installing randrproto-1.5.0... | `-- Extracting randrproto-1.5.0: .... done `-- Extracting libXrandr-1.5.0: .......... done `-- Installing libICE-1.0.9_1,1... `-- Extracting libICE-1.0.9_1,1: .......... done `-- Installing libXi-1.7.6,1... | `-- Installing inputproto-2.3.1... | `-- Extracting inputproto-2.3.1: ..... done `-- Extracting libXi-1.7.6,1: .......... done Extracting freeglut-3.0.0: .......... done Message from freeglut-3.0.0: 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_10 depends on shared library: libglut.so - found (/usr/local/lib/libglut.so) ===> Returning to build of gl-117-1.3.2_10 =========================================================================== =================================================== ===> Configuring for gl-117-1.3.2_10 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking whether 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... libraries /usr/local/lib, headers /usr/local/include checking for gethostbyname... (cached) yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes 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 =========================================================================== =================================================== ===> Building for gl-117-1.3.2_10 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in src --- main.o --- --- gl.o --- --- model.o --- --- 3ds.o --- --- audio.o --- --- main.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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 --- gl.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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 --- model.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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 --- audio.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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 --- 3ds.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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 --- main.o --- main.cpp: In function 'int game_levelInit()': main.cpp:669:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Could not startup mission", LOG_ERROR); ^ --- 3ds.o --- 3ds.cpp: In constructor 'BinaryFile::BinaryFile(char*)': 3ds.cpp:59:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] int tmp; ^ --- land.o --- --- main.o --- main.cpp: In function 'void switch_mission(int)': main.cpp:1188:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Could not init mission", LOG_ERROR); ^ --- land.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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 --- main.o --- main.cpp: In function 'void drawQuads(CColor*)': main.cpp:1864:18: warning: variable 'yf' set but not used [-Wunused-but-set-variable] float zf = -3, yf; ^ main.cpp: In function 'void pleaseWait()': main.cpp:1974:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -0.5, -1.5, "PLEASE WAIT...", &colorwhite); ^ main.cpp: In function 'void stats_key(unsigned char, int, int)': main.cpp:1983:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Initing new mission", LOG_MOST); ^ main.cpp: In function 'char* getModelText(int)': main.cpp:2083:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return "THE FALCON IS A NIMBLE AND\nFAST FIGHTER PROVIDING\nBOTH AIR-AIR AND\nAIR-GROUND-MISSILES."; ^ main.cpp:2085:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return "THE HAWK IS A TYPICAL\nALLROUNDER AND DESIGNED\nFOR GROUND ATTACKS."; ^ main.cpp:2087:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return "THE HAWK II IS A ..."; ^ main.cpp:2088:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return "NO INFO"; ^ main.cpp: In function 'char* getModelName(int)': main.cpp:2094:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return "GL-16 FALCON"; ^ main.cpp:2096:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return "GL-22 HAWK"; ^ main.cpp:2098:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return "GL-23 HAWK II"; ^ main.cpp:2100:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return "GL-15 REDARROW"; ^ main.cpp:2102:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return "GL-117 PHOENIX"; ^ main.cpp:2104:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return "GL-50 STORM"; ^ main.cpp:2106:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return "CROW"; ^ main.cpp:2108:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return "BUZZARD"; ^ main.cpp:2110:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return "SWALLOW"; ^ main.cpp:2112:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return "BLACKBIRD"; ^ main.cpp:2114:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return "AIR-AIR MISSILE PACK"; ^ main.cpp:2116:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return "AIR-GROUND MISSILE PACK"; ^ main.cpp:2118:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return "DUMB FIRE MISSILE PACK"; ^ main.cpp:2119:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return "NO INFO"; ^ main.cpp: In function 'void mission_display()': main.cpp:2280:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (textx / fontscale, texty / fontscale, -2, "BRIEFING:", col); ^ main.cpp:2286:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (xstats / fontscale, ystats / fontscale, -2, "STATUS:", col); ^ main.cpp:2288:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (xstatstab / fontscale, ystats / fontscale, -2, "SUCCESS", colorstd); ^ main.cpp:2290:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (xstatstab / fontscale, ystats / fontscale, -2, "FAILED", colorstd); ^ main.cpp:2292:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (xstatstab / fontscale, ystats / fontscale, -2, "EMPTY", colorstd); ^ main.cpp:2296:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (xstats / fontscale, texty / fontscale, -2, "SCORE:", col); ^ main.cpp:2302:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (xstats / fontscale, texty / fontscale, -2, "KILLS:", col); ^ main.cpp:2310:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (xstats / fontscale, texty / fontscale, -2, "SCORE:", col); ^ main.cpp:2311:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (xstatstab / fontscale, texty / fontscale, -2, "TRAINING", col); ^ main.cpp:2314:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (textx / fontscale, piloty / fontscale, -2, "PILOTS:", col); ^ main.cpp:2327:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (textx / fontscale, -1 / fontscale, -2, "CHOOSE FIGHTER:", col); ^ main.cpp:2328:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (xstats / fontscale, -1 / fontscale, -2, "CHOOSE WEAPON PACK:", col); ^ main.cpp: In function 'void create_display()': main.cpp:2382:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 9, -1.5, "CREATE GAME"); ^ main.cpp:2385:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextScaled (-2, -12, -2, "BACK", colorstd, -missionmenutimer * 5); ^ main.cpp:2387:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (-2, -12, -2, "BACK"); ^ main.cpp: In function 'void join_display()': main.cpp:2426:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 9, -1.5, "JOIN GAME"); ^ main.cpp:2429:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextScaled (-2, -12, -2, "BACK", colorstd, -missionmenutimer * 5); ^ main.cpp:2431:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (-2, -12, -2, "BACK"); ^ main.cpp: In function 'void game_quit()': main.cpp:2583:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pilots->save (dirs->getSaves ("pilots")); ^ main.cpp:2584:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Pilots saved", LOG_MOST); ^ main.cpp: In function 'void stats_display()': main.cpp:2700:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2, "SUCCESS", &colorblue); ^ main.cpp:2704:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2, "FAILED", &colorred); ^ main.cpp:2707:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (xf1, yf, zf, "SCORE:", color); ^ main.cpp:2712:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (xf1, yf, zf, "DIFFICULTY:", color); ^ main.cpp:2713:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (mission->difficulty == 0) font1->drawText (xf2, yf, zf, "EASY", color); ^ main.cpp:2714:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else if (mission->difficulty == 1) font1->drawText (xf2, yf, zf, "NORMAL", color); ^ main.cpp:2715:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else if (mission->difficulty == 2) font1->drawText (xf2, yf, zf, "HARD", color); ^ main.cpp:2716:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (mission->difficulty == 0) font1->drawText (xf3, yf, zf, "-25", color); ^ main.cpp:2717:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else if (mission->difficulty == 1) font1->drawText (xf3, yf, zf, "+25", color); ^ main.cpp:2718:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else if (mission->difficulty == 2) font1->drawText (xf3, yf, zf, "+75", color); ^ main.cpp:2721:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (xf1, yf, zf, "FLIGHT MODEL:", color); ^ main.cpp:2722:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!fplayer->realism) font1->drawText (xf2, yf, zf, "ACTION", color); ^ main.cpp:2723:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else font1->drawText (xf2, yf, zf, "SIM", color); ^ main.cpp:2724:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!fplayer->realism) font1->drawText (xf3, yf, zf, "-25", color); ^ main.cpp:2725:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else font1->drawText (xf3, yf, zf, "+25", color); ^ main.cpp:2731:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (xf1, yf, zf, "TIME BONUS:", color); ^ main.cpp:2738:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (xf1, yf, zf, "SHIELD BONUS:", color); ^ main.cpp:2744:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (xf1, yf, zf, "KILLS:", color); ^ main.cpp:2782:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, yf, zf, "PROMOTED TO", color); ^ main.cpp: In function 'int selectMouse(int, int, int, int, int, bool)': main.cpp:2893:7: warning: variable 'pick' set but not used [-Wunused-but-set-variable] int pick [100]; ^ main.cpp: In function 'void pause_display()': main.cpp:2938:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (-3, -1, -1, "PAUSED", &colorwhite); ^ main.cpp: In function 'void credits_display()': main.cpp:3009:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font2->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "GAME PROGRAMMING,", col); ^ main.cpp:3010:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font2->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "GRAPHICS, MODELS, SOUND & MUSIC", col); ^ main.cpp:3011:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "THOMAS A. DREXL", col2); ^ main.cpp:3015:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "SPECIAL THANKS TO...", col); ^ main.cpp:3016:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "LENS FLARES & FURTHER DEBUGGING", col); ^ main.cpp:3017:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "PIOTR PAWLOW", col2); ^ main.cpp:3018:112: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "MOUSE INTERFACE & LANDSCAPE IMPROVEMENTS", col); ^ main.cpp:3019:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "LOURENS VEEN", col2); ^ main.cpp:3020:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "PUBLISHING & FURTHER GAME IDEAS", col); ^ main.cpp:3021:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "BERNHARD KAINDL", col2); ^ main.cpp:3022:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "MOON TERRAIN", col); ^ main.cpp:3023:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "NORBERT DREXL", col2); ^ main.cpp:3024:118: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "PHYSICAL MODEL (ACTION) & COCKPIT IMPROVEMENTS", col); ^ main.cpp:3025:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "ARNE REINERS", col2); ^ main.cpp:3026:126: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "...AND THANKS TO ALL PEOPLE GIVING FEEDBACK AND ADVICE", col); ^ main.cpp:3031:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, (yt -= 10 * ydist) / fontzoom, zf, "***********************", col); ^ main.cpp:3032:99: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, (yt -= 10 * ydist) / fontzoom, zf, "DO YOU WANT TO CONTRIBUTE?", col); ^ main.cpp:3036:108: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font2->drawText (xf / fontzoom, (yt -= 4 * ydist) / fontzoom, zf, "LOTS OF THINGS ARE STILL NEEDED:", col); ^ main.cpp:3037:116: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- DRAW TEXTURES OF TREES, BUILDINGS, ETC", col); ^ main.cpp:3038:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- DESIGN 3D MODELS", col); ^ main.cpp:3039:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- CREATE SOUNDTRACKS", col); ^ main.cpp:3040:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- MAKE MISSION SUGGESTIONS", col); ^ main.cpp:3041:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- GIVE FEEDBACK AND ADVICE", col); ^ main.cpp: In function 'void finish_display()': main.cpp:3052:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 12, -3, "CONGRATULATIONS!", col); ^ main.cpp:3053:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 10, -3, "THE WORLD HAS BEEN SAVED YET AGAIN.", col); ^ main.cpp:3054:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -3, "HOPE YOU HAD FUN PLAYING GL-117!", col); ^ main.cpp:3055:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 4, -3, "THIS GAME HAS ORIGINALLY BEEN DEVELOPED AS PART", col); ^ main.cpp:3056:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 2, -3, "OF THE COURSE \"APPLICATIONS OF COMPUTER GRAPHICS\"", col); ^ main.cpp:3057:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 0, -3, "AT THE TECHNICAL UNIVERSITY OF MUNICH, GERMANY.", col); ^ main.cpp:3058:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -2, -3, "IN FEBRUARY 2002 THE WORK WAS DONE AND I", col); ^ main.cpp:3059:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -4, -3, "PRESENTED THE PROTOTYPE OF A FLIGHT SIM,", col); ^ main.cpp:3060:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -6, -3, "YET WITHOUT TEXTURES, JOYSTICK, SOUNDS, MUSIC,", col); ^ main.cpp:3061:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -8, -3, "NO CAMPAIGN!", col); ^ main.cpp:3062:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -10, -3, "TWO MONTHS LATER THE FIRST RELEASE OF GL-117 WAS READY.", col); ^ main.cpp:3063:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -12, -3, "FURTHER RELEASES FOLLOWED, FEEDBACK ARRIVED, AND", col); ^ main.cpp:3064:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -14, -3, "PROGRAMMERS JOINED (LISTED IN THE CREDITS SECTION).", col); ^ main.cpp:3065:100: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -16, -3, "SPECIAL THANKS TO JOSEF DREXL FOR THE MODELING IDEAS,", col); ^ main.cpp:3066:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -18, -3, "AND THE UNIX AWARD GOES TO WOLFGANG HOMMEL ;-)", col); ^ main.cpp: In function 'void quit_display()': main.cpp:3075:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 0, -2, "REALLY QUIT?", &menu_colwhite); ^ --- land.o --- In file included from land.cpp:31:0: land.cpp: In member function 'void Landscape::convolveGauss(int, int, int)': land.cpp:95:39: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] mx = GETCOORD(x - MAXCORE / 2 + i); ^ land.h:50:22: note: in definition of macro 'GETCOORD' #define GETCOORD(x) (x & MAXX_MASK) ^ land.cpp:107:41: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] my = GETCOORD(y - MAXCORE / 2 + i); ^ land.h:50:22: note: in definition of macro 'GETCOORD' #define GETCOORD(x) (x & MAXX_MASK) ^ --- main.o --- main.cpp: In function 'void game_display()': main.cpp:3578:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 0, -1.8, "PLEASE WAIT WHILE", &colorred); ^ main.cpp:3579:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -1, -1.8, "ADJUSTING QUALITY", &colorred); ^ main.cpp:3585:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -8, -2, "FPS TOO LOW", &colorred); ^ main.cpp:3586:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -9, -2, "TURN DOWN VIEW OR QUALITY", &colorred); ^ main.cpp:3591:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -8, -2, "FPS FAR TOO LOW", &colorred); ^ main.cpp:3592:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -9, -2, "SEE \"README\" OR \"FAQ\" FILES", &colorred); ^ main.cpp:3593:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-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; ^ --- land.o --- land.cpp: In member function 'void Landscape::genCanyonSurface(int)': land.cpp:746:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (h [i * step] [i2 * step] == 0) ^ In file included from land.cpp:31:0: land.cpp: In member function 'void Landscape::genDesertSurface(int)': land.cpp:907:43: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] ha [i3] = h [i] [GETCOORD(i2 + i3 - range / 2)]; ^ land.h:50:22: note: in definition of macro 'GETCOORD' #define GETCOORD(x) (x & MAXX_MASK) ^ --- main.o --- main.cpp: In function 'void myFirstInit()': main.cpp:4298:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Creating calculation tables", LOG_ALL); ^ main.cpp:4301:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Creating advanced OpenGL methods", LOG_ALL); ^ main.cpp:4305:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Loading textures", LOG_ALL); ^ main.cpp:4306:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texgrass = gl->genTextureTGA (dirs->getTextures ("grass1.tga"), 0, 0, 1, false); ^ main.cpp:4307:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texrocks = gl->genTextureTGA (dirs->getTextures ("rocks1.tga"), 0, 0, 1, false); ^ main.cpp:4308:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texwater = gl->genTextureTGA (dirs->getTextures ("water1.tga"), 0, 0, 1, false); ^ main.cpp:4309:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texsand = gl->genTextureTGA (dirs->getTextures ("sand1.tga"), 0, 0, 1, false); ^ main.cpp:4310:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texredsand = gl->genTextureTGA (dirs->getTextures ("redsand1.tga"), 0, 0, 1, false); ^ main.cpp:4311:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texredstone = gl->genTextureTGA (dirs->getTextures ("redstone2.tga"), 0, 0, 1, false); ^ main.cpp:4312:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texgravel1 = gl->genTextureTGA (dirs->getTextures ("gravel1.tga"), 0, 0, 1, false); ^ main.cpp:4313:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texglitter1 = gl->genTextureTGA (dirs->getTextures ("glitter.tga"), 0, -1, 0, true); ^ main.cpp:4314:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] textree = gl->genTextureTGA (dirs->getTextures ("tree1.tga"), 0, -1, 1, true); ^ main.cpp:4315:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] textreeu = gl->genTextureTGA (dirs->getTextures ("treeu1.tga"), 0, -1, 1, true); ^ main.cpp:4316:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] textree2 = gl->genTextureTGA (dirs->getTextures ("tree2.tga"), 0, -1, 1, true); ^ main.cpp:4317:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] textreeu2 = gl->genTextureTGA (dirs->getTextures ("treeu2.tga"), 0, -1, 1, true); ^ main.cpp:4318:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] textree3 = gl->genTextureTGA (dirs->getTextures ("tree3.tga"), 0, 3, 1, true); ^ main.cpp:4319:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] textreeu3 = gl->genTextureTGA (dirs->getTextures ("treeu3.tga"), 0, 3, 1, true); ^ main.cpp:4320:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] textree4 = gl->genTextureTGA (dirs->getTextures ("tree4.tga"), 0, 3, 1, true); ^ main.cpp:4321:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] textreeu4 = gl->genTextureTGA (dirs->getTextures ("treeu4.tga"), 0, 3, 1, true); ^ main.cpp:4322:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] textree5 = gl->genTextureTGA (dirs->getTextures ("tree5.tga"), 0, -1, 1, true); ^ main.cpp:4323:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] textreeu5 = gl->genTextureTGA (dirs->getTextures ("treeu5.tga"), 0, -1, 1, true); ^ main.cpp:4324:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texcactus1 = gl->genTextureTGA (dirs->getTextures ("cactus1.tga"), 0, 3, 1, true); ^ main.cpp:4325:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texcactusu1 = gl->genTextureTGA (dirs->getTextures ("cactusu1.tga"), 0, 3, 1, true); ^ main.cpp:4326:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texsmoke = gl->genTextureTGA (dirs->getTextures ("smoke1.tga"), 0, -1, 1, true); ^ --- land.o --- land.cpp: In member function 'void Landscape::genRocks(int, int)': land.cpp:1042:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (f [i - 1] [i2] == ROCKS && f [i + 1] [i2] == ROCKS || ^ --- main.o --- main.cpp:4327:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texsmoke2 = gl->genTextureTGA (dirs->getTextures ("smoke2.tga"), 0, -1, 1, true); ^ main.cpp:4328:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texsmoke3 = gl->genTextureTGA (dirs->getTextures ("smoke3.tga"), 0, 5, 1, true); ^ main.cpp:4329:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texsun = gl->genTextureTGA (dirs->getTextures ("sun2.tga"), 1, -1, 0, true); ^ --- land.o --- land.cpp:1046:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (f [i - 1] [i2] == GLACIER && f [i + 1] [i2] == GLACIER || ^ --- main.o --- main.cpp:4330:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texmoon = gl->genTextureTGA (dirs->getTextures ("moon1.tga"), 1, 2, 0, true); ^ main.cpp:4331:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texearth = gl->genTextureTGA (dirs->getTextures ("earth.tga"), 1, 0, 0, true); ^ main.cpp:4332:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texflare1 = gl->genTextureTGA (dirs->getTextures ("flare1.tga"), 1, -1, 0, true); ^ main.cpp:4333:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texflare2 = gl->genTextureTGA (dirs->getTextures ("flare2.tga"), 1, -1, 0, true); ^ main.cpp:4334:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texflare3 = gl->genTextureTGA (dirs->getTextures ("flare3.tga"), 1, -1, 0, true); ^ main.cpp:4335:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texflare4 = gl->genTextureTGA (dirs->getTextures ("flare4.tga"), 1, -1, 0, true); ^ main.cpp:4336:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texcross = gl->genTextureTGA (dirs->getTextures ("cross.tga"), 0, -1, 1, true); ^ main.cpp:4337:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texcross2 = gl->genTextureTGA (dirs->getTextures ("cross2.tga"), 0, -1, 1, true); ^ main.cpp:4338:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texranks = gl->genTextureTGA (dirs->getTextures ("ranks.tga"), 0, 0, 0, true); ^ main.cpp:4339:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texmedals = gl->genTextureTGA (dirs->getTextures ("medals.tga"), 0, 0, 0, true); ^ main.cpp:4340:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texclouds1 = gl->genTextureTGA (dirs->getTextures ("clouds1.tga"), 0, -1, 1, true); ^ main.cpp:4341:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texclouds2 = gl->genTextureTGA (dirs->getTextures ("clouds2.tga"), 0, 4, 1, true); ^ main.cpp:4342:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texclouds3 = gl->genTextureTGA (dirs->getTextures ("clouds3.tga"), 0, 6, 1, true); ^ main.cpp:4343:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texradar1 = gl->genTextureTGA (dirs->getTextures ("radar2.tga"), 0, -1, 0, true); ^ main.cpp:4344:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texradar2 = gl->genTextureTGA (dirs->getTextures ("radar1.tga"), 0, -1, 0, true); ^ main.cpp:4345:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] texarrow = gl->genTextureTGA (dirs->getTextures ("arrow.tga"), 0, -1, 0, true); ^ main.cpp:4347:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Loading Fonts", LOG_ALL); ^ main.cpp:4348:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1 = new Font (dirs->getTextures ("font1.tga"), 32, '!', 64); ^ main.cpp:4350:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font2 = new Font (dirs->getTextures ("font2.tga"), 32, '!', 64); ^ main.cpp:4352:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Loading 3ds models:", LOG_ALL); ^ main.cpp:4353:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * gl-16.3ds", LOG_ALL); ^ main.cpp:4354:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_fig, dirs->getModels ("gl-16.3ds")); ^ main.cpp:4355:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_fig.setName ("FALCON"); ^ main.cpp:4356:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * gl-15.3ds", LOG_ALL); ^ main.cpp:4357:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_figa, dirs->getModels ("gl-15.3ds")); ^ main.cpp:4358:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_figa.setName ("SWALLOW"); ^ main.cpp:4359:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * gl-14c.3ds", LOG_ALL); ^ main.cpp:4360:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_figb, dirs->getModels ("gl-14c.3ds")); ^ main.cpp:4361:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_figb.setName ("HAWK"); ^ main.cpp:4362:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * gl-14d.3ds", LOG_ALL); ^ main.cpp:4363:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_figc, dirs->getModels ("gl-14d.3ds")); ^ main.cpp:4364:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_figc.setName ("HAWK II"); ^ main.cpp:4365:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * gl-21b.3ds", LOG_ALL); ^ main.cpp:4366:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_figd, dirs->getModels ("gl-21b.3ds")); ^ main.cpp:4367:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_figd.setName ("BUZZARD"); ^ main.cpp:4368:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * gl-21.3ds", LOG_ALL); ^ main.cpp:4369:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_fige, dirs->getModels ("gl-21.3ds")); ^ main.cpp:4370:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_fige.setName ("CROW"); ^ main.cpp:4371:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * gl-14b.3ds", LOG_ALL); ^ main.cpp:4372:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_figf, dirs->getModels ("gl-14b.3ds")); ^ main.cpp:4373:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_figf.setName ("PHOENIX"); ^ main.cpp:4374:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * gl-14.3ds", LOG_ALL); ^ main.cpp:4375:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_figg, dirs->getModels ("gl-14.3ds")); ^ main.cpp:4376:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_figg.setName ("RED ARROW"); ^ main.cpp:4377:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * gl-29.3ds", LOG_ALL); ^ main.cpp:4378:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_figh, dirs->getModels ("gl-29.3ds")); ^ main.cpp:4379:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_figh.setName ("BLACKBIRD"); ^ main.cpp:4381:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * gl-50.3ds", LOG_ALL); ^ main.cpp:4382:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_figi, dirs->getModels ("gl-50.3ds")); ^ main.cpp:4383:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_figi.setName ("STORM"); ^ main.cpp:4384:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * transp2.3ds", LOG_ALL); ^ main.cpp:4385:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_figt, dirs->getModels ("transp2.3ds")); ^ main.cpp:4386:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_figt.setName ("TRANSPORT"); ^ main.cpp:4387:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * transp4.3ds", LOG_ALL); ^ main.cpp:4388:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_figu, dirs->getModels ("transp4.3ds")); ^ main.cpp:4389:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_figu.setName ("TRANSPORT"); ^ main.cpp:4393:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * cannon1.3ds", LOG_ALL); ^ main.cpp:4394:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_cannon1, dirs->getModels ("cannon1.3ds")); ^ --- land.o --- land.cpp: In member function 'int Landscape::calcLake(int, int, short unsigned int, int, int)': land.cpp:1074:17: warning: variable 'w' set but not used [-Wunused-but-set-variable] int i, i2, n, w, timeout = 0; ^ --- main.o --- main.cpp:4396:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * cannon1b.3ds", LOG_ALL); ^ main.cpp:4397:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_cannon1b, dirs->getModels ("cannon1b.3ds")); ^ main.cpp:4401:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * cannon2.3ds", LOG_ALL); ^ main.cpp:4402:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_cannon2, dirs->getModels ("cannon2.3ds")); ^ main.cpp:4416:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * cannon2b.3ds", LOG_ALL); ^ main.cpp:4417:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_cannon2b, dirs->getModels ("cannon2b.3ds")); ^ main.cpp:4434:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * flare1.3ds", LOG_ALL); ^ main.cpp:4435:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_flare1, dirs->getModels ("flare1.3ds")); ^ main.cpp:4436:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_flare1.setName ("FLARE"); ^ main.cpp:4439:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * chaff1.3ds", LOG_ALL); ^ main.cpp:4440:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_chaff1, dirs->getModels ("chaff1.3ds")); ^ main.cpp:4441:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_chaff1.setName ("CHAFF"); ^ main.cpp:4444:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * missile1.3ds", LOG_ALL); ^ main.cpp:4445:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_missile1, dirs->getModels ("missile1.3ds")); ^ main.cpp:4446:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_missile1.setName ("AAM HS MK1"); ^ main.cpp:4447:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * missile2.3ds", LOG_ALL); ^ main.cpp:4448:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_missile2, dirs->getModels ("missile2.3ds")); ^ main.cpp:4449:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_missile2.setName ("AAM HS MK2"); ^ main.cpp:4450:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * missile3.3ds", LOG_ALL); ^ main.cpp:4451:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_missile3, dirs->getModels ("missile3.3ds")); ^ main.cpp:4452:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_missile3.setName ("AAM HS MK3"); ^ main.cpp:4453:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * missile4.3ds", LOG_ALL); ^ main.cpp:4454:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_missile4, dirs->getModels ("missile4.3ds")); ^ main.cpp:4455:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_missile4.setName ("AGM MK1"); ^ main.cpp:4456:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * missile5.3ds", LOG_ALL); ^ main.cpp:4457:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_missile5, dirs->getModels ("missile5.3ds")); ^ main.cpp:4458:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_missile5.setName ("AGM MK2"); ^ main.cpp:4459:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * missile6.3ds", LOG_ALL); ^ main.cpp:4460:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_missile6, dirs->getModels ("missile6.3ds")); ^ main.cpp:4461:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_missile6.setName ("DFM"); ^ main.cpp:4462:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * missile7.3ds", LOG_ALL); ^ main.cpp:4463:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_missile7, dirs->getModels ("missile7.3ds")); ^ main.cpp:4464:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_missile7.setName ("AAM FF MK1"); ^ main.cpp:4465:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * missile8.3ds", LOG_ALL); ^ main.cpp:4466:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_missile8, dirs->getModels ("missile8.3ds")); ^ main.cpp:4467:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_missile8.setName ("AAM FF MK2"); ^ main.cpp:4468:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * flak2.3ds", LOG_ALL); ^ main.cpp:4469:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_flak1, dirs->getModels ("flak2.3ds")); ^ main.cpp:4470:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_flak1.setName ("SA CANNON"); ^ main.cpp:4471:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * flarak1.3ds", LOG_ALL); ^ main.cpp:4472:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_flarak1, dirs->getModels ("flarak1.3ds")); ^ main.cpp:4473:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_flarak1.setName ("SAM"); ^ main.cpp:4474:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * ship1.3ds", LOG_ALL); ^ main.cpp:4475:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_ship1, dirs->getModels ("ship1.3ds")); ^ main.cpp:4476:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_ship1.setName ("CRUISER"); ^ main.cpp:4477:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * tent1.3ds", LOG_ALL); ^ main.cpp:4478:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_tent1, dirs->getModels ("tent1.3ds")); ^ main.cpp:4479:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_tent1.setName ("TENT"); ^ main.cpp:4480:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * gl-117.3ds", LOG_ALL); ^ main.cpp:4481:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_gl117, dirs->getModels ("gl-117.3ds")); ^ main.cpp:4483:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * tank1.3ds", LOG_ALL); ^ main.cpp:4484:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_tank1, dirs->getModels ("tank1.3ds")); ^ main.cpp:4485:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_tank1.setName ("WIESEL"); ^ main.cpp:4487:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * container1.3ds", LOG_ALL); ^ main.cpp:4488:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_container1, dirs->getModels ("container1.3ds")); ^ main.cpp:4489:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_container1.setName ("CONTAINER"); ^ main.cpp:4490:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * ship2.3ds", LOG_ALL); ^ main.cpp:4491:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_ship2, dirs->getModels ("ship2.3ds")); ^ main.cpp:4492:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_ship2.setName ("LIGHT DESTROYER"); ^ main.cpp:4493:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * truck1.3ds", LOG_ALL); ^ main.cpp:4494:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_truck1, dirs->getModels ("truck1.3ds")); ^ main.cpp:4495:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_truck1.setName ("TRUCK"); ^ main.cpp:4496:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * truck2.3ds", LOG_ALL); ^ main.cpp:4497:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_truck2, dirs->getModels ("truck2.3ds")); ^ main.cpp:4498:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_truck2.setName ("TRUCK"); ^ main.cpp:4499:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * trsam.3ds", LOG_ALL); ^ main.cpp:4500:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_trsam, dirs->getModels ("trsam.3ds")); ^ main.cpp:4501:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_trsam.setName ("MOBILE SAM"); ^ main.cpp:4502:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * pickup1.3ds", LOG_ALL); ^ main.cpp:4503:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_pickup1, dirs->getModels ("pickup1.3ds")); ^ main.cpp:4504:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_pickup1.setName ("PICKUP"); ^ main.cpp:4505:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * pickup2.3ds", LOG_ALL); ^ main.cpp:4506:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_pickup2, dirs->getModels ("pickup2.3ds")); ^ main.cpp:4507:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_pickup2.setName ("PICKUP"); ^ main.cpp:4508:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * tank2.3ds", LOG_ALL); ^ main.cpp:4509:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_tank2, dirs->getModels ("tank2.3ds")); ^ main.cpp:4510:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_tank2.setName ("PANTHER"); ^ main.cpp:4512:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * tent4.3ds", LOG_ALL); ^ main.cpp:4513:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_tent4, dirs->getModels ("tent4.3ds")); ^ main.cpp:4514:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_tent4.setName ("BIG TENT"); ^ main.cpp:4515:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * hall1.3ds", LOG_ALL); ^ main.cpp:4516:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_hall1, dirs->getModels ("hall1.3ds")); ^ main.cpp:4517:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_hall1.setName ("HALL"); ^ main.cpp:4518:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * hall2.3ds", LOG_ALL); ^ main.cpp:4519:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_hall2, dirs->getModels ("hall2.3ds")); ^ main.cpp:4520:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_hall2.setName ("HALL"); ^ main.cpp:4521:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * oilrig.3ds", LOG_ALL); ^ main.cpp:4522:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_oilrig, dirs->getModels ("oilrig.3ds")); ^ main.cpp:4523:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_oilrig.setName ("OILRIG"); ^ main.cpp:4525:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * egg.3ds", LOG_ALL); ^ main.cpp:4526:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_egg, dirs->getModels ("egg.3ds")); ^ main.cpp:4528:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_egg.setName ("COMPLEX"); ^ main.cpp:4529:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * radar.3ds", LOG_ALL); ^ main.cpp:4530:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_radar, dirs->getModels ("radar.3ds")); ^ main.cpp:4531:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_radar.setName ("RADAR"); ^ main.cpp:4532:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * mine1.3ds", LOG_ALL); ^ main.cpp:4533:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_mine1, dirs->getModels ("mine1.3ds")); ^ main.cpp:4534:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_mine1.setName ("MINE"); ^ main.cpp:4535:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * aster1.3ds", LOG_ALL); ^ main.cpp:4536:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_aster1, dirs->getModels ("aster1.3ds")); ^ main.cpp:4537:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_aster1.setName ("ASTEROID"); ^ main.cpp:4538:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * base1.3ds", LOG_ALL); ^ main.cpp:4539:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_base1, dirs->getModels ("base1.3ds")); ^ main.cpp:4540:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_base1.setName ("MOON BASE"); ^ main.cpp:4541:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * barrier.3ds", LOG_ALL); ^ main.cpp:4542:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_barrier1, dirs->getModels ("barrier.3ds")); ^ main.cpp:4543:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_barrier1.setName ("MOON BASE"); ^ main.cpp:4546:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * rubble.3ds", LOG_ALL); ^ main.cpp:4547:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_rubble1, dirs->getModels ("rubble.3ds")); ^ main.cpp:4548:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_base1.setName ("RUBBLE"); ^ main.cpp:4549:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" * depot1.3ds", LOG_ALL); ^ main.cpp:4550:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_depot1, dirs->getModels ("depot1.3ds")); ^ main.cpp:4551:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_depot1.setName ("DEPOT"); ^ main.cpp:4553:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_house1, dirs->getModels ("house1.3ds")); ^ main.cpp:4554:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] model_house1.setName ("HOUSE"); ^ main.cpp:4573:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Setting up world geometry", LOG_ALL); ^ main.cpp:4602:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] textitle = gl->genTextureTGA (dirs->getTextures ("patents.tga"), 0, 0, 0, true); ^ main.cpp: In function 'void init_display()': main.cpp:4718:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font2->drawText (20, -20, -3, VERSIONSTRING, &color); ^ main.cpp: In function 'void myTimerFunc(int)': main.cpp:5220:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Out of sync", LOG_ERROR); ^ main.cpp: In function 'void config_test(int, char**)': main.cpp:5577:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("No configuration file found. Testing...", LOG_MOST); ^ main.cpp:5581:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Using GLUT only", LOG_MOST); ^ --- land.o --- land.cpp: In member function 'void Landscape::calcWoods(int)': land.cpp:1384:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (isWoods (f [i - 1] [i2]) && isWoods (f [i + 1] [i2]) || ^ --- main.o --- main.cpp:5616:133: warning: deprecated conversion from string constant to 'char*' [-Wwrite-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: In function 'void viewParameters()': main.cpp:5635:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" ", LOG_NONE); ^ main.cpp:5636:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Usage: gl-117 [-h -v -dLEVEL]", LOG_NONE); ^ main.cpp:5637:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" ", LOG_NONE); ^ main.cpp:5638:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("-h: Display this help screen and quit", LOG_NONE); ^ main.cpp:5639:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("-v: Display version string and quit", LOG_NONE); ^ main.cpp:5640:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("-dLEVEL: Set debug LEVEL to 0=silent...5=log all", LOG_NONE); ^ main.cpp:5641:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (" ", LOG_NONE); ^ main.cpp: In function 'void checkargs(int, char**)': main.cpp:5657:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Invalid debug level", LOG_FATAL); ^ main.cpp:5669:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display (VERSIONSTRING, LOG_NONE); ^ main.cpp:5679:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Invalid command line parameter", LOG_FATAL); ^ main.cpp: In function 'void setpilotstext()': main.cpp:5889:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ((Label *) submenu [0]->components [i + 2])->setText ("N/A"); ^ main.cpp: In function 'void callbackPilotsAdd(Component*, int)': main.cpp:5902:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ((EditField *) submenu [0]->components [9])->setText (""); ^ main.cpp: In function 'void callbackDefaultsJoystick(Component*, int)': main.cpp:6036:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ((Label *) controlsmenu [2]->components [z])->setText ("A 0"); ^ main.cpp:6038:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ((Label *) controlsmenu [2]->components [z])->setText ("A 1"); ^ main.cpp:6040:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ((Label *) controlsmenu [2]->components [z])->setText ("A 2"); ^ main.cpp:6042:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ((Label *) controlsmenu [2]->components [z])->setText ("A 3"); ^ main.cpp:6044:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ((Label *) controlsmenu [2]->components [z])->setText ("A 4"); ^ main.cpp:6046:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ((Label *) controlsmenu [2]->components [z])->setText ("A 5"); ^ main.cpp: In function 'void callbackFullscreen(Component*, int)': main.cpp:6308:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (wantfullscreen) ((Label *) optmenu [0]->components [18])->setText ("YES"); ^ main.cpp:6309:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else ((Label *) optmenu [0]->components [18])->setText ("NO"); ^ main.cpp: In function 'void createMenu()': main.cpp:6571:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("DELETE (RIGHT MB)"); ^ main.cpp:6578:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("ADD"); ^ main.cpp:6634:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("FIGHTER INFO"); ^ main.cpp:6686:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("PILOTS RANKING"); ^ main.cpp:6728:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("QUALITY"); ^ main.cpp:6740:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("VIEW"); ^ main.cpp:6752:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("DITHERING"); ^ main.cpp:6765:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("ANTIALIASING"); ^ main.cpp:6778:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("SPECIAL EFFECTS"); ^ main.cpp:6791:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("DYN LIGHTING"); ^ main.cpp:6804:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("BRIGHTNESS"); ^ main.cpp:6824:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("RESOLUTION"); ^ main.cpp:6836:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("FULLSCREEN"); ^ main.cpp:6857:118: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] textfield = new TextField ("PLEASE INSTALL SDL AND\nSDLMIXER AND RECOMIPLE\nGL-117 TO ENABLE SOUND\nAND MUSIC", 0.6); ^ main.cpp:6905:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("DIFFICULTY"); ^ main.cpp:6919:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("PHYSICS"); ^ main.cpp:6932:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("CONTROLS"); ^ main.cpp:6957:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] label = new Label ("ROLL: \t LEFT, RIGHT"); ^ main.cpp:6962:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] label = new Label ("ELEVATOR: \t UP, DOWN"); ^ main.cpp:6967:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] label = new Label ("RUDDER: \t LSHIFT+ROLL"); ^ main.cpp:6972:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] label = new Label ("THROTTLE: \t 1...9"); ^ main.cpp:6977:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] label = new Label ("CAMERA: \t F1...F8"); ^ main.cpp:7020:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("LOAD DEFAULTS"); ^ main.cpp:7033:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("SENSITIVITY"); ^ main.cpp:7045:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("REVERSE"); ^ main.cpp:7058:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("RELATIVE"); ^ main.cpp:7071:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("AUTORUDDER"); ^ main.cpp:7106:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("LOAD DEFAULTS"); ^ main.cpp:7232:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] textfield = new TextField ("", yfstep - 0.1); ^ main.cpp:7266:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] textfield = new TextField ("", yfstep - 0.1); ^ main.cpp:7271:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("<"); ^ main.cpp:7275:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button (">"); ^ main.cpp:7279:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] textfield = new TextField ("", yfstep - 0.1); ^ main.cpp:7334:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button (" BACK TO MAIN MENU"); ^ main.cpp:7339:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button (" START MISSION"); ^ main.cpp:7358:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button (" YES"); ^ main.cpp:7363:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button (" NO"); ^ main.cpp:7382:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button (" CONTINUE"); ^ main.cpp: In function 'int main(int, char**)': main.cpp:7421:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Getting directory locations", LOG_ALL); ^ main.cpp:7426:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Creating new configuration", LOG_ALL); ^ main.cpp:7444:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Creating/Loading pilots list", LOG_ALL); ^ main.cpp:7445:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pilots = new PilotList (dirs->getSaves ("pilots")); // look at pilots.h ^ main.cpp:7450:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Using GLUT only", LOG_MOST); ^ main.cpp:7467:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Calling main initialization method", LOG_ALL); ^ main.cpp:7470:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Creating dummy sound system, install SDL to enable sound", LOG_ALL); ^ main.cpp:7475:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Registering GLUT callbacks", LOG_ALL); ^ main.cpp:7492:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Entering GLUT main loop", LOG_ALL); ^ --- glland.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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.h:32:0, from glland.cpp:26: glland.cpp: In member function 'void GLLandscape::precalculate()': glland.cpp:299:28: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] int xm1 = GETCOORD(x - 1); ^ land.h:50:22: note: in definition of macro 'GETCOORD' #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:300:28: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] int xp1 = GETCOORD(x + 1); ^ land.h:50:22: note: in definition of macro 'GETCOORD' #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:301:28: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] int zm1 = GETCOORD(z - 1); ^ land.h:50:22: note: in definition of macro 'GETCOORD' #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:302:28: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] int zp1 = GETCOORD(z + 1); ^ land.h:50:22: note: in definition of macro 'GETCOORD' #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp: In member function 'void GLLandscape::drawQuadStrip(int, int, int, int)': glland.cpp:889:30: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] int xstep = GETCOORD(x + step); ^ land.h:50:22: note: in definition of macro 'GETCOORD' #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:890:27: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] int y2 = GETCOORD(y + step); ^ land.h:50:22: note: in definition of macro 'GETCOORD' #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:897:29: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] int y0 = GETCOORD(y - step); ^ land.h:50:22: note: in definition of macro 'GETCOORD' #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:968:32: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] int xstep = GETCOORD(x + step); ^ land.h:50:22: note: in definition of macro 'GETCOORD' #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:969:32: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] int ystep = GETCOORD(y + step); ^ land.h:50:22: note: in definition of macro 'GETCOORD' #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:970:33: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] int ymstep = GETCOORD(y - step); ^ land.h:50:22: note: in definition of macro 'GETCOORD' #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp: In member function 'void GLLandscape::drawWaterTexturedQuad(int, int)': glland.cpp:1524:27: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] int xstep = GETCOORD(xs + step); ^ land.h:50:22: note: in definition of macro 'GETCOORD' #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:1525:27: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] int ystep = GETCOORD(ys + step); ^ land.h:50:22: note: in definition of macro 'GETCOORD' #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp: In member function 'void GLLandscape::draw(int, int)': glland.cpp:2048:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("view exceeds ray casting blocks - not implemented", LOG_FATAL); ^ In file included from glland.h:32:0, from glland.cpp:26: glland.cpp:2540:33: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] int x2 = GETCOORD(xs+gridstep); ^ land.h:50:22: note: in definition of macro 'GETCOORD' #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:2541:33: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] int y2 = GETCOORD(ys+gridstep); ^ land.h:50:22: note: in definition of macro 'GETCOORD' #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:2566:41: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] int xstep = GETCOORD(xs + gridstep); ^ land.h:50:22: note: in definition of macro 'GETCOORD' #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:2567:41: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] int ystep = GETCOORD(ys + gridstep); ^ land.h:50:22: note: in definition of macro 'GETCOORD' #define GETCOORD(x) (x & MAXX_MASK) ^ --- main.o --- main.cpp: In function 'void proceedFire()': main.cpp:4762:29: warning: iteration 256u invokes undefined behavior [-Waggressive-loop-optimizations] int h = heat [yind] [i2]; ^ main.cpp:4757:21: note: containing loop for (i2 = 0; i2 < maxfx + 1; i2 ++) ^ --- aiobject.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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 aiobject.cpp: In member function 'int DynamicObj::net_write()': aiobject.cpp:36:36: warning: argument to 'sizeof' in 'void* memcpy(void*, const void*, size_t)' call is the same pointer type 'float*' as the source; expected 'float' or an explicit length [-Wsizeof-pointer-memaccess] memcpy (&net [z], &tl->x, sizeof (&tl->x)); ^ aiobject.cpp:38:36: warning: argument to 'sizeof' in 'void* memcpy(void*, const void*, size_t)' call is the same pointer type 'float*' as the source; expected 'float' or an explicit length [-Wsizeof-pointer-memaccess] memcpy (&net [z], &tl->y, sizeof (&tl->y)); ^ aiobject.cpp:40:36: warning: argument to 'sizeof' in 'void* memcpy(void*, const void*, size_t)' call is the same pointer type 'float*' as the source; expected 'float' or an explicit length [-Wsizeof-pointer-memaccess] memcpy (&net [z], &tl->z, sizeof (&tl->z)); ^ aiobject.cpp:42:34: warning: argument to 'sizeof' in 'void* memcpy(void*, const void*, size_t)' call is the same expression as the source; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess] memcpy (&net [z], &phi, sizeof (&phi)); ^ aiobject.cpp:44:36: warning: argument to 'sizeof' in 'void* memcpy(void*, const void*, size_t)' call is the same expression as the source; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess] memcpy (&net [z], &theta, sizeof (&theta)); ^ aiobject.cpp:46:36: warning: argument to 'sizeof' in 'void* memcpy(void*, const void*, size_t)' call is the same expression as the source; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess] memcpy (&net [z], &gamma, sizeof (&gamma)); ^ aiobject.cpp: In member function 'void DynamicObj::net_read()': aiobject.cpp:55:36: warning: argument to 'sizeof' in 'void* memcpy(void*, const void*, size_t)' call is the same pointer type 'float*' as the destination; expected 'float' or an explicit length [-Wsizeof-pointer-memaccess] memcpy (&tl->x, &net [z], sizeof (&tl->x)); ^ aiobject.cpp:57:36: warning: argument to 'sizeof' in 'void* memcpy(void*, const void*, size_t)' call is the same pointer type 'float*' as the destination; expected 'float' or an explicit length [-Wsizeof-pointer-memaccess] memcpy (&tl->y, &net [z], sizeof (&tl->y)); ^ aiobject.cpp:59:36: warning: argument to 'sizeof' in 'void* memcpy(void*, const void*, size_t)' call is the same pointer type 'float*' as the destination; expected 'float' or an explicit length [-Wsizeof-pointer-memaccess] memcpy (&tl->z, &net [z], sizeof (&tl->z)); ^ aiobject.cpp:61:34: warning: argument to 'sizeof' in 'void* memcpy(void*, const void*, size_t)' call is the same expression as the destination; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess] memcpy (&phi, &net [z], sizeof (&phi)); ^ aiobject.cpp:63:36: warning: argument to 'sizeof' in 'void* memcpy(void*, const void*, size_t)' call is the same expression as the destination; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess] memcpy (&theta, &net [z], sizeof (&theta)); ^ aiobject.cpp:65:36: warning: argument to 'sizeof' in 'void* memcpy(void*, const void*, size_t)' call is the same expression as the destination; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess] memcpy (&gamma, &net [z], sizeof (&gamma)); ^ aiobject.cpp: In member function 'bool AIObj::fireFlare(DynamicObj**, AIObj**)': aiobject.cpp:1735:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Missile to flare", LOG_ALL); ^ aiobject.cpp: In member function 'bool AIObj::fireChaff(DynamicObj**, AIObj**)': aiobject.cpp:1781:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Missile to chaff", LOG_ALL); ^ aiobject.cpp: In member function 'void AIObj::aiAction(unsigned int, AIObj**, AIObj**, DynamicObj**, DynamicObj**, DynamicObj**)': aiobject.cpp:2449:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Manoever: Vertical climb", LOG_ALL); ^ aiobject.cpp:2656:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Manoever: Immelmann", LOG_ALL); ^ aiobject.cpp:2661:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Manoever: Immelmann", LOG_ALL); ^ aiobject.cpp:2668:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Manoever: Roll", LOG_ALL); ^ aiobject.cpp:2676:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Manoever: Turn", LOG_ALL); ^ aiobject.cpp:2683:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Manoever: Height change", LOG_ALL); ^ aiobject.cpp:2714:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Manoever: Immelmann", LOG_ALL); ^ aiobject.cpp:2719:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Manoever: Immelmann", LOG_ALL); ^ aiobject.cpp:2726:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Manoever: Roll", LOG_ALL); ^ aiobject.cpp:2734:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Manoever: Turn", LOG_ALL); ^ aiobject.cpp:2741:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Manoever: Height change", LOG_ALL); ^ --- model.o --- model.cpp: In member function 'void CSphere::init(float, int, float, float, float, int)': model.cpp:1391:70: warning: 'p[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] if (i == 0) co->triangle [co->numTriangles ++].setVertices (&co->vertex [p [0]], &co->vertex [p [1]], &co->vertex [p [2]]); ^ model.cpp:1391:70: warning: 'p[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] model.cpp: In member function 'void CSpherePart::init(float, int, float)': model.cpp:1531:68: warning: 'p[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] if (i == 0) co->triangle [co->numTriangles ++].setVertices (&co->vertex [p [0]], &co->vertex [p [1]], &co->vertex [p [2]]); ^ model.cpp:1531:68: warning: 'p[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] --- effects.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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 --- vertexarray.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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: In member function 'void VertexArray::reallocData()': vertexarray.cpp:160:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Out of memory", LOG_FATAL); ^ --- net.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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 --- mathtab.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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 --- dirs.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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: In constructor 'Dirs::Dirs(char*)': dirs.cpp:141:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] p = mystrtok (p, (int) (path + pathlen - p), ":"); ^ dirs.cpp:158:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] p = mystrtok (p + strlen (p) + 1, (int) (path + pathlen - p), ":"); ^ dirs.cpp:161:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Binary file has no context to the data files.", LOG_FATAL); ^ dirs.cpp:185:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Binary file has no context to the data files.", LOG_FATAL); ^ dirs.cpp:194:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] append (saves, ".gl-117"); ^ dirs.cpp:230:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] append (textures, "textures"); ^ dirs.cpp:231:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] append (music, "music"); ^ dirs.cpp:232:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] append (sound, "sounds"); ^ dirs.cpp:233:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] append (models, "models"); ^ dirs.cpp:234:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] append (maps, "maps"); ^ --- objload.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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 --- pilots.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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 pilots.cpp: In member function 'char* TeamPilot::getRank()': pilots.cpp:55:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ranking == 0) return "AIRMAN BASIC"; ^ pilots.cpp:56:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else if (ranking == 1) return "AIRMAN"; ^ pilots.cpp:57:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else if (ranking == 2) return "AIRMAN 1ST CLASS"; ^ pilots.cpp:58:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else if (ranking == 3) return "2ND LIEUTNANT"; ^ pilots.cpp:59:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else if (ranking == 4) return "1ST LIEUTNANT"; ^ pilots.cpp:60:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else if (ranking == 5) return "CAPTAIN"; ^ pilots.cpp:61:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else if (ranking == 6) return "MAJOR"; ^ pilots.cpp:62:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else if (ranking == 7) return "COLONEL"; ^ pilots.cpp:63:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else return "GENERAL"; ^ pilots.cpp: In member function 'char* TeamPilot::getShortRank()': pilots.cpp:68:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ranking == 0) return "AB"; ^ pilots.cpp:69:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else if (ranking == 1) return "ARM"; ^ pilots.cpp:70:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else if (ranking == 2) return "A1C"; ^ pilots.cpp:71:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else if (ranking == 3) return "2ND LT"; ^ pilots.cpp:72:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else if (ranking == 4) return "1ST LT"; ^ pilots.cpp:73:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else if (ranking == 5) return "CAPT"; ^ pilots.cpp:74:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else if (ranking == 6) return "MAJ"; ^ pilots.cpp:75:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else if (ranking == 7) return "COL"; ^ pilots.cpp:76:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else return "GEN"; ^ pilots.cpp: In member function 'void Pilot::load()': pilots.cpp:140:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] tp [0] = new TeamPilot (5, "PRIMETIME", 200, 100, 150, 20); ^ pilots.cpp:141:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] tp [1] = new TeamPilot (1, "HEPTARGON", 80, 220, 300, 1); ^ pilots.cpp:142:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] tp [2] = new TeamPilot (2, "KARA", 180, 160, 50, 4); ^ pilots.cpp:143:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] tp [3] = new TeamPilot (6, "SHARK", 70, 90, 120, 22); ^ pilots.cpp:144:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] tp [4] = new TeamPilot (3, "BOSS", 250, 180, 80, 10); ^ pilots.cpp:145:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] tp [5] = new TeamPilot (2, "DR DOOM", 320, 210, 20, 2); ^ pilots.cpp:146:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] tp [6] = new TeamPilot (4, "SHADOW", 130, 200, 320, 15); ^ pilots.cpp:147:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] tp [7] = new TeamPilot (7, "MATRIX", 40, 80, 180, 25); ^ pilots.cpp:148:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] tp [8] = new TeamPilot (1, "FIREBIRD", 250, 140, 100, 1); ^ pilots.cpp:149:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] tp [9] = new TeamPilot (4, "THUNDER", 150, 170, 60, 18); ^ pilots.cpp:150:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] tp [10] = new TeamPilot (0, "PLAYER", 0, 0, 0, 0); ^ pilots.cpp:158:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Could not load pilot", LOG_WARN); ^ pilots.cpp: In member function 'void Pilot::save()': pilots.cpp:185:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Could not write pilot", LOG_WARN); ^ pilots.cpp: In member function 'char* Pilot::getRank()': pilots.cpp:212:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { ranking = 0; return "AIRMAN BASIC"; } ^ pilots.cpp:214:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { ranking = 1; return "AIRMAN"; } ^ pilots.cpp:216:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { ranking = 2; return "AIRMAN 1ST CLASS"; } ^ pilots.cpp:218:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { ranking = 3; return "2ND LIEUTNANT"; } ^ pilots.cpp:220:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { ranking = 4; return "1ST LIEUTNANT"; } ^ pilots.cpp:222:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { ranking = 5; return "CAPTAIN"; } ^ pilots.cpp:224:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { ranking = 6; return "MAJOR"; } ^ pilots.cpp:226:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { ranking = 7; return "COLONEL"; } ^ pilots.cpp:228:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { ranking = 8; return "GENERAL"; } ^ pilots.cpp: In member function 'char* Pilot::getShortRank()': pilots.cpp:254:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { ranking = 0; return "AB"; } ^ pilots.cpp:256:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { ranking = 1; return "AMN"; } ^ pilots.cpp:258:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { ranking = 2; return "A1C"; } ^ pilots.cpp:260:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { ranking = 3; return "2ND LT"; } ^ pilots.cpp:262:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { ranking = 4; return "1ST LT"; } ^ pilots.cpp:264:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { ranking = 5; return "CAPT"; } ^ pilots.cpp:266:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { ranking = 6; return "MAJ"; } ^ pilots.cpp:268:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { ranking = 7; return "COL"; } ^ pilots.cpp:270:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] { ranking = 8; return "GEN"; } ^ pilots.cpp: In member function 'void PilotList::load(char*)': pilots.cpp:296:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Could not load saves/pilots", LOG_WARN); ^ pilots.cpp:298:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] add ("PLAYER"); ^ pilots.cpp: In member function 'void PilotList::save(char*)': pilots.cpp:325:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Could not write saves/pilots", LOG_WARN); ^ --- loader_tga.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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:42:1: warning: multi-line comment [-Wcomment] //#define WRITE_RGBA(p, r, g, b, a) \ ^ --- object.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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 --- loader_tga.o --- loader_tga.cpp: In function 'unsigned char* tga_load(char*, int*, int*)': loader_tga.cpp:198:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Out of memory", LOG_FATAL); ^ loader_tga.cpp:217:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Out of memory", LOG_FATAL); ^ loader_tga.cpp: In function 'DATA32* flip(DATA32*, int, int)': loader_tga.cpp:438:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Out of memory", LOG_FATAL); ^ --- conf.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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: In function 'void save_config()': conf.cpp:204:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *confname = dirs->getSaves ("conf"); ^ conf.cpp:210:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Could not save configuration", LOG_ERROR); ^ conf.cpp:214:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Configuration\n"); ^ conf.cpp:215:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Some possible width x height values for fullscreen mode:"); ^ conf.cpp:216:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# 640x480, 800x600, 1024x768, 1152x864, 1280x768, 1280x960, 1280x1024"); ^ conf.cpp:217:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" width", wantwidth); ^ conf.cpp:218:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" height", wantheight); ^ conf.cpp:219:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Possible bits per pixel values (color depth):"); ^ conf.cpp:220:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# 8 (not recommended), 16, 24, 32"); ^ conf.cpp:221:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" bpp", bpp); ^ conf.cpp:222:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Try to go fullscreen = 1, game in window = 0"); ^ conf.cpp:223:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" fullscreen", wantfullscreen); ^ conf.cpp:224:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Quality: 0=software rendered up to 5=best (default=2)"); ^ conf.cpp:225:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" quality", quality); ^ conf.cpp:226:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Far clipping plane: 20..100 (default=50)"); ^ conf.cpp:227:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" view", (int) view); ^ conf.cpp:228:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Dithering: 0=off, 1=on (default=1)"); ^ conf.cpp:229:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" dithering", dithering); ^ conf.cpp:230:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Antialiasing: 0=off, 1=on (default=1)"); ^ conf.cpp:231:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" antialiasing", antialiasing); ^ conf.cpp:232:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Special effects: 0=off, 1=on (default=1)"); ^ conf.cpp:233:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" specialeffects", specialeffects); ^ conf.cpp:234:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Dynamic lighting: 0=off, 1=on (default=1)"); ^ conf.cpp:235:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" dynamiclighting", dynamiclighting); ^ conf.cpp:242:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Piloting controls: 0=keyboard, 1=mouse easy, 2=joystick"); ^ conf.cpp:243:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" controls", controls); ^ conf.cpp:244:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Difficulty level: 0=easy, 1=medium, 2=hard"); ^ conf.cpp:245:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" difficulty", difficulty); ^ conf.cpp:246:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Brightness: -50..50 per cent (default=0)"); ^ conf.cpp:247:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" brightness", brightness); ^ conf.cpp:248:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Physics: 0=action, 1=realistic"); ^ conf.cpp:249:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" physics", physics); ^ conf.cpp:250:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("\n# This file is meant to give sensible startup settings"); ^ conf.cpp:251:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# as graphic cards and drivers may differ some 100 times in speed"); ^ conf.cpp:252:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("\n# To get back to default settings, just delete this file!"); ^ conf.cpp: In function 'void save_saveconfig()': conf.cpp:261:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *confname = dirs->getSaves ("saveconf"); ^ conf.cpp:267:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Could not save working graphics mode configuration", LOG_ERROR); ^ conf.cpp:271:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Working backup configuration\n"); ^ conf.cpp:272:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Do not edit this file. It is only used to restore a broken configuration!"); ^ conf.cpp:273:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" width", width); ^ conf.cpp:274:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" height", height); ^ conf.cpp:275:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" bpp", bpp); ^ conf.cpp:276:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" fullscreen", fullscreen); ^ conf.cpp: In function 'int load_config()': conf.cpp:286:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *confname = dirs->getSaves ("conf"); ^ conf.cpp:297:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "width"); ^ conf.cpp:306:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "height"); ^ conf.cpp:315:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "bpp"); ^ conf.cpp:323:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "fullscreen"); ^ conf.cpp:331:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "quality"); ^ conf.cpp:339:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "view"); ^ conf.cpp:353:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "dithering"); ^ conf.cpp:357:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "antialiasing"); ^ conf.cpp:361:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "specialeffects"); ^ conf.cpp:365:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "dynamiclighting"); ^ conf.cpp:387:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "controls"); ^ conf.cpp:395:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "difficulty"); ^ conf.cpp:403:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "brightness"); ^ conf.cpp:411:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "physics"); ^ conf.cpp: In function 'int load_saveconfig()': conf.cpp:428:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *confname = dirs->getSaves ("saveconf"); ^ conf.cpp:439:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "savewidth"); ^ conf.cpp:447:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "saveheight"); ^ conf.cpp:455:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "savebpp"); ^ conf.cpp:463:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "savefullscreen"); ^ conf.cpp: In function 'void save_configInterface()': conf.cpp:485:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *confname = dirs->getSaves ("conf.interface"); ^ conf.cpp:491:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Could not save interface configuration", LOG_ERROR); ^ conf.cpp:494:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Interface configuration\n"); ^ conf.cpp:495:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# ---------------------------------------------------------------------"); ^ conf.cpp:496:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Keyboard section"); ^ conf.cpp:497:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# ---------------------------------------------------------------------\n"); ^ conf.cpp:498:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Use ASCII-Code values or letters to remap"); ^ conf.cpp:499:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# 8=BACKSPACE, 13=ENTER, 32=SPACE, 65=A...90=Z (NOT case sensitive)"); ^ conf.cpp:500:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" key_firecannon", (int) key_firecannon); ^ conf.cpp:501:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" key_firemissile", (int) key_firemissile); ^ conf.cpp:502:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" key_dropflare", (int) key_dropflare); ^ conf.cpp:503:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" key_dropchaff", (int) key_dropchaff); ^ conf.cpp:504:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" key_selectmissile", (int) key_selectmissile); ^ conf.cpp:505:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Target nearest enemy with priority for enemies in front of you"); ^ conf.cpp:506:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" key_targetnearest", (int) key_targetnearest); ^ conf.cpp:507:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Target next enemy who has locked you"); ^ conf.cpp:508:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" key_targetlocking", (int) key_targetlocking); ^ conf.cpp:509:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" key_targetnext", (int) key_targetnext); ^ conf.cpp:510:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" key_targetprevious", (int) key_targetprevious); ^ conf.cpp:511:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" key_incthrust", (int) key_thrustup); ^ conf.cpp:512:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" key_decthrust", (int) key_thrustdown); ^ conf.cpp:513:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# All other piloting keys (CURSORS, PGUP/DN) are fixed."); ^ conf.cpp:514:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("\n# ---------------------------------------------------------------------"); ^ conf.cpp:515:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Mouse section"); ^ conf.cpp:516:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# ---------------------------------------------------------------------\n"); ^ conf.cpp:517:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Sensitivity: 70...200%, 70%=full screen area, 200%=max sensitivity"); ^ conf.cpp:518:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" mouse_sensitivity", (int) mouse_sensitivity); ^ conf.cpp:519:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Reverse y-axis: 0 (no) or 1 (yes)"); ^ conf.cpp:520:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" mouse_reverse", (int) mouse_reverse); ^ conf.cpp:521:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Relative coordinates: 0 (no) or 1 (yes)"); ^ conf.cpp:522:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" mouse_relative", (int) mouse_relative); ^ conf.cpp:523:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Auto rudder on x-axis, dead area for rolls: 0...100"); ^ conf.cpp:524:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" mouse_autorudder", (int) mouse_autorudder); ^ conf.cpp:525:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("\n# Buttons: 1=Left, 2=Middle, 3=Right"); ^ conf.cpp:530:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" mouse_firecannon", mousebutton); ^ conf.cpp:534:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" mouse_firemissile", mousebutton); ^ conf.cpp:538:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" mouse_selectmissile", mousebutton); ^ conf.cpp:539:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("\n# ---------------------------------------------------------------------"); ^ conf.cpp:540:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Joystick section"); ^ conf.cpp:541:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# ---------------------------------------------------------------------\n"); ^ conf.cpp:542:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# The number of axes, buttons, and the coolie hat depends on your joystick!"); ^ conf.cpp:543:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Numbers start with A=first joystick, B=second joystick...J=10th joystick"); ^ conf.cpp:544:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# followed by a number to identify axes, buttons, and coolie hat\n"); ^ conf.cpp:545:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Axis: 0...MAX-1 (maybe 0=aileron 1=elevator 2=throttle 3=rudder)"); ^ conf.cpp:546:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_aileron", joystick_aileron); ^ conf.cpp:547:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_elevator", joystick_elevator); ^ conf.cpp:548:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_throttle", joystick_throttle); ^ conf.cpp:549:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_rudder", joystick_rudder); ^ conf.cpp:550:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_view_x", joystick_view_x); ^ conf.cpp:551:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_view_y", joystick_view_y); ^ conf.cpp:552:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("\n# Buttons: 0...MAX-1, Coolie: 100=Right, 101=Up, 102=Left, 103=Down"); ^ conf.cpp:553:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_firecannon", joystick_firecannon); ^ conf.cpp:554:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_firemissile", joystick_firemissile); ^ conf.cpp:555:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Dropping chaff AND flare may be preferred"); ^ conf.cpp:556:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_dropflare", joystick_dropflare); ^ conf.cpp:557:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_dropchaff", joystick_dropchaff); ^ conf.cpp:558:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_selectmissile", joystick_selectmissile); ^ conf.cpp:559:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_targetnearest", joystick_targetnearest); ^ conf.cpp:560:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_targetlocking", joystick_targetlocking); ^ conf.cpp:561:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_targetnext", joystick_targetnext); ^ conf.cpp:562:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_targetprevious", joystick_targetprevious); ^ conf.cpp:563:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_incthrust", joystick_thrustup); ^ conf.cpp:564:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_decthrust", joystick_thrustdown); ^ conf.cpp:565:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("\n# This file is meant to give sensible custom interface settings"); ^ conf.cpp:566:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("\n# To get back to default settings, just delete this file!"); ^ conf.cpp: In function 'int load_configInterface()': conf.cpp:605:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *confname = dirs->getSaves ("conf.interface"); ^ conf.cpp:610:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_firecannon"); ^ conf.cpp:613:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_firemissile"); ^ conf.cpp:616:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_dropchaff"); ^ conf.cpp:619:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_dropflare"); ^ conf.cpp:622:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_selectmissile"); ^ conf.cpp:625:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_targetnearest"); ^ conf.cpp:628:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_targetlocking"); ^ conf.cpp:631:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_targetnext"); ^ conf.cpp:634:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_targetprevious"); ^ conf.cpp:637:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_incthrust"); ^ conf.cpp:640:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_decthrust"); ^ conf.cpp:643:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "mouse_sensitivity"); ^ conf.cpp:651:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "mouse_reverse"); ^ conf.cpp:657:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "mouse_relative"); ^ conf.cpp:663:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "mouse_autorudder"); ^ conf.cpp:672:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "mouse_firecannon"); ^ conf.cpp:681:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "mouse_firemissile"); ^ conf.cpp:690:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "mouse_selectmissile"); ^ conf.cpp:699:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_aileron"); ^ conf.cpp:702:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_elevator"); ^ conf.cpp:705:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_throttle"); ^ conf.cpp:708:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_rudder"); ^ conf.cpp:711:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_view_x"); ^ conf.cpp:714:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_view_y"); ^ conf.cpp:717:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_firecannon"); ^ conf.cpp:720:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_firemissile"); ^ conf.cpp:723:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_dropchaff"); ^ conf.cpp:726:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_dropflare"); ^ conf.cpp:729:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_selectmissile"); ^ conf.cpp:732:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_targetnearest"); ^ conf.cpp:735:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_targetlocking"); ^ conf.cpp:738:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_targetnext"); ^ conf.cpp:741:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_targetprevious"); ^ conf.cpp:744:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_incthrust"); ^ conf.cpp:747:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_decthrust"); ^ --- mission.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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 mission.cpp: In member function 'virtual void MissionTutorial1::draw()': mission.cpp:385:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "LEAVE THE JOYSTICK CENTERED.", &textcolor); ^ mission.cpp:386:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "THE FIGHTER SHOULD FLY STRAIGHT ON.", &textcolor); ^ mission.cpp:387:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "IF NOT, RECALIBRATE YOUR JOYSTICK", &textcolor); ^ mission.cpp:391:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "THE MENU OPTIONS/CONTROLS LETS YOU", &textcolor); ^ mission.cpp:392:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "DETERMINE THE INPUT DEVICE.", &textcolor); ^ mission.cpp:393:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "CURRENTLY, THIS IS THE MOUSE", &textcolor); ^ mission.cpp:397:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "THE MENU OPTIONS/CONTROLS LETS YOU", &textcolor); ^ mission.cpp:398:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "DETERMINE THE INPUT DEVICE.", &textcolor); ^ mission.cpp:399:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "CURRENTLY, THIS IS THE KEYBOARD", &textcolor); ^ mission.cpp:406:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "MOVING THE JOYSTICK LEFT OR RIGHT", &textcolor); ^ mission.cpp:407:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "WILL AFFECT THE AILERON.", &textcolor); ^ mission.cpp:408:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "THUS YOU WILL ONLY ROLL", &textcolor); ^ mission.cpp:414:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "THE MOUSE INTERFACE IS VERY EASY.", &textcolor); ^ mission.cpp:415:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "ALWAYS POINT TO WHERE YOU WANT TO FLY.", &textcolor); ^ mission.cpp:416:101: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "YOU'LL HAVE TO MOVE THE MOUSE PERMANENTLY", &textcolor); ^ mission.cpp:420:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "THE REVERTED MOUSE IS FOR REAL GAMERS ONLY.", &textcolor); ^ mission.cpp:421:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "THE STANDARD MOUSE INTERFACE MAY BE", &textcolor); ^ mission.cpp:422:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "EASIER TO LEARN", &textcolor); ^ mission.cpp:426:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "MOUSE RELATIVE IS A LOT OF WORK.", &textcolor); ^ mission.cpp:427:104: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "ONLY THE RELATIVE MOUSE COORDINATES (MOVING)", &textcolor); ^ mission.cpp:428:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "WILL HAVE AN EFFECT", &textcolor); ^ mission.cpp:433:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "THE KEYBOARD INTERFACE IS NOT THAT EASY.", &textcolor); ^ mission.cpp:434:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "USING THE MOUSE IS STRONLY RECOMMENDED", &textcolor); ^ mission.cpp:441:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "MOVING UP OR DOWN WILL AFFECT", &textcolor); ^ mission.cpp:442:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "THE ELEVATOR.", &textcolor); ^ mission.cpp:443:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "YOU'LL START TO FLY A LOOP", &textcolor); ^ mission.cpp:447:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "MOVING RIGHT OR LEFT WILL AFFECT THE AILERON,", &textcolor); ^ mission.cpp:448:101: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "MOVING UP OR DOWN WILL AFFECT THE ELEVATOR.", &textcolor); ^ mission.cpp:449:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "THUS YOU CAN FLY ROLLS AND LOOPS", &textcolor); ^ mission.cpp:456:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "IF YOUR JOYSTICK HAS A SO-CALLED \"RUDDER\",", &textcolor); ^ mission.cpp:457:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "YOU MAY ALTER THE FIGHTER'S RUDDER.", &textcolor); ^ mission.cpp:458:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "YOU'LL SLIGHTLY FLY TO THE LEFT OR RIGHT", &textcolor); ^ mission.cpp:462:97: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "MOVING THE MOUSE SLIGHTLY LEFT OR RIGHT", &textcolor); ^ mission.cpp:463:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "WILL AFFECT THE RUDDER.", &textcolor); ^ mission.cpp:467:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "TO ALTER THE RUDDER", &textcolor); ^ mission.cpp:468:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "USE THE KEYS PGUP AND PGDN", &textcolor); ^ mission.cpp:475:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "YOUR JOYSTICK HAS ALSO A THROTTLE", &textcolor); ^ mission.cpp:476:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "TO SPEEDUP OR DECELERATE.", &textcolor); ^ mission.cpp:477:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "THERE IS NO WAY TO ENTIRELY STOP", &textcolor); ^ mission.cpp:481:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "USE THE KEYS '1' THROUGH '9' TO ALTER", &textcolor); ^ mission.cpp:482:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "YOUR THROTTLE (SPEED).", &textcolor); ^ mission.cpp:483:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "THERE IS NO WAY TO ENTIRELY STOP", &textcolor); ^ mission.cpp:490:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "THE PREDEFINED JOYSTICK BUTTONS:", &textcolor); ^ mission.cpp:491:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "FIRE CANNON, DROP CHAFF/FLARE,", &textcolor); ^ mission.cpp:492:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "FIRE MISSILE, CHOOSE MISSILE", &textcolor); ^ mission.cpp:496:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "LEFT MOUSE BUTTON: FIRE CANNON", &textcolor); ^ mission.cpp:497:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "RIGHT MOUSE BUTTON: FIRE MISSILE", &textcolor); ^ mission.cpp:498:99: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "BUT YOU SHOULD REALLY PREFER THE KEYBOARD", &textcolor); ^ mission.cpp:502:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "NOW, LETS HAVE A LOOK AT SOME IMPORTANT KEYS", &textcolor); ^ mission.cpp:509:105: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "A SUMMARY OF COMMANDS CAN BE FOUND IN THE MENU.", &textcolor); ^ mission.cpp:510:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "\"ESC\" WILL SHOW THE MENU", &textcolor); ^ mission.cpp:511:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "AND RETURN BACK TO THE ACTION", &textcolor); ^ mission.cpp:528:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "LOOK AT THE RADAR ON THE BOTTOM OF YOUR SCREEN.", &textcolor); ^ mission.cpp:529:114: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "THERE ARE ENEMIES REPRESENTED BY A YELLOW POINT (TARGETED)", &textcolor); ^ mission.cpp:530:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "AND A RED POINT (NOT TARGETED)", &textcolor); ^ mission.cpp:536:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "YOU MAY TARGET AN ENEMY USING THE COOLIE HAT,", &textcolor); ^ mission.cpp:540:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "THEN APPROACH!", &textcolor); ^ mission.cpp:544:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "YOU MAY TARGET AN ENEMY PRESSING", &textcolor); ^ mission.cpp:548:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "THEN APPROACH!", &textcolor); ^ mission.cpp:553:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "SHOOT THE TARGETS TO COMPLETE", &textcolor); ^ mission.cpp:554:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "THIS TUTORIAL SUCCESSFULLY", &textcolor); ^ mission.cpp: In member function 'virtual void MissionTutorial2::draw()': mission.cpp:649:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "FIRSTLY, HAVE A LOOK AT YOUR MISSILES:", &textcolor); ^ mission.cpp:653:99: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "AGM (AIR-GROUND-MISSILE) AND DF (DUMB FIRE)", &textcolor); ^ mission.cpp:657:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "LET'S USE THE AGM: AS SOON AS THE TARGET", &textcolor); ^ mission.cpp:658:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "IS LOCKED (YELLOW), SHOOT THE AGM AT ANY", &textcolor); ^ mission.cpp:659:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "DIRECTION AND WATCH WHERE IT GOES.", &textcolor); ^ mission.cpp:663:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "THEN TRY A DF MISSILE BUT CAREFUL:", &textcolor); ^ mission.cpp:664:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "IT IS QUITE 'DUMB' AND WILL FLY STRAIGHT AHEAD.", &textcolor); ^ mission.cpp:668:104: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "HOWEVER, DF MISSILES WILL CAUSE MUCH MORE DAMAGE", &textcolor); ^ mission.cpp:672:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "NOW, BLOW UP THE TWO TANKS", &textcolor); ^ mission.cpp: In member function 'virtual void MissionTutorial3::draw()': mission.cpp:724:108: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "THE MENU OPTIONS/CONTROLS LETS YOU DEFINE DIFFICULTY", &textcolor); ^ mission.cpp:725:107: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "AND REALISM. CHANGING THESE SETTINGS WILL ONLY HAVE", &textcolor); ^ mission.cpp:726:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "EFFECT ON THE NEXT MISSION YOU START", &textcolor); ^ mission.cpp:730:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "APART FROM YOUR CURRENT PHYSICS SETTINGS", &textcolor); ^ mission.cpp:731:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "LET'S USE THE SIMULATION MODEL AND DISCUSS", &textcolor); ^ mission.cpp:732:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "THE FOUR FORCES THRUST, DRAG, LIFT, AND WEIGHT", &textcolor); ^ mission.cpp:736:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "THRUST IS FORWARD FORCE CREATED BY THE ENGINES.", &textcolor); ^ mission.cpp:737:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "CHANGE THE THRUST TO GAIN OR LOSE SPEED", &textcolor); ^ mission.cpp:741:110: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "DRAG IS THE RETARDING FORCE THAT LIMITS THE AIRCRAFT'S", &textcolor); ^ mission.cpp:742:110: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "SPEED. IT IS MAINLY CAUSED BY THE AIRCRAFT'S STRUCTURE", &textcolor); ^ mission.cpp:743:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "THAT PROTUDES INTO THE WIND", &textcolor); ^ mission.cpp:747:115: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "LIFT IS THE UPWARD FORCE CREATED BY THE AIRFLOW THAT PASSES", &textcolor); ^ mission.cpp:748:108: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "OVER THE WINGS. IN STRAIGHT UNACCELERATED FLIGHT, IT", &textcolor); ^ mission.cpp:749:115: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "COMPENSATES THE WEIGHT AND YOUR FIGHTER WON'T CLIMB OR DIVE", &textcolor); ^ mission.cpp:753:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "THE LIFT FORCE DEPENDS ON THE SPEED:", &textcolor); ^ mission.cpp:754:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "LOW SPEED WILL CAUSE THE AIRPLANE TO DIVE,", &textcolor); ^ mission.cpp:755:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "AT HIGH SPEED IT WILL EVEN CLIMB", &textcolor); ^ mission.cpp:759:112: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "NOW TRY THIS EFFECT BY FLYING STRAIGHT AHEAD AT 0 DEGREE", &textcolor); ^ mission.cpp:760:112: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "ELEVATION WHILE USING THE LOWEST/HIGHEST THRUST SETTINGS", &textcolor); ^ mission.cpp:764:110: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "IF YOU FLY A ROLL, THE LIFT WILL NOT OPPOSE THE THRUST", &textcolor); ^ mission.cpp:765:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "AND YOU WILL LOSE HEIGHT. TRY!", &textcolor); ^ mission.cpp:769:112: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "IF YOU ROLL TO THE SIDE, THE LIFT WILL TEAR THE AIRCRAFT", &textcolor); ^ mission.cpp:770:106: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "FROM STRAIGHT FLIGHT TO A DIAGONAL DIRECTION WHILE", &textcolor); ^ mission.cpp:771:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "LOSING HEIGHT. TRY!", &textcolor); ^ mission.cpp:775:110: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "THE OVERALL FORCE IS GAINED BY ADDING THE FOUR FORCES.", &textcolor); ^ mission.cpp:776:113: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "IT IS MEASURED IN 'G' WITH 1G MEANING THE EARTH'S GRAVITY", &textcolor); ^ mission.cpp:780:112: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "YOU ARE MOSTLY OPPOSED TO MORE THAN ONLY 1G. BE CAREFUL:", &textcolor); ^ mission.cpp:781:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "9G OR MORE MAY LEAD TO A BLACKOUT,", &textcolor); ^ mission.cpp:782:108: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "AT LESS THAN -3G THE BLOOD WILL SHOOT INTO YOUR HEAD", &textcolor); ^ mission.cpp:786:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "NOW ROLL ON THE BACK AND GET RID OF", &textcolor); ^ mission.cpp:787:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "THE TWO TRANSPORTERS AHEAD", &textcolor); ^ mission.cpp: In member function 'virtual void MissionDogfight1::draw()': mission.cpp:907:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "THAT WAS EASY", &textcolor); ^ mission.cpp:908:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "BUT CAN YOU HANDLE TWO ENEMIES?", &textcolor); ^ mission.cpp:913:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "OK, LET'S TRY THREE ENEMIES", &textcolor); ^ mission.cpp:924:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "THERE IS AN ENEMY ATTACKING", &textcolor); ^ mission.cpp:928:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "SELECT A MISSILE", &textcolor); ^ mission.cpp:932:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "CHOOSE A FRIEND-FOE (FF) MISSILE", &textcolor); ^ mission.cpp:933:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "WHICH DETECTS ENEMIES BY RADAR.", &textcolor); ^ mission.cpp:934:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "SHOOT AS EARLY AS POSSIBLE", &textcolor); ^ mission.cpp:938:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "YOU CAN ONLY FIRE MISSILES WHEN", &textcolor); ^ mission.cpp:939:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "THE RECTANGULAR LOCK AROUND THE ENEMY", &textcolor); ^ mission.cpp:940:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "APPEARS YELLOW", &textcolor); ^ mission.cpp:944:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "CHECK THE CHAFF/FLARE DISPLAYS.", &textcolor); ^ mission.cpp:945:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "IF THEY START BLINKING, AN ENEMY HAS", &textcolor); ^ mission.cpp:946:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "FIRED A MISSILE TO GET YOU DOWN", &textcolor); ^ mission.cpp:950:100: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "CHAFF IS A DECOY FOR RADAR SEEKING MISSILES,", &textcolor); ^ mission.cpp:951:93: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "FLARES PROTECT FROM INFRARED MISSILES", &textcolor); ^ mission.cpp:959:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "THE COUNTER MEASURE ONLY HAD AN EFFECT,", &textcolor); ^ mission.cpp:960:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "IF THE DISPLAYS STOP BLINKING", &textcolor); ^ mission.cpp:964:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "A LITTLE TARGETING HINT:", &textcolor); ^ mission.cpp: In member function 'virtual void MissionFreeFlight1::draw()': mission.cpp:1079:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "TRANSPORTERS RESPAWNING", &textcolor); ^ mission.cpp:1084:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "TRANSPORTERS RESPAWNING", &textcolor); ^ mission.cpp: In member function 'virtual void MissionWaves1::draw()': mission.cpp:1803:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "NEXT WAVE - YOU ARE FULLY REPAIRED", &textcolor); ^ mission.cpp:1808:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "NEXT WAVE - YOU ARE FULLY REPAIRED", &textcolor); ^ mission.cpp: In member function 'virtual void MissionTest2::draw()': mission.cpp:1984:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 4, -2, "ALMOST! GET CLEARLY BEHIND HIM!", &textcolor); ^ mission.cpp: In member function 'virtual void MissionDogfight2::draw()': mission.cpp:2240:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -3, "MORE ENEMIES ENTERING THE REGION", &textcolor); ^ mission.cpp: In member function 'virtual void MissionDefend1::draw()': mission.cpp:2984:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -3, "MORE TANKS ARE ATTACKING", &textcolor); ^ mission.cpp: In member function 'virtual void MissionDogfight3::draw()': mission.cpp:3090:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -3, "BOMBERS ARE ENTERING THE REGION", &textcolor); ^ mission.cpp: In member function 'virtual void MissionMultiDogfight1::draw()': mission.cpp:4394:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 0, -1, "DOGFIGHT"); ^ --- cockpit.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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 cockpit.cpp: In member function 'void Cockpit::drawHeading()': cockpit.cpp:463:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (xf - 0.5, yf - 2.0, zf, "S", &color); ^ cockpit.cpp:465:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (xf - 0.5, yf - 2.0, zf, "E", &color); ^ cockpit.cpp:467:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (xf - 0.5, yf - 2.0, zf, "N", &color); ^ cockpit.cpp:469:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font1->drawText (xf - 0.5, yf - 2.0, zf, "W", &color); ^ --- common.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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: In function 'void display(char*, int)': common.cpp:47:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if ((display_out = fopen (dirs->getSaves ("logfile.txt"), "wt")) != NULL) ^ common.cpp: In function 'void error_outofmemory()': common.cpp:62:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Out of memory", LOG_FATAL); ^ --- menu.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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 --- fileloader.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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 --- maploader.o --- if c++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/local/share"' -Wall -pipe -O2 -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 maploader.cpp: In member function 'void MapLoader::readMapFile()': maploader.cpp:57:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!file_open (dirs->getMaps ("maps.txt"))) ^ maploader.cpp: In constructor 'MapLoader::MapLoader()': maploader.cpp:73:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] file_setWhitespace (" \t\r\n"); ^ maploader.cpp:74:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] file_addComment ("#", "\n"); ^ maploader.cpp:74:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] maploader.cpp:75:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] file_setQuotes ("\"'´`"); ^ maploader.cpp: In member function 'int MissionCustom::readAttribute(char*, char*, char*)': maploader.cpp:145:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Assignment symbol '=' is missing"); ^ maploader.cpp:152:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Unexpected end of file"); ^ maploader.cpp: In member function 'int MissionCustom::synchronize()': maploader.cpp:163:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!file_find ("\n")) return 0; ^ maploader.cpp: In member function 'int MissionCustom::parseMapData()': maploader.cpp:235:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Heading value must be an integer"); ^ maploader.cpp:259:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Time value must be an integer in [0...24]"); ^ maploader.cpp:266:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Time value must be an integer in [0...24]"); ^ maploader.cpp:300:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Only 32 bpp TGA files are valid"); ^ maploader.cpp:313:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Scaleheight value must be a float number in [0...1]"); ^ maploader.cpp:320:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Scaleheight value must be a float number in [0...1]"); ^ maploader.cpp:333:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Tree needs a number suffix like \"Tree2\" with number in [1...3]"); ^ maploader.cpp:339:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Tree value must be an integer in [0...100]"); ^ maploader.cpp:345:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Tree value must be an integer in [0...100]"); ^ maploader.cpp: In member function 'int MissionCustom::parseObjectData()': maploader.cpp:369:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Too many objects defined"); ^ maploader.cpp:426:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Party value must be an integer"); ^ maploader.cpp:437:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Level value must be an integer in [0...10]"); ^ maploader.cpp:443:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Level value must be an integer in [0...10]"); ^ maploader.cpp:451:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("X value must be a float number"); ^ maploader.cpp:462:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Y value must be a float number"); ^ maploader.cpp:473:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Inittime value must be a float number"); ^ maploader.cpp:485:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Critical value must be an integer"); ^ maploader.cpp: In member function 'int MissionCustom::parseTextData()': maploader.cpp:511:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Too many text blocks"); ^ maploader.cpp:530:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Starttime value must be a float number"); ^ maploader.cpp:542:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Delay value must be a float number"); ^ maploader.cpp: In member function 'int MissionCustom::parseRelCoords()': maploader.cpp:576:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("No object defined yet: coords origin could not be set"); ^ maploader.cpp:587:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("No object defined yet: coords origin could not be set"); ^ maploader.cpp:608:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Quadrant value must be an integer in [1...16]"); ^ maploader.cpp:614:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Quadrant value must be an integer in [1...16]"); ^ maploader.cpp: In member function 'int MissionCustom::parseInfoData()': maploader.cpp:657:92: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Pilot needs a number suffix like \"Pilot5\" with number in [1...maxpilots]"); ^ maploader.cpp:664:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Invalid pilot name"); ^ maploader.cpp:677:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Fighter needs a number suffix like \"Fighter1\" with number in [1...3]"); ^ maploader.cpp:689:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Invalid fighter type"); ^ maploader.cpp:698:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Weapon needs a number suffix like \"Weapon\" with number in [1...3]"); ^ maploader.cpp:707:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Invalid weapon type"); ^ maploader.cpp:715:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Maxtime value must be a float number"); ^ maploader.cpp: In member function 'void MissionCustom::init()': maploader.cpp:741:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error ("Could not open map file"); ^ maploader.cpp: In member function 'virtual void MissionCustom::start()': maploader.cpp:871:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Map has a valid bpp entry but seems to be corrupt", LOG_FATAL); ^ --- main.o --- main.cpp: At global scope: main.cpp:4903:13: warning: 'void myKeyboardFuncUp(unsigned char, int, int)' defined but not used [-Wunused-function] static void myKeyboardFuncUp (unsigned char key, int x, int y) ^ main.cpp:4919:13: warning: 'void mySpecialFuncUp(int, int, int)' defined but not used [-Wunused-function] static void mySpecialFuncUp (int key, int x, int y) ^ main.cpp:4925:13: warning: 'void myPassiveRelMotionFunc(int, int)' defined but not used [-Wunused-function] static void myPassiveRelMotionFunc (int xrel, int yrel) ^ main.cpp:5160:13: warning: 'void myJoystickAxisFunc(int, int, int, int)' defined but not used [-Wunused-function] static void myJoystickAxisFunc (int x, int y, int t, int r) ^ main.cpp:5169:13: warning: 'void myJoystickButtonFunc(int)' defined but not used [-Wunused-function] static void myJoystickButtonFunc (int button) ^ main.cpp:5182:13: warning: 'void myJoystickHatFunc(int)' defined but not used [-Wunused-function] static void myJoystickHatFunc (int hat) ^ --- gl-117 --- c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -lpthread -L/usr/local/lib -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 =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for gl-117-1.3.2_10 ===> Generating temporary packing list Making install in src test -z "/usr/local/bin" || /bin/sh ../mkinstalldirs "/wrkdirs/games/gl-117/stage/usr/local/bin" install -s -m 555 'gl-117' '/wrkdirs/games/gl-117/stage/usr/local/bin/gl-117' test -z "/usr/local/share/gl-117/models" || /bin/sh ./mkinstalldirs "/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models" mkdir /wrkdirs/games/gl-117/stage/usr/local/share/gl-117 mkdir /wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models install -m 0644 'models/aster1.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/aster1.3ds' install -m 0644 'models/barrier.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/barrier.3ds' install -m 0644 'models/base1.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/base1.3ds' install -m 0644 'models/cannon1.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/cannon1.3ds' install -m 0644 'models/cannon1b.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/cannon1b.3ds' install -m 0644 'models/cannon2.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/cannon2.3ds' install -m 0644 'models/cannon2b.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/cannon2b.3ds' install -m 0644 'models/chaff1.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/chaff1.3ds' install -m 0644 'models/container1.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/container1.3ds' install -m 0644 'models/depot1.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/depot1.3ds' install -m 0644 'models/egg.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/egg.3ds' install -m 0644 'models/flak2.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/flak2.3ds' install -m 0644 'models/flarak1.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/flarak1.3ds' install -m 0644 'models/flare1.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/flare1.3ds' install -m 0644 'models/gl-117.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/gl-117.3ds' install -m 0644 'models/gl-14.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/gl-14.3ds' install -m 0644 'models/gl-14b.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/gl-14b.3ds' install -m 0644 'models/gl-14c.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/gl-14c.3ds' install -m 0644 'models/gl-14d.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/gl-14d.3ds' install -m 0644 'models/gl-15.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/gl-15.3ds' install -m 0644 'models/gl-16.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/gl-16.3ds' install -m 0644 'models/gl-21.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/gl-21.3ds' install -m 0644 'models/gl-21b.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/gl-21b.3ds' install -m 0644 'models/gl-29.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/gl-29.3ds' install -m 0644 'models/gl-50.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/gl-50.3ds' install -m 0644 'models/hall1.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/hall1.3ds' install -m 0644 'models/hall2.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/hall2.3ds' install -m 0644 'models/house1.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/house1.3ds' install -m 0644 'models/mine1.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/mine1.3ds' install -m 0644 'models/missile1.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/missile1.3ds' install -m 0644 'models/missile2.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/missile2.3ds' install -m 0644 'models/missile3.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/missile3.3ds' install -m 0644 'models/missile4.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/missile4.3ds' install -m 0644 'models/missile5.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/missile5.3ds' install -m 0644 'models/missile6.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/missile6.3ds' install -m 0644 'models/missile7.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/missile7.3ds' install -m 0644 'models/missile8.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/missile8.3ds' install -m 0644 'models/oilrig.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/oilrig.3ds' install -m 0644 'models/pickup1.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/pickup1.3ds' install -m 0644 'models/pickup2.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/pickup2.3ds' install -m 0644 'models/radar.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/radar.3ds' install -m 0644 'models/rubble.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/rubble.3ds' install -m 0644 'models/ship1.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/ship1.3ds' install -m 0644 'models/ship2.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/ship2.3ds' install -m 0644 'models/tank1.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/tank1.3ds' install -m 0644 'models/tank2.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/tank2.3ds' install -m 0644 'models/tent1.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/tent1.3ds' install -m 0644 'models/tent4.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/tent4.3ds' install -m 0644 'models/transp1.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/transp1.3ds' install -m 0644 'models/transp2.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/transp2.3ds' install -m 0644 'models/transp4.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/transp4.3ds' install -m 0644 'models/trsam.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/trsam.3ds' install -m 0644 'models/truck1.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/truck1.3ds' install -m 0644 'models/truck2.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/truck2.3ds' install -m 0644 'models/wall.3ds' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/models/wall.3ds' test -z "/usr/local/share/gl-117/music" || /bin/sh ./mkinstalldirs "/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/music" mkdir /wrkdirs/games/gl-117/stage/usr/local/share/gl-117/music install -m 0644 'music/ambient.s3m' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/music/ambient.s3m' install -m 0644 'music/dark.s3m' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/music/dark.s3m' install -m 0644 'music/electro.s3m' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/music/electro.s3m' install -m 0644 'music/loser.s3m' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/music/loser.s3m' install -m 0644 'music/softtec.s3m' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/music/softtec.s3m' install -m 0644 'music/standby.s3m' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/music/standby.s3m' install -m 0644 'music/stars.s3m' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/music/stars.s3m' install -m 0644 'music/winner.s3m' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/music/winner.s3m' test -z "/usr/local/share/gl-117/sounds" || /bin/sh ./mkinstalldirs "/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/sounds" mkdir /wrkdirs/games/gl-117/stage/usr/local/share/gl-117/sounds install -m 0644 'sounds/beep1.wav' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/sounds/beep1.wav' install -m 0644 'sounds/beep2.wav' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/sounds/beep2.wav' install -m 0644 'sounds/cannon1.wav' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/sounds/cannon1.wav' install -m 0644 'sounds/chaff1.wav' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/sounds/chaff1.wav' install -m 0644 'sounds/click1.wav' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/sounds/click1.wav' install -m 0644 'sounds/explode1.wav' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/sounds/explode1.wav' install -m 0644 'sounds/hit1.wav' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/sounds/hit1.wav' install -m 0644 'sounds/missile1.wav' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/sounds/missile1.wav' install -m 0644 'sounds/plane1.wav' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/sounds/plane1.wav' install -m 0644 'sounds/thunder1.wav' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/sounds/thunder1.wav' test -z "/usr/local/share/gl-117/textures" || /bin/sh ./mkinstalldirs "/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures" mkdir /wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures install -m 0644 'textures/arrow.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/arrow.tga' install -m 0644 'textures/aster1_n.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/aster1_n.tga' install -m 0644 'textures/barrier_.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/barrier_.tga' install -m 0644 'textures/base1_no.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/base1_no.tga' install -m 0644 'textures/cactus1.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/cactus1.tga' install -m 0644 'textures/cactusu1.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/cactusu1.tga' install -m 0644 'textures/camoufl.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/camoufl.tga' install -m 0644 'textures/chaff_ch.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/chaff_ch.tga' install -m 0644 'textures/clouds1.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/clouds1.tga' install -m 0644 'textures/clouds2.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/clouds2.tga' install -m 0644 'textures/clouds3.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/clouds3.tga' install -m 0644 'textures/cross.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/cross.tga' install -m 0644 'textures/cross2.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/cross2.tga' install -m 0644 'textures/depot_fr.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/depot_fr.tga' install -m 0644 'textures/eagle_gr.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/eagle_gr.tga' install -m 0644 'textures/earth.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/earth.tga' install -m 0644 'textures/egg_chec.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/egg_chec.tga' install -m 0644 'textures/flare1.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/flare1.tga' install -m 0644 'textures/flare2.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/flare2.tga' install -m 0644 'textures/flare3.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/flare3.tga' install -m 0644 'textures/flare4.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/flare4.tga' install -m 0644 'textures/flare_ch.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/flare_ch.tga' install -m 0644 'textures/font1.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/font1.tga' install -m 0644 'textures/font2.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/font2.tga' install -m 0644 'textures/gl-14_c2.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/gl-14_c2.tga' install -m 0644 'textures/gl-14_ch.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/gl-14_ch.tga' install -m 0644 'textures/gl-14b_c.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/gl-14b_c.tga' install -m 0644 'textures/gl-14b_d.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/gl-14b_d.tga' install -m 0644 'textures/gl-14c_c.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/gl-14c_c.tga' install -m 0644 'textures/gl-14c_d.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/gl-14c_d.tga' install -m 0644 'textures/gl-14d_c.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/gl-14d_c.tga' install -m 0644 'textures/gl-14d_d.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/gl-14d_d.tga' install -m 0644 'textures/gl-15_c2.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/gl-15_c2.tga' install -m 0644 'textures/gl-15_ch.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/gl-15_ch.tga' install -m 0644 'textures/gl-16_c2.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/gl-16_c2.tga' install -m 0644 'textures/gl-16_ch.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/gl-16_ch.tga' install -m 0644 'textures/gl-21_c2.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/gl-21_c2.tga' install -m 0644 'textures/gl-21_ch.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/gl-21_ch.tga' install -m 0644 'textures/gl-21b_c.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/gl-21b_c.tga' install -m 0644 'textures/gl-21b_d.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/gl-21b_d.tga' install -m 0644 'textures/gl-29_ch.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/gl-29_ch.tga' install -m 0644 'textures/gl-50_c2.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/gl-50_c2.tga' install -m 0644 'textures/gl-50_ch.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/gl-50_ch.tga' install -m 0644 'textures/glitter.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/glitter.tga' install -m 0644 'textures/grass1.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/grass1.tga' install -m 0644 'textures/gravel1.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/gravel1.tga' install -m 0644 'textures/greendrk.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/greendrk.tga' install -m 0644 'textures/greenlit.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/greenlit.tga' install -m 0644 'textures/greygrid.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/greygrid.tga' install -m 0644 'textures/hall1b_g.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/hall1b_g.tga' install -m 0644 'textures/hall2b_c.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/hall2b_c.tga' install -m 0644 'textures/house_s1.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/house_s1.tga' install -m 0644 'textures/medals.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/medals.tga' install -m 0644 'textures/moon1.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/moon1.tga' install -m 0644 'textures/oilrig_c.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/oilrig_c.tga' install -m 0644 'textures/oilrig_c2.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/oilrig_c2.tga' install -m 0644 'textures/panzer1_.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/panzer1_.tga' install -m 0644 'textures/panzer2_.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/panzer2_.tga' install -m 0644 'textures/patents.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/patents.tga' install -m 0644 'textures/radar1.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/radar1.tga' install -m 0644 'textures/radar2.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/radar2.tga' install -m 0644 'textures/ranks.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/ranks.tga' install -m 0644 'textures/redsand1.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/redsand1.tga' install -m 0644 'textures/redstone2.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/redstone2.tga' install -m 0644 'textures/rocks1.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/rocks1.tga' install -m 0644 'textures/roof.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/roof.tga' install -m 0644 'textures/sand1.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/sand1.tga' install -m 0644 'textures/ship2_fr.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/ship2_fr.tga' install -m 0644 'textures/ship_fra.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/ship_fra.tga' install -m 0644 'textures/smoke1.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/smoke1.tga' install -m 0644 'textures/smoke2.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/smoke2.tga' install -m 0644 'textures/smoke3.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/smoke3.tga' install -m 0644 'textures/sun2.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/sun2.tga' install -m 0644 'textures/tent1_no.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/tent1_no.tga' install -m 0644 'textures/tent4_fr.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/tent4_fr.tga' install -m 0644 'textures/title.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/title.tga' install -m 0644 'textures/transp2_.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/transp2_.tga' install -m 0644 'textures/transp4_.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/transp4_.tga' install -m 0644 'textures/tree1.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/tree1.tga' install -m 0644 'textures/tree2.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/tree2.tga' install -m 0644 'textures/tree3.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/tree3.tga' install -m 0644 'textures/tree4.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/tree4.tga' install -m 0644 'textures/tree5.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/tree5.tga' install -m 0644 'textures/treeu1.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/treeu1.tga' install -m 0644 'textures/treeu2.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/treeu2.tga' install -m 0644 'textures/treeu3.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/treeu3.tga' install -m 0644 'textures/treeu4.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/treeu4.tga' install -m 0644 'textures/treeu5.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/treeu5.tga' install -m 0644 'textures/water1.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/water1.tga' install -m 0644 'textures/wheel.tga' '/wrkdirs/games/gl-117/stage/usr/local/share/gl-117/textures/wheel.tga' install -m 444 /wrkdirs/games/gl-117/gl-117-1.3.2-src/doc/gl-117.6 /wrkdirs/games/gl-117/stage/usr/local/man/man6 /bin/mkdir -p /wrkdirs/games/gl-117/stage/usr/local/share/doc/gl-117 install -m 0644 /wrkdirs/games/gl-117/gl-117-1.3.2-src/doc/gl-117.pdf /wrkdirs/games/gl-117/stage/usr/local/share/doc/gl-117 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for gl-117-1.3.2_10 file sizes/checksums [167]: .. done packing files [167]: .. done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for gl-117-1.3.2_10 build of games/gl-117 ended at Sun Oct 9 00:30:22 PDT 2016 build time: 00:00:46