<86>Jan 31 03:04:21 userdel[422267]: delete user 'rooter' <86>Jan 31 03:04:21 userdel[422267]: removed group 'rooter' owned by 'rooter' <86>Jan 31 03:04:21 userdel[422267]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 31 03:04:21 groupadd[422275]: group added to /etc/group: name=rooter, GID=648 <86>Jan 31 03:04:21 groupadd[422275]: group added to /etc/gshadow: name=rooter <86>Jan 31 03:04:21 groupadd[422275]: new group: name=rooter, GID=648 <86>Jan 31 03:04:21 useradd[422279]: new user: name=rooter, UID=648, GID=648, home=/root, shell=/bin/bash <86>Jan 31 03:04:21 userdel[422288]: delete user 'builder' <86>Jan 31 03:04:21 userdel[422288]: removed group 'builder' owned by 'builder' <86>Jan 31 03:04:21 userdel[422288]: removed shadow group 'builder' owned by 'builder' <86>Jan 31 03:04:21 groupadd[422296]: group added to /etc/group: name=builder, GID=649 <86>Jan 31 03:04:21 groupadd[422296]: group added to /etc/gshadow: name=builder <86>Jan 31 03:04:21 groupadd[422296]: new group: name=builder, GID=649 <86>Jan 31 03:04:21 useradd[422300]: new user: name=builder, UID=649, GID=649, home=/usr/src, shell=/bin/bash <13>Jan 31 03:04:24 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Jan 31 03:04:24 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902884 installed <13>Jan 31 03:04:24 rpmi: libogg-1.3.4-alt1 p9+249556.100.1.1 1586300644 installed <13>Jan 31 03:04:24 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Jan 31 03:04:24 rpmi: libglvnd-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Jan 31 03:04:24 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586157 installed <13>Jan 31 03:04:24 rpmi: libflac8-1.3.3-alt1 p9+249557.100.1.1 1586301784 installed <13>Jan 31 03:04:24 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Jan 31 03:04:24 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103332 installed <13>Jan 31 03:04:24 rpmi: libwayland-server-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed <13>Jan 31 03:04:24 rpmi: libOpenGL-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Jan 31 03:04:24 rpmi: libICE-devel-1.0.9-alt1 1409902719 installed <13>Jan 31 03:04:24 rpmi: libSM-devel-1.2.3-alt1 sisyphus+226734.100.2.1 1554586157 installed <13>Jan 31 03:04:24 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890148 installed <13>Jan 31 03:04:24 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Jan 31 03:04:24 rpmi: libwebp7-1.0.3-alt1 p9+234901.200.1.1 1563552213 installed <13>Jan 31 03:04:24 rpmi: libjbig-2.1-alt1 1401380921 installed <13>Jan 31 03:04:24 rpmi: libtiff5-4.0.10.0.57.f9fc01c3-alt1 sisyphus+226958.100.1.1 1554850937 installed <13>Jan 31 03:04:24 rpmi: libpng16-1.6.36-alt1 sisyphus+219478.100.1.1 1547633315 installed <13>Jan 31 03:04:24 rpmi: libopus-1.3.1-alt3 p9+247689.300.3.1 1584537429 installed <13>Jan 31 03:04:24 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Jan 31 03:04:24 rpmi: libsndfile-1.0.30-alt2 p9+262916.200.2.1 1607353710 installed <13>Jan 31 03:04:24 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228072 installed <13>Jan 31 03:04:24 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237682 installed <13>Jan 31 03:04:24 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237844 installed <13>Jan 31 03:04:24 rpmi: libsystemd-1:243.9-alt1 p9+258476.300.4.1 1601997124 installed <13>Jan 31 03:04:24 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553670 installed <13>Jan 31 03:04:24 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Jan 31 03:04:24 rpmi: libalsa-1:1.1.9-alt2 sisyphus+229323.100.1.1 1557826762 installed <13>Jan 31 03:04:24 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Jan 31 03:04:24 rpmi: libX11-locales-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed <13>Jan 31 03:04:24 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Jan 31 03:04:24 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Jan 31 03:04:24 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Jan 31 03:04:24 rpmi: libX11-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed <13>Jan 31 03:04:24 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Jan 31 03:04:24 rpmi: libpulseaudio-13.0-alt4 p9+261614.100.2.1 1605550488 installed <13>Jan 31 03:04:24 rpmi: libmikmod-3.3.11.1-alt2 1502706813 installed <13>Jan 31 03:04:24 rpmi: libXi-1.7.9-alt2 sisyphus+226377.100.1.2 1554260258 installed <13>Jan 31 03:04:24 rpmi: libXrender-0.9.10-alt1 p9+261891.200.2.1 1606149106 installed <13>Jan 31 03:04:24 rpmi: libSDL-1.2.14-alt8 p9+232634.100.1.1 1560964523 installed <13>Jan 31 03:04:24 rpmi: libSDL_image-1.2.12-alt2 sisyphus+223384.100.1.1 1551514520 installed <13>Jan 31 03:04:24 rpmi: libSDL_mixer-1.2.12-alt1 1421435872 installed <13>Jan 31 03:04:24 rpmi: libXt-1.1.4-alt1 1369984716 installed <13>Jan 31 03:04:26 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Jan 31 03:04:26 rpmi: libX11-devel-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed <13>Jan 31 03:04:26 rpmi: libwayland-client-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed <13>Jan 31 03:04:26 rpmi: libpciaccess-1:0.14-alt1 1528969624 installed <13>Jan 31 03:04:26 rpmi: libdrm-1:2.4.102-alt1 p9+252863.100.1.1 1591372623 installed <13>Jan 31 03:04:26 rpmi: libGLX-mesa-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Jan 31 03:04:26 rpmi: libGLX-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Jan 31 03:04:26 rpmi: libGL-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Jan 31 03:04:26 rpmi: libGLU-4:9.0.1-alt1 p9+251991.3000.19.1 1590835932 installed <13>Jan 31 03:04:26 rpmi: libfreeglut-3.0.0-alt3 sisyphus+226742.100.2.3 1554619772 installed <13>Jan 31 03:04:26 rpmi: libgbm-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Jan 31 03:04:26 rpmi: libEGL-mesa-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Jan 31 03:04:26 rpmi: libEGL-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Jan 31 03:04:26 rpmi: libglvnd-devel-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Jan 31 03:04:26 rpmi: libGL-devel-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Jan 31 03:04:26 rpmi: libGLU-devel-4:9.0.1-alt1 p9+251991.3000.19.1 1590835932 installed <13>Jan 31 03:04:26 rpmi: libSDL-devel-1.2.14-alt8 p9+232634.100.1.1 1560964523 installed <13>Jan 31 03:04:26 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Jan 31 03:04:26 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Jan 31 03:04:27 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Jan 31 03:04:27 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed <13>Jan 31 03:04:27 rpmi: libSDL_gfx-devel-2.0.25-alt1 1417989825 installed <13>Jan 31 03:04:27 rpmi: libSDL_image-devel-1.2.12-alt2 sisyphus+223384.100.1.1 1551514520 installed <13>Jan 31 03:04:27 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435872 installed <13>Jan 31 03:04:27 rpmi: libfreeglut-devel-3.0.0-alt3 sisyphus+226742.100.2.3 1554619772 installed <13>Jan 31 03:04:27 rpmi: libXt-devel-1.1.4-alt1 1369984716 installed <13>Jan 31 03:04:27 rpmi: libjpeg-devel-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902884 installed <13>Jan 31 03:04:27 rpmi: automake_1.10-1:1.10.3-alt5 1533755442 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/gl-117-1.3.2-alt1.qa1.nosrc.rpm 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.51223 + 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/tar -xf - + /bin/bzip2 -dc /usr/src/RPM/SOURCES/gl-117-1.3.2-src.tar.bz2 + 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.91912 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd gl-117-1.3.2-src + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -ri dirname -- '{}' + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + readlink -e -- ./configure + ./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 --disable-silent-rules --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 + 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. 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 automake-1.8 --gnu /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. 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 autoconf 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' /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 --disable-silent-rules --without-included-gettext CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 build_alias=x86_64-alt-linux host_alias=x86_64-alt-linux --no-create --no-recursion configure: WARNING: unrecognized options: --disable-silent-rules, --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: --disable-silent-rules, --without-included-gettext 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' /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 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 ./config.status config.h config.status: creating config.h make: Leaving directory '/usr/src/RPM/BUILD/gl-117-1.3.2-src' make all-recursive 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 -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o gl.o gl.cpp 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o audio.o audio.cpp audio.cpp: In constructor 'SoundSystem::SoundSystem()': audio.cpp:229:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Using SDL_mixer", LOG_MOST); ^ audio.cpp:232:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Unable to open audio device", LOG_ERROR); ^ audio.cpp:240:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("winner.s3m")); ^ audio.cpp:248:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("loser.s3m")); ^ audio.cpp:256:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("dark.s3m")); ^ audio.cpp:264:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("stars.s3m")); ^ audio.cpp:272:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("ambient.s3m")); ^ audio.cpp:280:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("standby.s3m")); ^ audio.cpp:288:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("electro.s3m")); ^ audio.cpp:296:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("softtec.s3m")); ^ audio.cpp:306:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] waveexplosion1 = new WaveFile (dirs->getSounds ("explode1.wav")); ^ audio.cpp:307:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] waveclick1 = new WaveFile (dirs->getSounds ("click1.wav")); ^ audio.cpp:308:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] wavecannon1 = new WaveFile (dirs->getSounds ("cannon1.wav")); ^ audio.cpp:309:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] wavemissile1 = new WaveFile (dirs->getSounds ("missile1.wav")); ^ audio.cpp:310:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] wavethunder1 = new WaveFile (dirs->getSounds ("thunder1.wav")); ^ audio.cpp:317:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] wavehit1 = new WaveFile (dirs->getSounds ("hit1.wav")); ^ audio.cpp:318:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] wavebeep1 = new WaveFile (dirs->getSounds ("beep1.wav")); ^ audio.cpp:319:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] wavechaff1 = new WaveFile (dirs->getSounds ("chaff1.wav")); ^ audio.cpp:320:57: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("dark.s3m")); ^ audio.cpp:445:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("winner.s3m")); ^ audio.cpp:448:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("loser.s3m")); ^ audio.cpp:451:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("standby.s3m")); ^ audio.cpp:454:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("electro.s3m")); ^ audio.cpp:457:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("stars.s3m")); ^ audio.cpp:460:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("softtec.s3m")); ^ audio.cpp:463:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] music1 = Mix_LoadMUS (dirs->getMusic ("ambient.s3m")); ^ 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o vertexarray.o vertexarray.cpp vertexarray.cpp: In member function 'void VertexArray::reallocData()': vertexarray.cpp:160:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Out of memory", LOG_FATAL); ^ 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o effects.o effects.cpp 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o net.o net.cpp 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o model.o model.cpp model.cpp: In member function 'void CModel::addMaterial(CMaterial*)': model.cpp:573:92: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class CMaterial'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] if (material != NULL) memcpy (this->material [numMaterials], material, sizeof (CMaterial)); ^ In file included from model.cpp:32: model.h:170:7: note: 'class CMaterial' declared here class CMaterial ^~~~~~~~~ model.cpp: In member function 'void CModel::addObject(CObject*)': model.cpp:581:82: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class CObject'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] if (object != NULL) memcpy (this->object [numObjects], object, sizeof (CObject)); ^ In file included from model.cpp:32: model.h:188:7: note: 'class CObject' declared here class CObject ^~~~~~~ model.cpp: In member function 'void CSphere::init(float, int, float, float, float, int)': model.cpp:1391:130: 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:109: warning: 'p[1]' 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: In member function 'void CSpherePart::init(float, int, float)': model.cpp:1531:128: 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:1501:7: warning: 'p[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] int p [4]; ^ 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o 3ds.o 3ds.cpp 3ds.cpp: In constructor 'BinaryFile::BinaryFile(char*)': 3ds.cpp:59:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] int tmp; ^~~ 3ds.cpp: In member function 'void CLoad3DS::ProcessNextChunk(CModel*, Chunk*)': 3ds.cpp:274:48: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class CObject'; use assignment or value-initialization instead [-Wclass-memaccess] memset (&newObject, 0, sizeof (CObject)); ^ In file included from 3ds.h:27, from 3ds.cpp:32: model.h:188:7: note: 'class CObject' declared here class CObject ^~~~~~~ 3ds.cpp: In member function 'void CLoad3DS::ReadVertices(CObject*, Chunk*)': 3ds.cpp:516:68: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class CVertex'; use assignment or value-initialization instead [-Wclass-memaccess] memset (object->vertex, 0, sizeof (CVertex) * object->numVertices); ^ In file included from 3ds.h:27, from 3ds.cpp:32: model.h:113:7: note: 'class CVertex' declared here class CVertex ^~~~~~~ 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o mathtab.o mathtab.cpp 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o objload.o objload.cpp objload.cpp: In constructor 'CFile::CFile(char*)': objload.cpp:48:11: 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); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o pilots.o pilots.cpp pilots.cpp: In member function 'char* TeamPilot::getRank()': pilots.cpp:55:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (ranking == 0) return "AIRMAN BASIC"; ^~~~~~~~~~~~~~ pilots.cpp:56:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (ranking == 1) return "AIRMAN"; ^~~~~~~~ pilots.cpp:57:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (ranking == 2) return "AIRMAN 1ST CLASS"; ^~~~~~~~~~~~~~~~~~ pilots.cpp:58:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (ranking == 3) return "2ND LIEUTNANT"; ^~~~~~~~~~~~~~~ pilots.cpp:59:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (ranking == 4) return "1ST LIEUTNANT"; ^~~~~~~~~~~~~~~ pilots.cpp:60:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (ranking == 5) return "CAPTAIN"; ^~~~~~~~~ pilots.cpp:61:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (ranking == 6) return "MAJOR"; ^~~~~~~ pilots.cpp:62:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (ranking == 7) return "COLONEL"; ^~~~~~~~~ pilots.cpp:63:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else return "GENERAL"; ^~~~~~~~~ pilots.cpp: In member function 'char* TeamPilot::getShortRank()': pilots.cpp:68:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (ranking == 0) return "AB"; ^~~~ pilots.cpp:69:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (ranking == 1) return "ARM"; ^~~~~ pilots.cpp:70:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (ranking == 2) return "A1C"; ^~~~~ pilots.cpp:71:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (ranking == 3) return "2ND LT"; ^~~~~~~~ pilots.cpp:72:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (ranking == 4) return "1ST LT"; ^~~~~~~~ pilots.cpp:73:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (ranking == 5) return "CAPT"; ^~~~~~ pilots.cpp:74:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (ranking == 6) return "MAJ"; ^~~~~ pilots.cpp:75:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (ranking == 7) return "COL"; ^~~~~ pilots.cpp:76:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else return "GEN"; ^~~~~ pilots.cpp: In member function 'void Pilot::load()': pilots.cpp:140:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tp [0] = new TeamPilot (5, "PRIMETIME", 200, 100, 150, 20); ^ pilots.cpp:141:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tp [1] = new TeamPilot (1, "HEPTARGON", 80, 220, 300, 1); ^ pilots.cpp:142:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tp [2] = new TeamPilot (2, "KARA", 180, 160, 50, 4); ^ pilots.cpp:143:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tp [3] = new TeamPilot (6, "SHARK", 70, 90, 120, 22); ^ pilots.cpp:144:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tp [4] = new TeamPilot (3, "BOSS", 250, 180, 80, 10); ^ pilots.cpp:145:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tp [5] = new TeamPilot (2, "DR DOOM", 320, 210, 20, 2); ^ pilots.cpp:146:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tp [6] = new TeamPilot (4, "SHADOW", 130, 200, 320, 15); ^ pilots.cpp:147:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tp [7] = new TeamPilot (7, "MATRIX", 40, 80, 180, 25); ^ pilots.cpp:148:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tp [8] = new TeamPilot (1, "FIREBIRD", 250, 140, 100, 1); ^ pilots.cpp:149:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tp [9] = new TeamPilot (4, "THUNDER", 150, 170, 60, 18); ^ pilots.cpp:150:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tp [10] = new TeamPilot (0, "PLAYER", 0, 0, 0, 0); ^ pilots.cpp:158:46: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] { ranking = 0; return "AIRMAN BASIC"; } ^~~~~~~~~~~~~~ pilots.cpp:214:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] { ranking = 1; return "AIRMAN"; } ^~~~~~~~ pilots.cpp:216:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] { ranking = 2; return "AIRMAN 1ST CLASS"; } ^~~~~~~~~~~~~~~~~~ pilots.cpp:218:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] { ranking = 3; return "2ND LIEUTNANT"; } ^~~~~~~~~~~~~~~ pilots.cpp:220:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] { ranking = 4; return "1ST LIEUTNANT"; } ^~~~~~~~~~~~~~~ pilots.cpp:222:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] { ranking = 5; return "CAPTAIN"; } ^~~~~~~~~ pilots.cpp:224:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] { ranking = 6; return "MAJOR"; } ^~~~~~~ pilots.cpp:226:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] { ranking = 7; return "COLONEL"; } ^~~~~~~~~ pilots.cpp:228:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] { ranking = 8; return "GENERAL"; } ^~~~~~~~~ pilots.cpp: In member function 'char* Pilot::getShortRank()': pilots.cpp:254:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] { ranking = 0; return "AB"; } ^~~~ pilots.cpp:256:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] { ranking = 1; return "AMN"; } ^~~~~ pilots.cpp:258:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] { ranking = 2; return "A1C"; } ^~~~~ pilots.cpp:260:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] { ranking = 3; return "2ND LT"; } ^~~~~~~~ pilots.cpp:262:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] { ranking = 4; return "1ST LT"; } ^~~~~~~~ pilots.cpp:264:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] { ranking = 5; return "CAPT"; } ^~~~~~ pilots.cpp:266:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] { ranking = 6; return "MAJ"; } ^~~~~ pilots.cpp:268:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] { ranking = 7; return "COL"; } ^~~~~ pilots.cpp:270:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] { ranking = 8; return "GEN"; } ^~~~~ pilots.cpp: In member function 'void PilotList::load(char*)': pilots.cpp:296:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Could not load saves/pilots", LOG_WARN); ^ pilots.cpp:298:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add ("PLAYER"); ^ pilots.cpp: In member function 'void PilotList::save(char*)': pilots.cpp:325:54: warning: ISO C++ forbids converting a 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:9: 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:9: 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:9: 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:9: 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:9: 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:9: 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:9: 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:9: 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:9: 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:9: 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:9: 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:9: 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:9: 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:9: 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:9: 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:9: 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:9: 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:9: 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:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (buf, 16, in); ~~~~~~^~~~~~~~~~~~~ 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o dirs.o dirs.cpp dirs.cpp: In constructor 'Dirs::Dirs(char*)': dirs.cpp:141:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p = mystrtok (p, (int) (path + pathlen - p), ":"); ^ dirs.cpp:158:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p = mystrtok (p + strlen (p) + 1, (int) (path + pathlen - p), ":"); ^ dirs.cpp:161:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Binary file has no context to the data files.", LOG_FATAL); ^ dirs.cpp:185:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Binary file has no context to the data files.", LOG_FATAL); ^ dirs.cpp:194:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] append (saves, ".gl-117"); ^ dirs.cpp:230:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] append (textures, "textures"); ^ dirs.cpp:231:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] append (music, "music"); ^ dirs.cpp:232:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] append (sound, "sounds"); ^ dirs.cpp:233:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] append (models, "models"); ^ dirs.cpp:234:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] append (maps, "maps"); ^ dirs.cpp: In constructor 'Dirs::Dirs(char*)': dirs.cpp:131:12: 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 ~~~~~~~^~~~~~~~~~~ dirs.cpp:221:19: warning: '%s' directive writing up to 4095 bytes into a region of size 228 [-Wformat-overflow=] sprintf (buf, "Found gl-117 data directory %s ", myfile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ In file included from /usr/include/stdio.h:862, from dirs.cpp:26: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 30 and 4125 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o conf.o conf.cpp conf.cpp: In function 'void save_config()': conf.cpp:204:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *confname = dirs->getSaves ("conf"); ^ conf.cpp:210:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Could not save configuration", LOG_ERROR); ^ conf.cpp:214:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Configuration\n"); ^ conf.cpp:215:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Some possible width x height values for fullscreen mode:"); ^ conf.cpp:216:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# 640x480, 800x600, 1024x768, 1152x864, 1280x768, 1280x960, 1280x1024"); ^ conf.cpp:217:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" width", wantwidth); ^ conf.cpp:218:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" height", wantheight); ^ conf.cpp:219:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Possible bits per pixel values (color depth):"); ^ conf.cpp:220:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# 8 (not recommended), 16, 24, 32"); ^ conf.cpp:221:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" bpp", bpp); ^ conf.cpp:222:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Try to go fullscreen = 1, game in window = 0"); ^ conf.cpp:223:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" fullscreen", wantfullscreen); ^ conf.cpp:224:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Quality: 0=software rendered up to 5=best (default=2)"); ^ conf.cpp:225:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" quality", quality); ^ conf.cpp:226:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Far clipping plane: 20..100 (default=50)"); ^ conf.cpp:227:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" view", (int) view); ^ conf.cpp:228:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Dithering: 0=off, 1=on (default=1)"); ^ conf.cpp:229:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" dithering", dithering); ^ conf.cpp:230:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Antialiasing: 0=off, 1=on (default=1)"); ^ conf.cpp:231:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" antialiasing", antialiasing); ^ conf.cpp:232:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Special effects: 0=off, 1=on (default=1)"); ^ conf.cpp:233:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" specialeffects", specialeffects); ^ conf.cpp:234:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Dynamic lighting: 0=off, 1=on (default=1)"); ^ conf.cpp:235:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" dynamiclighting", dynamiclighting); ^ conf.cpp:237:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Sound volume: 0..100 (default=100) per cent"); ^ conf.cpp:238:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" sound", (int) volumesound); ^ conf.cpp:239:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Music volume: 0..100 (default=100) per cent"); ^ conf.cpp:240:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" music", (int) volumemusic); ^ conf.cpp:242:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Piloting controls: 0=keyboard, 1=mouse easy, 2=joystick"); ^ conf.cpp:243:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" controls", controls); ^ conf.cpp:244:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Difficulty level: 0=easy, 1=medium, 2=hard"); ^ conf.cpp:245:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" difficulty", difficulty); ^ conf.cpp:246:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Brightness: -50..50 per cent (default=0)"); ^ conf.cpp:247:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" brightness", brightness); ^ conf.cpp:248:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Physics: 0=action, 1=realistic"); ^ conf.cpp:249:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" physics", physics); ^ conf.cpp:250:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("\n# This file is meant to give sensible startup settings"); ^ conf.cpp:251:85: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *confname = dirs->getSaves ("saveconf"); ^ conf.cpp:267:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Could not save working graphics mode configuration", LOG_ERROR); ^ conf.cpp:271:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Working backup configuration\n"); ^ conf.cpp:272:95: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" width", width); ^ conf.cpp:274:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" height", height); ^ conf.cpp:275:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" bpp", bpp); ^ conf.cpp:276:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" fullscreen", fullscreen); ^ conf.cpp: In function 'int load_config()': conf.cpp:286:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *confname = dirs->getSaves ("conf"); ^ conf.cpp:297:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "width"); ^ conf.cpp:306:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "height"); ^ conf.cpp:315:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "bpp"); ^ conf.cpp:323:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "fullscreen"); ^ conf.cpp:331:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "quality"); ^ conf.cpp:339:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "view"); ^ conf.cpp:353:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "dithering"); ^ conf.cpp:357:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "antialiasing"); ^ conf.cpp:361:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "specialeffects"); ^ conf.cpp:365:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "dynamiclighting"); ^ conf.cpp:370:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "sound"); ^ conf.cpp:378:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "music"); ^ conf.cpp:387:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "controls"); ^ conf.cpp:395:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "difficulty"); ^ conf.cpp:403:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "brightness"); ^ conf.cpp:411:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "physics"); ^ conf.cpp: In function 'int load_saveconfig()': conf.cpp:428:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *confname = dirs->getSaves ("saveconf"); ^ conf.cpp:439:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "savewidth"); ^ conf.cpp:447:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "saveheight"); ^ conf.cpp:455:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "savebpp"); ^ conf.cpp:463:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "savefullscreen"); ^ conf.cpp: In function 'void save_configInterface()': conf.cpp:485:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *confname = dirs->getSaves ("conf.interface"); ^ conf.cpp:491:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Could not save interface configuration", LOG_ERROR); ^ conf.cpp:494:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Interface configuration\n"); ^ conf.cpp:495:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# ---------------------------------------------------------------------"); ^ conf.cpp:496:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Keyboard section"); ^ conf.cpp:497:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# ---------------------------------------------------------------------\n"); ^ conf.cpp:498:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Use ASCII-Code values or letters to remap"); ^ conf.cpp:499:88: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" key_firecannon", (int) key_firecannon); ^ conf.cpp:501:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" key_firemissile", (int) key_firemissile); ^ conf.cpp:502:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" key_dropflare", (int) key_dropflare); ^ conf.cpp:503:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" key_dropchaff", (int) key_dropchaff); ^ conf.cpp:504:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" key_selectmissile", (int) key_selectmissile); ^ conf.cpp:505:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Target nearest enemy with priority for enemies in front of you"); ^ conf.cpp:506:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" key_targetnearest", (int) key_targetnearest); ^ conf.cpp:507:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Target next enemy who has locked you"); ^ conf.cpp:508:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" key_targetlocking", (int) key_targetlocking); ^ conf.cpp:509:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" key_targetnext", (int) key_targetnext); ^ conf.cpp:510:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" key_targetprevious", (int) key_targetprevious); ^ conf.cpp:511:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" key_incthrust", (int) key_thrustup); ^ conf.cpp:512:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" key_decthrust", (int) key_thrustdown); ^ conf.cpp:513:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# All other piloting keys (CURSORS, PGUP/DN) are fixed."); ^ conf.cpp:514:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("\n# ---------------------------------------------------------------------"); ^ conf.cpp:515:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Mouse section"); ^ conf.cpp:516:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# ---------------------------------------------------------------------\n"); ^ conf.cpp:517:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Sensitivity: 70...200%, 70%=full screen area, 200%=max sensitivity"); ^ conf.cpp:518:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" mouse_sensitivity", (int) mouse_sensitivity); ^ conf.cpp:519:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Reverse y-axis: 0 (no) or 1 (yes)"); ^ conf.cpp:520:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" mouse_reverse", (int) mouse_reverse); ^ conf.cpp:521:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Relative coordinates: 0 (no) or 1 (yes)"); ^ conf.cpp:522:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" mouse_relative", (int) mouse_relative); ^ conf.cpp:523:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Auto rudder on x-axis, dead area for rolls: 0...100"); ^ conf.cpp:524:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" mouse_autorudder", (int) mouse_autorudder); ^ conf.cpp:525:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("\n# Buttons: 1=Left, 2=Middle, 3=Right"); ^ conf.cpp:530:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" mouse_firecannon", mousebutton); ^ conf.cpp:534:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" mouse_firemissile", mousebutton); ^ conf.cpp:538:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->write (" mouse_selectmissile", mousebutton); ^ conf.cpp:539:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("\n# ---------------------------------------------------------------------"); ^ conf.cpp:540:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Joystick section"); ^ conf.cpp:541:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# ---------------------------------------------------------------------\n"); ^ conf.cpp:542:95: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_aileron", joystick_aileron); ^ conf.cpp:547:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_elevator", joystick_elevator); ^ conf.cpp:548:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_throttle", joystick_throttle); ^ conf.cpp:549:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_rudder", joystick_rudder); ^ conf.cpp:550:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_view_x", joystick_view_x); ^ conf.cpp:551:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_view_y", joystick_view_y); ^ conf.cpp:552:89: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_firecannon", joystick_firecannon); ^ conf.cpp:554:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_firemissile", joystick_firemissile); ^ conf.cpp:555:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("# Dropping chaff AND flare may be preferred"); ^ conf.cpp:556:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_dropflare", joystick_dropflare); ^ conf.cpp:557:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_dropchaff", joystick_dropchaff); ^ conf.cpp:558:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_selectmissile", joystick_selectmissile); ^ conf.cpp:559:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_targetnearest", joystick_targetnearest); ^ conf.cpp:560:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_targetlocking", joystick_targetlocking); ^ conf.cpp:561:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_targetnext", joystick_targetnext); ^ conf.cpp:562:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_targetprevious", joystick_targetprevious); ^ conf.cpp:563:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_incthrust", joystick_thrustup); ^ conf.cpp:564:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] writeJoystick (cf, " joystick_decthrust", joystick_thrustdown); ^ conf.cpp:565:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cf->writeText ("\n# This file is meant to give sensible custom interface settings"); ^ conf.cpp:566:79: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *confname = dirs->getSaves ("conf.interface"); ^ conf.cpp:610:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_firecannon"); ^ conf.cpp:613:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_firemissile"); ^ conf.cpp:616:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_dropchaff"); ^ conf.cpp:619:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_dropflare"); ^ conf.cpp:622:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_selectmissile"); ^ conf.cpp:625:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_targetnearest"); ^ conf.cpp:628:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_targetlocking"); ^ conf.cpp:631:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_targetnext"); ^ conf.cpp:634:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_targetprevious"); ^ conf.cpp:637:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_incthrust"); ^ conf.cpp:640:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "key_decthrust"); ^ conf.cpp:643:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "mouse_sensitivity"); ^ conf.cpp:651:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "mouse_reverse"); ^ conf.cpp:657:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "mouse_relative"); ^ conf.cpp:663:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "mouse_autorudder"); ^ conf.cpp:672:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "mouse_firecannon"); ^ conf.cpp:681:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "mouse_firemissile"); ^ conf.cpp:690:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "mouse_selectmissile"); ^ conf.cpp:699:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_aileron"); ^ conf.cpp:702:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_elevator"); ^ conf.cpp:705:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_throttle"); ^ conf.cpp:708:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_rudder"); ^ conf.cpp:711:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_view_x"); ^ conf.cpp:714:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_view_y"); ^ conf.cpp:717:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_firecannon"); ^ conf.cpp:720:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_firemissile"); ^ conf.cpp:723:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_dropchaff"); ^ conf.cpp:726:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_dropflare"); ^ conf.cpp:729:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_selectmissile"); ^ conf.cpp:732:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_targetnearest"); ^ conf.cpp:735:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_targetlocking"); ^ conf.cpp:738:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_targetnext"); ^ conf.cpp:741:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_targetprevious"); ^ conf.cpp:744:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_incthrust"); ^ conf.cpp:747:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = cf->getString (ret, "joystick_decthrust"); ^ 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o loader_tga.o loader_tga.cpp loader_tga.cpp:42:1: warning: multi-line comment [-Wcomment] //#define WRITE_RGBA(p, r, g, b, a) \ ^ loader_tga.cpp: In function 'unsigned char* tga_load(char*, int*, int*)': loader_tga.cpp:198:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Out of memory", LOG_FATAL); ^ loader_tga.cpp:217:43: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Out of memory", LOG_FATAL); ^ 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o object.o object.cpp 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o aiobject.o aiobject.cpp aiobject.cpp: In member function 'int DynamicObj::net_write()': aiobject.cpp:36:29: 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:29: 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:29: 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:27: 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:29: 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:29: 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:29: 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:29: 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:29: 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:27: 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:29: 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:29: 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Manoever: Vertical climb", LOG_ALL); ^ aiobject.cpp:2656:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Manoever: Immelmann", LOG_ALL); ^ aiobject.cpp:2661:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Manoever: Immelmann", LOG_ALL); ^ aiobject.cpp:2668:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Manoever: Roll", LOG_ALL); ^ aiobject.cpp:2676:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Manoever: Turn", LOG_ALL); ^ aiobject.cpp:2683:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Manoever: Height change", LOG_ALL); ^ aiobject.cpp:2714:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Manoever: Immelmann", LOG_ALL); ^ aiobject.cpp:2719:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Manoever: Immelmann", LOG_ALL); ^ aiobject.cpp:2726:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Manoever: Roll", LOG_ALL); ^ aiobject.cpp:2734:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Manoever: Turn", LOG_ALL); ^ aiobject.cpp:2741:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Manoever: Height change", LOG_ALL); ^ 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o fileloader.o fileloader.cpp 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o cockpit.o cockpit.cpp cockpit.cpp: In member function 'void Cockpit::drawHeading()': cockpit.cpp:463:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (xf - 0.5, yf - 2.0, zf, "S", &color); ^ cockpit.cpp:465:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (xf - 0.5, yf - 2.0, zf, "E", &color); ^ cockpit.cpp:467:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (xf - 0.5, yf - 2.0, zf, "N", &color); ^ cockpit.cpp:469:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (xf - 0.5, yf - 2.0, zf, "W", &color); ^ 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o land.o land.cpp In file included from land.cpp:31: 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' [-Wdangling-else] if (h [i * step] [i2 * step] == 0) ^ In file included from land.cpp:31: 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]) || ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o common.o common.cpp common.cpp: In function 'void display(char*, int)': common.cpp:47:64: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Out of memory", LOG_FATAL); ^ 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o main.o main.cpp main.cpp: In function 'int game_levelInit()': main.cpp:669:56: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Initing new mission", LOG_MOST); ^ main.cpp: In function 'char* getModelText(int)': main.cpp:2083:12: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "THE HAWK IS A TYPICAL\nALLROUNDER AND DESIGNED\nFOR GROUND ATTACKS."; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:2087:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "THE HAWK II IS A ..."; ^~~~~~~~~~~~~~~~~~~~~~ main.cpp:2088:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "NO INFO"; ^~~~~~~~~ main.cpp: In function 'char* getModelName(int)': main.cpp:2094:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "GL-16 FALCON"; ^~~~~~~~~~~~~~ main.cpp:2096:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "GL-22 HAWK"; ^~~~~~~~~~~~ main.cpp:2098:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "GL-23 HAWK II"; ^~~~~~~~~~~~~~~ main.cpp:2100:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "GL-15 REDARROW"; ^~~~~~~~~~~~~~~~ main.cpp:2102:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "GL-117 PHOENIX"; ^~~~~~~~~~~~~~~~ main.cpp:2104:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "GL-50 STORM"; ^~~~~~~~~~~~~ main.cpp:2106:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "CROW"; ^~~~~~ main.cpp:2108:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "BUZZARD"; ^~~~~~~~~ main.cpp:2110:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "SWALLOW"; ^~~~~~~~~ main.cpp:2112:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "BLACKBIRD"; ^~~~~~~~~~~ main.cpp:2114:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "AIR-AIR MISSILE PACK"; ^~~~~~~~~~~~~~~~~~~~~~ main.cpp:2116:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "AIR-GROUND MISSILE PACK"; ^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:2118:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "DUMB FIRE MISSILE PACK"; ^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:2119:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "NO INFO"; ^~~~~~~~~ main.cpp: In function 'void mission_display()': main.cpp:2280:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (textx / fontscale, texty / fontscale, -2, "BRIEFING:", col); ^ main.cpp:2286:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (xstats / fontscale, ystats / fontscale, -2, "STATUS:", col); ^ main.cpp:2288:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (xstatstab / fontscale, ystats / fontscale, -2, "SUCCESS", colorstd); ^ main.cpp:2290:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (xstatstab / fontscale, ystats / fontscale, -2, "FAILED", colorstd); ^ main.cpp:2292:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (xstatstab / fontscale, ystats / fontscale, -2, "EMPTY", colorstd); ^ main.cpp:2296:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (xstats / fontscale, texty / fontscale, -2, "SCORE:", col); ^ main.cpp:2302:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (xstats / fontscale, texty / fontscale, -2, "KILLS:", col); ^ main.cpp:2310:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (xstats / fontscale, texty / fontscale, -2, "SCORE:", col); ^ main.cpp:2311:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (xstatstab / fontscale, texty / fontscale, -2, "TRAINING", col); ^ main.cpp:2314:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (textx / fontscale, piloty / fontscale, -2, "PILOTS:", col); ^ main.cpp:2327:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (textx / fontscale, -1 / fontscale, -2, "CHOOSE FIGHTER:", col); ^ main.cpp:2328:86: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 9, -1.5, "CREATE GAME"); ^ main.cpp:2385:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextScaled (-2, -12, -2, "BACK", colorstd, -missionmenutimer * 5); ^ main.cpp:2387:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (-2, -12, -2, "BACK"); ^ main.cpp: In function 'void join_display()': main.cpp:2426:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 9, -1.5, "JOIN GAME"); ^ main.cpp:2429:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextScaled (-2, -12, -2, "BACK", colorstd, -missionmenutimer * 5); ^ main.cpp:2431:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (-2, -12, -2, "BACK"); ^ main.cpp: In function 'void game_quit()': main.cpp:2583:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pilots->save (dirs->getSaves ("pilots")); ^ main.cpp:2584:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Pilots saved", LOG_MOST); ^ main.cpp: In function 'void stats_display()': main.cpp:2700:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2, "SUCCESS", &colorblue); ^ main.cpp:2704:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2, "FAILED", &colorred); ^ main.cpp:2707:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (xf1, yf, zf, "SCORE:", color); ^ main.cpp:2712:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (xf1, yf, zf, "DIFFICULTY:", color); ^ main.cpp:2713:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (mission->difficulty == 0) font1->drawText (xf2, yf, zf, "EASY", color); ^ main.cpp:2714:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (mission->difficulty == 1) font1->drawText (xf2, yf, zf, "NORMAL", color); ^ main.cpp:2715:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (mission->difficulty == 2) font1->drawText (xf2, yf, zf, "HARD", color); ^ main.cpp:2716:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (mission->difficulty == 0) font1->drawText (xf3, yf, zf, "-25", color); ^ main.cpp:2717:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (mission->difficulty == 1) font1->drawText (xf3, yf, zf, "+25", color); ^ main.cpp:2718:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (mission->difficulty == 2) font1->drawText (xf3, yf, zf, "+75", color); ^ main.cpp:2721:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (xf1, yf, zf, "FLIGHT MODEL:", color); ^ main.cpp:2722:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!fplayer->realism) font1->drawText (xf2, yf, zf, "ACTION", color); ^ main.cpp:2723:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else font1->drawText (xf2, yf, zf, "SIM", color); ^ main.cpp:2724:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!fplayer->realism) font1->drawText (xf3, yf, zf, "-25", color); ^ main.cpp:2725:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else font1->drawText (xf3, yf, zf, "+25", color); ^ main.cpp:2731:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (xf1, yf, zf, "TIME BONUS:", color); ^ main.cpp:2738:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (xf1, yf, zf, "SHIELD BONUS:", color); ^ main.cpp:2744:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawText (xf1, yf, zf, "KILLS:", color); ^ main.cpp:2782:61: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font2->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "GAME PROGRAMMING,", col); ^ main.cpp:3010:103: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font2->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "GRAPHICS, MODELS, SOUND & MUSIC", col); ^ main.cpp:3011:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "THOMAS A. DREXL", col2); ^ main.cpp:3015:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "SPECIAL THANKS TO...", col); ^ main.cpp:3016:103: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "LENS FLARES & FURTHER DEBUGGING", col); ^ main.cpp:3017:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "PIOTR PAWLOW", col2); ^ main.cpp:3018:112: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "MOUSE INTERFACE & LANDSCAPE IMPROVEMENTS", col); ^ main.cpp:3019:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "LOURENS VEEN", col2); ^ main.cpp:3020:103: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "PUBLISHING & FURTHER GAME IDEAS", col); ^ main.cpp:3021:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "BERNHARD KAINDL", col2); ^ main.cpp:3022:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "MOON TERRAIN", col); ^ main.cpp:3023:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "NORBERT DREXL", col2); ^ main.cpp:3024:118: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "ARNE REINERS", col2); ^ main.cpp:3026:126: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, (yt -= 10 * ydist) / fontzoom, zf, "***********************", col); ^ main.cpp:3032:99: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- DESIGN 3D MODELS", col); ^ main.cpp:3039:96: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- CREATE SOUNDTRACKS", col); ^ main.cpp:3040:102: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- MAKE MISSION SUGGESTIONS", col); ^ main.cpp:3041:102: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 12, -3, "CONGRATULATIONS!", col); ^ main.cpp:3053:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 10, -3, "THE WORLD HAS BEEN SAVED YET AGAIN.", col); ^ main.cpp:3054:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -3, "HOPE YOU HAD FUN PLAYING GL-117!", col); ^ main.cpp:3055:92: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 2, -3, "OF THE COURSE \"APPLICATIONS OF COMPUTER GRAPHICS\"", col); ^ main.cpp:3057:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 0, -3, "AT THE TECHNICAL UNIVERSITY OF MUNICH, GERMANY.", col); ^ main.cpp:3058:86: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -4, -3, "PRESENTED THE PROTOTYPE OF A FLIGHT SIM,", col); ^ main.cpp:3060:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -6, -3, "YET WITHOUT TEXTURES, JOYSTICK, SOUNDS, MUSIC,", col); ^ main.cpp:3061:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -8, -3, "NO CAMPAIGN!", col); ^ main.cpp:3062:102: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -12, -3, "FURTHER RELEASES FOLLOWED, FEEDBACK ARRIVED, AND", col); ^ main.cpp:3064:98: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -14, -3, "PROGRAMMERS JOINED (LISTED IN THE CREDITS SECTION).", col); ^ main.cpp:3065:100: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 0, -1.8, "PLEASE WAIT WHILE", &colorred); ^ main.cpp:3579:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -1, -1.8, "ADJUSTING QUALITY", &colorred); ^ main.cpp:3585:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -8, -2, "FPS TOO LOW", &colorred); ^ main.cpp:3586:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -9, -2, "TURN DOWN VIEW OR QUALITY", &colorred); ^ main.cpp:3591:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -8, -2, "FPS FAR TOO LOW", &colorred); ^ main.cpp:3592:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, -9, -2, "SEE \"README\" OR \"FAQ\" FILES", &colorred); ^ main.cpp:3593:91: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Creating calculation tables", LOG_ALL); ^ main.cpp:4301:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Creating advanced OpenGL methods", LOG_ALL); ^ main.cpp:4305:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Loading textures", LOG_ALL); ^ main.cpp:4306:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texgrass = gl->genTextureTGA (dirs->getTextures ("grass1.tga"), 0, 0, 1, false); ^ main.cpp:4307:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texrocks = gl->genTextureTGA (dirs->getTextures ("rocks1.tga"), 0, 0, 1, false); ^ main.cpp:4308:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texwater = gl->genTextureTGA (dirs->getTextures ("water1.tga"), 0, 0, 1, false); ^ main.cpp:4309:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texsand = gl->genTextureTGA (dirs->getTextures ("sand1.tga"), 0, 0, 1, false); ^ main.cpp:4310:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texredsand = gl->genTextureTGA (dirs->getTextures ("redsand1.tga"), 0, 0, 1, false); ^ main.cpp:4311:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texredstone = gl->genTextureTGA (dirs->getTextures ("redstone2.tga"), 0, 0, 1, false); ^ main.cpp:4312:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texgravel1 = gl->genTextureTGA (dirs->getTextures ("gravel1.tga"), 0, 0, 1, false); ^ main.cpp:4313:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texglitter1 = gl->genTextureTGA (dirs->getTextures ("glitter.tga"), 0, -1, 0, true); ^ main.cpp:4314:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] textree = gl->genTextureTGA (dirs->getTextures ("tree1.tga"), 0, -1, 1, true); ^ main.cpp:4315:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] textreeu = gl->genTextureTGA (dirs->getTextures ("treeu1.tga"), 0, -1, 1, true); ^ main.cpp:4316:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] textree2 = gl->genTextureTGA (dirs->getTextures ("tree2.tga"), 0, -1, 1, true); ^ main.cpp:4317:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] textreeu2 = gl->genTextureTGA (dirs->getTextures ("treeu2.tga"), 0, -1, 1, true); ^ main.cpp:4318:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] textree3 = gl->genTextureTGA (dirs->getTextures ("tree3.tga"), 0, 3, 1, true); ^ main.cpp:4319:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] textreeu3 = gl->genTextureTGA (dirs->getTextures ("treeu3.tga"), 0, 3, 1, true); ^ main.cpp:4320:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] textree4 = gl->genTextureTGA (dirs->getTextures ("tree4.tga"), 0, 3, 1, true); ^ main.cpp:4321:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] textreeu4 = gl->genTextureTGA (dirs->getTextures ("treeu4.tga"), 0, 3, 1, true); ^ main.cpp:4322:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] textree5 = gl->genTextureTGA (dirs->getTextures ("tree5.tga"), 0, -1, 1, true); ^ main.cpp:4323:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] textreeu5 = gl->genTextureTGA (dirs->getTextures ("treeu5.tga"), 0, -1, 1, true); ^ main.cpp:4324:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texcactus1 = gl->genTextureTGA (dirs->getTextures ("cactus1.tga"), 0, 3, 1, true); ^ main.cpp:4325:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texcactusu1 = gl->genTextureTGA (dirs->getTextures ("cactusu1.tga"), 0, 3, 1, true); ^ main.cpp:4326:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texsmoke = gl->genTextureTGA (dirs->getTextures ("smoke1.tga"), 0, -1, 1, true); ^ main.cpp:4327:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texsmoke2 = gl->genTextureTGA (dirs->getTextures ("smoke2.tga"), 0, -1, 1, true); ^ main.cpp:4328:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texsmoke3 = gl->genTextureTGA (dirs->getTextures ("smoke3.tga"), 0, 5, 1, true); ^ main.cpp:4329:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texsun = gl->genTextureTGA (dirs->getTextures ("sun2.tga"), 1, -1, 0, true); ^ main.cpp:4330:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texmoon = gl->genTextureTGA (dirs->getTextures ("moon1.tga"), 1, 2, 0, true); ^ main.cpp:4331:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texearth = gl->genTextureTGA (dirs->getTextures ("earth.tga"), 1, 0, 0, true); ^ main.cpp:4332:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texflare1 = gl->genTextureTGA (dirs->getTextures ("flare1.tga"), 1, -1, 0, true); ^ main.cpp:4333:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texflare2 = gl->genTextureTGA (dirs->getTextures ("flare2.tga"), 1, -1, 0, true); ^ main.cpp:4334:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texflare3 = gl->genTextureTGA (dirs->getTextures ("flare3.tga"), 1, -1, 0, true); ^ main.cpp:4335:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texflare4 = gl->genTextureTGA (dirs->getTextures ("flare4.tga"), 1, -1, 0, true); ^ main.cpp:4336:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texcross = gl->genTextureTGA (dirs->getTextures ("cross.tga"), 0, -1, 1, true); ^ main.cpp:4337:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texcross2 = gl->genTextureTGA (dirs->getTextures ("cross2.tga"), 0, -1, 1, true); ^ main.cpp:4338:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texranks = gl->genTextureTGA (dirs->getTextures ("ranks.tga"), 0, 0, 0, true); ^ main.cpp:4339:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texmedals = gl->genTextureTGA (dirs->getTextures ("medals.tga"), 0, 0, 0, true); ^ main.cpp:4340:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texclouds1 = gl->genTextureTGA (dirs->getTextures ("clouds1.tga"), 0, -1, 1, true); ^ main.cpp:4341:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texclouds2 = gl->genTextureTGA (dirs->getTextures ("clouds2.tga"), 0, 4, 1, true); ^ main.cpp:4342:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texclouds3 = gl->genTextureTGA (dirs->getTextures ("clouds3.tga"), 0, 6, 1, true); ^ main.cpp:4343:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texradar1 = gl->genTextureTGA (dirs->getTextures ("radar2.tga"), 0, -1, 0, true); ^ main.cpp:4344:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texradar2 = gl->genTextureTGA (dirs->getTextures ("radar1.tga"), 0, -1, 0, true); ^ main.cpp:4345:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texarrow = gl->genTextureTGA (dirs->getTextures ("arrow.tga"), 0, -1, 0, true); ^ main.cpp:4347:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Loading Fonts", LOG_ALL); ^ main.cpp:4348:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1 = new Font (dirs->getTextures ("font1.tga"), 32, '!', 64); ^ main.cpp:4350:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font2 = new Font (dirs->getTextures ("font2.tga"), 32, '!', 64); ^ main.cpp:4352:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Loading 3ds models:", LOG_ALL); ^ main.cpp:4353:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * gl-16.3ds", LOG_ALL); ^ main.cpp:4354:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_fig, dirs->getModels ("gl-16.3ds")); ^ main.cpp:4355:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_fig.setName ("FALCON"); ^ main.cpp:4356:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * gl-15.3ds", LOG_ALL); ^ main.cpp:4357:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_figa, dirs->getModels ("gl-15.3ds")); ^ main.cpp:4358:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_figa.setName ("SWALLOW"); ^ main.cpp:4359:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * gl-14c.3ds", LOG_ALL); ^ main.cpp:4360:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_figb, dirs->getModels ("gl-14c.3ds")); ^ main.cpp:4361:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_figb.setName ("HAWK"); ^ main.cpp:4362:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * gl-14d.3ds", LOG_ALL); ^ main.cpp:4363:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_figc, dirs->getModels ("gl-14d.3ds")); ^ main.cpp:4364:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_figc.setName ("HAWK II"); ^ main.cpp:4365:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * gl-21b.3ds", LOG_ALL); ^ main.cpp:4366:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_figd, dirs->getModels ("gl-21b.3ds")); ^ main.cpp:4367:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_figd.setName ("BUZZARD"); ^ main.cpp:4368:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * gl-21.3ds", LOG_ALL); ^ main.cpp:4369:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_fige, dirs->getModels ("gl-21.3ds")); ^ main.cpp:4370:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_fige.setName ("CROW"); ^ main.cpp:4371:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * gl-14b.3ds", LOG_ALL); ^ main.cpp:4372:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_figf, dirs->getModels ("gl-14b.3ds")); ^ main.cpp:4373:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_figf.setName ("PHOENIX"); ^ main.cpp:4374:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * gl-14.3ds", LOG_ALL); ^ main.cpp:4375:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_figg, dirs->getModels ("gl-14.3ds")); ^ main.cpp:4376:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_figg.setName ("RED ARROW"); ^ main.cpp:4377:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * gl-29.3ds", LOG_ALL); ^ main.cpp:4378:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_figh, dirs->getModels ("gl-29.3ds")); ^ main.cpp:4379:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_figh.setName ("BLACKBIRD"); ^ main.cpp:4381:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * gl-50.3ds", LOG_ALL); ^ main.cpp:4382:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_figi, dirs->getModels ("gl-50.3ds")); ^ main.cpp:4383:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_figi.setName ("STORM"); ^ main.cpp:4384:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * transp2.3ds", LOG_ALL); ^ main.cpp:4385:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_figt, dirs->getModels ("transp2.3ds")); ^ main.cpp:4386:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_figt.setName ("TRANSPORT"); ^ main.cpp:4387:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * transp4.3ds", LOG_ALL); ^ main.cpp:4388:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_figu, dirs->getModels ("transp4.3ds")); ^ main.cpp:4389:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_figu.setName ("TRANSPORT"); ^ main.cpp:4393:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * cannon1.3ds", LOG_ALL); ^ main.cpp:4394:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_cannon1, dirs->getModels ("cannon1.3ds")); ^ main.cpp:4396:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * cannon1b.3ds", LOG_ALL); ^ main.cpp:4397:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_cannon1b, dirs->getModels ("cannon1b.3ds")); ^ main.cpp:4401:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * cannon2.3ds", LOG_ALL); ^ main.cpp:4402:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_cannon2, dirs->getModels ("cannon2.3ds")); ^ main.cpp:4416:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * cannon2b.3ds", LOG_ALL); ^ main.cpp:4417:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_cannon2b, dirs->getModels ("cannon2b.3ds")); ^ main.cpp:4434:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * flare1.3ds", LOG_ALL); ^ main.cpp:4435:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_flare1, dirs->getModels ("flare1.3ds")); ^ main.cpp:4436:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_flare1.setName ("FLARE"); ^ main.cpp:4439:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * chaff1.3ds", LOG_ALL); ^ main.cpp:4440:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_chaff1, dirs->getModels ("chaff1.3ds")); ^ main.cpp:4441:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_chaff1.setName ("CHAFF"); ^ main.cpp:4444:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * missile1.3ds", LOG_ALL); ^ main.cpp:4445:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_missile1, dirs->getModels ("missile1.3ds")); ^ main.cpp:4446:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_missile1.setName ("AAM HS MK1"); ^ main.cpp:4447:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * missile2.3ds", LOG_ALL); ^ main.cpp:4448:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_missile2, dirs->getModels ("missile2.3ds")); ^ main.cpp:4449:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_missile2.setName ("AAM HS MK2"); ^ main.cpp:4450:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * missile3.3ds", LOG_ALL); ^ main.cpp:4451:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_missile3, dirs->getModels ("missile3.3ds")); ^ main.cpp:4452:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_missile3.setName ("AAM HS MK3"); ^ main.cpp:4453:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * missile4.3ds", LOG_ALL); ^ main.cpp:4454:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_missile4, dirs->getModels ("missile4.3ds")); ^ main.cpp:4455:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_missile4.setName ("AGM MK1"); ^ main.cpp:4456:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * missile5.3ds", LOG_ALL); ^ main.cpp:4457:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_missile5, dirs->getModels ("missile5.3ds")); ^ main.cpp:4458:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_missile5.setName ("AGM MK2"); ^ main.cpp:4459:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * missile6.3ds", LOG_ALL); ^ main.cpp:4460:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_missile6, dirs->getModels ("missile6.3ds")); ^ main.cpp:4461:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_missile6.setName ("DFM"); ^ main.cpp:4462:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * missile7.3ds", LOG_ALL); ^ main.cpp:4463:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_missile7, dirs->getModels ("missile7.3ds")); ^ main.cpp:4464:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_missile7.setName ("AAM FF MK1"); ^ main.cpp:4465:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * missile8.3ds", LOG_ALL); ^ main.cpp:4466:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_missile8, dirs->getModels ("missile8.3ds")); ^ main.cpp:4467:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_missile8.setName ("AAM FF MK2"); ^ main.cpp:4468:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * flak2.3ds", LOG_ALL); ^ main.cpp:4469:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_flak1, dirs->getModels ("flak2.3ds")); ^ main.cpp:4470:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_flak1.setName ("SA CANNON"); ^ main.cpp:4471:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * flarak1.3ds", LOG_ALL); ^ main.cpp:4472:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_flarak1, dirs->getModels ("flarak1.3ds")); ^ main.cpp:4473:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_flarak1.setName ("SAM"); ^ main.cpp:4474:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * ship1.3ds", LOG_ALL); ^ main.cpp:4475:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_ship1, dirs->getModels ("ship1.3ds")); ^ main.cpp:4476:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_ship1.setName ("CRUISER"); ^ main.cpp:4477:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * tent1.3ds", LOG_ALL); ^ main.cpp:4478:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_tent1, dirs->getModels ("tent1.3ds")); ^ main.cpp:4479:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_tent1.setName ("TENT"); ^ main.cpp:4480:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * gl-117.3ds", LOG_ALL); ^ main.cpp:4481:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_gl117, dirs->getModels ("gl-117.3ds")); ^ main.cpp:4483:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * tank1.3ds", LOG_ALL); ^ main.cpp:4484:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_tank1, dirs->getModels ("tank1.3ds")); ^ main.cpp:4485:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_tank1.setName ("WIESEL"); ^ main.cpp:4487:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * container1.3ds", LOG_ALL); ^ main.cpp:4488:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_container1, dirs->getModels ("container1.3ds")); ^ main.cpp:4489:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_container1.setName ("CONTAINER"); ^ main.cpp:4490:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * ship2.3ds", LOG_ALL); ^ main.cpp:4491:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_ship2, dirs->getModels ("ship2.3ds")); ^ main.cpp:4492:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_ship2.setName ("LIGHT DESTROYER"); ^ main.cpp:4493:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * truck1.3ds", LOG_ALL); ^ main.cpp:4494:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_truck1, dirs->getModels ("truck1.3ds")); ^ main.cpp:4495:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_truck1.setName ("TRUCK"); ^ main.cpp:4496:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * truck2.3ds", LOG_ALL); ^ main.cpp:4497:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_truck2, dirs->getModels ("truck2.3ds")); ^ main.cpp:4498:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_truck2.setName ("TRUCK"); ^ main.cpp:4499:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * trsam.3ds", LOG_ALL); ^ main.cpp:4500:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_trsam, dirs->getModels ("trsam.3ds")); ^ main.cpp:4501:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_trsam.setName ("MOBILE SAM"); ^ main.cpp:4502:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * pickup1.3ds", LOG_ALL); ^ main.cpp:4503:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_pickup1, dirs->getModels ("pickup1.3ds")); ^ main.cpp:4504:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_pickup1.setName ("PICKUP"); ^ main.cpp:4505:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * pickup2.3ds", LOG_ALL); ^ main.cpp:4506:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_pickup2, dirs->getModels ("pickup2.3ds")); ^ main.cpp:4507:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_pickup2.setName ("PICKUP"); ^ main.cpp:4508:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * tank2.3ds", LOG_ALL); ^ main.cpp:4509:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_tank2, dirs->getModels ("tank2.3ds")); ^ main.cpp:4510:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_tank2.setName ("PANTHER"); ^ main.cpp:4512:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * tent4.3ds", LOG_ALL); ^ main.cpp:4513:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_tent4, dirs->getModels ("tent4.3ds")); ^ main.cpp:4514:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_tent4.setName ("BIG TENT"); ^ main.cpp:4515:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * hall1.3ds", LOG_ALL); ^ main.cpp:4516:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_hall1, dirs->getModels ("hall1.3ds")); ^ main.cpp:4517:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_hall1.setName ("HALL"); ^ main.cpp:4518:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * hall2.3ds", LOG_ALL); ^ main.cpp:4519:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_hall2, dirs->getModels ("hall2.3ds")); ^ main.cpp:4520:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_hall2.setName ("HALL"); ^ main.cpp:4521:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * oilrig.3ds", LOG_ALL); ^ main.cpp:4522:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_oilrig, dirs->getModels ("oilrig.3ds")); ^ main.cpp:4523:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_oilrig.setName ("OILRIG"); ^ main.cpp:4525:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * egg.3ds", LOG_ALL); ^ main.cpp:4526:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_egg, dirs->getModels ("egg.3ds")); ^ main.cpp:4528:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_egg.setName ("COMPLEX"); ^ main.cpp:4529:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * radar.3ds", LOG_ALL); ^ main.cpp:4530:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_radar, dirs->getModels ("radar.3ds")); ^ main.cpp:4531:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_radar.setName ("RADAR"); ^ main.cpp:4532:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * mine1.3ds", LOG_ALL); ^ main.cpp:4533:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_mine1, dirs->getModels ("mine1.3ds")); ^ main.cpp:4534:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_mine1.setName ("MINE"); ^ main.cpp:4535:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * aster1.3ds", LOG_ALL); ^ main.cpp:4536:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_aster1, dirs->getModels ("aster1.3ds")); ^ main.cpp:4537:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_aster1.setName ("ASTEROID"); ^ main.cpp:4538:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * base1.3ds", LOG_ALL); ^ main.cpp:4539:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_base1, dirs->getModels ("base1.3ds")); ^ main.cpp:4540:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_base1.setName ("MOON BASE"); ^ main.cpp:4541:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * barrier.3ds", LOG_ALL); ^ main.cpp:4542:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_barrier1, dirs->getModels ("barrier.3ds")); ^ main.cpp:4543:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_barrier1.setName ("MOON BASE"); ^ main.cpp:4546:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * rubble.3ds", LOG_ALL); ^ main.cpp:4547:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_rubble1, dirs->getModels ("rubble.3ds")); ^ main.cpp:4548:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_base1.setName ("RUBBLE"); ^ main.cpp:4549:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" * depot1.3ds", LOG_ALL); ^ main.cpp:4550:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_depot1, dirs->getModels ("depot1.3ds")); ^ main.cpp:4551:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_depot1.setName ("DEPOT"); ^ main.cpp:4553:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Load3ds.Import3DS (&model_house1, dirs->getModels ("house1.3ds")); ^ main.cpp:4554:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] model_house1.setName ("HOUSE"); ^ main.cpp:4573:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Setting up world geometry", LOG_ALL); ^ main.cpp:4602:65: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("No configuration file found. Testing...", LOG_MOST); ^ main.cpp:5587:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Using SDL and GLUT", LOG_MOST); ^ main.cpp:5616:133: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" ", LOG_NONE); ^ main.cpp:5636:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Usage: gl-117 [-h -v -dLEVEL]", LOG_NONE); ^ main.cpp:5637:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" ", LOG_NONE); ^ main.cpp:5638:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("-h: Display this help screen and quit", LOG_NONE); ^ main.cpp:5639:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("-v: Display version string and quit", LOG_NONE); ^ main.cpp:5640:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("-dLEVEL: Set debug LEVEL to 0=silent...5=log all", LOG_NONE); ^ main.cpp:5641:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (" ", LOG_NONE); ^ main.cpp: In function 'void checkargs(int, char**)': main.cpp:5657:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Invalid debug level", LOG_FATAL); ^ main.cpp:5669:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display (VERSIONSTRING, LOG_NONE); ^ main.cpp:5679:59: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] la->setText ("N/A"); ^ main.cpp: In function 'void setpilotstext()': main.cpp:5889:64: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ((Label *) controlsmenu [2]->components [z])->setText ("A 0"); ^ main.cpp:6038:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ((Label *) controlsmenu [2]->components [z])->setText ("A 1"); ^ main.cpp:6040:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ((Label *) controlsmenu [2]->components [z])->setText ("A 2"); ^ main.cpp:6042:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ((Label *) controlsmenu [2]->components [z])->setText ("A 3"); ^ main.cpp:6044:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ((Label *) controlsmenu [2]->components [z])->setText ("A 4"); ^ main.cpp:6046:63: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (wantfullscreen) ((Label *) optmenu [0]->components [18])->setText ("YES"); ^ main.cpp:6309:63: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("DELETE (RIGHT MB)"); ^ main.cpp:6578:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("ADD"); ^ main.cpp:6634:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("FIGHTER INFO"); ^ main.cpp:6686:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("PILOTS RANKING"); ^ main.cpp:6728:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("QUALITY"); ^ main.cpp:6740:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("VIEW"); ^ main.cpp:6752:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("DITHERING"); ^ main.cpp:6765:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("ANTIALIASING"); ^ main.cpp:6778:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("SPECIAL EFFECTS"); ^ main.cpp:6791:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("DYN LIGHTING"); ^ main.cpp:6804:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("BRIGHTNESS"); ^ main.cpp:6824:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("RESOLUTION"); ^ main.cpp:6836:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("FULLSCREEN"); ^ main.cpp:6862:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("SOUND VOLUME"); ^ main.cpp:6875:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("MUSIC VOLUME"); ^ main.cpp:6905:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("DIFFICULTY"); ^ main.cpp:6919:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("PHYSICS"); ^ main.cpp:6932:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("CONTROLS"); ^ main.cpp:6957:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] label = new Label ("ROLL: \t LEFT, RIGHT"); ^ main.cpp:6962:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] label = new Label ("ELEVATOR: \t UP, DOWN"); ^ main.cpp:6967:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] label = new Label ("RUDDER: \t LSHIFT+ROLL"); ^ main.cpp:6972:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] label = new Label ("THROTTLE: \t 1...9"); ^ main.cpp:6977:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] label = new Label ("CAMERA: \t F1...F8"); ^ main.cpp:7020:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("LOAD DEFAULTS"); ^ main.cpp:7033:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("SENSITIVITY"); ^ main.cpp:7045:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("REVERSE"); ^ main.cpp:7058:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("RELATIVE"); ^ main.cpp:7071:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("AUTORUDDER"); ^ main.cpp:7106:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("LOAD DEFAULTS"); ^ main.cpp:7121:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("AILERON"); ^ main.cpp:7132:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("ELEVATOR"); ^ main.cpp:7143:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("THROTTLE"); ^ main.cpp:7154:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("RUDDER"); ^ main.cpp:7165:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("VIEW X"); ^ main.cpp:7176:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("VIEW Y"); ^ main.cpp:7212:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("LOAD DEFAULTS"); ^ main.cpp:7232:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] textfield = new TextField ("", yfstep - 0.1); ^ main.cpp:7266:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] textfield = new TextField ("", yfstep - 0.1); ^ main.cpp:7271:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button ("<"); ^ main.cpp:7275:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button (">"); ^ main.cpp:7279:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] textfield = new TextField ("", yfstep - 0.1); ^ main.cpp:7334:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button (" BACK TO MAIN MENU"); ^ main.cpp:7339:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button (" START MISSION"); ^ main.cpp:7358:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button (" YES"); ^ main.cpp:7363:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button (" NO"); ^ main.cpp:7382:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button = new Button (" CONTINUE"); ^ main.cpp: In function 'int main(int, char**)': main.cpp:7421:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Getting directory locations", LOG_ALL); ^ main.cpp:7426:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Creating new configuration", LOG_ALL); ^ main.cpp:7444:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Creating/Loading pilots list", LOG_ALL); ^ main.cpp:7445:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pilots = new PilotList (dirs->getSaves ("pilots")); // look at pilots.h ^ main.cpp:7498:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Using SDL and GLUT", LOG_MOST); ^ main.cpp:7533:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Setting SDL caption", LOG_ALL); ^ main.cpp:7538:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Creating sound system", LOG_ALL); ^ main.cpp:7545:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Playing startup music", LOG_ALL); ^ main.cpp:7551:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Calling main initialization method", LOG_ALL); ^ main.cpp:7555:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Querying joystick", LOG_ALL); ^ main.cpp:7571:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("No joystick found", LOG_MOST); ^ main.cpp:7592:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Entering SDL main loop (GLUT emulation)", LOG_ALL); ^ main.cpp: At global scope: main.cpp:5153:13: warning: 'void myIdleFunc()' defined but not used [-Wunused-function] static void myIdleFunc () ^~~~~~~~~~ main.cpp: In function 'void proceedFire()': main.cpp:4762:10: warning: iteration 256 invokes undefined behavior [-Waggressive-loop-optimizations] int h = heat [yind] [i2]; ^ main.cpp:4757:21: note: within this loop for (i2 = 0; i2 < maxfx + 1; i2 ++) ~~~^~~~~~~~~~~ main.cpp: In function 'void createMenu()': main.cpp:7085:17: warning: '%s' directive writing up to 255 bytes into a region of size 230 [-Wformat-overflow=] sprintf (buf, "FIRE CANNON: \t %s", buf2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ In file included from /usr/include/stdio.h:862, from main.h:32, from main.cpp:38: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 27 and 282 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:7092:17: warning: '%s' directive writing up to 255 bytes into a region of size 229 [-Wformat-overflow=] sprintf (buf, "FIRE MISSILE: \t %s", buf2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ In file included from /usr/include/stdio.h:862, from main.h:32, from main.cpp:38: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 28 and 283 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:7099:17: warning: '%s' directive writing up to 255 bytes into a region of size 233 [-Wformat-overflow=] sprintf (buf, "SELECT MISSILE: \t %s", buf2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ In file included from /usr/include/stdio.h:862, from main.h:32, from main.cpp:38: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 24 and 279 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o glland.o glland.cpp In file included from glland.h:32, 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("view exceeds ray casting blocks - not implemented", LOG_FATAL); ^ In file included from glland.h:32, 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) ^ 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o menu.o menu.cpp 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!file_open (dirs->getMaps ("maps.txt"))) ^ maploader.cpp: In constructor 'MapLoader::MapLoader()': maploader.cpp:73:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] file_setWhitespace (" \t\r\n"); ^ maploader.cpp:74:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] file_addComment ("#", "\n"); ^ maploader.cpp:74:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] maploader.cpp:75:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] file_setQuotes ("\"'´`"); ^ maploader.cpp: In member function 'int MissionCustom::readAttribute(char*, char*, char*)': maploader.cpp:145:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Assignment symbol '=' is missing"); ^ maploader.cpp:152:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Unexpected end of file"); ^ maploader.cpp: In member function 'int MissionCustom::synchronize()': maploader.cpp:163:23: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Heading value must be an integer"); ^ maploader.cpp:259:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Time value must be an integer in [0...24]"); ^ maploader.cpp:266:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Time value must be an integer in [0...24]"); ^ maploader.cpp:300:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Only 32 bpp TGA files are valid"); ^ maploader.cpp:313:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Scaleheight value must be a float number in [0...1]"); ^ maploader.cpp:320:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Scaleheight value must be a float number in [0...1]"); ^ maploader.cpp:333:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Tree needs a number suffix like \"Tree2\" with number in [1...3]"); ^ maploader.cpp:339:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Tree value must be an integer in [0...100]"); ^ maploader.cpp:345:64: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Too many objects defined"); ^ maploader.cpp:426:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Party value must be an integer"); ^ maploader.cpp:437:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Level value must be an integer in [0...10]"); ^ maploader.cpp:443:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Level value must be an integer in [0...10]"); ^ maploader.cpp:451:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("X value must be a float number"); ^ maploader.cpp:462:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Y value must be a float number"); ^ maploader.cpp:473:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Inittime value must be a float number"); ^ maploader.cpp:485:51: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Too many text blocks"); ^ maploader.cpp:530:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Starttime value must be a float number"); ^ maploader.cpp:542:52: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("No object defined yet: coords origin could not be set"); ^ maploader.cpp:587:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("No object defined yet: coords origin could not be set"); ^ maploader.cpp:608:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Quadrant value must be an integer in [1...16]"); ^ maploader.cpp:614:65: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Pilot needs a number suffix like \"Pilot5\" with number in [1...maxpilots]"); ^ maploader.cpp:664:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Invalid pilot name"); ^ maploader.cpp:677:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Fighter needs a number suffix like \"Fighter1\" with number in [1...3]"); ^ maploader.cpp:689:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Invalid fighter type"); ^ maploader.cpp:698:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Weapon needs a number suffix like \"Weapon\" with number in [1...3]"); ^ maploader.cpp:707:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error ("Invalid weapon type"); ^ maploader.cpp:715:54: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] display ("Map has a valid bpp entry but seems to be corrupt", LOG_FATAL); ^ maploader.cpp: In member function 'int MissionCustom::parseMapData()': maploader.cpp:251:23: warning: '%s' directive writing up to 1023 bytes into a region of size 1006 [-Wformat-overflow=] sprintf (buf, "Invalid attribute %s", attr); ^~~~~~~~~~~~~~~~~~~~~~ ~~~~ In file included from /usr/include/stdio.h:862, from maploader.cpp:26: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 19 and 1042 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:226:23: warning: '%s' directive writing up to 1023 bytes into a region of size 1006 [-Wformat-overflow=] sprintf (buf, "Invalid attribute %s", attr); ^~~~~~~~~~~~~~~~~~~~~~ ~~~~ In file included from /usr/include/stdio.h:862, from maploader.cpp:26: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 19 and 1042 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp: In member function 'int MissionCustom::parseObjectData()': maploader.cpp:418:23: warning: '%s' directive writing up to 1023 bytes into a region of size 1006 [-Wformat-overflow=] sprintf (buf, "Invalid attribute %s", attr); ^~~~~~~~~~~~~~~~~~~~~~ ~~~~ In file included from /usr/include/stdio.h:862, from maploader.cpp:26: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 19 and 1042 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp: In member function 'int MissionCustom::parseRelCoords()': maploader.cpp:600:23: warning: '%s' directive writing up to 1023 bytes into a region of size 1006 [-Wformat-overflow=] sprintf (buf, "Invalid attribute %s", attr); ^~~~~~~~~~~~~~~~~~~~~~ ~~~~ In file included from /usr/include/stdio.h:862, from maploader.cpp:26: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 19 and 1042 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp: In member function 'int MissionCustom::parseInfoData()': maploader.cpp:725:21: warning: '%s' directive writing up to 1023 bytes into a region of size 1006 [-Wformat-overflow=] sprintf (buf, "Invalid attribute %s", attr); ^~~~~~~~~~~~~~~~~~~~~~ ~~~~ In file included from /usr/include/stdio.h:862, from maploader.cpp:26: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 19 and 1042 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp: In member function 'void MissionCustom::init()': maploader.cpp:813:23: warning: '%s' directive writing up to 1023 bytes into a region of size 1010 [-Wformat-overflow=] sprintf (buf, "Unknown token %s", token); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from maploader.cpp:26: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 15 and 1038 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/src' x86_64-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include -I/usr/include -c -o mission.o mission.cpp mission.cpp: In member function 'virtual void MissionTutorial1::draw()': mission.cpp:385:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "LEAVE THE JOYSTICK CENTERED.", &textcolor); ^ mission.cpp:386:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "THE FIGHTER SHOULD FLY STRAIGHT ON.", &textcolor); ^ mission.cpp:387:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "IF NOT, RECALIBRATE YOUR JOYSTICK", &textcolor); ^ mission.cpp:391:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "THE MENU OPTIONS/CONTROLS LETS YOU", &textcolor); ^ mission.cpp:392:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "DETERMINE THE INPUT DEVICE.", &textcolor); ^ mission.cpp:393:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "CURRENTLY, THIS IS THE MOUSE", &textcolor); ^ mission.cpp:397:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "THE MENU OPTIONS/CONTROLS LETS YOU", &textcolor); ^ mission.cpp:398:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "DETERMINE THE INPUT DEVICE.", &textcolor); ^ mission.cpp:399:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "CURRENTLY, THIS IS THE KEYBOARD", &textcolor); ^ mission.cpp:406:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "MOVING THE JOYSTICK LEFT OR RIGHT", &textcolor); ^ mission.cpp:407:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "WILL AFFECT THE AILERON.", &textcolor); ^ mission.cpp:408:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "THUS YOU WILL ONLY ROLL", &textcolor); ^ mission.cpp:414:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "THE MOUSE INTERFACE IS VERY EASY.", &textcolor); ^ mission.cpp:415:98: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "THE STANDARD MOUSE INTERFACE MAY BE", &textcolor); ^ mission.cpp:422:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "EASIER TO LEARN", &textcolor); ^ mission.cpp:426:92: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "ONLY THE RELATIVE MOUSE COORDINATES (MOVING)", &textcolor); ^ mission.cpp:428:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "WILL HAVE AN EFFECT", &textcolor); ^ mission.cpp:433:98: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "USING THE MOUSE IS STRONLY RECOMMENDED", &textcolor); ^ mission.cpp:441:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "MOVING UP OR DOWN WILL AFFECT", &textcolor); ^ mission.cpp:442:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "THE ELEVATOR.", &textcolor); ^ mission.cpp:443:84: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "WILL AFFECT THE RUDDER.", &textcolor); ^ mission.cpp:467:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "TO ALTER THE RUDDER", &textcolor); ^ mission.cpp:468:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "USE THE KEYS PGUP AND PGDN", &textcolor); ^ mission.cpp:475:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "YOUR JOYSTICK HAS ALSO A THROTTLE", &textcolor); ^ mission.cpp:476:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "TO SPEEDUP OR DECELERATE.", &textcolor); ^ mission.cpp:477:90: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "YOUR THROTTLE (SPEED).", &textcolor); ^ mission.cpp:483:90: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "THE PREDEFINED JOYSTICK BUTTONS:", &textcolor); ^ mission.cpp:491:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "FIRE CANNON, DROP CHAFF/FLARE,", &textcolor); ^ mission.cpp:492:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "FIRE MISSILE, CHOOSE MISSILE", &textcolor); ^ mission.cpp:496:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "LEFT MOUSE BUTTON: FIRE CANNON", &textcolor); ^ mission.cpp:497:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "RIGHT MOUSE BUTTON: FIRE MISSILE", &textcolor); ^ mission.cpp:498:99: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "\"ESC\" WILL SHOW THE MENU", &textcolor); ^ mission.cpp:511:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "AND RETURN BACK TO THE ACTION", &textcolor); ^ mission.cpp:528:103: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "AND A RED POINT (NOT TARGETED)", &textcolor); ^ mission.cpp:536:103: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "THEN APPROACH!", &textcolor); ^ mission.cpp:544:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "YOU MAY TARGET AN ENEMY PRESSING", &textcolor); ^ mission.cpp:548:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "THEN APPROACH!", &textcolor); ^ mission.cpp:553:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "SHOOT THE TARGETS TO COMPLETE", &textcolor); ^ mission.cpp:554:82: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "DIRECTION AND WATCH WHERE IT GOES.", &textcolor); ^ mission.cpp:663:90: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "APART FROM YOUR CURRENT PHYSICS SETTINGS", &textcolor); ^ mission.cpp:731:98: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "THAT PROTUDES INTO THE WIND", &textcolor); ^ mission.cpp:747:115: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "AND YOU WILL LOSE HEIGHT. TRY!", &textcolor); ^ mission.cpp:769:112: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "LOSING HEIGHT. TRY!", &textcolor); ^ mission.cpp:775:110: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "THAT WAS EASY", &textcolor); ^ mission.cpp:908:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "BUT CAN YOU HANDLE TWO ENEMIES?", &textcolor); ^ mission.cpp:913:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "OK, LET'S TRY THREE ENEMIES", &textcolor); ^ mission.cpp:924:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "THERE IS AN ENEMY ATTACKING", &textcolor); ^ mission.cpp:928:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "SELECT A MISSILE", &textcolor); ^ mission.cpp:932:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "CHOOSE A FRIEND-FOE (FF) MISSILE", &textcolor); ^ mission.cpp:933:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "WHICH DETECTS ENEMIES BY RADAR.", &textcolor); ^ mission.cpp:934:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "SHOOT AS EARLY AS POSSIBLE", &textcolor); ^ mission.cpp:938:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "YOU CAN ONLY FIRE MISSILES WHEN", &textcolor); ^ mission.cpp:939:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "THE RECTANGULAR LOCK AROUND THE ENEMY", &textcolor); ^ mission.cpp:940:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 5, -2.5, "APPEARS YELLOW", &textcolor); ^ mission.cpp:944:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 7, -2.5, "CHECK THE CHAFF/FLARE DISPLAYS.", &textcolor); ^ mission.cpp:945:92: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "FLARES PROTECT FROM INFRARED MISSILES", &textcolor); ^ mission.cpp:959:95: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "IF THE DISPLAYS STOP BLINKING", &textcolor); ^ mission.cpp:964:80: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "TRANSPORTERS RESPAWNING", &textcolor); ^ mission.cpp:1084:81: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "NEXT WAVE - YOU ARE FULLY REPAIRED", &textcolor); ^ mission.cpp:1808:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 6, -2.5, "NEXT WAVE - YOU ARE FULLY REPAIRED", &textcolor); ^ mission.cpp: In member function 'virtual void MissionTest2::draw()': mission.cpp:1984:85: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1->drawTextCentered (0, 0, -1, "DOGFIGHT"); ^ 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/src' x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -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' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.34243 + 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) Checking contents of files in /usr/src/tmp/gl-117-buildroot/ (default) 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.49909 + 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.4dnf69 find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ooQNrg find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: libSDL, libfreeglut, libSDL_gfx, libSDL_image, libSDL_mixer, libGL, libGLU, /lib64/ld-linux-x86-64.so.2, libGL.so.1()(64bit) >= set:piqUKy41U6Il90Cp78EsiyAigx3wshWMh8Z562iYlZjWyoEzufZcsDC1fAl4TQiJ8RvI0Kl4ATgOfZiHGA5t8ZHGwd44gNlMeZFRTYDi0Zpigc6HAKNFFUm0Ms0R113k80gNYBhdCw2gxGCML8udJZ0BRhKChZbEPcAvG08MOYfH9I68umzO6vt3us8sX9j2s703, 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:liRZ5Cw5YdW19QmGZFRlGD, libm.so.6(GLIBC_2.2.5)(64bit), libm.so.6(GLIBC_2.27)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.8)(64bit), libstdc++.so.6(CXXABI_1.3.9)(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.4nkdUp 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.s2VdvC find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6AcfdS 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 20.29user 3.23system 0:20.00elapsed 117%CPU (0avgtext+0avgdata 113352maxresident)k 0inputs+0outputs (0major+1427518minor)pagefaults 0swaps 27.26user 5.97system 0:30.11elapsed 110%CPU (0avgtext+0avgdata 117700maxresident)k 1104inputs+0outputs (0major+1771721minor)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 2021-01-31 03:05:07.878083323 +0000 @@ -179,3 +179,3 @@ Requires: /lib64/ld-linux-x86-64.so.2 -Requires: libGL.so.1()(64bit) >= set:ohKMwXxnA8HD4UQksb04ZEFi0LLJ326EM9m18Es9hG4kw3wI8twzgWb3ZtCpkz9E08kcgVhSks43ZGciLGQPoDCsunSuom7NRc4OU8KFp4xNqqbYj58P9o1sl4ATgingcubtYfxRe4cbW8ZHmM622os5SVfSLgYl23QT48gp0fe4NYy3NriwW08 +Requires: libGL.so.1()(64bit) >= set:piqUKy41U6Il90Cp78EsiyAigx3wshWMh8Z562iYlZjWyoEzufZcsDC1fAl4TQiJ8RvI0Kl4ATgOfZiHGA5t8ZHGwd44gNlMeZFRTYDi0Zpigc6HAKNFFUm0Ms0R113k80gNYBhdCw2gxGCML8udJZ0BRhKChZbEPcAvG08MOYfH9I68umzO6vt3us8sX9j2s703 Requires: rpmlib(SetVersions) @@ -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) @@ -192,3 +192,6 @@ Requires: libm.so.6(GLIBC_2.2.5)(64bit) +Requires: libm.so.6(GLIBC_2.27)(64bit) Requires: libstdc++.so.6(CXXABI_1.3)(64bit) +Requires: libstdc++.so.6(CXXABI_1.3.8)(64bit) +Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit) Requires: libstdc++.so.6(GLIBCXX_3.4)(64bit)