<86>Apr 21 01:09:34 userdel[51175]: delete user 'rooter' <86>Apr 21 01:09:34 groupadd[51184]: group added to /etc/group: name=rooter, GID=693 <86>Apr 21 01:09:34 groupadd[51184]: group added to /etc/gshadow: name=rooter <86>Apr 21 01:09:34 groupadd[51184]: new group: name=rooter, GID=693 <86>Apr 21 01:09:34 useradd[51193]: new user: name=rooter, UID=693, GID=693, home=/root, shell=/bin/bash <86>Apr 21 01:09:34 userdel[51199]: delete user 'builder' <86>Apr 21 01:09:34 userdel[51199]: removed group 'builder' owned by 'builder' <86>Apr 21 01:09:34 userdel[51199]: removed shadow group 'builder' owned by 'builder' <86>Apr 21 01:09:34 groupadd[51207]: group added to /etc/group: name=builder, GID=694 <86>Apr 21 01:09:34 groupadd[51207]: group added to /etc/gshadow: name=builder <86>Apr 21 01:09:34 groupadd[51207]: new group: name=builder, GID=694 <86>Apr 21 01:09:34 useradd[51211]: new user: name=builder, UID=694, GID=694, home=/usr/src, shell=/bin/bash <13>Apr 21 01:09:37 rpmi: xorg-xproto-devel-7.0.31-alt0.M80P.1 p8+226471.100.1.1 1554301566 installed <13>Apr 21 01:09:37 rpmi: libjpeg-2:1.3.1-alt0.1 1388074033 installed <13>Apr 21 01:09:37 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Apr 21 01:09:37 rpmi: libSM-1.2.2-alt1 1391072686 installed <13>Apr 21 01:09:37 rpmi: libogg-1.3.2-alt1 1416015875 installed <13>Apr 21 01:09:37 rpmi: libflac8-1.2.1-alt11.1 1434275120 installed <13>Apr 21 01:09:37 rpmi: libvorbis-1.3.4-alt1 1395615320 installed <13>Apr 21 01:09:37 rpmi: libICE-devel-1.0.9-alt1 1409902719 installed <13>Apr 21 01:09:37 rpmi: libSM-devel-1.2.2-alt1 1391072686 installed <13>Apr 21 01:09:37 rpmi: libtiff5-4.0.3-alt1 1348347498 installed <13>Apr 21 01:09:37 rpmi: libmad-0.15.1b-alt8 1398374528 installed <13>Apr 21 01:09:37 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Apr 21 01:09:37 rpmi: libpng15-1.5.28-alt1 1484572014 installed <13>Apr 21 01:09:37 rpmi: libwrap-1:7.6-alt11 1297041305 installed <13>Apr 21 01:09:37 rpmi: libgsm-1.0.13-alt8 1365910842 installed <13>Apr 21 01:09:37 rpmi: libsndfile-1.0.28-alt1.M80P.1 p8.212938.100 1536756416 installed <13>Apr 21 01:09:37 rpmi: libjson-c-0.12-alt1 1401212997 installed <13>Apr 21 01:09:37 rpmi: liblz4-1:1.7.5-alt1 1488766699 installed <13>Apr 21 01:09:37 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024730 installed <13>Apr 21 01:09:37 rpmi: libgcrypt20-1.8.3-alt4 p8+219793.200.6.1 1551112986 installed <13>Apr 21 01:09:37 rpmi: libsystemd-1:239-alt1.M80P.1 p8+226956.200.2.1 1555431492 installed <13>Apr 21 01:09:37 rpmi: libdbus-1.10.24-alt4.M80P.1 1518773282 installed <13>Apr 21 01:09:38 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Apr 21 01:09:38 rpmi: libalsa-1:1.1.0-alt1.1.1 1454429213 installed <13>Apr 21 01:09:38 rpmi: xorg-kbproto-devel-1.0.6-alt1 1332531883 installed <13>Apr 21 01:09:38 rpmi: libxshmfence-1.2-alt1 1420972191 installed <13>Apr 21 01:09:38 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 21 01:09:38 rpmi: libpciaccess-1:0.13.4-alt1 1431681688 installed <13>Apr 21 01:09:38 rpmi: libdrm-1:2.4.89-alt1.M80P.1 1516609380 installed <13>Apr 21 01:09:38 rpmi: libX11-locales-3:1.6.3-alt1 1431956885 installed <13>Apr 21 01:09:38 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Apr 21 01:09:38 rpmi: libXau-1.0.8-alt1 1369565807 installed <13>Apr 21 01:09:38 rpmi: libxcb-1.12-alt2 p8.218219.300 1545313310 installed <13>Apr 21 01:09:38 rpmi: libX11-3:1.6.3-alt1 1431956911 installed <13>Apr 21 01:09:38 rpmi: libXext-1.3.3-alt1 1409902932 installed <13>Apr 21 01:09:38 rpmi: libXxf86vm-1.1.3-alt1 1369984824 installed <13>Apr 21 01:09:38 rpmi: libpulseaudio-9.0-alt2 1469793979 installed <13>Apr 21 01:09:38 rpmi: libmikmod-3.3.8-alt1.1 1449204660 installed <13>Apr 21 01:09:38 rpmi: libXi-1.7.9-alt1.M80P.1 1515766146 installed <13>Apr 21 01:09:38 rpmi: libXdamage-1.1.3-alt4 1297162596 installed <13>Apr 21 01:09:38 rpmi: libXfixes-5.0.1-alt1 1369809606 installed <13>Apr 21 01:09:38 rpmi: libGL-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 21 01:09:38 rpmi: libGLU-4:9.0.0-alt1 1347643776 installed <13>Apr 21 01:09:38 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Apr 21 01:09:38 rpmi: libXrandr-1.5.0-alt1 1431936188 installed <13>Apr 21 01:09:38 rpmi: libSDL-1.2.14-alt6.M80P.1 1483818219 installed <13>Apr 21 01:09:38 rpmi: libSDL_gfx-2.0.25-alt1 1417989825 installed <13>Apr 21 01:09:38 rpmi: libSDL_image-1.2.12-alt1 1347907933 installed <13>Apr 21 01:09:38 rpmi: libSDL_mixer-1.2.12-alt1 1421435872 installed <13>Apr 21 01:09:38 rpmi: libfreeglut-3.0.0-alt1 1429173818 installed <13>Apr 21 01:09:38 rpmi: libXt-1.1.4-alt1 1369984716 installed <13>Apr 21 01:09:39 rpmi: libxcb-devel-1.12-alt2 p8.218219.300 1545313310 installed <13>Apr 21 01:09:39 rpmi: libX11-devel-3:1.6.3-alt1 1431956911 installed <13>Apr 21 01:09:39 rpmi: libGL-devel-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 21 01:09:39 rpmi: libGLU-devel-4:9.0.0-alt1 1347643776 installed <13>Apr 21 01:09:39 rpmi: libSDL-devel-1.2.14-alt6.M80P.1 1483818219 installed <13>Apr 21 01:09:39 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Apr 21 01:09:40 rpmi: libstdc++5-devel-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 21 01:09:40 rpmi: gcc5-c++-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 21 01:09:40 rpmi: libSDL_gfx-devel-2.0.25-alt1 1417989825 installed <13>Apr 21 01:09:40 rpmi: libSDL_image-devel-1.2.12-alt1 1347907933 installed <13>Apr 21 01:09:40 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435872 installed <13>Apr 21 01:09:40 rpmi: libXt-devel-1.1.4-alt1 1369984716 installed <13>Apr 21 01:09:40 rpmi: libfreeglut-devel-3.0.0-alt1 1429173818 installed <13>Apr 21 01:09:40 rpmi: libjpeg-devel-2:1.3.1-alt0.1 1388074033 installed <13>Apr 21 01:09:40 rpmi: automake_1.10-1:1.10.3-alt4 1449511652 installed Installing gl-117-1.3.2-alt1.qa1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.11161 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf gl-117-1.3.2-src + echo 'Source #0 (gl-117-1.3.2-src.tar.bz2):' Source #0 (gl-117-1.3.2-src.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/gl-117-1.3.2-src.tar.bz2 + /bin/tar -xf - + cd gl-117-1.3.2-src + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.11161 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd gl-117-1.3.2-src + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + xargs -ri dirname -- '{}' + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc 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 x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ANSI C... none needed checking dependency style of x86_64-alt-linux-gcc... none checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking dependency style of x86_64-alt-linux-g++... none checking for x86_64-alt-linux-gcc... (cached) x86_64-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-alt-linux-gcc accepts -g... (cached) yes checking for x86_64-alt-linux-gcc option to accept ANSI C... (cached) none needed checking dependency style of x86_64-alt-linux-gcc... (cached) none checking for a BSD-compatible install... /bin/install -c checking whether make sets $(MAKE)... (cached) yes checking whether byte ordering is bigendian... no checking for OpenGL directory... /usr checking for SDL directory... /usr checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... 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... yes checking SDL/SDL.h presence... yes checking for SDL/SDL.h... yes checking SDL/SDL_mixer.h usability... yes checking SDL/SDL_mixer.h presence... yes checking for SDL/SDL_mixer.h... yes checking for glEnable in -lGL... yes checking for gluPerspective in -lGLU... yes checking for glutMainLoop in -lglut... yes checking for SDL_Init in -lSDL... yes 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 + '[' -n '' ']' + NPROCS=8 + make -j8 make: Entering directory `/usr/src/RPM/BUILD/gl-117-1.3.2-src' cd . && /bin/sh /usr/src/RPM/BUILD/gl-117-1.3.2-src/missing --run aclocal-1.8 /usr/src/RPM/BUILD/gl-117-1.3.2-src/missing: line 52: aclocal-1.8: command not found WARNING: `aclocal-1.8' is missing on your system. You should only need it if you modified `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd . && /bin/sh /usr/src/RPM/BUILD/gl-117-1.3.2-src/missing --run automake-1.8 --gnu cd . && /bin/sh /usr/src/RPM/BUILD/gl-117-1.3.2-src/missing --run autoconf /usr/src/RPM/BUILD/gl-117-1.3.2-src/missing: line 52: automake-1.8: command not found WARNING: `automake-1.8' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. /bin/sh ./config.status --recheck running /bin/sh ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext CFLAGS=-pipe -Wall -g -O2 CXXFLAGS=-pipe -Wall -g -O2 build_alias=x86_64-alt-linux host_alias=x86_64-alt-linux --no-create --no-recursion configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking dependency style of x86_64-alt-linux-gcc... none checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking dependency style of x86_64-alt-linux-g++... none checking for x86_64-alt-linux-gcc... (cached) x86_64-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-alt-linux-gcc accepts -g... (cached) yes checking for x86_64-alt-linux-gcc option to accept ISO C89... (cached) none needed checking dependency style of x86_64-alt-linux-gcc... (cached) none checking whether make sets $(MAKE)... (cached) yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for OpenGL directory... /usr checking for SDL directory... /usr 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... yes checking SDL/SDL.h presence... yes checking for SDL/SDL.h... yes checking SDL/SDL_mixer.h usability... yes checking SDL/SDL_mixer.h presence... yes checking for SDL/SDL_mixer.h... yes checking for glEnable in -lGL... yes checking for gluPerspective in -lGLU... yes checking for glutMainLoop in -lglut... yes checking for SDL_Init in -lSDL... yes checking for Mix_LoadMUS in -lSDL_mixer... yes configure: creating ./config.status configure: WARNING: unrecognized options: --without-included-gettext /bin/sh ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating src/Makefile config.status: WARNING: 'src/Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h config.status: executing depfiles commands make: Leaving directory `/usr/src/RPM/BUILD/gl-117-1.3.2-src' make: Entering directory `/usr/src/RPM/BUILD/gl-117-1.3.2-src' cd . && /bin/sh /usr/src/RPM/BUILD/gl-117-1.3.2-src/missing --run autoheader rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h make all-recursive make[1]: Entering directory `/usr/src/RPM/BUILD/gl-117-1.3.2-src' Making all in src make[2]: Entering directory `/usr/src/RPM/BUILD/gl-117-1.3.2-src/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o main.o main.cpp x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o gl.o gl.cpp x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o model.o model.cpp x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o 3ds.o 3ds.cpp x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o audio.o audio.cpp x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o land.o land.cpp x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o glland.o glland.cpp x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o aiobject.o aiobject.cpp 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) ^ 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) ^ 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 || ^ land.cpp:1046:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (f [i - 1] [i2] == GLACIER && f [i + 1] [i2] == GLACIER || ^ 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; ^ 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]) || ^ 3ds.cpp: In constructor 'BinaryFile::BinaryFile(char*)': 3ds.cpp:59:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] int tmp; ^ 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(Uint32, 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); ^ 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) ^ audio.cpp: In constructor 'SoundSystem::SoundSystem()': audio.cpp:229:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Using SDL_mixer", LOG_MOST); ^ audio.cpp:232:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Unable to open audio device", LOG_ERROR); ^ audio.cpp:240:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("winner.s3m")); ^ audio.cpp:248:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("loser.s3m")); ^ audio.cpp:256:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("dark.s3m")); ^ audio.cpp:264:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("stars.s3m")); ^ audio.cpp:272:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("ambient.s3m")); ^ audio.cpp:280:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("standby.s3m")); ^ audio.cpp:288:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("electro.s3m")); ^ audio.cpp:296:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("softtec.s3m")); ^ audio.cpp:306:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] waveexplosion1 = new WaveFile (dirs->getSounds ("explode1.wav")); ^ audio.cpp:307:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] waveclick1 = new WaveFile (dirs->getSounds ("click1.wav")); ^ audio.cpp:308:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] wavecannon1 = new WaveFile (dirs->getSounds ("cannon1.wav")); ^ audio.cpp:309:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] wavemissile1 = new WaveFile (dirs->getSounds ("missile1.wav")); ^ audio.cpp:310:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] wavethunder1 = new WaveFile (dirs->getSounds ("thunder1.wav")); ^ audio.cpp:317:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] wavehit1 = new WaveFile (dirs->getSounds ("hit1.wav")); ^ audio.cpp:318:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] wavebeep1 = new WaveFile (dirs->getSounds ("beep1.wav")); ^ audio.cpp:319:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] wavechaff1 = new WaveFile (dirs->getSounds ("chaff1.wav")); ^ audio.cpp:320:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] wavebeep2 = new WaveFile (dirs->getSounds ("beep2.wav")); ^ audio.cpp: In member function 'void SoundSystem::loadMusic(int)': audio.cpp:442:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("dark.s3m")); ^ audio.cpp:445:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("winner.s3m")); ^ audio.cpp:448:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("loser.s3m")); ^ audio.cpp:451:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("standby.s3m")); ^ audio.cpp:454:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("electro.s3m")); ^ audio.cpp:457:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("stars.s3m")); ^ audio.cpp:460:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("softtec.s3m")); ^ audio.cpp:463:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("ambient.s3m")); ^ x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o effects.o effects.cpp 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); ^ 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); ^ 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); ^ 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; ^ 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); ^ 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); ^ 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")); ^ 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:5587:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Using SDL and GLUT", LOG_MOST); ^ 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 callbackJoystickAxis(Component*, int)': main.cpp:5824:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] la->setText ("N/A"); ^ 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:6862:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("SOUND VOLUME"); ^ main.cpp:6875:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("MUSIC VOLUME"); ^ 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:7121:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("AILERON"); ^ main.cpp:7132:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("ELEVATOR"); ^ main.cpp:7143:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("THROTTLE"); ^ main.cpp:7154:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("RUDDER"); ^ main.cpp:7165:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("VIEW X"); ^ main.cpp:7176:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] button = new Button ("VIEW Y"); ^ main.cpp:7212: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:7498:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Using SDL and GLUT", LOG_MOST); ^ main.cpp:7533:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Setting SDL caption", LOG_ALL); ^ main.cpp:7538:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Creating sound system", LOG_ALL); ^ main.cpp:7545:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Playing startup music", LOG_ALL); ^ main.cpp:7551:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Calling main initialization method", LOG_ALL); ^ main.cpp:7555:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Querying joystick", LOG_ALL); ^ main.cpp:7571:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("No joystick found", LOG_MOST); ^ main.cpp:7592:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] display ("Entering SDL main loop (GLUT emulation)", LOG_ALL); ^ x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o vertexarray.o vertexarray.cpp 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] x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o net.o net.cpp 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] 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); ^ x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o mathtab.o mathtab.cpp x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o dirs.o dirs.cpp 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 ++) ^ x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o objload.o objload.cpp 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"); ^ dirs.cpp: In constructor 'Dirs::Dirs(char*)': dirs.cpp:131:23: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] getcwd (cwd, 4096); // get current working directory ^ x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o pilots.o pilots.cpp x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o loader_tga.o loader_tga.cpp objload.cpp: In constructor 'CFile::CFile(char*)': objload.cpp:48:47: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (&data [z], 4096, sizeof (char), in); ^ x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o object.o object.cpp loader_tga.cpp:42:1: warning: multi-line comment [-Wcomment] //#define WRITE_RGBA(p, r, g, b, a) \ ^ x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o conf.o conf.cpp 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); ^ pilots.cpp: In member function 'void TeamPilot::load(FILE*)': pilots.cpp:97:40: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (&ranking, sizeof (int), 1, in); ^ pilots.cpp:99:36: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (&len, sizeof (int), 1, in); ^ pilots.cpp:101:39: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (name, sizeof (char), len, in); ^ pilots.cpp:102:45: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (&intelligence, sizeof (int), 1, in); ^ pilots.cpp:103:42: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (&precision, sizeof (int), 1, in); ^ pilots.cpp:104:45: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (&aggressivity, sizeof (int), 1, in); ^ pilots.cpp:105:45: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (&fighterkills, sizeof (int), 1, in); ^ pilots.cpp: In member function 'void Pilot::load()': pilots.cpp:162:63: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (saveversion, sizeof (char), strlen (SAVEVERSION), in); ^ pilots.cpp:163:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (mission_state, sizeof (int), maxpilotdata, in); ^ pilots.cpp:164:55: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (mission_time, sizeof (int), maxpilotdata, in); ^ pilots.cpp:165:63: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (mission_fighterkills, sizeof (int), maxpilotdata, in); ^ pilots.cpp:166:60: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (mission_shipkills, sizeof (int), maxpilotdata, in); ^ pilots.cpp:167:60: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (mission_tankkills, sizeof (int), maxpilotdata, in); ^ pilots.cpp:168:61: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (mission_otherkills, sizeof (int), maxpilotdata, in); ^ pilots.cpp:169:57: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (mission_shield, sizeof (int), maxpilotdata, in); ^ pilots.cpp:170:57: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (mission_points, sizeof (int), maxpilotdata, in); ^ pilots.cpp:171:56: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (mission_score, sizeof (int), maxpilotdata, in); ^ pilots.cpp: In member function 'void PilotList::load(char*)': pilots.cpp:301:22: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (buf, 16, in); ^ pilots.cpp:303:22: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (buf, 16, in); ^ 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); ^ x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o mission.o mission.cpp 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:237:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Sound volume: 0..100 (default=100) per cent"); ^ conf.cpp:238:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" sound", (int) volumesound); ^ conf.cpp:239:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Music volume: 0..100 (default=100) per cent"); ^ conf.cpp:240:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cf->write (" music", (int) volumemusic); ^ 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"); ^ x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o cockpit.o cockpit.cpp 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:370:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "sound"); ^ conf.cpp:378:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "music"); ^ 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.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); ^ x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o common.o common.cpp 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); ^ 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); ^ 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"); ^ x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o menu.o menu.cpp 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); ^ x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o fileloader.o fileloader.cpp x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -Wall -g -O2 -I/usr/include -I/usr/include -c -o maploader.o maploader.cpp 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.cpp: At global scope: main.cpp:5153:13: warning: 'void myIdleFunc()' defined but not used [-Wunused-function] static void myIdleFunc () ^ x86_64-alt-linux-g++ -pipe -Wall -g -O2 -I/usr/include -I/usr/include -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/lib -L/usr/lib -lGL -lGLU -lglut -lSDL -lSDL_mixer make[2]: Leaving directory `/usr/src/RPM/BUILD/gl-117-1.3.2-src/src' make[2]: Entering directory `/usr/src/RPM/BUILD/gl-117-1.3.2-src' make[2]: Leaving directory `/usr/src/RPM/BUILD/gl-117-1.3.2-src' make[1]: Leaving directory `/usr/src/RPM/BUILD/gl-117-1.3.2-src' make: Leaving directory `/usr/src/RPM/BUILD/gl-117-1.3.2-src' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.32455 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/gl-117-buildroot + : + /bin/rm -rf -- /usr/src/tmp/gl-117-buildroot + cd gl-117-1.3.2-src + make DESTDIR=/usr/src/tmp/gl-117-buildroot install make: Entering directory `/usr/src/RPM/BUILD/gl-117-1.3.2-src' Making install in src make[1]: Entering directory `/usr/src/RPM/BUILD/gl-117-1.3.2-src/src' make[2]: Entering directory `/usr/src/RPM/BUILD/gl-117-1.3.2-src/src' test -z "/usr/bin" || mkdir -p -- . "/usr/src/tmp/gl-117-buildroot/usr/bin" /bin/install -c 'gl-117' '/usr/src/tmp/gl-117-buildroot/usr/bin/gl-117' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/usr/src/RPM/BUILD/gl-117-1.3.2-src/src' make[1]: Leaving directory `/usr/src/RPM/BUILD/gl-117-1.3.2-src/src' make[1]: Entering directory `/usr/src/RPM/BUILD/gl-117-1.3.2-src' make[2]: Entering directory `/usr/src/RPM/BUILD/gl-117-1.3.2-src' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/share/gl-117/models" || mkdir -p -- . "/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models" /bin/install -c -m 644 'models/aster1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/aster1.3ds' /bin/install -c -m 644 'models/barrier.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/barrier.3ds' /bin/install -c -m 644 'models/base1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/base1.3ds' /bin/install -c -m 644 'models/cannon1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/cannon1.3ds' /bin/install -c -m 644 'models/cannon1b.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/cannon1b.3ds' /bin/install -c -m 644 'models/cannon2.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/cannon2.3ds' /bin/install -c -m 644 'models/cannon2b.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/cannon2b.3ds' /bin/install -c -m 644 'models/chaff1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/chaff1.3ds' /bin/install -c -m 644 'models/container1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/container1.3ds' /bin/install -c -m 644 'models/depot1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/depot1.3ds' /bin/install -c -m 644 'models/egg.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/egg.3ds' /bin/install -c -m 644 'models/flak2.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/flak2.3ds' /bin/install -c -m 644 'models/flarak1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/flarak1.3ds' /bin/install -c -m 644 'models/flare1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/flare1.3ds' /bin/install -c -m 644 'models/gl-117.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-117.3ds' /bin/install -c -m 644 'models/gl-14.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-14.3ds' /bin/install -c -m 644 'models/gl-14b.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-14b.3ds' /bin/install -c -m 644 'models/gl-14c.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-14c.3ds' /bin/install -c -m 644 'models/gl-14d.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-14d.3ds' /bin/install -c -m 644 'models/gl-15.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-15.3ds' /bin/install -c -m 644 'models/gl-16.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-16.3ds' /bin/install -c -m 644 'models/gl-21.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-21.3ds' /bin/install -c -m 644 'models/gl-21b.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-21b.3ds' /bin/install -c -m 644 'models/gl-29.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-29.3ds' /bin/install -c -m 644 'models/gl-50.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-50.3ds' /bin/install -c -m 644 'models/hall1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/hall1.3ds' /bin/install -c -m 644 'models/hall2.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/hall2.3ds' /bin/install -c -m 644 'models/house1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/house1.3ds' /bin/install -c -m 644 'models/mine1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/mine1.3ds' /bin/install -c -m 644 'models/missile1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/missile1.3ds' /bin/install -c -m 644 'models/missile2.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/missile2.3ds' /bin/install -c -m 644 'models/missile3.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/missile3.3ds' /bin/install -c -m 644 'models/missile4.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/missile4.3ds' /bin/install -c -m 644 'models/missile5.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/missile5.3ds' /bin/install -c -m 644 'models/missile6.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/missile6.3ds' /bin/install -c -m 644 'models/missile7.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/missile7.3ds' /bin/install -c -m 644 'models/missile8.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/missile8.3ds' /bin/install -c -m 644 'models/oilrig.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/oilrig.3ds' /bin/install -c -m 644 'models/pickup1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/pickup1.3ds' /bin/install -c -m 644 'models/pickup2.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/pickup2.3ds' /bin/install -c -m 644 'models/radar.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/radar.3ds' /bin/install -c -m 644 'models/rubble.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/rubble.3ds' /bin/install -c -m 644 'models/ship1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/ship1.3ds' /bin/install -c -m 644 'models/ship2.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/ship2.3ds' /bin/install -c -m 644 'models/tank1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/tank1.3ds' /bin/install -c -m 644 'models/tank2.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/tank2.3ds' /bin/install -c -m 644 'models/tent1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/tent1.3ds' /bin/install -c -m 644 'models/tent4.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/tent4.3ds' /bin/install -c -m 644 'models/transp1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/transp1.3ds' /bin/install -c -m 644 'models/transp2.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/transp2.3ds' /bin/install -c -m 644 'models/transp4.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/transp4.3ds' /bin/install -c -m 644 'models/trsam.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/trsam.3ds' /bin/install -c -m 644 'models/truck1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/truck1.3ds' /bin/install -c -m 644 'models/truck2.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/truck2.3ds' /bin/install -c -m 644 'models/wall.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/wall.3ds' test -z "/usr/share/gl-117/music" || mkdir -p -- . "/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/music" /bin/install -c -m 644 'music/ambient.s3m' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/music/ambient.s3m' /bin/install -c -m 644 'music/dark.s3m' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/music/dark.s3m' /bin/install -c -m 644 'music/electro.s3m' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/music/electro.s3m' /bin/install -c -m 644 'music/loser.s3m' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/music/loser.s3m' /bin/install -c -m 644 'music/softtec.s3m' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/music/softtec.s3m' /bin/install -c -m 644 'music/standby.s3m' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/music/standby.s3m' /bin/install -c -m 644 'music/stars.s3m' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/music/stars.s3m' /bin/install -c -m 644 'music/winner.s3m' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/music/winner.s3m' test -z "/usr/share/gl-117/sounds" || mkdir -p -- . "/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/sounds" /bin/install -c -m 644 'sounds/beep1.wav' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/sounds/beep1.wav' /bin/install -c -m 644 'sounds/beep2.wav' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/sounds/beep2.wav' /bin/install -c -m 644 'sounds/cannon1.wav' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/sounds/cannon1.wav' /bin/install -c -m 644 'sounds/chaff1.wav' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/sounds/chaff1.wav' /bin/install -c -m 644 'sounds/click1.wav' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/sounds/click1.wav' /bin/install -c -m 644 'sounds/explode1.wav' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/sounds/explode1.wav' /bin/install -c -m 644 'sounds/hit1.wav' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/sounds/hit1.wav' /bin/install -c -m 644 'sounds/missile1.wav' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/sounds/missile1.wav' /bin/install -c -m 644 'sounds/plane1.wav' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/sounds/plane1.wav' /bin/install -c -m 644 'sounds/thunder1.wav' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/sounds/thunder1.wav' test -z "/usr/share/gl-117/textures" || mkdir -p -- . "/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures" /bin/install -c -m 644 'textures/arrow.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/arrow.tga' /bin/install -c -m 644 'textures/aster1_n.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/aster1_n.tga' /bin/install -c -m 644 'textures/barrier_.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/barrier_.tga' /bin/install -c -m 644 'textures/base1_no.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/base1_no.tga' /bin/install -c -m 644 'textures/cactus1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/cactus1.tga' /bin/install -c -m 644 'textures/cactusu1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/cactusu1.tga' /bin/install -c -m 644 'textures/camoufl.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/camoufl.tga' /bin/install -c -m 644 'textures/chaff_ch.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/chaff_ch.tga' /bin/install -c -m 644 'textures/clouds1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/clouds1.tga' /bin/install -c -m 644 'textures/clouds2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/clouds2.tga' /bin/install -c -m 644 'textures/clouds3.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/clouds3.tga' /bin/install -c -m 644 'textures/cross.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/cross.tga' /bin/install -c -m 644 'textures/cross2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/cross2.tga' /bin/install -c -m 644 'textures/depot_fr.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/depot_fr.tga' /bin/install -c -m 644 'textures/eagle_gr.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/eagle_gr.tga' /bin/install -c -m 644 'textures/earth.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/earth.tga' /bin/install -c -m 644 'textures/egg_chec.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/egg_chec.tga' /bin/install -c -m 644 'textures/flare1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/flare1.tga' /bin/install -c -m 644 'textures/flare2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/flare2.tga' /bin/install -c -m 644 'textures/flare3.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/flare3.tga' /bin/install -c -m 644 'textures/flare4.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/flare4.tga' /bin/install -c -m 644 'textures/flare_ch.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/flare_ch.tga' /bin/install -c -m 644 'textures/font1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/font1.tga' /bin/install -c -m 644 'textures/font2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/font2.tga' /bin/install -c -m 644 'textures/gl-14_c2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-14_c2.tga' /bin/install -c -m 644 'textures/gl-14_ch.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-14_ch.tga' /bin/install -c -m 644 'textures/gl-14b_c.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-14b_c.tga' /bin/install -c -m 644 'textures/gl-14b_d.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-14b_d.tga' /bin/install -c -m 644 'textures/gl-14c_c.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-14c_c.tga' /bin/install -c -m 644 'textures/gl-14c_d.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-14c_d.tga' /bin/install -c -m 644 'textures/gl-14d_c.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-14d_c.tga' /bin/install -c -m 644 'textures/gl-14d_d.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-14d_d.tga' /bin/install -c -m 644 'textures/gl-15_c2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-15_c2.tga' /bin/install -c -m 644 'textures/gl-15_ch.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-15_ch.tga' /bin/install -c -m 644 'textures/gl-16_c2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-16_c2.tga' /bin/install -c -m 644 'textures/gl-16_ch.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-16_ch.tga' /bin/install -c -m 644 'textures/gl-21_c2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-21_c2.tga' /bin/install -c -m 644 'textures/gl-21_ch.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-21_ch.tga' /bin/install -c -m 644 'textures/gl-21b_c.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-21b_c.tga' /bin/install -c -m 644 'textures/gl-21b_d.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-21b_d.tga' /bin/install -c -m 644 'textures/gl-29_ch.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-29_ch.tga' /bin/install -c -m 644 'textures/gl-50_c2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-50_c2.tga' /bin/install -c -m 644 'textures/gl-50_ch.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-50_ch.tga' /bin/install -c -m 644 'textures/glitter.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/glitter.tga' /bin/install -c -m 644 'textures/grass1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/grass1.tga' /bin/install -c -m 644 'textures/gravel1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gravel1.tga' /bin/install -c -m 644 'textures/greendrk.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/greendrk.tga' /bin/install -c -m 644 'textures/greenlit.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/greenlit.tga' /bin/install -c -m 644 'textures/greygrid.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/greygrid.tga' /bin/install -c -m 644 'textures/hall1b_g.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/hall1b_g.tga' /bin/install -c -m 644 'textures/hall2b_c.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/hall2b_c.tga' /bin/install -c -m 644 'textures/house_s1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/house_s1.tga' /bin/install -c -m 644 'textures/medals.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/medals.tga' /bin/install -c -m 644 'textures/moon1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/moon1.tga' /bin/install -c -m 644 'textures/oilrig_c.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/oilrig_c.tga' /bin/install -c -m 644 'textures/oilrig_c2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/oilrig_c2.tga' /bin/install -c -m 644 'textures/panzer1_.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/panzer1_.tga' /bin/install -c -m 644 'textures/panzer2_.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/panzer2_.tga' /bin/install -c -m 644 'textures/patents.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/patents.tga' /bin/install -c -m 644 'textures/radar1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/radar1.tga' /bin/install -c -m 644 'textures/radar2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/radar2.tga' /bin/install -c -m 644 'textures/ranks.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/ranks.tga' /bin/install -c -m 644 'textures/redsand1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/redsand1.tga' /bin/install -c -m 644 'textures/redstone2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/redstone2.tga' /bin/install -c -m 644 'textures/rocks1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/rocks1.tga' /bin/install -c -m 644 'textures/roof.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/roof.tga' /bin/install -c -m 644 'textures/sand1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/sand1.tga' /bin/install -c -m 644 'textures/ship2_fr.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/ship2_fr.tga' /bin/install -c -m 644 'textures/ship_fra.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/ship_fra.tga' /bin/install -c -m 644 'textures/smoke1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/smoke1.tga' /bin/install -c -m 644 'textures/smoke2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/smoke2.tga' /bin/install -c -m 644 'textures/smoke3.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/smoke3.tga' /bin/install -c -m 644 'textures/sun2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/sun2.tga' /bin/install -c -m 644 'textures/tent1_no.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/tent1_no.tga' /bin/install -c -m 644 'textures/tent4_fr.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/tent4_fr.tga' /bin/install -c -m 644 'textures/title.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/title.tga' /bin/install -c -m 644 'textures/transp2_.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/transp2_.tga' /bin/install -c -m 644 'textures/transp4_.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/transp4_.tga' /bin/install -c -m 644 'textures/tree1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/tree1.tga' /bin/install -c -m 644 'textures/tree2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/tree2.tga' /bin/install -c -m 644 'textures/tree3.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/tree3.tga' /bin/install -c -m 644 'textures/tree4.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/tree4.tga' /bin/install -c -m 644 'textures/tree5.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/tree5.tga' /bin/install -c -m 644 'textures/treeu1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/treeu1.tga' /bin/install -c -m 644 'textures/treeu2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/treeu2.tga' /bin/install -c -m 644 'textures/treeu3.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/treeu3.tga' /bin/install -c -m 644 'textures/treeu4.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/treeu4.tga' /bin/install -c -m 644 'textures/treeu5.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/treeu5.tga' /bin/install -c -m 644 'textures/water1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/water1.tga' /bin/install -c -m 644 'textures/wheel.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/wheel.tga' make[2]: Leaving directory `/usr/src/RPM/BUILD/gl-117-1.3.2-src' make[1]: Leaving directory `/usr/src/RPM/BUILD/gl-117-1.3.2-src' make: Leaving directory `/usr/src/RPM/BUILD/gl-117-1.3.2-src' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/gl-117-buildroot (auto) Verifying and fixing files in /usr/src/tmp/gl-117-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/gl-117-buildroot (auto) Verifying ELF objects in /usr/src/tmp/gl-117-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: gl-117-1.3.2-alt1.qa1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.69518 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd gl-117-1.3.2-src + DOCDIR=/usr/src/tmp/gl-117-buildroot/usr/share/doc/gl-117-1.3.2 + export DOCDIR + rm -rf /usr/src/tmp/gl-117-buildroot/usr/share/doc/gl-117-1.3.2 + /bin/mkdir -p /usr/src/tmp/gl-117-buildroot/usr/share/doc/gl-117-1.3.2 + cp -prL AUTHORS README /usr/src/tmp/gl-117-buildroot/usr/share/doc/gl-117-1.3.2 + chmod -R go-w /usr/src/tmp/gl-117-buildroot/usr/share/doc/gl-117-1.3.2 + chmod -R a+rX /usr/src/tmp/gl-117-buildroot/usr/share/doc/gl-117-1.3.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ahie8z find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.J58WL8 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: libSDL, libfreeglut, libSDL_gfx, libSDL_image, libSDL_mixer, libGL, libGLU, /lib64/ld-linux-x86-64.so.2, libGL.so.1()(64bit) >= set:ohKMwXxnA8HD4UQksb04ZEFi0LLJ326EM9m18Es9hG4kw3wI8twzgWb3ZtCpkz9E08kcgVhSks43ZGciLGQPoDCsunSuom7NRc4OU8KFp4xNqqbYj58P9o1sl4ATgingcubtYfxRe4cbW8ZHmM622os5SVfSLgYl23QT48gp0fe4NYy3NriwW08, libGLU.so.1()(64bit) >= set:jf2WETbxY5gW9ZCqIZ1Qs5, libSDL-1.2.so.0()(64bit) >= set:lgkZiA9PeeJKTvAZel3rZ8p3dAOFOOeDjzdynk5oESsSJqphTPwsHJP3, libSDL_mixer-1.2.so.0()(64bit) >= set:kfMSUHfEkJV4ppOfcrzhUp9FKHkbGeIH2mZzZk1tg0, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libglut.so.3()(64bit) >= set:mjRZ5CwBZmQ7AgOZHyNkYgk4, libm.so.6(GLIBC_2.2.5)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gVqDcK Creating gl-117-debuginfo package Processing files: gl-117-debuginfo-1.3.2-alt1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.f9F2mo find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.I4vQh5 find-requires: running scripts (debuginfo) Requires: gl-117 = 1.3.2-alt1.qa1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libGL.so.1), debug64(libGLU.so.1), debug64(libSDL-1.2.so.0), debug64(libSDL_mixer-1.2.so.0), debug64(libc.so.6), debug64(libgcc_s.so.1), debug64(libglut.so.3), debug64(libm.so.6), debug64(libstdc++.so.6) Wrote: /usr/src/RPM/RPMS/x86_64/gl-117-1.3.2-alt1.qa1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/gl-117-debuginfo-1.3.2-alt1.qa1.x86_64.rpm 17.75user 2.69system 0:23.71elapsed 86%CPU (0avgtext+0avgdata 102220maxresident)k 0inputs+0outputs (0major+1235966minor)pagefaults 0swaps 23.89user 5.36system 0:38.37elapsed 76%CPU (0avgtext+0avgdata 121832maxresident)k 1288inputs+0outputs (0major+1564141minor)pagefaults 0swaps --- gl-117-1.3.2-alt1.qa1.x86_64.rpm.repo 2013-04-18 10:00:47.000000000 +0000 +++ gl-117-1.3.2-alt1.qa1.x86_64.rpm.hasher 2019-04-21 01:10:11.105517873 +0000 @@ -183,3 +183,3 @@ Requires: libSDL-1.2.so.0()(64bit) >= set:lgkZiA9PeeJKTvAZel3rZ8p3dAOFOOeDjzdynk5oESsSJqphTPwsHJP3 -Requires: libSDL_mixer-1.2.so.0()(64bit) >= set:lgId6Jjiv40wTYkGZizCvMId6xjPFFmmtUKaIZnZkhtg0 +Requires: libSDL_mixer-1.2.so.0()(64bit) >= set:kfMSUHfEkJV4ppOfcrzhUp9FKHkbGeIH2mZzZk1tg0 Requires: libc.so.6(GLIBC_2.14)(64bit) @@ -190,3 +190,3 @@ Requires: libgcc_s.so.1(GCC_3.0)(64bit) -Requires: libglut.so.3()(64bit) >= set:liRZ5Cw5YdW19QmGZFRlGD +Requires: libglut.so.3()(64bit) >= set:mjRZ5CwBZmQ7AgOZHyNkYgk4 Requires: libm.so.6(GLIBC_2.2.5)(64bit)