<86>Dec 21 08:21:05 userdel[1612206]: delete user 'rooter' <86>Dec 21 08:21:05 userdel[1612206]: removed group 'rooter' owned by 'rooter' <86>Dec 21 08:21:05 userdel[1612206]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 21 08:21:05 groupadd[1612255]: group added to /etc/group: name=rooter, GID=1868 <86>Dec 21 08:21:05 groupadd[1612255]: group added to /etc/gshadow: name=rooter <86>Dec 21 08:21:05 groupadd[1612255]: new group: name=rooter, GID=1868 <86>Dec 21 08:21:05 useradd[1612297]: new user: name=rooter, UID=1868, GID=1868, home=/root, shell=/bin/bash, from=none <86>Dec 21 08:21:05 userdel[1612361]: delete user 'builder' <86>Dec 21 08:21:05 userdel[1612361]: removed group 'builder' owned by 'builder' <86>Dec 21 08:21:05 userdel[1612361]: removed shadow group 'builder' owned by 'builder' <86>Dec 21 08:21:05 groupadd[1612415]: group added to /etc/group: name=builder, GID=1869 <86>Dec 21 08:21:05 groupadd[1612415]: group added to /etc/gshadow: name=builder <86>Dec 21 08:21:05 groupadd[1612415]: new group: name=builder, GID=1869 <86>Dec 21 08:21:05 useradd[1612475]: new user: name=builder, UID=1869, GID=1869, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/gl-117-1.3.2-alt1.qa1.src.rpm: The use of such a license name is ambiguous: GPL <13>Dec 21 08:21:09 rpmi: xorg-proto-devel-2024.1-alt1 sisyphus+343583.40.1.1 1711440649 installed <13>Dec 21 08:21:09 rpmi: libglvnd-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Dec 21 08:21:09 rpmi: libjpeg-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449053 installed <13>Dec 21 08:21:09 rpmi: libogg-1.3.5-alt1 sisyphus+278100.3400.1.1 1626059695 installed <13>Dec 21 08:21:09 rpmi: libICE-1.1.1-alt1 sisyphus+311428.500.1.1 1670577559 installed <13>Dec 21 08:21:09 rpmi: libSM-1.2.4-alt1 sisyphus+312057.200.1.1 1671526918 installed <13>Dec 21 08:21:09 rpmi: libflac12-1.4.3-alt2 sisyphus+343354.100.1.1 1711119065 installed <13>Dec 21 08:21:09 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751609 installed <13>Dec 21 08:21:09 rpmi: libOpenGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Dec 21 08:21:09 rpmi: libmpg123-1:1.32.10-alt1 sisyphus+365072.100.1.1 1734226046 installed <13>Dec 21 08:21:09 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349845 installed <13>Dec 21 08:21:09 rpmi: libwayland-server-1.23.1-alt1.1 sisyphus+356019.140.3.1 1724572108 installed <13>Dec 21 08:21:09 rpmi: libICE-devel-1.1.1-alt1 sisyphus+311428.500.1.1 1670577559 installed <13>Dec 21 08:21:09 rpmi: libSM-devel-1.2.4-alt1 sisyphus+312057.200.1.1 1671526918 installed <13>Dec 21 08:21:09 rpmi: libturbojpeg-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449053 installed <13>Dec 21 08:21:09 rpmi: libGLES-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Dec 21 08:21:09 rpmi: libmad-0.15.1b-alt9 sisyphus+278239.100.1.1 1626080113 installed <13>Dec 21 08:21:10 rpmi: timidity-instruments-1:1.0-alt1 sisyphus+276870.100.1.1 1625246545 installed <13>Dec 21 08:21:10 rpmi: libwebp7-1.5.0-alt1 sisyphus+365488.100.1.1 1734677706 installed <13>Dec 21 08:21:10 rpmi: libdeflate-1.22-alt1 sisyphus+359192.100.1.1 1728330311 installed <13>Dec 21 08:21:10 rpmi: libtiff5-4.4.0-alt4 sisyphus+322581.100.1.2 1686180093 installed <13>Dec 21 08:21:10 rpmi: libpng16-1.6.42-alt2 sisyphus+339555.100.1.1 1706781690 installed <13>Dec 21 08:21:10 rpmi: libopus-1.5.2-alt1 sisyphus+347834.100.1.1 1715455349 installed <13>Dec 21 08:21:10 rpmi: liblame-3.100-alt1 sisyphus+346342.200.2.2 1716474674 installed <13>Dec 21 08:21:10 rpmi: libgsm-1.0.17-alt1 sisyphus+275359.100.2.1 1624907612 installed <13>Dec 21 08:21:10 rpmi: libsndfile-1.1.0-alt1 sisyphus+339776.7300.6.2 1707349197 installed <13>Dec 21 08:21:10 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667413000 installed <13>Dec 21 08:21:10 rpmi: libsystemd-1:255.13-alt1 sisyphus+359453.100.2.1 1728651220 installed <13>Dec 21 08:21:10 rpmi: libdbus-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487513 installed <13>Dec 21 08:21:10 rpmi: libasyncns-0.8-alt2.qa1 sisyphus+275091.100.1.1 1624402242 installed <13>Dec 21 08:21:10 rpmi: libxshmfence-1.3.2-alt1 sisyphus+311428.400.1.1 1670577529 installed <13>Dec 21 08:21:10 rpmi: libsensors3-3.6.0-alt3 sisyphus+308579.100.1.1 1666035269 installed <13>Dec 21 08:21:10 rpmi: libX11-locales-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Dec 21 08:21:10 rpmi: libspirv-tools0-1:2024.4-alt0.1 sisyphus+365035.200.5.1 1734354505 installed <13>Dec 21 08:21:10 rpmi: llvm18.1-filesystem-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763102 installed <13>Dec 21 08:21:10 rpmi: llvm18.1-polly-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763102 installed <13>Dec 21 08:21:10 rpmi: libedit3-3.1.20230828-alt1 sisyphus+330914.200.3.1 1696922745 installed <13>Dec 21 08:21:10 rpmi: llvm18.1-gold-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763102 installed <13>Dec 21 08:21:13 rpmi: llvm18.1-libs-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763102 installed <13>Dec 21 08:21:13 rpmi: libXdmcp-1.1.5-alt1 sisyphus+343583.700.1.1 1711441073 installed <13>Dec 21 08:21:13 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577440 installed <13>Dec 21 08:21:13 rpmi: libxcb-1.17.0-alt1 sisyphus+345308.200.1.1 1713342009 installed <13>Dec 21 08:21:13 rpmi: libX11-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240774 installed <13>Dec 21 08:21:13 rpmi: libXext-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441114 installed <13>Dec 21 08:21:13 rpmi: libXxf86vm-1.1.5-alt1 sisyphus+308663.1400.1.1 1666168534 installed <13>Dec 21 08:21:13 rpmi: libpulseaudio-17.0-alt2 sisyphus+339257.100.1.1 1706519233 installed <13>Dec 21 08:21:13 rpmi: libmikmod-3.3.11.1-alt2 sisyphus+278211.100.1.1 1626077624 installed <13>Dec 21 08:21:13 rpmi: libXi-1.8-alt1 sisyphus+285490.200.1.1 1632124180 installed <13>Dec 21 08:21:13 rpmi: libXfixes-6.0.1-alt1 sisyphus+331490.300.1.1 1697023235 installed <13>Dec 21 08:21:13 rpmi: libXrender-0.9.11-alt1 sisyphus+308841.100.1.1 1666436131 installed <13>Dec 21 08:21:13 rpmi: libXrandr-1.5.4-alt1 sisyphus+330992.100.1.1 1696485401 installed <13>Dec 21 08:21:13 rpmi: libXt-1.3.0-alt1 sisyphus+331490.500.1.1 1697023316 installed <13>Dec 21 08:21:14 rpmi: libxcb-devel-1.17.0-alt1 sisyphus+345308.200.1.1 1713342009 installed <13>Dec 21 08:21:14 rpmi: libX11-devel-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240774 installed <13>Dec 21 08:21:14 rpmi: libwayland-client-1.23.1-alt1.1 sisyphus+356019.140.3.1 1724572108 installed <13>Dec 21 08:21:14 rpmi: libpciaccess-1:0.18.1-alt1 sisyphus+343583.300.1.1 1711440792 installed <13>Dec 21 08:21:14 rpmi: libdrm-1:2.4.124-alt1 sisyphus+364215.100.1.1 1733469813 installed <13>Dec 21 08:21:15 rpmi: libGLX-mesa-4:24.3.2-alt1 sisyphus+365536.100.1.1 1734711586 installed <13>Dec 21 08:21:15 rpmi: libGLX-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Dec 21 08:21:15 rpmi: libGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Dec 21 08:21:15 rpmi: libGLU-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174378 installed <13>Dec 21 08:21:15 rpmi: libfreeglut-3.6.0-alt1 sisyphus+351159.100.1.1 1718777664 installed <13>Dec 21 08:21:15 rpmi: libgbm-4:24.3.2-alt1 sisyphus+365536.100.1.1 1734711586 installed <13>Dec 21 08:21:15 rpmi: libEGL-mesa-4:24.3.2-alt1 sisyphus+365536.100.1.1 1734711586 installed <13>Dec 21 08:21:15 rpmi: libEGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Dec 21 08:21:15 rpmi: libglvnd-devel-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Dec 21 08:21:15 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174378 installed <13>Dec 21 08:21:15 rpmi: libGL-devel-4:24.3.2-alt1 sisyphus+365536.100.1.1 1734711586 installed <13>Dec 21 08:21:15 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed <13>Dec 21 08:21:15 rpmi: libstdc++14-devel-14.2.1-alt1 sisyphus+360995.100.1.1 1730131612 installed <13>Dec 21 08:21:16 rpmi: gcc14-c++-14.2.1-alt1 sisyphus+360995.100.1.1 1730131612 installed <13>Dec 21 08:21:16 rpmi: autoconf_2.60-2:2.69-alt12 sisyphus+332708.100.1.1 1698243239 installed <13>Dec 21 08:21:16 rpmi: alsa-ucm-conf-1.2.12-alt1 sisyphus+352670.100.1.1 1720712327 installed <13>Dec 21 08:21:16 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>Dec 21 08:21:16 rpmi: libalsa-1:1.2.12-alt1 sisyphus+352670.200.1.1 1720712403 installed <13>Dec 21 08:21:16 rpmi: libSDL-1.2.14-alt10 sisyphus+346015.200.2.1 1716212612 installed <13>Dec 21 08:21:16 rpmi: libSDL-devel-1.2.14-alt10 sisyphus+346015.200.2.1 1716212612 installed <13>Dec 21 08:21:16 rpmi: libSDL_gfx-2.0.25-alt1 sisyphus+275321.100.1.3 1624484303 installed <13>Dec 21 08:21:16 rpmi: libSDL_image-1.2.12.0.95.7adb-alt1 sisyphus+363546.40.2.1 1732787271 installed <13>Dec 21 08:21:16 rpmi: libSDL_mixer-1.2.12.0.173.ed76-alt1 sisyphus+363399.100.1.1 1732607793 installed <13>Dec 21 08:21:16 rpmi: libSDL_mixer-devel-1.2.12.0.173.ed76-alt1 sisyphus+363399.100.1.1 1732607793 installed <13>Dec 21 08:21:16 rpmi: libSDL_image-devel-1.2.12.0.95.7adb-alt1 sisyphus+363546.40.2.1 1732787271 installed <13>Dec 21 08:21:16 rpmi: libSDL_gfx-devel-2.0.25-alt1 sisyphus+275321.100.1.3 1624484303 installed <13>Dec 21 08:21:16 rpmi: automake_1.10-1:1.10.3-alt6 sisyphus+325645.200.3.2 1690584665 installed <13>Dec 21 08:21:16 rpmi: gcc-c++-14-alt1 sisyphus+360995.300.1.1 1730139881 installed <13>Dec 21 08:21:16 rpmi: libfreeglut-devel-3.6.0-alt1 sisyphus+351159.100.1.1 1718777664 installed <13>Dec 21 08:21:16 rpmi: libXt-devel-1.3.0-alt1 sisyphus+331490.500.1.1 1697023316 installed <13>Dec 21 08:21:16 rpmi: libjpeg-devel-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449053 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/gl-117-1.3.2-alt1.qa1.nosrc.rpm (w1.gzdio) Installing gl-117-1.3.2-alt1.qa1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.57101 + 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): + /usr/bin/bzip2 -dc /usr/src/RPM/SOURCES/gl-117-1.3.2-src.tar.bz2 + /bin/tar -xf - + cd gl-117-1.3.2-src + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.57101 + 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 -flto=auto -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + echo 'rpm-build: warning: ./configure script does not support --runstatedir' rpm-build: warning: ./configure script does not support --runstatedir + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --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... /usr/bin/ginstall -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 i586-alt-linux-gcc... i586-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 i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ANSI C... none needed checking dependency style of i586-alt-linux-gcc... none checking how to run the C preprocessor... i586-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 i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking dependency style of i586-alt-linux-g++... none checking for i586-alt-linux-gcc... (cached) i586-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i586-alt-linux-gcc accepts -g... (cached) yes checking for i586-alt-linux-gcc option to accept ANSI C... (cached) none needed checking dependency style of i586-alt-linux-gcc... (cached) none checking for a BSD-compatible install... /usr/bin/ginstall -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... no 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... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j16 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 configure.in:3: warning: The macro `AM_CONFIG_HEADER' is obsolete. configure.in:3: You should run autoupdate. aclocal.m4:421: AM_CONFIG_HEADER is expanded from... configure.in:3: the top level configure.in:10: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:10: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:10: the top level configure.in:11: warning: The macro `AC_HELP_STRING' is obsolete. configure.in:11: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:11: the top level configure.in:41: warning: The macro `AC_LANG_C' is obsolete. configure.in:41: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... configure.in:41: the top level configure.in:66: warning: AC_OUTPUT should be used without arguments. configure.in:66: You should run autoupdate. 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=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --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 -flto=auto -march=i586 -mtune=generic CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic build_alias=i586-alt-linux host_alias=i586-alt-linux --no-create --no-recursion configure: WARNING: unrecognized options: --disable-silent-rules, --without-included-gettext checking for a BSD-compatible install... /usr/bin/ginstall -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 i586-alt-linux-gcc... i586-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 the compiler supports GNU C... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to enable C11 features... none needed checking dependency style of i586-alt-linux-gcc... none checking how to run the C preprocessor... i586-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 i586-alt-linux-g++... i586-alt-linux-g++ checking whether the compiler supports GNU C++... yes checking whether i586-alt-linux-g++ accepts -g... yes checking for i586-alt-linux-g++ option to enable C++11 features... none needed checking dependency style of i586-alt-linux-g++... none checking for i586-alt-linux-gcc... (cached) i586-alt-linux-gcc checking whether the compiler supports GNU C... (cached) yes checking whether i586-alt-linux-gcc accepts -g... (cached) yes checking for i586-alt-linux-gcc option to enable C11 features... (cached) none needed checking dependency style of i586-alt-linux-gcc... (cached) none checking whether make sets $(MAKE)... (cached) yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.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 for GL/gl.h... yes checking for GL/glu.h... yes checking for GL/glut.h... yes checking for SDL/SDL.h... 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 autoheader-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' 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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include -I/usr/include -c -o vertexarray.o vertexarray.cpp vertexarray.cpp: In member function 'void VertexArray::reallocData()': vertexarray.cpp:160:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 160 | 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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include -I/usr/include -c -o audio.o audio.cpp audio.cpp: In constructor 'SoundSystem::SoundSystem()': audio.cpp:229:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 229 | display ("Using SDL_mixer", LOG_MOST); | ^~~~~~~~~~~~~~~~~ audio.cpp:232:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 232 | display ("Unable to open audio device", LOG_ERROR); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ audio.cpp:240:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 240 | music1 = Mix_LoadMUS (dirs->getMusic ("winner.s3m")); | ^~~~~~~~~~~~ audio.cpp:248:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 248 | music1 = Mix_LoadMUS (dirs->getMusic ("loser.s3m")); | ^~~~~~~~~~~ audio.cpp:256:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 256 | music1 = Mix_LoadMUS (dirs->getMusic ("dark.s3m")); | ^~~~~~~~~~ audio.cpp:264:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 264 | music1 = Mix_LoadMUS (dirs->getMusic ("stars.s3m")); | ^~~~~~~~~~~ audio.cpp:272:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 272 | music1 = Mix_LoadMUS (dirs->getMusic ("ambient.s3m")); | ^~~~~~~~~~~~~ audio.cpp:280:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 280 | music1 = Mix_LoadMUS (dirs->getMusic ("standby.s3m")); | ^~~~~~~~~~~~~ audio.cpp:288:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 288 | music1 = Mix_LoadMUS (dirs->getMusic ("electro.s3m")); | ^~~~~~~~~~~~~ audio.cpp:296:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 296 | music1 = Mix_LoadMUS (dirs->getMusic ("softtec.s3m")); | ^~~~~~~~~~~~~ audio.cpp:306:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 306 | waveexplosion1 = new WaveFile (dirs->getSounds ("explode1.wav")); | ^~~~~~~~~~~~~~ audio.cpp:307:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 307 | waveclick1 = new WaveFile (dirs->getSounds ("click1.wav")); | ^~~~~~~~~~~~ audio.cpp:308:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 308 | wavecannon1 = new WaveFile (dirs->getSounds ("cannon1.wav")); | ^~~~~~~~~~~~~ audio.cpp:309:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 309 | wavemissile1 = new WaveFile (dirs->getSounds ("missile1.wav")); | ^~~~~~~~~~~~~~ audio.cpp:310:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 310 | wavethunder1 = new WaveFile (dirs->getSounds ("thunder1.wav")); | ^~~~~~~~~~~~~~ audio.cpp:317:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 317 | wavehit1 = new WaveFile (dirs->getSounds ("hit1.wav")); | ^~~~~~~~~~ audio.cpp:318:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | wavebeep1 = new WaveFile (dirs->getSounds ("beep1.wav")); | ^~~~~~~~~~~ audio.cpp:319:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 319 | wavechaff1 = new WaveFile (dirs->getSounds ("chaff1.wav")); | ^~~~~~~~~~~~ audio.cpp:320:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 320 | wavebeep2 = new WaveFile (dirs->getSounds ("beep2.wav")); | ^~~~~~~~~~~ audio.cpp: In member function 'void SoundSystem::loadMusic(int)': audio.cpp:442:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 442 | music1 = Mix_LoadMUS (dirs->getMusic ("dark.s3m")); | ^~~~~~~~~~ audio.cpp:445:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 445 | music1 = Mix_LoadMUS (dirs->getMusic ("winner.s3m")); | ^~~~~~~~~~~~ audio.cpp:448:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 448 | music1 = Mix_LoadMUS (dirs->getMusic ("loser.s3m")); | ^~~~~~~~~~~ audio.cpp:451:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 451 | music1 = Mix_LoadMUS (dirs->getMusic ("standby.s3m")); | ^~~~~~~~~~~~~ audio.cpp:454:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 454 | music1 = Mix_LoadMUS (dirs->getMusic ("electro.s3m")); | ^~~~~~~~~~~~~ audio.cpp:457:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 457 | music1 = Mix_LoadMUS (dirs->getMusic ("stars.s3m")); | ^~~~~~~~~~~ audio.cpp:460:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 460 | music1 = Mix_LoadMUS (dirs->getMusic ("softtec.s3m")); | ^~~~~~~~~~~~~ audio.cpp:463:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 463 | 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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include -I/usr/include -c -o dirs.o dirs.cpp dirs.cpp: In constructor 'Dirs::Dirs(char*)': dirs.cpp:141:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 141 | p = mystrtok (p, (int) (path + pathlen - p), ":"); | ^~~ dirs.cpp:158:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 158 | p = mystrtok (p + strlen (p) + 1, (int) (path + pathlen - p), ":"); | ^~~ dirs.cpp:161:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 161 | display ("Binary file has no context to the data files.", LOG_FATAL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dirs.cpp:185:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 185 | display ("Binary file has no context to the data files.", LOG_FATAL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dirs.cpp:194:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 194 | append (saves, ".gl-117"); | ^~~~~~~~~ dirs.cpp:230:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 230 | append (textures, "textures"); | ^~~~~~~~~~ dirs.cpp:231:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 231 | append (music, "music"); | ^~~~~~~ dirs.cpp:232:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 232 | append (sound, "sounds"); | ^~~~~~~~ dirs.cpp:233:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 233 | append (models, "models"); | ^~~~~~~~ dirs.cpp:234:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 234 | 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] 131 | getcwd (cwd, 4096); // get current working directory | ~~~~~~~^~~~~~~~~~~ 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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include -I/usr/include -c -o loader_tga.o loader_tga.cpp loader_tga.cpp:42:1: warning: multi-line comment [-Wcomment] 42 | //#define WRITE_RGBA(p, r, g, b, a) \ | ^ loader_tga.cpp: In function 'unsigned char* tga_load(char*, int*, int*)': loader_tga.cpp:198:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 198 | display ("Out of memory", LOG_FATAL); | ^~~~~~~~~~~~~~~ loader_tga.cpp:217:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 217 | display ("Out of memory", LOG_FATAL); | ^~~~~~~~~~~~~~~ loader_tga.cpp: In function 'DATA32* flip(DATA32*, int, int)': loader_tga.cpp:438:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 438 | 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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include -I/usr/include -c -o pilots.o pilots.cpp In file included from effects.h:28, from aiobject.h:29, from mission.h:28, from pilots.cpp:31: object.h:58:16: warning: 'virtual void CSpaceObj::drawGL(CVector3*, CVector3*, CVector3*, float, float, bool, bool)' was hidden [-Woverloaded-virtual=] 58 | virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); | ^~~~~~ effects.h:164:8: note: by 'void HighClouds::drawGL(CVector3*, CVector3*)' 164 | void drawGL (CVector3 *tl, CVector3 *textl); | ^~~~~~ pilots.cpp: In member function 'char* TeamPilot::getRank()': pilots.cpp:55:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | if (ranking == 0) return "AIRMAN BASIC"; | ^~~~~~~~~~~~~~ pilots.cpp:56:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 56 | else if (ranking == 1) return "AIRMAN"; | ^~~~~~~~ pilots.cpp:57:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 57 | else if (ranking == 2) return "AIRMAN 1ST CLASS"; | ^~~~~~~~~~~~~~~~~~ pilots.cpp:58:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 58 | else if (ranking == 3) return "2ND LIEUTNANT"; | ^~~~~~~~~~~~~~~ pilots.cpp:59:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 59 | else if (ranking == 4) return "1ST LIEUTNANT"; | ^~~~~~~~~~~~~~~ pilots.cpp:60:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 60 | else if (ranking == 5) return "CAPTAIN"; | ^~~~~~~~~ pilots.cpp:61:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 61 | else if (ranking == 6) return "MAJOR"; | ^~~~~~~ pilots.cpp:62:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 62 | else if (ranking == 7) return "COLONEL"; | ^~~~~~~~~ pilots.cpp:63:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 63 | 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] 68 | if (ranking == 0) return "AB"; | ^~~~ pilots.cpp:69:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | else if (ranking == 1) return "ARM"; | ^~~~~ pilots.cpp:70:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | else if (ranking == 2) return "A1C"; | ^~~~~ pilots.cpp:71:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 71 | else if (ranking == 3) return "2ND LT"; | ^~~~~~~~ pilots.cpp:72:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | else if (ranking == 4) return "1ST LT"; | ^~~~~~~~ pilots.cpp:73:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | else if (ranking == 5) return "CAPT"; | ^~~~~~ pilots.cpp:74:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 74 | else if (ranking == 6) return "MAJ"; | ^~~~~ pilots.cpp:75:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | else if (ranking == 7) return "COL"; | ^~~~~ pilots.cpp:76:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 76 | else return "GEN"; | ^~~~~ pilots.cpp: In member function 'void Pilot::load()': pilots.cpp:140:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 140 | tp [0] = new TeamPilot (5, "PRIMETIME", 200, 100, 150, 20); | ^~~~~~~~~~~ pilots.cpp:141:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 141 | tp [1] = new TeamPilot (1, "HEPTARGON", 80, 220, 300, 1); | ^~~~~~~~~~~ pilots.cpp:142:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 142 | tp [2] = new TeamPilot (2, "KARA", 180, 160, 50, 4); | ^~~~~~ pilots.cpp:143:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 143 | tp [3] = new TeamPilot (6, "SHARK", 70, 90, 120, 22); | ^~~~~~~ pilots.cpp:144:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 144 | tp [4] = new TeamPilot (3, "BOSS", 250, 180, 80, 10); | ^~~~~~ pilots.cpp:145:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 145 | tp [5] = new TeamPilot (2, "DR DOOM", 320, 210, 20, 2); | ^~~~~~~~~ pilots.cpp:146:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 146 | tp [6] = new TeamPilot (4, "SHADOW", 130, 200, 320, 15); | ^~~~~~~~ pilots.cpp:147:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 147 | tp [7] = new TeamPilot (7, "MATRIX", 40, 80, 180, 25); | ^~~~~~~~ pilots.cpp:148:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 148 | tp [8] = new TeamPilot (1, "FIREBIRD", 250, 140, 100, 1); | ^~~~~~~~~~ pilots.cpp:149:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 149 | tp [9] = new TeamPilot (4, "THUNDER", 150, 170, 60, 18); | ^~~~~~~~~ pilots.cpp:150:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 150 | tp [10] = new TeamPilot (0, "PLAYER", 0, 0, 0, 0); | ^~~~~~~~ pilots.cpp:158:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 158 | display ("Could not load pilot", LOG_WARN); | ^~~~~~~~~~~~~~~~~~~~~~ pilots.cpp: In member function 'void Pilot::save()': pilots.cpp:185:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 185 | 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] 212 | { ranking = 0; return "AIRMAN BASIC"; } | ^~~~~~~~~~~~~~ pilots.cpp:214:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 214 | { ranking = 1; return "AIRMAN"; } | ^~~~~~~~ pilots.cpp:216:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 216 | { ranking = 2; return "AIRMAN 1ST CLASS"; } | ^~~~~~~~~~~~~~~~~~ pilots.cpp:218:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 218 | { ranking = 3; return "2ND LIEUTNANT"; } | ^~~~~~~~~~~~~~~ pilots.cpp:220:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 220 | { ranking = 4; return "1ST LIEUTNANT"; } | ^~~~~~~~~~~~~~~ pilots.cpp:222:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 222 | { ranking = 5; return "CAPTAIN"; } | ^~~~~~~~~ pilots.cpp:224:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 224 | { ranking = 6; return "MAJOR"; } | ^~~~~~~ pilots.cpp:226:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 226 | { ranking = 7; return "COLONEL"; } | ^~~~~~~~~ pilots.cpp:228:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 228 | { 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] 254 | { ranking = 0; return "AB"; } | ^~~~ pilots.cpp:256:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 256 | { ranking = 1; return "AMN"; } | ^~~~~ pilots.cpp:258:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 258 | { ranking = 2; return "A1C"; } | ^~~~~ pilots.cpp:260:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 260 | { ranking = 3; return "2ND LT"; } | ^~~~~~~~ pilots.cpp:262:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 262 | { ranking = 4; return "1ST LT"; } | ^~~~~~~~ pilots.cpp:264:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 264 | { ranking = 5; return "CAPT"; } | ^~~~~~ pilots.cpp:266:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 266 | { ranking = 6; return "MAJ"; } | ^~~~~ pilots.cpp:268:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 268 | { ranking = 7; return "COL"; } | ^~~~~ pilots.cpp:270:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 270 | { ranking = 8; return "GEN"; } | ^~~~~ pilots.cpp: In member function 'void PilotList::load(char*)': pilots.cpp:296:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 296 | display ("Could not load saves/pilots", LOG_WARN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pilots.cpp:298:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 298 | add ("PLAYER"); | ^~~~~~~~ pilots.cpp: In member function 'void PilotList::save(char*)': pilots.cpp:325:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 325 | 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] 97 | 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] 99 | 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] 101 | 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] 102 | 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] 103 | 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] 104 | 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] 105 | 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] 162 | 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] 163 | 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] 164 | 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] 165 | 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] 166 | 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] 167 | 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] 168 | 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] 169 | 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] 170 | 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] 171 | 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] 301 | 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] 303 | 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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include -I/usr/include -c -o common.o common.cpp common.cpp: In function 'void display(char*, int)': common.cpp:47:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 47 | if ((display_out = fopen (dirs->getSaves ("logfile.txt"), "wt")) != NULL) | ^~~~~~~~~~~~~ common.cpp: In function 'void error_outofmemory()': common.cpp:62:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 62 | 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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include -I/usr/include -c -o conf.o conf.cpp conf.cpp: In member function 'int ConfigFile::getValue(char*)': conf.cpp:153:11: warning: the address of 'res' will never be NULL [-Waddress] 153 | if (res == NULL) return -1; | ^ conf.cpp:151:8: note: 'res' declared here 151 | char res [256]; | ^~~ conf.cpp: In function 'void save_config()': conf.cpp:204:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 204 | char *confname = dirs->getSaves ("conf"); | ^~~~~~ conf.cpp:210:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 210 | display ("Could not save configuration", LOG_ERROR); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:214:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 214 | cf->writeText ("# Configuration\n"); | ^~~~~~~~~~~~~~~~~~~ conf.cpp:215:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 215 | cf->writeText ("# Some possible width x height values for fullscreen mode:"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:216:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 216 | cf->writeText ("# 640x480, 800x600, 1024x768, 1152x864, 1280x768, 1280x960, 1280x1024"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:217:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 217 | cf->write (" width", wantwidth); | ^~~~~~~~ conf.cpp:218:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 218 | cf->write (" height", wantheight); | ^~~~~~~~~ conf.cpp:219:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 219 | cf->writeText ("# Possible bits per pixel values (color depth):"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:220:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 220 | cf->writeText ("# 8 (not recommended), 16, 24, 32"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:221:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 221 | cf->write (" bpp", bpp); | ^~~~~~ conf.cpp:222:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 222 | cf->writeText ("# Try to go fullscreen = 1, game in window = 0"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:223:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 223 | cf->write (" fullscreen", wantfullscreen); | ^~~~~~~~~~~~~ conf.cpp:224:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 224 | cf->writeText ("# Quality: 0=software rendered up to 5=best (default=2)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:225:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 225 | cf->write (" quality", quality); | ^~~~~~~~~~ conf.cpp:226:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 226 | cf->writeText ("# Far clipping plane: 20..100 (default=50)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:227:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 227 | cf->write (" view", (int) view); | ^~~~~~~ conf.cpp:228:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 228 | cf->writeText ("# Dithering: 0=off, 1=on (default=1)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:229:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 229 | cf->write (" dithering", dithering); | ^~~~~~~~~~~~ conf.cpp:230:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 230 | cf->writeText ("# Antialiasing: 0=off, 1=on (default=1)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:231:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 231 | cf->write (" antialiasing", antialiasing); | ^~~~~~~~~~~~~~~ conf.cpp:232:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 232 | cf->writeText ("# Special effects: 0=off, 1=on (default=1)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:233:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 233 | cf->write (" specialeffects", specialeffects); | ^~~~~~~~~~~~~~~~~ conf.cpp:234:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 234 | cf->writeText ("# Dynamic lighting: 0=off, 1=on (default=1)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:235:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 235 | cf->write (" dynamiclighting", dynamiclighting); | ^~~~~~~~~~~~~~~~~~ conf.cpp:237:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 237 | cf->writeText ("# Sound volume: 0..100 (default=100) per cent"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:238:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 238 | cf->write (" sound", (int) volumesound); | ^~~~~~~~ conf.cpp:239:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 239 | cf->writeText ("# Music volume: 0..100 (default=100) per cent"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:240:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 240 | cf->write (" music", (int) volumemusic); | ^~~~~~~~ conf.cpp:242:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 242 | cf->writeText ("# Piloting controls: 0=keyboard, 1=mouse easy, 2=joystick"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:243:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 243 | cf->write (" controls", controls); | ^~~~~~~~~~~ conf.cpp:244:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 244 | cf->writeText ("# Difficulty level: 0=easy, 1=medium, 2=hard"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:245:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 245 | cf->write (" difficulty", difficulty); | ^~~~~~~~~~~~~ conf.cpp:246:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 246 | cf->writeText ("# Brightness: -50..50 per cent (default=0)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:247:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 247 | cf->write (" brightness", brightness); | ^~~~~~~~~~~~~ conf.cpp:248:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 248 | cf->writeText ("# Physics: 0=action, 1=realistic"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:249:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 249 | cf->write (" physics", physics); | ^~~~~~~~~~ conf.cpp:250:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 250 | cf->writeText ("\n# This file is meant to give sensible startup settings"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:251:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 251 | cf->writeText ("# as graphic cards and drivers may differ some 100 times in speed"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:252:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 252 | cf->writeText ("\n# To get back to default settings, just delete this file!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp: In function 'void save_saveconfig()': conf.cpp:261:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 261 | char *confname = dirs->getSaves ("saveconf"); | ^~~~~~~~~~ conf.cpp:267:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 267 | display ("Could not save working graphics mode configuration", LOG_ERROR); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:271:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 271 | cf->writeText ("# Working backup configuration\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:272:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 272 | cf->writeText ("# Do not edit this file. It is only used to restore a broken configuration!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:273:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 273 | cf->write (" width", width); | ^~~~~~~~ conf.cpp:274:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 274 | cf->write (" height", height); | ^~~~~~~~~ conf.cpp:275:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 275 | cf->write (" bpp", bpp); | ^~~~~~ conf.cpp:276:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 276 | cf->write (" fullscreen", fullscreen); | ^~~~~~~~~~~~~ conf.cpp: In function 'int load_config()': conf.cpp:286:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 286 | char *confname = dirs->getSaves ("conf"); | ^~~~~~ conf.cpp:297:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 297 | str = cf->getString (ret, "width"); | ^~~~~~~ conf.cpp:306:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 306 | str = cf->getString (ret, "height"); | ^~~~~~~~ conf.cpp:315:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 315 | str = cf->getString (ret, "bpp"); | ^~~~~ conf.cpp:323:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 323 | str = cf->getString (ret, "fullscreen"); | ^~~~~~~~~~~~ conf.cpp:331:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 331 | str = cf->getString (ret, "quality"); | ^~~~~~~~~ conf.cpp:339:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 339 | str = cf->getString (ret, "view"); | ^~~~~~ conf.cpp:353:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 353 | str = cf->getString (ret, "dithering"); | ^~~~~~~~~~~ conf.cpp:357:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 357 | str = cf->getString (ret, "antialiasing"); | ^~~~~~~~~~~~~~ conf.cpp:361:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 361 | str = cf->getString (ret, "specialeffects"); | ^~~~~~~~~~~~~~~~ conf.cpp:365:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 365 | str = cf->getString (ret, "dynamiclighting"); | ^~~~~~~~~~~~~~~~~ conf.cpp:370:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 370 | str = cf->getString (ret, "sound"); | ^~~~~~~ conf.cpp:378:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 378 | str = cf->getString (ret, "music"); | ^~~~~~~ conf.cpp:387:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 387 | str = cf->getString (ret, "controls"); | ^~~~~~~~~~ conf.cpp:395:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 395 | str = cf->getString (ret, "difficulty"); | ^~~~~~~~~~~~ conf.cpp:403:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 403 | str = cf->getString (ret, "brightness"); | ^~~~~~~~~~~~ conf.cpp:411:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 411 | str = cf->getString (ret, "physics"); | ^~~~~~~~~ conf.cpp: In function 'int load_saveconfig()': conf.cpp:428:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 428 | char *confname = dirs->getSaves ("saveconf"); | ^~~~~~~~~~ conf.cpp:439:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 439 | str = cf->getString (ret, "savewidth"); | ^~~~~~~~~~~ conf.cpp:447:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 447 | str = cf->getString (ret, "saveheight"); | ^~~~~~~~~~~~ conf.cpp:455:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 455 | str = cf->getString (ret, "savebpp"); | ^~~~~~~~~ conf.cpp:463:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 463 | str = cf->getString (ret, "savefullscreen"); | ^~~~~~~~~~~~~~~~ conf.cpp: In function 'void save_configInterface()': conf.cpp:485:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 485 | char *confname = dirs->getSaves ("conf.interface"); | ^~~~~~~~~~~~~~~~ conf.cpp:491:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 491 | display ("Could not save interface configuration", LOG_ERROR); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:494:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 494 | cf->writeText ("# Interface configuration\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:495:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 495 | cf->writeText ("# ---------------------------------------------------------------------"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:496:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 496 | cf->writeText ("# Keyboard section"); | ^~~~~~~~~~~~~~~~~~~~ conf.cpp:497:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 497 | cf->writeText ("# ---------------------------------------------------------------------\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:498:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | cf->writeText ("# Use ASCII-Code values or letters to remap"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:499:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 499 | cf->writeText ("# 8=BACKSPACE, 13=ENTER, 32=SPACE, 65=A...90=Z (NOT case sensitive)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:500:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 500 | cf->write (" key_firecannon", (int) key_firecannon); | ^~~~~~~~~~~~~~~~~ conf.cpp:501:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 501 | cf->write (" key_firemissile", (int) key_firemissile); | ^~~~~~~~~~~~~~~~~~ conf.cpp:502:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 502 | cf->write (" key_dropflare", (int) key_dropflare); | ^~~~~~~~~~~~~~~~ conf.cpp:503:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 503 | cf->write (" key_dropchaff", (int) key_dropchaff); | ^~~~~~~~~~~~~~~~ conf.cpp:504:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 504 | cf->write (" key_selectmissile", (int) key_selectmissile); | ^~~~~~~~~~~~~~~~~~~~ conf.cpp:505:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 505 | cf->writeText ("# Target nearest enemy with priority for enemies in front of you"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:506:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 506 | cf->write (" key_targetnearest", (int) key_targetnearest); | ^~~~~~~~~~~~~~~~~~~~ conf.cpp:507:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 507 | cf->writeText ("# Target next enemy who has locked you"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:508:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 508 | cf->write (" key_targetlocking", (int) key_targetlocking); | ^~~~~~~~~~~~~~~~~~~~ conf.cpp:509:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 509 | cf->write (" key_targetnext", (int) key_targetnext); | ^~~~~~~~~~~~~~~~~ conf.cpp:510:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 510 | cf->write (" key_targetprevious", (int) key_targetprevious); | ^~~~~~~~~~~~~~~~~~~~~ conf.cpp:511:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 511 | cf->write (" key_incthrust", (int) key_thrustup); | ^~~~~~~~~~~~~~~~ conf.cpp:512:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 512 | cf->write (" key_decthrust", (int) key_thrustdown); | ^~~~~~~~~~~~~~~~ conf.cpp:513:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 513 | cf->writeText ("# All other piloting keys (CURSORS, PGUP/DN) are fixed."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:514:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 514 | cf->writeText ("\n# ---------------------------------------------------------------------"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:515:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 515 | cf->writeText ("# Mouse section"); | ^~~~~~~~~~~~~~~~~ conf.cpp:516:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 516 | cf->writeText ("# ---------------------------------------------------------------------\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:517:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 517 | cf->writeText ("# Sensitivity: 70...200%, 70%=full screen area, 200%=max sensitivity"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:518:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 518 | cf->write (" mouse_sensitivity", (int) mouse_sensitivity); | ^~~~~~~~~~~~~~~~~~~~ conf.cpp:519:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 519 | cf->writeText ("# Reverse y-axis: 0 (no) or 1 (yes)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:520:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 520 | cf->write (" mouse_reverse", (int) mouse_reverse); | ^~~~~~~~~~~~~~~~ conf.cpp:521:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 521 | cf->writeText ("# Relative coordinates: 0 (no) or 1 (yes)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:522:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 522 | cf->write (" mouse_relative", (int) mouse_relative); | ^~~~~~~~~~~~~~~~~ conf.cpp:523:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 523 | cf->writeText ("# Auto rudder on x-axis, dead area for rolls: 0...100"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:524:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 524 | cf->write (" mouse_autorudder", (int) mouse_autorudder); | ^~~~~~~~~~~~~~~~~~~ conf.cpp:525:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 525 | cf->writeText ("\n# Buttons: 1=Left, 2=Middle, 3=Right"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:530:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 530 | cf->write (" mouse_firecannon", mousebutton); | ^~~~~~~~~~~~~~~~~~~ conf.cpp:534:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 534 | cf->write (" mouse_firemissile", mousebutton); | ^~~~~~~~~~~~~~~~~~~~ conf.cpp:538:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 538 | cf->write (" mouse_selectmissile", mousebutton); | ^~~~~~~~~~~~~~~~~~~~~~ conf.cpp:539:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 539 | cf->writeText ("\n# ---------------------------------------------------------------------"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:540:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 540 | cf->writeText ("# Joystick section"); | ^~~~~~~~~~~~~~~~~~~~ conf.cpp:541:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 541 | cf->writeText ("# ---------------------------------------------------------------------\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:542:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 542 | cf->writeText ("# The number of axes, buttons, and the coolie hat depends on your joystick!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:543:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 543 | cf->writeText ("# Numbers start with A=first joystick, B=second joystick...J=10th joystick"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:544:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 544 | cf->writeText ("# followed by a number to identify axes, buttons, and coolie hat\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:545:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 545 | cf->writeText ("# Axis: 0...MAX-1 (maybe 0=aileron 1=elevator 2=throttle 3=rudder)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:546:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 546 | writeJoystick (cf, " joystick_aileron", joystick_aileron); | ^~~~~~~~~~~~~~~~~~~ conf.cpp:547:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 547 | writeJoystick (cf, " joystick_elevator", joystick_elevator); | ^~~~~~~~~~~~~~~~~~~~ conf.cpp:548:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 548 | writeJoystick (cf, " joystick_throttle", joystick_throttle); | ^~~~~~~~~~~~~~~~~~~~ conf.cpp:549:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 549 | writeJoystick (cf, " joystick_rudder", joystick_rudder); | ^~~~~~~~~~~~~~~~~~ conf.cpp:550:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 550 | writeJoystick (cf, " joystick_view_x", joystick_view_x); | ^~~~~~~~~~~~~~~~~~ conf.cpp:551:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 551 | writeJoystick (cf, " joystick_view_y", joystick_view_y); | ^~~~~~~~~~~~~~~~~~ conf.cpp:552:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 552 | cf->writeText ("\n# Buttons: 0...MAX-1, Coolie: 100=Right, 101=Up, 102=Left, 103=Down"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:553:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 553 | writeJoystick (cf, " joystick_firecannon", joystick_firecannon); | ^~~~~~~~~~~~~~~~~~~~~~ conf.cpp:554:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 554 | writeJoystick (cf, " joystick_firemissile", joystick_firemissile); | ^~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:555:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 555 | cf->writeText ("# Dropping chaff AND flare may be preferred"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:556:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 556 | writeJoystick (cf, " joystick_dropflare", joystick_dropflare); | ^~~~~~~~~~~~~~~~~~~~~ conf.cpp:557:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 557 | writeJoystick (cf, " joystick_dropchaff", joystick_dropchaff); | ^~~~~~~~~~~~~~~~~~~~~ conf.cpp:558:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 558 | writeJoystick (cf, " joystick_selectmissile", joystick_selectmissile); | ^~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:559:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 559 | writeJoystick (cf, " joystick_targetnearest", joystick_targetnearest); | ^~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:560:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 560 | writeJoystick (cf, " joystick_targetlocking", joystick_targetlocking); | ^~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:561:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 561 | writeJoystick (cf, " joystick_targetnext", joystick_targetnext); | ^~~~~~~~~~~~~~~~~~~~~~ conf.cpp:562:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 562 | writeJoystick (cf, " joystick_targetprevious", joystick_targetprevious); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:563:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 563 | writeJoystick (cf, " joystick_incthrust", joystick_thrustup); | ^~~~~~~~~~~~~~~~~~~~~ conf.cpp:564:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 564 | writeJoystick (cf, " joystick_decthrust", joystick_thrustdown); | ^~~~~~~~~~~~~~~~~~~~~ conf.cpp:565:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 565 | cf->writeText ("\n# This file is meant to give sensible custom interface settings"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:566:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 566 | cf->writeText ("\n# To get back to default settings, just delete this file!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp: In function 'int load_configInterface()': conf.cpp:605:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 605 | char *confname = dirs->getSaves ("conf.interface"); | ^~~~~~~~~~~~~~~~ conf.cpp:610:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 610 | str = cf->getString (ret, "key_firecannon"); | ^~~~~~~~~~~~~~~~ conf.cpp:613:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 613 | str = cf->getString (ret, "key_firemissile"); | ^~~~~~~~~~~~~~~~~ conf.cpp:616:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 616 | str = cf->getString (ret, "key_dropchaff"); | ^~~~~~~~~~~~~~~ conf.cpp:619:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 619 | str = cf->getString (ret, "key_dropflare"); | ^~~~~~~~~~~~~~~ conf.cpp:622:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 622 | str = cf->getString (ret, "key_selectmissile"); | ^~~~~~~~~~~~~~~~~~~ conf.cpp:625:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 625 | str = cf->getString (ret, "key_targetnearest"); | ^~~~~~~~~~~~~~~~~~~ conf.cpp:628:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 628 | str = cf->getString (ret, "key_targetlocking"); | ^~~~~~~~~~~~~~~~~~~ conf.cpp:631:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 631 | str = cf->getString (ret, "key_targetnext"); | ^~~~~~~~~~~~~~~~ conf.cpp:634:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 634 | str = cf->getString (ret, "key_targetprevious"); | ^~~~~~~~~~~~~~~~~~~~ conf.cpp:637:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 637 | str = cf->getString (ret, "key_incthrust"); | ^~~~~~~~~~~~~~~ conf.cpp:640:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 640 | str = cf->getString (ret, "key_decthrust"); | ^~~~~~~~~~~~~~~ conf.cpp:643:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 643 | str = cf->getString (ret, "mouse_sensitivity"); | ^~~~~~~~~~~~~~~~~~~ conf.cpp:651:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 651 | str = cf->getString (ret, "mouse_reverse"); | ^~~~~~~~~~~~~~~ conf.cpp:657:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 657 | str = cf->getString (ret, "mouse_relative"); | ^~~~~~~~~~~~~~~~ conf.cpp:663:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 663 | str = cf->getString (ret, "mouse_autorudder"); | ^~~~~~~~~~~~~~~~~~ conf.cpp:672:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 672 | str = cf->getString (ret, "mouse_firecannon"); | ^~~~~~~~~~~~~~~~~~ conf.cpp:681:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 681 | str = cf->getString (ret, "mouse_firemissile"); | ^~~~~~~~~~~~~~~~~~~ conf.cpp:690:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 690 | str = cf->getString (ret, "mouse_selectmissile"); | ^~~~~~~~~~~~~~~~~~~~~ conf.cpp:699:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 699 | str = cf->getString (ret, "joystick_aileron"); | ^~~~~~~~~~~~~~~~~~ conf.cpp:702:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 702 | str = cf->getString (ret, "joystick_elevator"); | ^~~~~~~~~~~~~~~~~~~ conf.cpp:705:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 705 | str = cf->getString (ret, "joystick_throttle"); | ^~~~~~~~~~~~~~~~~~~ conf.cpp:708:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 708 | str = cf->getString (ret, "joystick_rudder"); | ^~~~~~~~~~~~~~~~~ conf.cpp:711:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 711 | str = cf->getString (ret, "joystick_view_x"); | ^~~~~~~~~~~~~~~~~ conf.cpp:714:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 714 | str = cf->getString (ret, "joystick_view_y"); | ^~~~~~~~~~~~~~~~~ conf.cpp:717:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 717 | str = cf->getString (ret, "joystick_firecannon"); | ^~~~~~~~~~~~~~~~~~~~~ conf.cpp:720:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 720 | str = cf->getString (ret, "joystick_firemissile"); | ^~~~~~~~~~~~~~~~~~~~~~ conf.cpp:723:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 723 | str = cf->getString (ret, "joystick_dropchaff"); | ^~~~~~~~~~~~~~~~~~~~ conf.cpp:726:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 726 | str = cf->getString (ret, "joystick_dropflare"); | ^~~~~~~~~~~~~~~~~~~~ conf.cpp:729:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 729 | str = cf->getString (ret, "joystick_selectmissile"); | ^~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:732:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 732 | str = cf->getString (ret, "joystick_targetnearest"); | ^~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:735:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 735 | str = cf->getString (ret, "joystick_targetlocking"); | ^~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:738:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 738 | str = cf->getString (ret, "joystick_targetnext"); | ^~~~~~~~~~~~~~~~~~~~~ conf.cpp:741:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 741 | str = cf->getString (ret, "joystick_targetprevious"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ conf.cpp:744:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 744 | str = cf->getString (ret, "joystick_incthrust"); | ^~~~~~~~~~~~~~~~~~~~ conf.cpp:747:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 747 | 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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include -I/usr/include -c -o net.o net.cpp In file included from effects.h:28, from aiobject.h:29, from main.h:41, from net.cpp:27: object.h:58:16: warning: 'virtual void CSpaceObj::drawGL(CVector3*, CVector3*, CVector3*, float, float, bool, bool)' was hidden [-Woverloaded-virtual=] 58 | virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); | ^~~~~~ effects.h:164:8: note: by 'void HighClouds::drawGL(CVector3*, CVector3*)' 164 | void drawGL (CVector3 *tl, CVector3 *textl); | ^~~~~~ 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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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] 59 | int tmp; | ^~~ 3ds.cpp: In member function 'void CLoad3DS::ProcessNextChunk(CModel*, Chunk*)': 3ds.cpp:274:16: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class CObject'; use assignment or value-initialization instead [-Wclass-memaccess] 274 | 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 188 | class CObject | ^~~~~~~ 3ds.cpp: In member function 'void CLoad3DS::ReadVertices(CObject*, Chunk*)': 3ds.cpp:516:10: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class CVertex'; use assignment or value-initialization instead [-Wclass-memaccess] 516 | memset (object->vertex, 0, sizeof (CVertex) * object->numVertices); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ model.h:113:7: note: 'class CVertex' declared here 113 | 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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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] 48 | 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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include -I/usr/include -c -o effects.o effects.cpp In file included from effects.h:28, from effects.cpp:29: object.h:58:16: warning: 'virtual void CSpaceObj::drawGL(CVector3*, CVector3*, CVector3*, float, float, bool, bool)' was hidden [-Woverloaded-virtual=] 58 | virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); | ^~~~~~ effects.h:164:8: note: by 'void HighClouds::drawGL(CVector3*, CVector3*)' 164 | void drawGL (CVector3 *tl, CVector3 *textl); | ^~~~~~ 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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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] 95 | mx = GETCOORD(x - MAXCORE / 2 + i); | ~~~~~~~~~~~~~~~~^~~ land.h:50:22: note: in definition of macro 'GETCOORD' 50 | #define GETCOORD(x) (x & MAXX_MASK) | ^ land.cpp:107:41: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 107 | my = GETCOORD(y - MAXCORE / 2 + i); | ~~~~~~~~~~~~~~~~^~~ land.h:50:22: note: in definition of macro 'GETCOORD' 50 | #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] 746 | if (h [i * step] [i2 * step] == 0) | ^ land.cpp: In member function 'void Landscape::genDesertSurface(int)': land.cpp:907:43: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 907 | ha [i3] = h [i] [GETCOORD(i2 + i3 - range / 2)]; | ~~~~~~~~^~~~~~~~~~~ land.h:50:22: note: in definition of macro 'GETCOORD' 50 | #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] 1042 | if (f [i - 1] [i2] == ROCKS && f [i + 1] [i2] == ROCKS || land.cpp:1046:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1046 | 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] 1074 | 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] 1384 | 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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include -I/usr/include -c -o model.o model.cpp model.cpp: In member function 'void CModel::addMaterial(CMaterial*)': model.cpp:573:32: 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] 573 | 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 170 | class CMaterial | ^~~~~~~~~ model.cpp: In member function 'void CModel::addObject(CObject*)': model.cpp:581:30: 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] 581 | if (object != NULL) memcpy (this->object [numObjects], object, sizeof (CObject)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ model.h:188:7: note: 'class CObject' declared here 188 | class CObject | ^~~~~~~ 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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include -I/usr/include -c -o glland.o glland.cpp In file included from effects.h:28, from aiobject.h:29, from glland.h:30, from glland.cpp:26: object.h:58:16: warning: 'virtual void CSpaceObj::drawGL(CVector3*, CVector3*, CVector3*, float, float, bool, bool)' was hidden [-Woverloaded-virtual=] 58 | virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); | ^~~~~~ effects.h:164:8: note: by 'void HighClouds::drawGL(CVector3*, CVector3*)' 164 | void drawGL (CVector3 *tl, CVector3 *textl); | ^~~~~~ In file included from glland.h:32: glland.cpp: In member function 'void GLLandscape::precalculate()': glland.cpp:299:28: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 299 | int xm1 = GETCOORD(x - 1); | ~~^~~ land.h:50:22: note: in definition of macro 'GETCOORD' 50 | #define GETCOORD(x) (x & MAXX_MASK) | ^ glland.cpp:300:28: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 300 | int xp1 = GETCOORD(x + 1); | ~~^~~ land.h:50:22: note: in definition of macro 'GETCOORD' 50 | #define GETCOORD(x) (x & MAXX_MASK) | ^ glland.cpp:301:28: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 301 | int zm1 = GETCOORD(z - 1); | ~~^~~ land.h:50:22: note: in definition of macro 'GETCOORD' 50 | #define GETCOORD(x) (x & MAXX_MASK) | ^ glland.cpp:302:28: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 302 | int zp1 = GETCOORD(z + 1); | ~~^~~ land.h:50:22: note: in definition of macro 'GETCOORD' 50 | #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] 889 | int xstep = GETCOORD(x + step); | ~~^~~~~~ land.h:50:22: note: in definition of macro 'GETCOORD' 50 | #define GETCOORD(x) (x & MAXX_MASK) | ^ glland.cpp:890:27: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 890 | int y2 = GETCOORD(y + step); | ~~^~~~~~ land.h:50:22: note: in definition of macro 'GETCOORD' 50 | #define GETCOORD(x) (x & MAXX_MASK) | ^ glland.cpp:897:29: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 897 | int y0 = GETCOORD(y - step); | ~~^~~~~~ land.h:50:22: note: in definition of macro 'GETCOORD' 50 | #define GETCOORD(x) (x & MAXX_MASK) | ^ glland.cpp:968:32: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 968 | int xstep = GETCOORD(x + step); | ~~^~~~~~ land.h:50:22: note: in definition of macro 'GETCOORD' 50 | #define GETCOORD(x) (x & MAXX_MASK) | ^ glland.cpp:969:32: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 969 | int ystep = GETCOORD(y + step); | ~~^~~~~~ land.h:50:22: note: in definition of macro 'GETCOORD' 50 | #define GETCOORD(x) (x & MAXX_MASK) | ^ glland.cpp:970:33: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 970 | int ymstep = GETCOORD(y - step); | ~~^~~~~~ land.h:50:22: note: in definition of macro 'GETCOORD' 50 | #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] 1524 | int xstep = GETCOORD(xs + step); | ~~~^~~~~~ land.h:50:22: note: in definition of macro 'GETCOORD' 50 | #define GETCOORD(x) (x & MAXX_MASK) | ^ glland.cpp:1525:27: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 1525 | int ystep = GETCOORD(ys + step); | ~~~^~~~~~ land.h:50:22: note: in definition of macro 'GETCOORD' 50 | #define GETCOORD(x) (x & MAXX_MASK) | ^ glland.cpp: In member function 'void GLLandscape::draw(int, int)': glland.cpp:2048:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2048 | display ("view exceeds ray casting blocks - not implemented", LOG_FATAL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glland.cpp:2540:61: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 2540 | int x2 = GETCOORD(xs+gridstep); | ~~^~~~~~~~~ land.h:50:22: note: in definition of macro 'GETCOORD' 50 | #define GETCOORD(x) (x & MAXX_MASK) | ^ glland.cpp:2541:61: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 2541 | int y2 = GETCOORD(ys+gridstep); | ~~^~~~~~~~~ land.h:50:22: note: in definition of macro 'GETCOORD' 50 | #define GETCOORD(x) (x & MAXX_MASK) | ^ glland.cpp:2566:41: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 2566 | int xstep = GETCOORD(xs + gridstep); | ~~~^~~~~~~~~~ land.h:50:22: note: in definition of macro 'GETCOORD' 50 | #define GETCOORD(x) (x & MAXX_MASK) | ^ glland.cpp:2567:41: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 2567 | int ystep = GETCOORD(ys + gridstep); | ~~~^~~~~~~~~~ land.h:50:22: note: in definition of macro 'GETCOORD' 50 | #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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include -I/usr/include -c -o aiobject.o aiobject.cpp In file included from effects.h:28, from aiobject.h:29, from aiobject.cpp:26: object.h:58:16: warning: 'virtual void CSpaceObj::drawGL(CVector3*, CVector3*, CVector3*, float, float, bool, bool)' was hidden [-Woverloaded-virtual=] 58 | virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); | ^~~~~~ effects.h:164:8: note: by 'void HighClouds::drawGL(CVector3*, CVector3*)' 164 | void drawGL (CVector3 *tl, CVector3 *textl); | ^~~~~~ 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] 36 | 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] 38 | 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] 40 | 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] 42 | 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] 44 | 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] 46 | 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] 55 | 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] 57 | 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] 59 | 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] 61 | 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] 63 | 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] 65 | memcpy (&gamma, &net [z], sizeof (&gamma)); | ^~~~~~~~~~~~~~~ aiobject.cpp: In member function 'bool AIObj::fireFlare(DynamicObj**, AIObj**)': aiobject.cpp:1735:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1735 | display ("Missile to flare", LOG_ALL); | ^~~~~~~~~~~~~~~~~~ aiobject.cpp: In member function 'bool AIObj::fireChaff(DynamicObj**, AIObj**)': aiobject.cpp:1781:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1781 | display ("Missile to chaff", LOG_ALL); | ^~~~~~~~~~~~~~~~~~ aiobject.cpp: In member function 'void AIObj::aiAction(Uint32, AIObj**, AIObj**, DynamicObj**, DynamicObj**, DynamicObj**)': aiobject.cpp:2449:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2449 | display ("Manoever: Vertical climb", LOG_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ aiobject.cpp:2656:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2656 | display ("Manoever: Immelmann", LOG_ALL); | ^~~~~~~~~~~~~~~~~~~~~ aiobject.cpp:2661:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2661 | display ("Manoever: Immelmann", LOG_ALL); | ^~~~~~~~~~~~~~~~~~~~~ aiobject.cpp:2668:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2668 | display ("Manoever: Roll", LOG_ALL); | ^~~~~~~~~~~~~~~~ aiobject.cpp:2676:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2676 | display ("Manoever: Turn", LOG_ALL); | ^~~~~~~~~~~~~~~~ aiobject.cpp:2683:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2683 | display ("Manoever: Height change", LOG_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~ aiobject.cpp:2714:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2714 | display ("Manoever: Immelmann", LOG_ALL); | ^~~~~~~~~~~~~~~~~~~~~ aiobject.cpp:2719:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2719 | display ("Manoever: Immelmann", LOG_ALL); | ^~~~~~~~~~~~~~~~~~~~~ aiobject.cpp:2726:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2726 | display ("Manoever: Roll", LOG_ALL); | ^~~~~~~~~~~~~~~~ aiobject.cpp:2734:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2734 | display ("Manoever: Turn", LOG_ALL); | ^~~~~~~~~~~~~~~~ aiobject.cpp:2741:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2741 | 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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include -I/usr/include -c -o cockpit.o cockpit.cpp In file included from effects.h:28, from aiobject.h:29, from main.h:41, from cockpit.cpp:29: object.h:58:16: warning: 'virtual void CSpaceObj::drawGL(CVector3*, CVector3*, CVector3*, float, float, bool, bool)' was hidden [-Woverloaded-virtual=] 58 | virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); | ^~~~~~ effects.h:164:8: note: by 'void HighClouds::drawGL(CVector3*, CVector3*)' 164 | void drawGL (CVector3 *tl, CVector3 *textl); | ^~~~~~ cockpit.cpp: In member function 'void Cockpit::drawHeading()': cockpit.cpp:463:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 463 | font1->drawText (xf - 0.5, yf - 2.0, zf, "S", &color); | ^~~ cockpit.cpp:465:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 465 | font1->drawText (xf - 0.5, yf - 2.0, zf, "E", &color); | ^~~ cockpit.cpp:467:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 467 | font1->drawText (xf - 0.5, yf - 2.0, zf, "N", &color); | ^~~ cockpit.cpp:469:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 469 | 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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include -I/usr/include -c -o menu.o menu.cpp In file included from effects.h:28, from aiobject.h:29, from main.h:41, from menu.cpp:27: object.h:58:16: warning: 'virtual void CSpaceObj::drawGL(CVector3*, CVector3*, CVector3*, float, float, bool, bool)' was hidden [-Woverloaded-virtual=] 58 | virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); | ^~~~~~ effects.h:164:8: note: by 'void HighClouds::drawGL(CVector3*, CVector3*)' 164 | void drawGL (CVector3 *tl, CVector3 *textl); | ^~~~~~ 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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include -I/usr/include -c -o main.o main.cpp In file included from effects.h:28, from aiobject.h:29, from main.h:41, from main.cpp:38: object.h:58:16: warning: 'virtual void CSpaceObj::drawGL(CVector3*, CVector3*, CVector3*, float, float, bool, bool)' was hidden [-Woverloaded-virtual=] 58 | virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); | ^~~~~~ effects.h:164:8: note: by 'void HighClouds::drawGL(CVector3*, CVector3*)' 164 | void drawGL (CVector3 *tl, CVector3 *textl); | ^~~~~~ main.cpp: In function 'int game_levelInit()': main.cpp:669:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 669 | display ("Could not startup mission", LOG_ERROR); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void switch_mission(int)': main.cpp:1188:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1188 | 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] 1864 | float zf = -3, yf; | ^~ main.cpp: In function 'void pleaseWait()': main.cpp:1974:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1974 | font1->drawTextCentered (0, -0.5, -1.5, "PLEASE WAIT...", &colorwhite); | ^~~~~~~~~~~~~~~~ main.cpp: In function 'void stats_key(unsigned char, int, int)': main.cpp:1983:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1983 | 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] 2083 | 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] 2085 | 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] 2087 | return "THE HAWK II IS A ..."; | ^~~~~~~~~~~~~~~~~~~~~~ main.cpp:2088:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2088 | 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] 2094 | return "GL-16 FALCON"; | ^~~~~~~~~~~~~~ main.cpp:2096:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2096 | return "GL-22 HAWK"; | ^~~~~~~~~~~~ main.cpp:2098:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2098 | return "GL-23 HAWK II"; | ^~~~~~~~~~~~~~~ main.cpp:2100:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2100 | return "GL-15 REDARROW"; | ^~~~~~~~~~~~~~~~ main.cpp:2102:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2102 | return "GL-117 PHOENIX"; | ^~~~~~~~~~~~~~~~ main.cpp:2104:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2104 | return "GL-50 STORM"; | ^~~~~~~~~~~~~ main.cpp:2106:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2106 | return "CROW"; | ^~~~~~ main.cpp:2108:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2108 | return "BUZZARD"; | ^~~~~~~~~ main.cpp:2110:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2110 | return "SWALLOW"; | ^~~~~~~~~ main.cpp:2112:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2112 | return "BLACKBIRD"; | ^~~~~~~~~~~ main.cpp:2114:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2114 | return "AIR-AIR MISSILE PACK"; | ^~~~~~~~~~~~~~~~~~~~~~ main.cpp:2116:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2116 | return "AIR-GROUND MISSILE PACK"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:2118:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2118 | return "DUMB FIRE MISSILE PACK"; | ^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:2119:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2119 | return "NO INFO"; | ^~~~~~~~~ main.cpp: In function 'void mission_display()': main.cpp:2280:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2280 | font1->drawText (textx / fontscale, texty / fontscale, -2, "BRIEFING:", col); | ^~~~~~~~~~~ main.cpp:2286:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2286 | font1->drawText (xstats / fontscale, ystats / fontscale, -2, "STATUS:", col); | ^~~~~~~~~ main.cpp:2288:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2288 | font1->drawText (xstatstab / fontscale, ystats / fontscale, -2, "SUCCESS", colorstd); | ^~~~~~~~~ main.cpp:2290:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2290 | font1->drawText (xstatstab / fontscale, ystats / fontscale, -2, "FAILED", colorstd); | ^~~~~~~~ main.cpp:2292:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2292 | font1->drawText (xstatstab / fontscale, ystats / fontscale, -2, "EMPTY", colorstd); | ^~~~~~~ main.cpp:2296:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2296 | font1->drawText (xstats / fontscale, texty / fontscale, -2, "SCORE:", col); | ^~~~~~~~ main.cpp:2302:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2302 | font1->drawText (xstats / fontscale, texty / fontscale, -2, "KILLS:", col); | ^~~~~~~~ main.cpp:2310:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2310 | font1->drawText (xstats / fontscale, texty / fontscale, -2, "SCORE:", col); | ^~~~~~~~ main.cpp:2311:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2311 | font1->drawText (xstatstab / fontscale, texty / fontscale, -2, "TRAINING", col); | ^~~~~~~~~~ main.cpp:2314:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2314 | font1->drawText (textx / fontscale, piloty / fontscale, -2, "PILOTS:", col); | ^~~~~~~~~ main.cpp:2327:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2327 | font1->drawText (textx / fontscale, -1 / fontscale, -2, "CHOOSE FIGHTER:", col); | ^~~~~~~~~~~~~~~~~ main.cpp:2328:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2328 | font1->drawText (xstats / fontscale, -1 / fontscale, -2, "CHOOSE WEAPON PACK:", col); | ^~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void create_display()': main.cpp:2382:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2382 | font1->drawTextCentered (0, 9, -1.5, "CREATE GAME"); | ^~~~~~~~~~~~~ main.cpp:2385:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2385 | font1->drawTextScaled (-2, -12, -2, "BACK", colorstd, -missionmenutimer * 5); | ^~~~~~ main.cpp:2387:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2387 | font1->drawText (-2, -12, -2, "BACK"); | ^~~~~~ main.cpp: In function 'void join_display()': main.cpp:2426:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2426 | font1->drawTextCentered (0, 9, -1.5, "JOIN GAME"); | ^~~~~~~~~~~ main.cpp:2429:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2429 | font1->drawTextScaled (-2, -12, -2, "BACK", colorstd, -missionmenutimer * 5); | ^~~~~~ main.cpp:2431:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2431 | font1->drawText (-2, -12, -2, "BACK"); | ^~~~~~ main.cpp: In function 'void game_quit()': main.cpp:2583:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2583 | pilots->save (dirs->getSaves ("pilots")); | ^~~~~~~~ main.cpp:2584:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2584 | display ("Pilots saved", LOG_MOST); | ^~~~~~~~~~~~~~ main.cpp: In function 'void stats_display()': main.cpp:2700:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2700 | font1->drawTextCentered (0, 7, -2, "SUCCESS", &colorblue); | ^~~~~~~~~ main.cpp:2704:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2704 | font1->drawTextCentered (0, 7, -2, "FAILED", &colorred); | ^~~~~~~~ main.cpp:2707:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2707 | font1->drawText (xf1, yf, zf, "SCORE:", color); | ^~~~~~~~ main.cpp:2712:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2712 | font1->drawText (xf1, yf, zf, "DIFFICULTY:", color); | ^~~~~~~~~~~~~ main.cpp:2713:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2713 | if (mission->difficulty == 0) font1->drawText (xf2, yf, zf, "EASY", color); | ^~~~~~ main.cpp:2714:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2714 | else if (mission->difficulty == 1) font1->drawText (xf2, yf, zf, "NORMAL", color); | ^~~~~~~~ main.cpp:2715:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2715 | else if (mission->difficulty == 2) font1->drawText (xf2, yf, zf, "HARD", color); | ^~~~~~ main.cpp:2716:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2716 | if (mission->difficulty == 0) font1->drawText (xf3, yf, zf, "-25", color); | ^~~~~ main.cpp:2717:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2717 | else if (mission->difficulty == 1) font1->drawText (xf3, yf, zf, "+25", color); | ^~~~~ main.cpp:2718:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2718 | else if (mission->difficulty == 2) font1->drawText (xf3, yf, zf, "+75", color); | ^~~~~ main.cpp:2721:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2721 | font1->drawText (xf1, yf, zf, "FLIGHT MODEL:", color); | ^~~~~~~~~~~~~~~ main.cpp:2722:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2722 | if (!fplayer->realism) font1->drawText (xf2, yf, zf, "ACTION", color); | ^~~~~~~~ main.cpp:2723:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2723 | else font1->drawText (xf2, yf, zf, "SIM", color); | ^~~~~ main.cpp:2724:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2724 | if (!fplayer->realism) font1->drawText (xf3, yf, zf, "-25", color); | ^~~~~ main.cpp:2725:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2725 | else font1->drawText (xf3, yf, zf, "+25", color); | ^~~~~ main.cpp:2731:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2731 | font1->drawText (xf1, yf, zf, "TIME BONUS:", color); | ^~~~~~~~~~~~~ main.cpp:2738:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2738 | font1->drawText (xf1, yf, zf, "SHIELD BONUS:", color); | ^~~~~~~~~~~~~~~ main.cpp:2744:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2744 | font1->drawText (xf1, yf, zf, "KILLS:", color); | ^~~~~~~~ main.cpp:2782:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2782 | 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] 2893 | int pick [100]; | ^~~~ main.cpp: In function 'void pause_display()': main.cpp:2938:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2938 | font1->drawText (-3, -1, -1, "PAUSED", &colorwhite); | ^~~~~~~~ main.cpp: In function 'void credits_display()': main.cpp:3009:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3009 | font2->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "GAME PROGRAMMING,", col); | ^~~~~~~~~~~~~~~~~~~ main.cpp:3010:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3010 | font2->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "GRAPHICS, MODELS, SOUND & MUSIC", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3011:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3011 | font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "THOMAS A. DREXL", col2); | ^~~~~~~~~~~~~~~~~ main.cpp:3015:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3015 | font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "SPECIAL THANKS TO...", col); | ^~~~~~~~~~~~~~~~~~~~~~ main.cpp:3016:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3016 | font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "LENS FLARES & FURTHER DEBUGGING", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3017:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3017 | font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "PIOTR PAWLOW", col2); | ^~~~~~~~~~~~~~ main.cpp:3018:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3018 | font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "MOUSE INTERFACE & LANDSCAPE IMPROVEMENTS", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3019:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3019 | font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "LOURENS VEEN", col2); | ^~~~~~~~~~~~~~ main.cpp:3020:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3020 | font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "PUBLISHING & FURTHER GAME IDEAS", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3021:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3021 | font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "BERNHARD KAINDL", col2); | ^~~~~~~~~~~~~~~~~ main.cpp:3022:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3022 | font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "MOON TERRAIN", col); | ^~~~~~~~~~~~~~ main.cpp:3023:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3023 | font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "NORBERT DREXL", col2); | ^~~~~~~~~~~~~~~ main.cpp:3024:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3024 | font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "PHYSICAL MODEL (ACTION) & COCKPIT IMPROVEMENTS", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3025:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3025 | font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "ARNE REINERS", col2); | ^~~~~~~~~~~~~~ main.cpp:3026:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3026 | font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "...AND THANKS TO ALL PEOPLE GIVING FEEDBACK AND ADVICE", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3031:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3031 | font1->drawTextCentered (0, (yt -= 10 * ydist) / fontzoom, zf, "***********************", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3032:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3032 | font1->drawTextCentered (0, (yt -= 10 * ydist) / fontzoom, zf, "DO YOU WANT TO CONTRIBUTE?", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3036:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3036 | font2->drawText (xf / fontzoom, (yt -= 4 * ydist) / fontzoom, zf, "LOTS OF THINGS ARE STILL NEEDED:", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3037:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3037 | font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- DRAW TEXTURES OF TREES, BUILDINGS, ETC", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3038:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3038 | font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- DESIGN 3D MODELS", col); | ^~~~~~~~~~~~~~~~~~~~ main.cpp:3039:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3039 | font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- CREATE SOUNDTRACKS", col); | ^~~~~~~~~~~~~~~~~~~~~~ main.cpp:3040:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3040 | font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- MAKE MISSION SUGGESTIONS", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3041:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3041 | font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- GIVE FEEDBACK AND ADVICE", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void finish_display()': main.cpp:3052:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3052 | font1->drawTextCentered (0, 12, -3, "CONGRATULATIONS!", col); | ^~~~~~~~~~~~~~~~~~ main.cpp:3053:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3053 | font1->drawTextCentered (0, 10, -3, "THE WORLD HAS BEEN SAVED YET AGAIN.", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3054:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3054 | font1->drawTextCentered (0, 6, -3, "HOPE YOU HAD FUN PLAYING GL-117!", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3055:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3055 | font1->drawTextCentered (0, 4, -3, "THIS GAME HAS ORIGINALLY BEEN DEVELOPED AS PART", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3056:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3056 | font1->drawTextCentered (0, 2, -3, "OF THE COURSE \"APPLICATIONS OF COMPUTER GRAPHICS\"", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3057:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3057 | font1->drawTextCentered (0, 0, -3, "AT THE TECHNICAL UNIVERSITY OF MUNICH, GERMANY.", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3058:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3058 | font1->drawTextCentered (0, -2, -3, "IN FEBRUARY 2002 THE WORK WAS DONE AND I", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3059:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3059 | font1->drawTextCentered (0, -4, -3, "PRESENTED THE PROTOTYPE OF A FLIGHT SIM,", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3060:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3060 | font1->drawTextCentered (0, -6, -3, "YET WITHOUT TEXTURES, JOYSTICK, SOUNDS, MUSIC,", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3061:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3061 | font1->drawTextCentered (0, -8, -3, "NO CAMPAIGN!", col); | ^~~~~~~~~~~~~~ main.cpp:3062:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3062 | font1->drawTextCentered (0, -10, -3, "TWO MONTHS LATER THE FIRST RELEASE OF GL-117 WAS READY.", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3063:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3063 | font1->drawTextCentered (0, -12, -3, "FURTHER RELEASES FOLLOWED, FEEDBACK ARRIVED, AND", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3064:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3064 | font1->drawTextCentered (0, -14, -3, "PROGRAMMERS JOINED (LISTED IN THE CREDITS SECTION).", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3065:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3065 | font1->drawTextCentered (0, -16, -3, "SPECIAL THANKS TO JOSEF DREXL FOR THE MODELING IDEAS,", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3066:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3066 | font1->drawTextCentered (0, -18, -3, "AND THE UNIX AWARD GOES TO WOLFGANG HOMMEL ;-)", col); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void quit_display()': main.cpp:3075:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3075 | font1->drawTextCentered (0, 0, -2, "REALLY QUIT?", &menu_colwhite); | ^~~~~~~~~~~~~~ main.cpp: In function 'void game_display()': main.cpp:3578:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3578 | font1->drawTextCentered (0, 0, -1.8, "PLEASE WAIT WHILE", &colorred); | ^~~~~~~~~~~~~~~~~~~ main.cpp:3579:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3579 | font1->drawTextCentered (0, -1, -1.8, "ADJUSTING QUALITY", &colorred); | ^~~~~~~~~~~~~~~~~~~ main.cpp:3585:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3585 | font1->drawTextCentered (0, -8, -2, "FPS TOO LOW", &colorred); | ^~~~~~~~~~~~~ main.cpp:3586:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3586 | font1->drawTextCentered (0, -9, -2, "TURN DOWN VIEW OR QUALITY", &colorred); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3591:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3591 | font1->drawTextCentered (0, -8, -2, "FPS FAR TOO LOW", &colorred); | ^~~~~~~~~~~~~~~~~ main.cpp:3592:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3592 | font1->drawTextCentered (0, -9, -2, "SEE \"README\" OR \"FAQ\" FILES", &colorred); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3593:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3593 | 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] 3249 | float fac = view, zfac = view * 0.2; | ^~~ main.cpp:3249:21: warning: variable 'zfac' set but not used [-Wunused-but-set-variable] 3249 | float fac = view, zfac = view * 0.2; | ^~~~ main.cpp: In function 'void myFirstInit()': main.cpp:4298:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4298 | display ("Creating calculation tables", LOG_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:4301:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4301 | display ("Creating advanced OpenGL methods", LOG_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:4305:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4305 | display ("Loading textures", LOG_ALL); | ^~~~~~~~~~~~~~~~~~ main.cpp:4306:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4306 | texgrass = gl->genTextureTGA (dirs->getTextures ("grass1.tga"), 0, 0, 1, false); | ^~~~~~~~~~~~ main.cpp:4307:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4307 | texrocks = gl->genTextureTGA (dirs->getTextures ("rocks1.tga"), 0, 0, 1, false); | ^~~~~~~~~~~~ main.cpp:4308:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4308 | texwater = gl->genTextureTGA (dirs->getTextures ("water1.tga"), 0, 0, 1, false); | ^~~~~~~~~~~~ main.cpp:4309:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4309 | texsand = gl->genTextureTGA (dirs->getTextures ("sand1.tga"), 0, 0, 1, false); | ^~~~~~~~~~~ main.cpp:4310:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4310 | texredsand = gl->genTextureTGA (dirs->getTextures ("redsand1.tga"), 0, 0, 1, false); | ^~~~~~~~~~~~~~ main.cpp:4311:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4311 | texredstone = gl->genTextureTGA (dirs->getTextures ("redstone2.tga"), 0, 0, 1, false); | ^~~~~~~~~~~~~~~ main.cpp:4312:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4312 | texgravel1 = gl->genTextureTGA (dirs->getTextures ("gravel1.tga"), 0, 0, 1, false); | ^~~~~~~~~~~~~ main.cpp:4313:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4313 | texglitter1 = gl->genTextureTGA (dirs->getTextures ("glitter.tga"), 0, -1, 0, true); | ^~~~~~~~~~~~~ main.cpp:4314:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4314 | textree = gl->genTextureTGA (dirs->getTextures ("tree1.tga"), 0, -1, 1, true); | ^~~~~~~~~~~ main.cpp:4315:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4315 | textreeu = gl->genTextureTGA (dirs->getTextures ("treeu1.tga"), 0, -1, 1, true); | ^~~~~~~~~~~~ main.cpp:4316:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4316 | textree2 = gl->genTextureTGA (dirs->getTextures ("tree2.tga"), 0, -1, 1, true); | ^~~~~~~~~~~ main.cpp:4317:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4317 | textreeu2 = gl->genTextureTGA (dirs->getTextures ("treeu2.tga"), 0, -1, 1, true); | ^~~~~~~~~~~~ main.cpp:4318:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4318 | textree3 = gl->genTextureTGA (dirs->getTextures ("tree3.tga"), 0, 3, 1, true); | ^~~~~~~~~~~ main.cpp:4319:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4319 | textreeu3 = gl->genTextureTGA (dirs->getTextures ("treeu3.tga"), 0, 3, 1, true); | ^~~~~~~~~~~~ main.cpp:4320:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4320 | textree4 = gl->genTextureTGA (dirs->getTextures ("tree4.tga"), 0, 3, 1, true); | ^~~~~~~~~~~ main.cpp:4321:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4321 | textreeu4 = gl->genTextureTGA (dirs->getTextures ("treeu4.tga"), 0, 3, 1, true); | ^~~~~~~~~~~~ main.cpp:4322:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4322 | textree5 = gl->genTextureTGA (dirs->getTextures ("tree5.tga"), 0, -1, 1, true); | ^~~~~~~~~~~ main.cpp:4323:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4323 | textreeu5 = gl->genTextureTGA (dirs->getTextures ("treeu5.tga"), 0, -1, 1, true); | ^~~~~~~~~~~~ main.cpp:4324:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4324 | texcactus1 = gl->genTextureTGA (dirs->getTextures ("cactus1.tga"), 0, 3, 1, true); | ^~~~~~~~~~~~~ main.cpp:4325:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4325 | texcactusu1 = gl->genTextureTGA (dirs->getTextures ("cactusu1.tga"), 0, 3, 1, true); | ^~~~~~~~~~~~~~ main.cpp:4326:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4326 | texsmoke = gl->genTextureTGA (dirs->getTextures ("smoke1.tga"), 0, -1, 1, true); | ^~~~~~~~~~~~ main.cpp:4327:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4327 | texsmoke2 = gl->genTextureTGA (dirs->getTextures ("smoke2.tga"), 0, -1, 1, true); | ^~~~~~~~~~~~ main.cpp:4328:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4328 | texsmoke3 = gl->genTextureTGA (dirs->getTextures ("smoke3.tga"), 0, 5, 1, true); | ^~~~~~~~~~~~ main.cpp:4329:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4329 | texsun = gl->genTextureTGA (dirs->getTextures ("sun2.tga"), 1, -1, 0, true); | ^~~~~~~~~~ main.cpp:4330:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4330 | texmoon = gl->genTextureTGA (dirs->getTextures ("moon1.tga"), 1, 2, 0, true); | ^~~~~~~~~~~ main.cpp:4331:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4331 | texearth = gl->genTextureTGA (dirs->getTextures ("earth.tga"), 1, 0, 0, true); | ^~~~~~~~~~~ main.cpp:4332:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4332 | texflare1 = gl->genTextureTGA (dirs->getTextures ("flare1.tga"), 1, -1, 0, true); | ^~~~~~~~~~~~ main.cpp:4333:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4333 | texflare2 = gl->genTextureTGA (dirs->getTextures ("flare2.tga"), 1, -1, 0, true); | ^~~~~~~~~~~~ main.cpp:4334:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4334 | texflare3 = gl->genTextureTGA (dirs->getTextures ("flare3.tga"), 1, -1, 0, true); | ^~~~~~~~~~~~ main.cpp:4335:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4335 | texflare4 = gl->genTextureTGA (dirs->getTextures ("flare4.tga"), 1, -1, 0, true); | ^~~~~~~~~~~~ main.cpp:4336:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4336 | texcross = gl->genTextureTGA (dirs->getTextures ("cross.tga"), 0, -1, 1, true); | ^~~~~~~~~~~ main.cpp:4337:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4337 | texcross2 = gl->genTextureTGA (dirs->getTextures ("cross2.tga"), 0, -1, 1, true); | ^~~~~~~~~~~~ main.cpp:4338:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4338 | texranks = gl->genTextureTGA (dirs->getTextures ("ranks.tga"), 0, 0, 0, true); | ^~~~~~~~~~~ main.cpp:4339:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4339 | texmedals = gl->genTextureTGA (dirs->getTextures ("medals.tga"), 0, 0, 0, true); | ^~~~~~~~~~~~ main.cpp:4340:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4340 | texclouds1 = gl->genTextureTGA (dirs->getTextures ("clouds1.tga"), 0, -1, 1, true); | ^~~~~~~~~~~~~ main.cpp:4341:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4341 | texclouds2 = gl->genTextureTGA (dirs->getTextures ("clouds2.tga"), 0, 4, 1, true); | ^~~~~~~~~~~~~ main.cpp:4342:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4342 | texclouds3 = gl->genTextureTGA (dirs->getTextures ("clouds3.tga"), 0, 6, 1, true); | ^~~~~~~~~~~~~ main.cpp:4343:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4343 | texradar1 = gl->genTextureTGA (dirs->getTextures ("radar2.tga"), 0, -1, 0, true); | ^~~~~~~~~~~~ main.cpp:4344:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4344 | texradar2 = gl->genTextureTGA (dirs->getTextures ("radar1.tga"), 0, -1, 0, true); | ^~~~~~~~~~~~ main.cpp:4345:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4345 | texarrow = gl->genTextureTGA (dirs->getTextures ("arrow.tga"), 0, -1, 0, true); | ^~~~~~~~~~~ main.cpp:4347:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4347 | display ("Loading Fonts", LOG_ALL); | ^~~~~~~~~~~~~~~ main.cpp:4348:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4348 | font1 = new Font (dirs->getTextures ("font1.tga"), 32, '!', 64); | ^~~~~~~~~~~ main.cpp:4350:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4350 | font2 = new Font (dirs->getTextures ("font2.tga"), 32, '!', 64); | ^~~~~~~~~~~ main.cpp:4352:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4352 | display ("Loading 3ds models:", LOG_ALL); | ^~~~~~~~~~~~~~~~~~~~~ main.cpp:4353:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4353 | display (" * gl-16.3ds", LOG_ALL); | ^~~~~~~~~~~~~~ main.cpp:4354:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4354 | g_Load3ds.Import3DS (&model_fig, dirs->getModels ("gl-16.3ds")); | ^~~~~~~~~~~ main.cpp:4355:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4355 | model_fig.setName ("FALCON"); | ^~~~~~~~ main.cpp:4356:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4356 | display (" * gl-15.3ds", LOG_ALL); | ^~~~~~~~~~~~~~ main.cpp:4357:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4357 | g_Load3ds.Import3DS (&model_figa, dirs->getModels ("gl-15.3ds")); | ^~~~~~~~~~~ main.cpp:4358:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4358 | model_figa.setName ("SWALLOW"); | ^~~~~~~~~ main.cpp:4359:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4359 | display (" * gl-14c.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~ main.cpp:4360:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4360 | g_Load3ds.Import3DS (&model_figb, dirs->getModels ("gl-14c.3ds")); | ^~~~~~~~~~~~ main.cpp:4361:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4361 | model_figb.setName ("HAWK"); | ^~~~~~ main.cpp:4362:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4362 | display (" * gl-14d.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~ main.cpp:4363:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4363 | g_Load3ds.Import3DS (&model_figc, dirs->getModels ("gl-14d.3ds")); | ^~~~~~~~~~~~ main.cpp:4364:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4364 | model_figc.setName ("HAWK II"); | ^~~~~~~~~ main.cpp:4365:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4365 | display (" * gl-21b.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~ main.cpp:4366:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4366 | g_Load3ds.Import3DS (&model_figd, dirs->getModels ("gl-21b.3ds")); | ^~~~~~~~~~~~ main.cpp:4367:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4367 | model_figd.setName ("BUZZARD"); | ^~~~~~~~~ main.cpp:4368:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4368 | display (" * gl-21.3ds", LOG_ALL); | ^~~~~~~~~~~~~~ main.cpp:4369:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4369 | g_Load3ds.Import3DS (&model_fige, dirs->getModels ("gl-21.3ds")); | ^~~~~~~~~~~ main.cpp:4370:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4370 | model_fige.setName ("CROW"); | ^~~~~~ main.cpp:4371:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4371 | display (" * gl-14b.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~ main.cpp:4372:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4372 | g_Load3ds.Import3DS (&model_figf, dirs->getModels ("gl-14b.3ds")); | ^~~~~~~~~~~~ main.cpp:4373:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4373 | model_figf.setName ("PHOENIX"); | ^~~~~~~~~ main.cpp:4374:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4374 | display (" * gl-14.3ds", LOG_ALL); | ^~~~~~~~~~~~~~ main.cpp:4375:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4375 | g_Load3ds.Import3DS (&model_figg, dirs->getModels ("gl-14.3ds")); | ^~~~~~~~~~~ main.cpp:4376:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4376 | model_figg.setName ("RED ARROW"); | ^~~~~~~~~~~ main.cpp:4377:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4377 | display (" * gl-29.3ds", LOG_ALL); | ^~~~~~~~~~~~~~ main.cpp:4378:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4378 | g_Load3ds.Import3DS (&model_figh, dirs->getModels ("gl-29.3ds")); | ^~~~~~~~~~~ main.cpp:4379:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4379 | model_figh.setName ("BLACKBIRD"); | ^~~~~~~~~~~ main.cpp:4381:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4381 | display (" * gl-50.3ds", LOG_ALL); | ^~~~~~~~~~~~~~ main.cpp:4382:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4382 | g_Load3ds.Import3DS (&model_figi, dirs->getModels ("gl-50.3ds")); | ^~~~~~~~~~~ main.cpp:4383:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4383 | model_figi.setName ("STORM"); | ^~~~~~~ main.cpp:4384:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4384 | display (" * transp2.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~~ main.cpp:4385:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4385 | g_Load3ds.Import3DS (&model_figt, dirs->getModels ("transp2.3ds")); | ^~~~~~~~~~~~~ main.cpp:4386:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4386 | model_figt.setName ("TRANSPORT"); | ^~~~~~~~~~~ main.cpp:4387:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4387 | display (" * transp4.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~~ main.cpp:4388:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4388 | g_Load3ds.Import3DS (&model_figu, dirs->getModels ("transp4.3ds")); | ^~~~~~~~~~~~~ main.cpp:4389:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4389 | model_figu.setName ("TRANSPORT"); | ^~~~~~~~~~~ main.cpp:4393:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4393 | display (" * cannon1.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~~ main.cpp:4394:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4394 | g_Load3ds.Import3DS (&model_cannon1, dirs->getModels ("cannon1.3ds")); | ^~~~~~~~~~~~~ main.cpp:4396:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4396 | display (" * cannon1b.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~~~ main.cpp:4397:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4397 | g_Load3ds.Import3DS (&model_cannon1b, dirs->getModels ("cannon1b.3ds")); | ^~~~~~~~~~~~~~ main.cpp:4401:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4401 | display (" * cannon2.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~~ main.cpp:4402:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4402 | g_Load3ds.Import3DS (&model_cannon2, dirs->getModels ("cannon2.3ds")); | ^~~~~~~~~~~~~ main.cpp:4416:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4416 | display (" * cannon2b.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~~~ main.cpp:4417:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4417 | g_Load3ds.Import3DS (&model_cannon2b, dirs->getModels ("cannon2b.3ds")); | ^~~~~~~~~~~~~~ main.cpp:4434:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4434 | display (" * flare1.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~ main.cpp:4435:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4435 | g_Load3ds.Import3DS (&model_flare1, dirs->getModels ("flare1.3ds")); | ^~~~~~~~~~~~ main.cpp:4436:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4436 | model_flare1.setName ("FLARE"); | ^~~~~~~ main.cpp:4439:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4439 | display (" * chaff1.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~ main.cpp:4440:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4440 | g_Load3ds.Import3DS (&model_chaff1, dirs->getModels ("chaff1.3ds")); | ^~~~~~~~~~~~ main.cpp:4441:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4441 | model_chaff1.setName ("CHAFF"); | ^~~~~~~ main.cpp:4444:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4444 | display (" * missile1.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~~~ main.cpp:4445:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4445 | g_Load3ds.Import3DS (&model_missile1, dirs->getModels ("missile1.3ds")); | ^~~~~~~~~~~~~~ main.cpp:4446:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4446 | model_missile1.setName ("AAM HS MK1"); | ^~~~~~~~~~~~ main.cpp:4447:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4447 | display (" * missile2.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~~~ main.cpp:4448:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4448 | g_Load3ds.Import3DS (&model_missile2, dirs->getModels ("missile2.3ds")); | ^~~~~~~~~~~~~~ main.cpp:4449:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4449 | model_missile2.setName ("AAM HS MK2"); | ^~~~~~~~~~~~ main.cpp:4450:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4450 | display (" * missile3.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~~~ main.cpp:4451:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4451 | g_Load3ds.Import3DS (&model_missile3, dirs->getModels ("missile3.3ds")); | ^~~~~~~~~~~~~~ main.cpp:4452:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4452 | model_missile3.setName ("AAM HS MK3"); | ^~~~~~~~~~~~ main.cpp:4453:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4453 | display (" * missile4.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~~~ main.cpp:4454:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4454 | g_Load3ds.Import3DS (&model_missile4, dirs->getModels ("missile4.3ds")); | ^~~~~~~~~~~~~~ main.cpp:4455:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4455 | model_missile4.setName ("AGM MK1"); | ^~~~~~~~~ main.cpp:4456:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4456 | display (" * missile5.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~~~ main.cpp:4457:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4457 | g_Load3ds.Import3DS (&model_missile5, dirs->getModels ("missile5.3ds")); | ^~~~~~~~~~~~~~ main.cpp:4458:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4458 | model_missile5.setName ("AGM MK2"); | ^~~~~~~~~ main.cpp:4459:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4459 | display (" * missile6.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~~~ main.cpp:4460:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4460 | g_Load3ds.Import3DS (&model_missile6, dirs->getModels ("missile6.3ds")); | ^~~~~~~~~~~~~~ main.cpp:4461:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4461 | model_missile6.setName ("DFM"); | ^~~~~ main.cpp:4462:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4462 | display (" * missile7.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~~~ main.cpp:4463:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4463 | g_Load3ds.Import3DS (&model_missile7, dirs->getModels ("missile7.3ds")); | ^~~~~~~~~~~~~~ main.cpp:4464:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4464 | model_missile7.setName ("AAM FF MK1"); | ^~~~~~~~~~~~ main.cpp:4465:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4465 | display (" * missile8.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~~~ main.cpp:4466:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4466 | g_Load3ds.Import3DS (&model_missile8, dirs->getModels ("missile8.3ds")); | ^~~~~~~~~~~~~~ main.cpp:4467:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4467 | model_missile8.setName ("AAM FF MK2"); | ^~~~~~~~~~~~ main.cpp:4468:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4468 | display (" * flak2.3ds", LOG_ALL); | ^~~~~~~~~~~~~~ main.cpp:4469:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4469 | g_Load3ds.Import3DS (&model_flak1, dirs->getModels ("flak2.3ds")); | ^~~~~~~~~~~ main.cpp:4470:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4470 | model_flak1.setName ("SA CANNON"); | ^~~~~~~~~~~ main.cpp:4471:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4471 | display (" * flarak1.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~~ main.cpp:4472:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4472 | g_Load3ds.Import3DS (&model_flarak1, dirs->getModels ("flarak1.3ds")); | ^~~~~~~~~~~~~ main.cpp:4473:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4473 | model_flarak1.setName ("SAM"); | ^~~~~ main.cpp:4474:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4474 | display (" * ship1.3ds", LOG_ALL); | ^~~~~~~~~~~~~~ main.cpp:4475:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4475 | g_Load3ds.Import3DS (&model_ship1, dirs->getModels ("ship1.3ds")); | ^~~~~~~~~~~ main.cpp:4476:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4476 | model_ship1.setName ("CRUISER"); | ^~~~~~~~~ main.cpp:4477:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4477 | display (" * tent1.3ds", LOG_ALL); | ^~~~~~~~~~~~~~ main.cpp:4478:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4478 | g_Load3ds.Import3DS (&model_tent1, dirs->getModels ("tent1.3ds")); | ^~~~~~~~~~~ main.cpp:4479:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4479 | model_tent1.setName ("TENT"); | ^~~~~~ main.cpp:4480:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4480 | display (" * gl-117.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~ main.cpp:4481:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4481 | g_Load3ds.Import3DS (&model_gl117, dirs->getModels ("gl-117.3ds")); | ^~~~~~~~~~~~ main.cpp:4483:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4483 | display (" * tank1.3ds", LOG_ALL); | ^~~~~~~~~~~~~~ main.cpp:4484:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4484 | g_Load3ds.Import3DS (&model_tank1, dirs->getModels ("tank1.3ds")); | ^~~~~~~~~~~ main.cpp:4485:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4485 | model_tank1.setName ("WIESEL"); | ^~~~~~~~ main.cpp:4487:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4487 | display (" * container1.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~~~~~ main.cpp:4488:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4488 | g_Load3ds.Import3DS (&model_container1, dirs->getModels ("container1.3ds")); | ^~~~~~~~~~~~~~~~ main.cpp:4489:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4489 | model_container1.setName ("CONTAINER"); | ^~~~~~~~~~~ main.cpp:4490:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4490 | display (" * ship2.3ds", LOG_ALL); | ^~~~~~~~~~~~~~ main.cpp:4491:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4491 | g_Load3ds.Import3DS (&model_ship2, dirs->getModels ("ship2.3ds")); | ^~~~~~~~~~~ main.cpp:4492:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4492 | model_ship2.setName ("LIGHT DESTROYER"); | ^~~~~~~~~~~~~~~~~ main.cpp:4493:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4493 | display (" * truck1.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~ main.cpp:4494:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4494 | g_Load3ds.Import3DS (&model_truck1, dirs->getModels ("truck1.3ds")); | ^~~~~~~~~~~~ main.cpp:4495:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4495 | model_truck1.setName ("TRUCK"); | ^~~~~~~ main.cpp:4496:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4496 | display (" * truck2.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~ main.cpp:4497:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4497 | g_Load3ds.Import3DS (&model_truck2, dirs->getModels ("truck2.3ds")); | ^~~~~~~~~~~~ main.cpp:4498:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4498 | model_truck2.setName ("TRUCK"); | ^~~~~~~ main.cpp:4499:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4499 | display (" * trsam.3ds", LOG_ALL); | ^~~~~~~~~~~~~~ main.cpp:4500:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4500 | g_Load3ds.Import3DS (&model_trsam, dirs->getModels ("trsam.3ds")); | ^~~~~~~~~~~ main.cpp:4501:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4501 | model_trsam.setName ("MOBILE SAM"); | ^~~~~~~~~~~~ main.cpp:4502:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4502 | display (" * pickup1.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~~ main.cpp:4503:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4503 | g_Load3ds.Import3DS (&model_pickup1, dirs->getModels ("pickup1.3ds")); | ^~~~~~~~~~~~~ main.cpp:4504:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4504 | model_pickup1.setName ("PICKUP"); | ^~~~~~~~ main.cpp:4505:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4505 | display (" * pickup2.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~~ main.cpp:4506:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4506 | g_Load3ds.Import3DS (&model_pickup2, dirs->getModels ("pickup2.3ds")); | ^~~~~~~~~~~~~ main.cpp:4507:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4507 | model_pickup2.setName ("PICKUP"); | ^~~~~~~~ main.cpp:4508:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4508 | display (" * tank2.3ds", LOG_ALL); | ^~~~~~~~~~~~~~ main.cpp:4509:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4509 | g_Load3ds.Import3DS (&model_tank2, dirs->getModels ("tank2.3ds")); | ^~~~~~~~~~~ main.cpp:4510:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4510 | model_tank2.setName ("PANTHER"); | ^~~~~~~~~ main.cpp:4512:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4512 | display (" * tent4.3ds", LOG_ALL); | ^~~~~~~~~~~~~~ main.cpp:4513:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4513 | g_Load3ds.Import3DS (&model_tent4, dirs->getModels ("tent4.3ds")); | ^~~~~~~~~~~ main.cpp:4514:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4514 | model_tent4.setName ("BIG TENT"); | ^~~~~~~~~~ main.cpp:4515:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4515 | display (" * hall1.3ds", LOG_ALL); | ^~~~~~~~~~~~~~ main.cpp:4516:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4516 | g_Load3ds.Import3DS (&model_hall1, dirs->getModels ("hall1.3ds")); | ^~~~~~~~~~~ main.cpp:4517:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4517 | model_hall1.setName ("HALL"); | ^~~~~~ main.cpp:4518:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4518 | display (" * hall2.3ds", LOG_ALL); | ^~~~~~~~~~~~~~ main.cpp:4519:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4519 | g_Load3ds.Import3DS (&model_hall2, dirs->getModels ("hall2.3ds")); | ^~~~~~~~~~~ main.cpp:4520:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4520 | model_hall2.setName ("HALL"); | ^~~~~~ main.cpp:4521:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4521 | display (" * oilrig.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~ main.cpp:4522:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4522 | g_Load3ds.Import3DS (&model_oilrig, dirs->getModels ("oilrig.3ds")); | ^~~~~~~~~~~~ main.cpp:4523:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4523 | model_oilrig.setName ("OILRIG"); | ^~~~~~~~ main.cpp:4525:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4525 | display (" * egg.3ds", LOG_ALL); | ^~~~~~~~~~~~ main.cpp:4526:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4526 | g_Load3ds.Import3DS (&model_egg, dirs->getModels ("egg.3ds")); | ^~~~~~~~~ main.cpp:4528:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4528 | model_egg.setName ("COMPLEX"); | ^~~~~~~~~ main.cpp:4529:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4529 | display (" * radar.3ds", LOG_ALL); | ^~~~~~~~~~~~~~ main.cpp:4530:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4530 | g_Load3ds.Import3DS (&model_radar, dirs->getModels ("radar.3ds")); | ^~~~~~~~~~~ main.cpp:4531:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4531 | model_radar.setName ("RADAR"); | ^~~~~~~ main.cpp:4532:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4532 | display (" * mine1.3ds", LOG_ALL); | ^~~~~~~~~~~~~~ main.cpp:4533:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4533 | g_Load3ds.Import3DS (&model_mine1, dirs->getModels ("mine1.3ds")); | ^~~~~~~~~~~ main.cpp:4534:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4534 | model_mine1.setName ("MINE"); | ^~~~~~ main.cpp:4535:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4535 | display (" * aster1.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~ main.cpp:4536:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4536 | g_Load3ds.Import3DS (&model_aster1, dirs->getModels ("aster1.3ds")); | ^~~~~~~~~~~~ main.cpp:4537:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4537 | model_aster1.setName ("ASTEROID"); | ^~~~~~~~~~ main.cpp:4538:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4538 | display (" * base1.3ds", LOG_ALL); | ^~~~~~~~~~~~~~ main.cpp:4539:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4539 | g_Load3ds.Import3DS (&model_base1, dirs->getModels ("base1.3ds")); | ^~~~~~~~~~~ main.cpp:4540:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4540 | model_base1.setName ("MOON BASE"); | ^~~~~~~~~~~ main.cpp:4541:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4541 | display (" * barrier.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~~ main.cpp:4542:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4542 | g_Load3ds.Import3DS (&model_barrier1, dirs->getModels ("barrier.3ds")); | ^~~~~~~~~~~~~ main.cpp:4543:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4543 | model_barrier1.setName ("MOON BASE"); | ^~~~~~~~~~~ main.cpp:4546:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4546 | display (" * rubble.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~ main.cpp:4547:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4547 | g_Load3ds.Import3DS (&model_rubble1, dirs->getModels ("rubble.3ds")); | ^~~~~~~~~~~~ main.cpp:4548:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4548 | model_base1.setName ("RUBBLE"); | ^~~~~~~~ main.cpp:4549:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4549 | display (" * depot1.3ds", LOG_ALL); | ^~~~~~~~~~~~~~~ main.cpp:4550:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4550 | g_Load3ds.Import3DS (&model_depot1, dirs->getModels ("depot1.3ds")); | ^~~~~~~~~~~~ main.cpp:4551:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4551 | model_depot1.setName ("DEPOT"); | ^~~~~~~ main.cpp:4553:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4553 | g_Load3ds.Import3DS (&model_house1, dirs->getModels ("house1.3ds")); | ^~~~~~~~~~~~ main.cpp:4554:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4554 | model_house1.setName ("HOUSE"); | ^~~~~~~ main.cpp:4573:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4573 | display ("Setting up world geometry", LOG_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:4602:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4602 | textitle = gl->genTextureTGA (dirs->getTextures ("patents.tga"), 0, 0, 0, true); | ^~~~~~~~~~~~~ In file included from aiobject.h:27: main.cpp: In function 'void init_display()': common.h:52:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | #define VERSIONSTRING "V1.3" | ^~~~~~ main.cpp:4718:33: note: in expansion of macro 'VERSIONSTRING' 4718 | font2->drawText (20, -20, -3, VERSIONSTRING, &color); | ^~~~~~~~~~~~~ main.cpp: In function 'void myTimerFunc(int)': main.cpp:5220:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 5220 | display ("Out of sync", LOG_ERROR); | ^~~~~~~~~~~~~ main.cpp: In function 'void config_test(int, char**)': main.cpp:5577:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 5577 | display ("No configuration file found. Testing...", LOG_MOST); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:5587:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 5587 | display ("Using SDL and GLUT", LOG_MOST); | ^~~~~~~~~~~~~~~~~~~~ main.cpp:5616:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 5616 | 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:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 5635 | display (" ", LOG_NONE); | ^~~ main.cpp:5636:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 5636 | display ("Usage: gl-117 [-h -v -dLEVEL]", LOG_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:5637:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 5637 | display (" ", LOG_NONE); | ^~~ main.cpp:5638:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 5638 | display ("-h: Display this help screen and quit", LOG_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:5639:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 5639 | display ("-v: Display version string and quit", LOG_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:5640:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 5640 | display ("-dLEVEL: Set debug LEVEL to 0=silent...5=log all", LOG_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:5641:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 5641 | display (" ", LOG_NONE); | ^~~ main.cpp: In function 'void checkargs(int, char**)': main.cpp:5657:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 5657 | display ("Invalid debug level", LOG_FATAL); | ^~~~~~~~~~~~~~~~~~~~~ common.h:52:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | #define VERSIONSTRING "V1.3" | ^~~~~~ main.cpp:5669:16: note: in expansion of macro 'VERSIONSTRING' 5669 | display (VERSIONSTRING, LOG_NONE); | ^~~~~~~~~~~~~ main.cpp:5679:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 5679 | display ("Invalid command line parameter", LOG_FATAL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void callbackJoystickAxis(Component*, int)': main.cpp:5824:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 5824 | la->setText ("N/A"); | ^~~~~ main.cpp: In function 'void setpilotstext()': main.cpp:5889:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 5889 | ((Label *) submenu [0]->components [i + 2])->setText ("N/A"); | ^~~~~ main.cpp: In function 'void callbackPilotsAdd(Component*, int)': main.cpp:5902:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 5902 | ((EditField *) submenu [0]->components [9])->setText (""); | ^~ main.cpp: In function 'void callbackDefaultsJoystick(Component*, int)': main.cpp:6036:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6036 | ((Label *) controlsmenu [2]->components [z])->setText ("A 0"); | ^~~~~ main.cpp:6038:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6038 | ((Label *) controlsmenu [2]->components [z])->setText ("A 1"); | ^~~~~ main.cpp:6040:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6040 | ((Label *) controlsmenu [2]->components [z])->setText ("A 2"); | ^~~~~ main.cpp:6042:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6042 | ((Label *) controlsmenu [2]->components [z])->setText ("A 3"); | ^~~~~ main.cpp:6044:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6044 | ((Label *) controlsmenu [2]->components [z])->setText ("A 4"); | ^~~~~ main.cpp:6046:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6046 | ((Label *) controlsmenu [2]->components [z])->setText ("A 5"); | ^~~~~ main.cpp: In function 'void callbackFullscreen(Component*, int)': main.cpp:6308:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6308 | if (wantfullscreen) ((Label *) optmenu [0]->components [18])->setText ("YES"); | ^~~~~ main.cpp:6309:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6309 | else ((Label *) optmenu [0]->components [18])->setText ("NO"); | ^~~~ main.cpp: In function 'void createMenu()': main.cpp:6571:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6571 | button = new Button ("DELETE (RIGHT MB)"); | ^~~~~~~~~~~~~~~~~~~ main.cpp:6578:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6578 | button = new Button ("ADD"); | ^~~~~ main.cpp:6634:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6634 | button = new Button ("FIGHTER INFO"); | ^~~~~~~~~~~~~~ main.cpp:6686:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6686 | button = new Button ("PILOTS RANKING"); | ^~~~~~~~~~~~~~~~ main.cpp:6728:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6728 | button = new Button ("QUALITY"); | ^~~~~~~~~ main.cpp:6740:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6740 | button = new Button ("VIEW"); | ^~~~~~ main.cpp:6752:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6752 | button = new Button ("DITHERING"); | ^~~~~~~~~~~ main.cpp:6765:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6765 | button = new Button ("ANTIALIASING"); | ^~~~~~~~~~~~~~ main.cpp:6778:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6778 | button = new Button ("SPECIAL EFFECTS"); | ^~~~~~~~~~~~~~~~~ main.cpp:6791:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6791 | button = new Button ("DYN LIGHTING"); | ^~~~~~~~~~~~~~ main.cpp:6804:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6804 | button = new Button ("BRIGHTNESS"); | ^~~~~~~~~~~~ main.cpp:6824:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6824 | button = new Button ("RESOLUTION"); | ^~~~~~~~~~~~ main.cpp:6836:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6836 | button = new Button ("FULLSCREEN"); | ^~~~~~~~~~~~ main.cpp:6862:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6862 | button = new Button ("SOUND VOLUME"); | ^~~~~~~~~~~~~~ main.cpp:6875:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6875 | button = new Button ("MUSIC VOLUME"); | ^~~~~~~~~~~~~~ main.cpp:6905:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6905 | button = new Button ("DIFFICULTY"); | ^~~~~~~~~~~~ main.cpp:6919:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6919 | button = new Button ("PHYSICS"); | ^~~~~~~~~ main.cpp:6932:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6932 | button = new Button ("CONTROLS"); | ^~~~~~~~~~ main.cpp:6957:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6957 | label = new Label ("ROLL: \t LEFT, RIGHT"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:6962:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6962 | label = new Label ("ELEVATOR: \t UP, DOWN"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:6967:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6967 | label = new Label ("RUDDER: \t LSHIFT+ROLL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:6972:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6972 | label = new Label ("THROTTLE: \t 1...9"); | ^~~~~~~~~~~~~~~~~~~~~~ main.cpp:6977:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 6977 | label = new Label ("CAMERA: \t F1...F8"); | ^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:7020:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7020 | button = new Button ("LOAD DEFAULTS"); | ^~~~~~~~~~~~~~~ main.cpp:7033:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7033 | button = new Button ("SENSITIVITY"); | ^~~~~~~~~~~~~ main.cpp:7045:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7045 | button = new Button ("REVERSE"); | ^~~~~~~~~ main.cpp:7058:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7058 | button = new Button ("RELATIVE"); | ^~~~~~~~~~ main.cpp:7071:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7071 | button = new Button ("AUTORUDDER"); | ^~~~~~~~~~~~ main.cpp:7106:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7106 | button = new Button ("LOAD DEFAULTS"); | ^~~~~~~~~~~~~~~ main.cpp:7121:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7121 | button = new Button ("AILERON"); | ^~~~~~~~~ main.cpp:7132:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7132 | button = new Button ("ELEVATOR"); | ^~~~~~~~~~ main.cpp:7143:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7143 | button = new Button ("THROTTLE"); | ^~~~~~~~~~ main.cpp:7154:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7154 | button = new Button ("RUDDER"); | ^~~~~~~~ main.cpp:7165:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7165 | button = new Button ("VIEW X"); | ^~~~~~~~ main.cpp:7176:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7176 | button = new Button ("VIEW Y"); | ^~~~~~~~ main.cpp:7212:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7212 | button = new Button ("LOAD DEFAULTS"); | ^~~~~~~~~~~~~~~ main.cpp:7232:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7232 | textfield = new TextField ("", yfstep - 0.1); | ^~ main.cpp:7266:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7266 | textfield = new TextField ("", yfstep - 0.1); | ^~ main.cpp:7271:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7271 | button = new Button ("<"); | ^~~ main.cpp:7275:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7275 | button = new Button (">"); | ^~~ main.cpp:7279:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7279 | textfield = new TextField ("", yfstep - 0.1); | ^~ main.cpp:7334:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7334 | button = new Button (" BACK TO MAIN MENU"); | ^~~~~~~~~~~~~~~~~~~~ main.cpp:7339:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7339 | button = new Button (" START MISSION"); | ^~~~~~~~~~~~~~~~~~~ main.cpp:7358:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7358 | button = new Button (" YES"); | ^~~~~~~~~ main.cpp:7363:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7363 | button = new Button (" NO"); | ^~~~~~~~~ main.cpp:7382:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7382 | button = new Button (" CONTINUE"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main(int, char**)': main.cpp:7421:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7421 | display ("Getting directory locations", LOG_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:7426:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7426 | display ("Creating new configuration", LOG_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:7444:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7444 | display ("Creating/Loading pilots list", LOG_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:7445:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7445 | pilots = new PilotList (dirs->getSaves ("pilots")); // look at pilots.h | ^~~~~~~~ main.cpp:7498:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7498 | display ("Using SDL and GLUT", LOG_MOST); | ^~~~~~~~~~~~~~~~~~~~ main.cpp:7533:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7533 | display ("Setting SDL caption", LOG_ALL); | ^~~~~~~~~~~~~~~~~~~~~ main.cpp:7538:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7538 | display ("Creating sound system", LOG_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:7545:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7545 | display ("Playing startup music", LOG_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:7551:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7551 | display ("Calling main initialization method", LOG_ALL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:7555:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7555 | display ("Querying joystick", LOG_ALL); | ^~~~~~~~~~~~~~~~~~~ main.cpp:7571:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7571 | display ("No joystick found", LOG_MOST); | ^~~~~~~~~~~~~~~~~~~ main.cpp:7592:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7592 | 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] 5153 | static void myIdleFunc () | ^~~~~~~~~~ main.cpp: In function 'proceedFire()': main.cpp:4762:17: warning: iteration 256 invokes undefined behavior [-Waggressive-loop-optimizations] 4762 | int h = heat [yind] [i2]; | ^ main.cpp:4757:21: note: within this loop 4757 | for (i2 = 0; i2 < maxfx + 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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include -I/usr/include -c -o maploader.o maploader.cpp In file included from effects.h:28, from aiobject.h:29, from maploader.h:27, from maploader.cpp:30: object.h:58:16: warning: 'virtual void CSpaceObj::drawGL(CVector3*, CVector3*, CVector3*, float, float, bool, bool)' was hidden [-Woverloaded-virtual=] 58 | virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); | ^~~~~~ effects.h:164:8: note: by 'void HighClouds::drawGL(CVector3*, CVector3*)' 164 | void drawGL (CVector3 *tl, CVector3 *textl); | ^~~~~~ maploader.cpp: In member function 'void MapLoader::readMapFile()': maploader.cpp:57:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 57 | if (!file_open (dirs->getMaps ("maps.txt"))) | ^~~~~~~~~~ maploader.cpp: In constructor 'MapLoader::MapLoader()': maploader.cpp:73:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | file_setWhitespace (" \t\r\n"); | ^~~~~~~~~ maploader.cpp:74:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 74 | file_addComment ("#", "\n"); | ^~~ maploader.cpp:74:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 74 | file_addComment ("#", "\n"); | ^~~~ maploader.cpp:75:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | file_setQuotes ("\"'´`"); | ^~~~~~~ maploader.cpp: In member function 'int MissionCustom::readAttribute(char*, char*, char*)': maploader.cpp:145:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 145 | error ("Assignment symbol '=' is missing"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:152:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 152 | error ("Unexpected end of file"); | ^~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp: In member function 'int MissionCustom::synchronize()': maploader.cpp:163:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 163 | if (!file_find ("\n")) return 0; | ^~~~ maploader.cpp: In member function 'int MissionCustom::parseMapData()': maploader.cpp:235:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 235 | error ("Heading value must be an integer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:259:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 259 | error ("Time value must be an integer in [0...24]"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:266:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 266 | error ("Time value must be an integer in [0...24]"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:300:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 300 | error ("Only 32 bpp TGA files are valid"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:313:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 313 | error ("Scaleheight value must be a float number in [0...1]"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:320:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 320 | error ("Scaleheight value must be a float number in [0...1]"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:333:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 333 | error ("Tree needs a number suffix like \"Tree2\" with number in [1...3]"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:339:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 339 | error ("Tree value must be an integer in [0...100]"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:345:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 345 | error ("Tree value must be an integer in [0...100]"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp: In member function 'int MissionCustom::parseObjectData()': maploader.cpp:369:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 369 | error ("Too many objects defined"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:426:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 426 | error ("Party value must be an integer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:437:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 437 | error ("Level value must be an integer in [0...10]"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:443:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 443 | error ("Level value must be an integer in [0...10]"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:451:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 451 | error ("X value must be a float number"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:462:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 462 | error ("Y value must be a float number"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:473:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 473 | error ("Inittime value must be a float number"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:485:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 485 | error ("Critical value must be an integer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp: In member function 'int MissionCustom::parseTextData()': maploader.cpp:511:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 511 | error ("Too many text blocks"); | ^~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:530:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 530 | error ("Starttime value must be a float number"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:542:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 542 | error ("Delay value must be a float number"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp: In member function 'int MissionCustom::parseRelCoords()': maploader.cpp:576:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 576 | error ("No object defined yet: coords origin could not be set"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:587:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 587 | error ("No object defined yet: coords origin could not be set"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:608:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 608 | error ("Quadrant value must be an integer in [1...16]"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:614:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 614 | error ("Quadrant value must be an integer in [1...16]"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp: In member function 'int MissionCustom::parseInfoData()': maploader.cpp:657:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 657 | error ("Pilot needs a number suffix like \"Pilot5\" with number in [1...maxpilots]"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:664:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 664 | error ("Invalid pilot name"); | ^~~~~~~~~~~~~~~~~~~~ maploader.cpp:677:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 677 | error ("Fighter needs a number suffix like \"Fighter1\" with number in [1...3]"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:689:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 689 | error ("Invalid fighter type"); | ^~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:698:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 698 | error ("Weapon needs a number suffix like \"Weapon\" with number in [1...3]"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp:707:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 707 | error ("Invalid weapon type"); | ^~~~~~~~~~~~~~~~~~~~~ maploader.cpp:715:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 715 | error ("Maxtime value must be a float number"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp: In member function 'void MissionCustom::init()': maploader.cpp:741:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 741 | error ("Could not open map file"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ maploader.cpp: In member function 'virtual void MissionCustom::start()': maploader.cpp:871:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 871 | display ("Map has a valid bpp entry but seems to be corrupt", 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' i586-alt-linux-g++ -I. -I.. -I. -I. -I.. -DDATADIR='"/usr/share"' -Wall -pedantic -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -I/usr/include -I/usr/include -c -o mission.o mission.cpp In file included from effects.h:28, from aiobject.h:29, from mission.h:28, from mission.cpp:28: object.h:58:16: warning: 'virtual void CSpaceObj::drawGL(CVector3*, CVector3*, CVector3*, float, float, bool, bool)' was hidden [-Woverloaded-virtual=] 58 | virtual void drawGL (CVector3 *z1, CVector3 *z2, CVector3 *tl, float alpha2, float lum2, bool drawlight2, bool istextured2); | ^~~~~~ effects.h:164:8: note: by 'void HighClouds::drawGL(CVector3*, CVector3*)' 164 | void drawGL (CVector3 *tl, CVector3 *textl); | ^~~~~~ mission.cpp: In member function 'virtual void MissionTutorial1::draw()': mission.cpp:385:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 385 | font1->drawTextCentered (0, 7, -2.5, "LEAVE THE JOYSTICK CENTERED.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:386:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 386 | font1->drawTextCentered (0, 6, -2.5, "THE FIGHTER SHOULD FLY STRAIGHT ON.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:387:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 387 | font1->drawTextCentered (0, 5, -2.5, "IF NOT, RECALIBRATE YOUR JOYSTICK", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:391:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 391 | font1->drawTextCentered (0, 7, -2.5, "THE MENU OPTIONS/CONTROLS LETS YOU", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:392:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 392 | font1->drawTextCentered (0, 6, -2.5, "DETERMINE THE INPUT DEVICE.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:393:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 393 | font1->drawTextCentered (0, 5, -2.5, "CURRENTLY, THIS IS THE MOUSE", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:397:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 397 | font1->drawTextCentered (0, 7, -2.5, "THE MENU OPTIONS/CONTROLS LETS YOU", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:398:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 398 | font1->drawTextCentered (0, 6, -2.5, "DETERMINE THE INPUT DEVICE.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:399:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 399 | font1->drawTextCentered (0, 5, -2.5, "CURRENTLY, THIS IS THE KEYBOARD", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:406:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 406 | font1->drawTextCentered (0, 7, -2.5, "MOVING THE JOYSTICK LEFT OR RIGHT", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:407:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 407 | font1->drawTextCentered (0, 6, -2.5, "WILL AFFECT THE AILERON.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:408:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 408 | font1->drawTextCentered (0, 5, -2.5, "THUS YOU WILL ONLY ROLL", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:414:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 414 | font1->drawTextCentered (0, 7, -2.5, "THE MOUSE INTERFACE IS VERY EASY.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:415:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 415 | font1->drawTextCentered (0, 6, -2.5, "ALWAYS POINT TO WHERE YOU WANT TO FLY.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:416:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 416 | font1->drawTextCentered (0, 5, -2.5, "YOU'LL HAVE TO MOVE THE MOUSE PERMANENTLY", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:420:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 420 | font1->drawTextCentered (0, 7, -2.5, "THE REVERTED MOUSE IS FOR REAL GAMERS ONLY.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:421:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 421 | font1->drawTextCentered (0, 6, -2.5, "THE STANDARD MOUSE INTERFACE MAY BE", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:422:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 422 | font1->drawTextCentered (0, 5, -2.5, "EASIER TO LEARN", &textcolor); | ^~~~~~~~~~~~~~~~~ mission.cpp:426:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 426 | font1->drawTextCentered (0, 7, -2.5, "MOUSE RELATIVE IS A LOT OF WORK.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:427:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 427 | font1->drawTextCentered (0, 6, -2.5, "ONLY THE RELATIVE MOUSE COORDINATES (MOVING)", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:428:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 428 | font1->drawTextCentered (0, 5, -2.5, "WILL HAVE AN EFFECT", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~ mission.cpp:433:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 433 | font1->drawTextCentered (0, 7, -2.5, "THE KEYBOARD INTERFACE IS NOT THAT EASY.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:434:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 434 | font1->drawTextCentered (0, 6, -2.5, "USING THE MOUSE IS STRONLY RECOMMENDED", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:441:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 441 | font1->drawTextCentered (0, 7, -2.5, "MOVING UP OR DOWN WILL AFFECT", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:442:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 442 | font1->drawTextCentered (0, 6, -2.5, "THE ELEVATOR.", &textcolor); | ^~~~~~~~~~~~~~~ mission.cpp:443:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 443 | font1->drawTextCentered (0, 5, -2.5, "YOU'LL START TO FLY A LOOP", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:447:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 447 | font1->drawTextCentered (0, 7, -2.5, "MOVING RIGHT OR LEFT WILL AFFECT THE AILERON,", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:448:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 448 | font1->drawTextCentered (0, 6, -2.5, "MOVING UP OR DOWN WILL AFFECT THE ELEVATOR.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:449:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 449 | font1->drawTextCentered (0, 5, -2.5, "THUS YOU CAN FLY ROLLS AND LOOPS", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:456:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 456 | font1->drawTextCentered (0, 7, -2.5, "IF YOUR JOYSTICK HAS A SO-CALLED \"RUDDER\",", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:457:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 457 | font1->drawTextCentered (0, 6, -2.5, "YOU MAY ALTER THE FIGHTER'S RUDDER.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:458:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 458 | font1->drawTextCentered (0, 5, -2.5, "YOU'LL SLIGHTLY FLY TO THE LEFT OR RIGHT", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:462:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 462 | font1->drawTextCentered (0, 7, -2.5, "MOVING THE MOUSE SLIGHTLY LEFT OR RIGHT", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:463:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 463 | font1->drawTextCentered (0, 6, -2.5, "WILL AFFECT THE RUDDER.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:467:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 467 | font1->drawTextCentered (0, 7, -2.5, "TO ALTER THE RUDDER", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~ mission.cpp:468:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 468 | font1->drawTextCentered (0, 6, -2.5, "USE THE KEYS PGUP AND PGDN", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:475:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 475 | font1->drawTextCentered (0, 7, -2.5, "YOUR JOYSTICK HAS ALSO A THROTTLE", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:476:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 476 | font1->drawTextCentered (0, 6, -2.5, "TO SPEEDUP OR DECELERATE.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:477:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 477 | font1->drawTextCentered (0, 5, -2.5, "THERE IS NO WAY TO ENTIRELY STOP", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:481:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 481 | font1->drawTextCentered (0, 7, -2.5, "USE THE KEYS '1' THROUGH '9' TO ALTER", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:482:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 482 | font1->drawTextCentered (0, 6, -2.5, "YOUR THROTTLE (SPEED).", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:483:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 483 | font1->drawTextCentered (0, 5, -2.5, "THERE IS NO WAY TO ENTIRELY STOP", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:490:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 490 | font1->drawTextCentered (0, 7, -2.5, "THE PREDEFINED JOYSTICK BUTTONS:", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:491:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 491 | font1->drawTextCentered (0, 6, -2.5, "FIRE CANNON, DROP CHAFF/FLARE,", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:492:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 492 | font1->drawTextCentered (0, 5, -2.5, "FIRE MISSILE, CHOOSE MISSILE", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:496:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 496 | font1->drawTextCentered (0, 7, -2.5, "LEFT MOUSE BUTTON: FIRE CANNON", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:497:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 497 | font1->drawTextCentered (0, 6, -2.5, "RIGHT MOUSE BUTTON: FIRE MISSILE", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:498:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | font1->drawTextCentered (0, 5, -2.5, "BUT YOU SHOULD REALLY PREFER THE KEYBOARD", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:502:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 502 | font1->drawTextCentered (0, 6, -2.5, "NOW, LETS HAVE A LOOK AT SOME IMPORTANT KEYS", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:509:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 509 | font1->drawTextCentered (0, 7, -2.5, "A SUMMARY OF COMMANDS CAN BE FOUND IN THE MENU.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:510:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 510 | font1->drawTextCentered (0, 6, -2.5, "\"ESC\" WILL SHOW THE MENU", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:511:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 511 | font1->drawTextCentered (0, 5, -2.5, "AND RETURN BACK TO THE ACTION", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:528:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 528 | font1->drawTextCentered (0, 7, -2.5, "LOOK AT THE RADAR ON THE BOTTOM OF YOUR SCREEN.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:529:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 529 | font1->drawTextCentered (0, 6, -2.5, "THERE ARE ENEMIES REPRESENTED BY A YELLOW POINT (TARGETED)", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:530:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 530 | font1->drawTextCentered (0, 5, -2.5, "AND A RED POINT (NOT TARGETED)", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:536:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 536 | font1->drawTextCentered (0, 7, -2.5, "YOU MAY TARGET AN ENEMY USING THE COOLIE HAT,", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:540:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 540 | font1->drawTextCentered (0, 5, -2.5, "THEN APPROACH!", &textcolor); | ^~~~~~~~~~~~~~~~ mission.cpp:544:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 544 | font1->drawTextCentered (0, 7, -2.5, "YOU MAY TARGET AN ENEMY PRESSING", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:548:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 548 | font1->drawTextCentered (0, 5, -2.5, "THEN APPROACH!", &textcolor); | ^~~~~~~~~~~~~~~~ mission.cpp:553:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 553 | font1->drawTextCentered (0, 7, -2.5, "SHOOT THE TARGETS TO COMPLETE", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:554:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 554 | font1->drawTextCentered (0, 6, -2.5, "THIS TUTORIAL SUCCESSFULLY", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp: In member function 'virtual void MissionTutorial2::draw()': mission.cpp:649:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 649 | font1->drawTextCentered (0, 7, -2.5, "FIRSTLY, HAVE A LOOK AT YOUR MISSILES:", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:653:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 653 | font1->drawTextCentered (0, 5, -2.5, "AGM (AIR-GROUND-MISSILE) AND DF (DUMB FIRE)", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:657:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 657 | font1->drawTextCentered (0, 7, -2.5, "LET'S USE THE AGM: AS SOON AS THE TARGET", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:658:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 658 | font1->drawTextCentered (0, 6, -2.5, "IS LOCKED (YELLOW), SHOOT THE AGM AT ANY", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:659:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 659 | font1->drawTextCentered (0, 5, -2.5, "DIRECTION AND WATCH WHERE IT GOES.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:663:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 663 | font1->drawTextCentered (0, 7, -2.5, "THEN TRY A DF MISSILE BUT CAREFUL:", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:664:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 664 | font1->drawTextCentered (0, 6, -2.5, "IT IS QUITE 'DUMB' AND WILL FLY STRAIGHT AHEAD.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:668:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | font1->drawTextCentered (0, 6, -2.5, "HOWEVER, DF MISSILES WILL CAUSE MUCH MORE DAMAGE", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:672:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 672 | 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:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 724 | font1->drawTextCentered (0, 7, -2.5, "THE MENU OPTIONS/CONTROLS LETS YOU DEFINE DIFFICULTY", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:725:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 725 | font1->drawTextCentered (0, 6, -2.5, "AND REALISM. CHANGING THESE SETTINGS WILL ONLY HAVE", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:726:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 726 | font1->drawTextCentered (0, 5, -2.5, "EFFECT ON THE NEXT MISSION YOU START", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:730:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 730 | font1->drawTextCentered (0, 7, -2.5, "APART FROM YOUR CURRENT PHYSICS SETTINGS", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:731:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 731 | font1->drawTextCentered (0, 6, -2.5, "LET'S USE THE SIMULATION MODEL AND DISCUSS", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:732:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 732 | font1->drawTextCentered (0, 5, -2.5, "THE FOUR FORCES THRUST, DRAG, LIFT, AND WEIGHT", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:736:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 736 | font1->drawTextCentered (0, 7, -2.5, "THRUST IS FORWARD FORCE CREATED BY THE ENGINES.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:737:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 737 | font1->drawTextCentered (0, 6, -2.5, "CHANGE THE THRUST TO GAIN OR LOSE SPEED", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:741:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 741 | font1->drawTextCentered (0, 7, -2.5, "DRAG IS THE RETARDING FORCE THAT LIMITS THE AIRCRAFT'S", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:742:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 742 | font1->drawTextCentered (0, 6, -2.5, "SPEED. IT IS MAINLY CAUSED BY THE AIRCRAFT'S STRUCTURE", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:743:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 743 | font1->drawTextCentered (0, 5, -2.5, "THAT PROTUDES INTO THE WIND", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:747:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 747 | font1->drawTextCentered (0, 7, -2.5, "LIFT IS THE UPWARD FORCE CREATED BY THE AIRFLOW THAT PASSES", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:748:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 748 | font1->drawTextCentered (0, 6, -2.5, "OVER THE WINGS. IN STRAIGHT UNACCELERATED FLIGHT, IT", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:749:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 749 | font1->drawTextCentered (0, 5, -2.5, "COMPENSATES THE WEIGHT AND YOUR FIGHTER WON'T CLIMB OR DIVE", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:753:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 753 | font1->drawTextCentered (0, 7, -2.5, "THE LIFT FORCE DEPENDS ON THE SPEED:", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:754:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 754 | font1->drawTextCentered (0, 6, -2.5, "LOW SPEED WILL CAUSE THE AIRPLANE TO DIVE,", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:755:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 755 | font1->drawTextCentered (0, 5, -2.5, "AT HIGH SPEED IT WILL EVEN CLIMB", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:759:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 759 | font1->drawTextCentered (0, 7, -2.5, "NOW TRY THIS EFFECT BY FLYING STRAIGHT AHEAD AT 0 DEGREE", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:760:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 760 | font1->drawTextCentered (0, 6, -2.5, "ELEVATION WHILE USING THE LOWEST/HIGHEST THRUST SETTINGS", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:764:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 764 | font1->drawTextCentered (0, 7, -2.5, "IF YOU FLY A ROLL, THE LIFT WILL NOT OPPOSE THE THRUST", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:765:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 765 | font1->drawTextCentered (0, 6, -2.5, "AND YOU WILL LOSE HEIGHT. TRY!", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:769:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 769 | font1->drawTextCentered (0, 7, -2.5, "IF YOU ROLL TO THE SIDE, THE LIFT WILL TEAR THE AIRCRAFT", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:770:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 770 | font1->drawTextCentered (0, 6, -2.5, "FROM STRAIGHT FLIGHT TO A DIAGONAL DIRECTION WHILE", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:771:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 771 | font1->drawTextCentered (0, 5, -2.5, "LOSING HEIGHT. TRY!", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~ mission.cpp:775:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 775 | font1->drawTextCentered (0, 7, -2.5, "THE OVERALL FORCE IS GAINED BY ADDING THE FOUR FORCES.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:776:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 776 | font1->drawTextCentered (0, 6, -2.5, "IT IS MEASURED IN 'G' WITH 1G MEANING THE EARTH'S GRAVITY", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:780:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 780 | font1->drawTextCentered (0, 7, -2.5, "YOU ARE MOSTLY OPPOSED TO MORE THAN ONLY 1G. BE CAREFUL:", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:781:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 781 | font1->drawTextCentered (0, 6, -2.5, "9G OR MORE MAY LEAD TO A BLACKOUT,", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:782:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 782 | font1->drawTextCentered (0, 5, -2.5, "AT LESS THAN -3G THE BLOOD WILL SHOOT INTO YOUR HEAD", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:786:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 786 | font1->drawTextCentered (0, 7, -2.5, "NOW ROLL ON THE BACK AND GET RID OF", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:787:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 787 | font1->drawTextCentered (0, 6, -2.5, "THE TWO TRANSPORTERS AHEAD", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp: In member function 'virtual void MissionDogfight1::draw()': mission.cpp:907:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 907 | font1->drawTextCentered (0, 7, -2.5, "THAT WAS EASY", &textcolor); | ^~~~~~~~~~~~~~~ mission.cpp:908:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 908 | font1->drawTextCentered (0, 6, -2.5, "BUT CAN YOU HANDLE TWO ENEMIES?", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:913:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 913 | font1->drawTextCentered (0, 6, -2.5, "OK, LET'S TRY THREE ENEMIES", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:924:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 924 | font1->drawTextCentered (0, 7, -2.5, "THERE IS AN ENEMY ATTACKING", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:928:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 928 | font1->drawTextCentered (0, 5, -2.5, "SELECT A MISSILE", &textcolor); | ^~~~~~~~~~~~~~~~~~ mission.cpp:932:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 932 | font1->drawTextCentered (0, 7, -2.5, "CHOOSE A FRIEND-FOE (FF) MISSILE", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:933:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 933 | font1->drawTextCentered (0, 6, -2.5, "WHICH DETECTS ENEMIES BY RADAR.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:934:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 934 | font1->drawTextCentered (0, 5, -2.5, "SHOOT AS EARLY AS POSSIBLE", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:938:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 938 | font1->drawTextCentered (0, 7, -2.5, "YOU CAN ONLY FIRE MISSILES WHEN", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:939:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 939 | font1->drawTextCentered (0, 6, -2.5, "THE RECTANGULAR LOCK AROUND THE ENEMY", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:940:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 940 | font1->drawTextCentered (0, 5, -2.5, "APPEARS YELLOW", &textcolor); | ^~~~~~~~~~~~~~~~ mission.cpp:944:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 944 | font1->drawTextCentered (0, 7, -2.5, "CHECK THE CHAFF/FLARE DISPLAYS.", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:945:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 945 | font1->drawTextCentered (0, 6, -2.5, "IF THEY START BLINKING, AN ENEMY HAS", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:946:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 946 | font1->drawTextCentered (0, 5, -2.5, "FIRED A MISSILE TO GET YOU DOWN", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:950:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 950 | font1->drawTextCentered (0, 7, -2.5, "CHAFF IS A DECOY FOR RADAR SEEKING MISSILES,", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:951:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 951 | font1->drawTextCentered (0, 6, -2.5, "FLARES PROTECT FROM INFRARED MISSILES", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:959:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 959 | font1->drawTextCentered (0, 7, -2.5, "THE COUNTER MEASURE ONLY HAD AN EFFECT,", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:960:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 960 | font1->drawTextCentered (0, 6, -2.5, "IF THE DISPLAYS STOP BLINKING", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:964:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 964 | font1->drawTextCentered (0, 7, -2.5, "A LITTLE TARGETING HINT:", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp: In member function 'virtual void MissionFreeFlight1::draw()': mission.cpp:1079:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1079 | font1->drawTextCentered (0, 6, -2.5, "TRANSPORTERS RESPAWNING", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:1084:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1084 | font1->drawTextCentered (0, 6, -2.5, "TRANSPORTERS RESPAWNING", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp: In member function 'virtual void MissionWaves1::draw()': mission.cpp:1803:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1803 | font1->drawTextCentered (0, 6, -2.5, "NEXT WAVE - YOU ARE FULLY REPAIRED", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp:1808:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1808 | 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:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1984 | font1->drawTextCentered (0, 4, -2, "ALMOST! GET CLEARLY BEHIND HIM!", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp: In member function 'virtual void MissionDogfight2::draw()': mission.cpp:2240:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2240 | font1->drawTextCentered (0, 7, -3, "MORE ENEMIES ENTERING THE REGION", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp: In member function 'virtual void MissionDefend1::draw()': mission.cpp:2984:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2984 | font1->drawTextCentered (0, 7, -3, "MORE TANKS ARE ATTACKING", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp: In member function 'virtual void MissionDogfight3::draw()': mission.cpp:3090:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3090 | font1->drawTextCentered (0, 7, -3, "BOMBERS ARE ENTERING THE REGION", &textcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mission.cpp: In member function 'virtual void MissionMultiDogfight1::draw()': mission.cpp:4394:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 4394 | 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' i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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 In function 'proceedFire', inlined from 'init_timer' at main.cpp:4838:15, inlined from 'init_timer' at main.cpp:4798:6, inlined from 'myTimerFunc' at main.cpp:5228:16, inlined from 'sdlMainLoop' at main.cpp:5386:17: main.cpp:4762:17: warning: iteration 256 invokes undefined behavior [-Waggressive-loop-optimizations] 4762 | int h = heat [yind] [i2]; | ^ main.cpp:4757:21: note: within this loop 4757 | for (i2 = 0; i2 < maxfx + 1; i2 ++) | ^ 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.11393 + 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 + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + 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" /usr/bin/ginstall -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" /usr/bin/ginstall -c -m 644 'models/aster1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/aster1.3ds' /usr/bin/ginstall -c -m 644 'models/barrier.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/barrier.3ds' /usr/bin/ginstall -c -m 644 'models/base1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/base1.3ds' /usr/bin/ginstall -c -m 644 'models/cannon1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/cannon1.3ds' /usr/bin/ginstall -c -m 644 'models/cannon1b.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/cannon1b.3ds' /usr/bin/ginstall -c -m 644 'models/cannon2.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/cannon2.3ds' /usr/bin/ginstall -c -m 644 'models/cannon2b.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/cannon2b.3ds' /usr/bin/ginstall -c -m 644 'models/chaff1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/chaff1.3ds' /usr/bin/ginstall -c -m 644 'models/container1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/container1.3ds' /usr/bin/ginstall -c -m 644 'models/depot1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/depot1.3ds' /usr/bin/ginstall -c -m 644 'models/egg.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/egg.3ds' /usr/bin/ginstall -c -m 644 'models/flak2.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/flak2.3ds' /usr/bin/ginstall -c -m 644 'models/flarak1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/flarak1.3ds' /usr/bin/ginstall -c -m 644 'models/flare1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/flare1.3ds' /usr/bin/ginstall -c -m 644 'models/gl-117.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-117.3ds' /usr/bin/ginstall -c -m 644 'models/gl-14.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-14.3ds' /usr/bin/ginstall -c -m 644 'models/gl-14b.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-14b.3ds' /usr/bin/ginstall -c -m 644 'models/gl-14c.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-14c.3ds' /usr/bin/ginstall -c -m 644 'models/gl-14d.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-14d.3ds' /usr/bin/ginstall -c -m 644 'models/gl-15.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-15.3ds' /usr/bin/ginstall -c -m 644 'models/gl-16.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-16.3ds' /usr/bin/ginstall -c -m 644 'models/gl-21.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-21.3ds' /usr/bin/ginstall -c -m 644 'models/gl-21b.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-21b.3ds' /usr/bin/ginstall -c -m 644 'models/gl-29.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-29.3ds' /usr/bin/ginstall -c -m 644 'models/gl-50.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/gl-50.3ds' /usr/bin/ginstall -c -m 644 'models/hall1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/hall1.3ds' /usr/bin/ginstall -c -m 644 'models/hall2.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/hall2.3ds' /usr/bin/ginstall -c -m 644 'models/house1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/house1.3ds' /usr/bin/ginstall -c -m 644 'models/mine1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/mine1.3ds' /usr/bin/ginstall -c -m 644 'models/missile1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/missile1.3ds' /usr/bin/ginstall -c -m 644 'models/missile2.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/missile2.3ds' /usr/bin/ginstall -c -m 644 'models/missile3.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/missile3.3ds' /usr/bin/ginstall -c -m 644 'models/missile4.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/missile4.3ds' /usr/bin/ginstall -c -m 644 'models/missile5.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/missile5.3ds' /usr/bin/ginstall -c -m 644 'models/missile6.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/missile6.3ds' /usr/bin/ginstall -c -m 644 'models/missile7.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/missile7.3ds' /usr/bin/ginstall -c -m 644 'models/missile8.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/missile8.3ds' /usr/bin/ginstall -c -m 644 'models/oilrig.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/oilrig.3ds' /usr/bin/ginstall -c -m 644 'models/pickup1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/pickup1.3ds' /usr/bin/ginstall -c -m 644 'models/pickup2.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/pickup2.3ds' /usr/bin/ginstall -c -m 644 'models/radar.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/radar.3ds' /usr/bin/ginstall -c -m 644 'models/rubble.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/rubble.3ds' /usr/bin/ginstall -c -m 644 'models/ship1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/ship1.3ds' /usr/bin/ginstall -c -m 644 'models/ship2.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/ship2.3ds' /usr/bin/ginstall -c -m 644 'models/tank1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/tank1.3ds' /usr/bin/ginstall -c -m 644 'models/tank2.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/tank2.3ds' /usr/bin/ginstall -c -m 644 'models/tent1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/tent1.3ds' /usr/bin/ginstall -c -m 644 'models/tent4.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/tent4.3ds' /usr/bin/ginstall -c -m 644 'models/transp1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/transp1.3ds' /usr/bin/ginstall -c -m 644 'models/transp2.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/transp2.3ds' /usr/bin/ginstall -c -m 644 'models/transp4.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/transp4.3ds' /usr/bin/ginstall -c -m 644 'models/trsam.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/trsam.3ds' /usr/bin/ginstall -c -m 644 'models/truck1.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/truck1.3ds' /usr/bin/ginstall -c -m 644 'models/truck2.3ds' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/models/truck2.3ds' /usr/bin/ginstall -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" /usr/bin/ginstall -c -m 644 'music/ambient.s3m' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/music/ambient.s3m' /usr/bin/ginstall -c -m 644 'music/dark.s3m' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/music/dark.s3m' /usr/bin/ginstall -c -m 644 'music/electro.s3m' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/music/electro.s3m' /usr/bin/ginstall -c -m 644 'music/loser.s3m' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/music/loser.s3m' /usr/bin/ginstall -c -m 644 'music/softtec.s3m' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/music/softtec.s3m' /usr/bin/ginstall -c -m 644 'music/standby.s3m' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/music/standby.s3m' /usr/bin/ginstall -c -m 644 'music/stars.s3m' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/music/stars.s3m' /usr/bin/ginstall -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" /usr/bin/ginstall -c -m 644 'sounds/beep1.wav' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/sounds/beep1.wav' /usr/bin/ginstall -c -m 644 'sounds/beep2.wav' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/sounds/beep2.wav' /usr/bin/ginstall -c -m 644 'sounds/cannon1.wav' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/sounds/cannon1.wav' /usr/bin/ginstall -c -m 644 'sounds/chaff1.wav' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/sounds/chaff1.wav' /usr/bin/ginstall -c -m 644 'sounds/click1.wav' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/sounds/click1.wav' /usr/bin/ginstall -c -m 644 'sounds/explode1.wav' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/sounds/explode1.wav' /usr/bin/ginstall -c -m 644 'sounds/hit1.wav' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/sounds/hit1.wav' /usr/bin/ginstall -c -m 644 'sounds/missile1.wav' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/sounds/missile1.wav' /usr/bin/ginstall -c -m 644 'sounds/plane1.wav' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/sounds/plane1.wav' /usr/bin/ginstall -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" /usr/bin/ginstall -c -m 644 'textures/arrow.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/arrow.tga' /usr/bin/ginstall -c -m 644 'textures/aster1_n.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/aster1_n.tga' /usr/bin/ginstall -c -m 644 'textures/barrier_.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/barrier_.tga' /usr/bin/ginstall -c -m 644 'textures/base1_no.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/base1_no.tga' /usr/bin/ginstall -c -m 644 'textures/cactus1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/cactus1.tga' /usr/bin/ginstall -c -m 644 'textures/cactusu1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/cactusu1.tga' /usr/bin/ginstall -c -m 644 'textures/camoufl.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/camoufl.tga' /usr/bin/ginstall -c -m 644 'textures/chaff_ch.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/chaff_ch.tga' /usr/bin/ginstall -c -m 644 'textures/clouds1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/clouds1.tga' /usr/bin/ginstall -c -m 644 'textures/clouds2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/clouds2.tga' /usr/bin/ginstall -c -m 644 'textures/clouds3.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/clouds3.tga' /usr/bin/ginstall -c -m 644 'textures/cross.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/cross.tga' /usr/bin/ginstall -c -m 644 'textures/cross2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/cross2.tga' /usr/bin/ginstall -c -m 644 'textures/depot_fr.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/depot_fr.tga' /usr/bin/ginstall -c -m 644 'textures/eagle_gr.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/eagle_gr.tga' /usr/bin/ginstall -c -m 644 'textures/earth.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/earth.tga' /usr/bin/ginstall -c -m 644 'textures/egg_chec.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/egg_chec.tga' /usr/bin/ginstall -c -m 644 'textures/flare1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/flare1.tga' /usr/bin/ginstall -c -m 644 'textures/flare2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/flare2.tga' /usr/bin/ginstall -c -m 644 'textures/flare3.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/flare3.tga' /usr/bin/ginstall -c -m 644 'textures/flare4.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/flare4.tga' /usr/bin/ginstall -c -m 644 'textures/flare_ch.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/flare_ch.tga' /usr/bin/ginstall -c -m 644 'textures/font1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/font1.tga' /usr/bin/ginstall -c -m 644 'textures/font2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/font2.tga' /usr/bin/ginstall -c -m 644 'textures/gl-14_c2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-14_c2.tga' /usr/bin/ginstall -c -m 644 'textures/gl-14_ch.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-14_ch.tga' /usr/bin/ginstall -c -m 644 'textures/gl-14b_c.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-14b_c.tga' /usr/bin/ginstall -c -m 644 'textures/gl-14b_d.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-14b_d.tga' /usr/bin/ginstall -c -m 644 'textures/gl-14c_c.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-14c_c.tga' /usr/bin/ginstall -c -m 644 'textures/gl-14c_d.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-14c_d.tga' /usr/bin/ginstall -c -m 644 'textures/gl-14d_c.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-14d_c.tga' /usr/bin/ginstall -c -m 644 'textures/gl-14d_d.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-14d_d.tga' /usr/bin/ginstall -c -m 644 'textures/gl-15_c2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-15_c2.tga' /usr/bin/ginstall -c -m 644 'textures/gl-15_ch.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-15_ch.tga' /usr/bin/ginstall -c -m 644 'textures/gl-16_c2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-16_c2.tga' /usr/bin/ginstall -c -m 644 'textures/gl-16_ch.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-16_ch.tga' /usr/bin/ginstall -c -m 644 'textures/gl-21_c2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-21_c2.tga' /usr/bin/ginstall -c -m 644 'textures/gl-21_ch.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-21_ch.tga' /usr/bin/ginstall -c -m 644 'textures/gl-21b_c.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-21b_c.tga' /usr/bin/ginstall -c -m 644 'textures/gl-21b_d.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-21b_d.tga' /usr/bin/ginstall -c -m 644 'textures/gl-29_ch.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-29_ch.tga' /usr/bin/ginstall -c -m 644 'textures/gl-50_c2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-50_c2.tga' /usr/bin/ginstall -c -m 644 'textures/gl-50_ch.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gl-50_ch.tga' /usr/bin/ginstall -c -m 644 'textures/glitter.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/glitter.tga' /usr/bin/ginstall -c -m 644 'textures/grass1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/grass1.tga' /usr/bin/ginstall -c -m 644 'textures/gravel1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/gravel1.tga' /usr/bin/ginstall -c -m 644 'textures/greendrk.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/greendrk.tga' /usr/bin/ginstall -c -m 644 'textures/greenlit.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/greenlit.tga' /usr/bin/ginstall -c -m 644 'textures/greygrid.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/greygrid.tga' /usr/bin/ginstall -c -m 644 'textures/hall1b_g.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/hall1b_g.tga' /usr/bin/ginstall -c -m 644 'textures/hall2b_c.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/hall2b_c.tga' /usr/bin/ginstall -c -m 644 'textures/house_s1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/house_s1.tga' /usr/bin/ginstall -c -m 644 'textures/medals.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/medals.tga' /usr/bin/ginstall -c -m 644 'textures/moon1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/moon1.tga' /usr/bin/ginstall -c -m 644 'textures/oilrig_c.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/oilrig_c.tga' /usr/bin/ginstall -c -m 644 'textures/oilrig_c2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/oilrig_c2.tga' /usr/bin/ginstall -c -m 644 'textures/panzer1_.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/panzer1_.tga' /usr/bin/ginstall -c -m 644 'textures/panzer2_.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/panzer2_.tga' /usr/bin/ginstall -c -m 644 'textures/patents.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/patents.tga' /usr/bin/ginstall -c -m 644 'textures/radar1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/radar1.tga' /usr/bin/ginstall -c -m 644 'textures/radar2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/radar2.tga' /usr/bin/ginstall -c -m 644 'textures/ranks.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/ranks.tga' /usr/bin/ginstall -c -m 644 'textures/redsand1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/redsand1.tga' /usr/bin/ginstall -c -m 644 'textures/redstone2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/redstone2.tga' /usr/bin/ginstall -c -m 644 'textures/rocks1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/rocks1.tga' /usr/bin/ginstall -c -m 644 'textures/roof.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/roof.tga' /usr/bin/ginstall -c -m 644 'textures/sand1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/sand1.tga' /usr/bin/ginstall -c -m 644 'textures/ship2_fr.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/ship2_fr.tga' /usr/bin/ginstall -c -m 644 'textures/ship_fra.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/ship_fra.tga' /usr/bin/ginstall -c -m 644 'textures/smoke1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/smoke1.tga' /usr/bin/ginstall -c -m 644 'textures/smoke2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/smoke2.tga' /usr/bin/ginstall -c -m 644 'textures/smoke3.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/smoke3.tga' /usr/bin/ginstall -c -m 644 'textures/sun2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/sun2.tga' /usr/bin/ginstall -c -m 644 'textures/tent1_no.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/tent1_no.tga' /usr/bin/ginstall -c -m 644 'textures/tent4_fr.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/tent4_fr.tga' /usr/bin/ginstall -c -m 644 'textures/title.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/title.tga' /usr/bin/ginstall -c -m 644 'textures/transp2_.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/transp2_.tga' /usr/bin/ginstall -c -m 644 'textures/transp4_.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/transp4_.tga' /usr/bin/ginstall -c -m 644 'textures/tree1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/tree1.tga' /usr/bin/ginstall -c -m 644 'textures/tree2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/tree2.tga' /usr/bin/ginstall -c -m 644 'textures/tree3.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/tree3.tga' /usr/bin/ginstall -c -m 644 'textures/tree4.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/tree4.tga' /usr/bin/ginstall -c -m 644 'textures/tree5.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/tree5.tga' /usr/bin/ginstall -c -m 644 'textures/treeu1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/treeu1.tga' /usr/bin/ginstall -c -m 644 'textures/treeu2.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/treeu2.tga' /usr/bin/ginstall -c -m 644 'textures/treeu3.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/treeu3.tga' /usr/bin/ginstall -c -m 644 'textures/treeu4.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/treeu4.tga' /usr/bin/ginstall -c -m 644 'textures/treeu5.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/treeu5.tga' /usr/bin/ginstall -c -m 644 'textures/water1.tga' '/usr/src/tmp/gl-117-buildroot/usr/share/gl-117/textures/water1.tga' /usr/bin/ginstall -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,gnuconfig) 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) verify-elf: WARNING: ./usr/bin/gl-117: uses non-LFS functions: fopen stat Splitting links to aliased files under /{,s}bin in /usr/src/tmp/gl-117-buildroot Processing files: gl-117-1.3.2-alt1.qa1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.3381 + 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.5h8GXM find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.AxKvBa find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) lib.req: WARNING: /usr/src/tmp/gl-117-buildroot/usr/bin/gl-117: overlinked libraries: /lib/libglut.so.3 Requires: libSDL, libfreeglut, libSDL_gfx, libSDL_image, libSDL_mixer, libGL, libGLU, /lib/ld-linux.so.2, libGL.so.1 >= set:pjdsnIDZqi0ePe9EsA49a15e0ibi77xQLc49ZqZ7Q9yxsQXifjXQcu8HhszmGBkZFbwXa2Or8Z7YJllOyecZHi1r88w6n1SVfHLVva1Zpi86zniTtqaL5wC3Etgw1a4gNY9zqc15FglDML4LCTuEptAHpsZyWp62ZlZeZIW4m3NPWEINnTQz3RJDsiwR1M0, libGLU.so.1 >= set:jg1tSXJgZiwQQ9TZk, libSDL-1.2.so.0 >= set:lgkZiA9PeeJKTvAZel3rZ8p3dAOFOOeDjzdynk5oESsSJqphTPwsHJP3, libSDL_mixer-1.2.so.0 >= set:kfMSUHfEkJV4ppOfcrzhUp9FKHkbGeIH2mZzZk1tg0, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.38), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libglut.so.3, libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.1), libm.so.6(GLIBC_2.27), libm.so.6(GLIBC_2.29), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), 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.fUOBsm 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.rbLBBY find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VmptXq find-requires: running scripts (debuginfo) Requires: gl-117 = 1.3.2-alt1.qa1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libGL.so.1), debug(libGLU.so.1), debug(libSDL-1.2.so.0), debug(libSDL_mixer-1.2.so.0), debug(libc.so.6), debug(libgcc_s.so.1), debug(libglut.so.3), debug(libm.so.6), debug(libstdc++.so.6) Wrote: /usr/src/RPM/RPMS/i586/gl-117-1.3.2-alt1.qa1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/gl-117-debuginfo-1.3.2-alt1.qa1.i586.rpm (w2.lzdio) 23.95user 7.44system 0:18.31elapsed 171%CPU (0avgtext+0avgdata 71680maxresident)k 0inputs+0outputs (0major+1493164minor)pagefaults 0swaps /.out/gl-117-1.3.2-alt1.qa1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/gl-117-debuginfo-1.3.2-alt1.qa1.i586.rpm: The use of such a license name is ambiguous: GPL 3.54user 3.13system 0:36.24elapsed 18%CPU (0avgtext+0avgdata 131044maxresident)k 1080inputs+0outputs (0major+236742minor)pagefaults 0swaps --- gl-117-1.3.2-alt1.qa1.i586.rpm.repo 2013-04-18 10:00:49.000000000 +0000 +++ gl-117-1.3.2-alt1.qa1.i586.rpm.hasher 2024-12-21 08:21:38.292144141 +0000 @@ -179,7 +179,7 @@ Requires: /lib/ld-linux.so.2 -Requires: libGL.so.1 >= set:ohKMwXxnA8HD4UQksb04ZEFi0LLJ326EM9m18Es9hG4kw3wI8twzgWb3ZtCpkz9E08kcgVhSks43ZGciLGQPoDCsunSuom7NRc4OU8KFp4xNqqbYj58P9o1sl4ATgingcubtYfxRe4cbW8ZHmM622os5SVfSLgYl23QT48gp0fe4NYy3NriwW08 +Requires: libGL.so.1 >= set:pjdsnIDZqi0ePe9EsA49a15e0ibi77xQLc49ZqZ7Q9yxsQXifjXQcu8HhszmGBkZFbwXa2Or8Z7YJllOyecZHi1r88w6n1SVfHLVva1Zpi86zniTtqaL5wC3Etgw1a4gNY9zqc15FglDML4LCTuEptAHpsZyWp62ZlZeZIW4m3NPWEINnTQz3RJDsiwR1M0 Requires: rpmlib(SetVersions) -Requires: libGLU.so.1 >= set:jf2WETbxY5gW9ZCqIZ1Qs5 +Requires: libGLU.so.1 >= set:jg1tSXJgZiwQQ9TZk Requires: libSDL-1.2.so.0 >= set:lgkZiA9PeeJKTvAZel3rZ8p3dAOFOOeDjzdynk5oESsSJqphTPwsHJP3 -Requires: libSDL_mixer-1.2.so.0 >= set:lgId6Jjiv40wTYkGZizCvMId6xjPFFmmtUKaIZnZkhtg0 +Requires: libSDL_mixer-1.2.so.0 >= set:kfMSUHfEkJV4ppOfcrzhUp9FKHkbGeIH2mZzZk1tg0 Requires: libc.so.6(GLIBC_2.0) @@ -189,8 +189,16 @@ Requires: libc.so.6(GLIBC_2.3.4) +Requires: libc.so.6(GLIBC_2.33) +Requires: libc.so.6(GLIBC_2.34) +Requires: libc.so.6(GLIBC_2.38) Requires: libc.so.6(GLIBC_2.4) +Requires: libc.so.6(GLIBC_2.7) Requires: libgcc_s.so.1(GCC_3.0) -Requires: libglut.so.3 >= set:liRZ5Cw5YdW19QmGZFRlGD +Requires: libgcc_s.so.1(GCC_3.3.1) +Requires: libglut.so.3 Requires: libm.so.6(GLIBC_2.0) Requires: libm.so.6(GLIBC_2.1) +Requires: libm.so.6(GLIBC_2.27) +Requires: libm.so.6(GLIBC_2.29) Requires: libstdc++.so.6(CXXABI_1.3) +Requires: libstdc++.so.6(CXXABI_1.3.9) Requires: libstdc++.so.6(GLIBCXX_3.4) @@ -199,3 +207,3 @@ Provides: gl-117 = 1.3.2-alt1.qa1 -File: /usr/bin/gl-117 100755 root:root ebcf1c3445257e82e455136aeff69509 +File: /usr/bin/gl-117 100755 root:root 28d619de67907568384641d5d46c9b69 File: /usr/share/doc/gl-117-1.3.2 40755 root:root @@ -370,2 +378,2 @@ File: /usr/share/gl-117/textures/wheel.tga 100644 root:root 3822d5102f9c3f56a114c4564d77fbac -RPMIdentity: 66fbed52931641b9f2b59cc9b8c224e09b9a2b1de53803353856c8dcb609e00ba6871d209fa7bc25421cfdc6450c30bcb8fa75ef444fca63ba5e6447dced4e5b +RPMIdentity: d2af7b13c6adc619a0bebe87ffaf2c63c625a7ecc0608a008df83b061cfae2f6711c38dd1d49c141b636c7a6dcfec46e7322839b0d839f8fd63e1cc159bcd54c --- gl-117-debuginfo-1.3.2-alt1.qa1.i586.rpm.repo 2013-04-18 10:00:49.000000000 +0000 +++ gl-117-debuginfo-1.3.2-alt1.qa1.i586.rpm.hasher 2024-12-21 08:21:38.368145468 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/39 40755 root:root -/usr/lib/debug/.build-id/39/ef3135735066ea6909f7a106bc767b93b5c249 120777 root:root ../../../../bin/gl-117 -/usr/lib/debug/.build-id/39/ef3135735066ea6909f7a106bc767b93b5c249.debug 120777 root:root ../../usr/bin/gl-117.debug +/usr/lib/debug/.build-id/ba 40755 root:root +/usr/lib/debug/.build-id/ba/0d1bd1d0d2a755c4318e6689e3799e09f478a6 120777 root:root ../../../../bin/gl-117 +/usr/lib/debug/.build-id/ba/0d1bd1d0d2a755c4318e6689e3799e09f478a6.debug 120777 root:root ../../usr/bin/gl-117.debug /usr/lib/debug/usr/bin/gl-117.debug 100644 root:root @@ -67,6 +67,6 @@ Provides: gl-117-debuginfo = 1.3.2-alt1.qa1 -File: /usr/lib/debug/.build-id/39 40755 root:root -File: /usr/lib/debug/.build-id/39/ef3135735066ea6909f7a106bc767b93b5c249 120777 root:root ../../../../bin/gl-117 -File: /usr/lib/debug/.build-id/39/ef3135735066ea6909f7a106bc767b93b5c249.debug 120777 root:root ../../usr/bin/gl-117.debug -File: /usr/lib/debug/usr/bin/gl-117.debug 100644 root:root a3aa742285931c55f69aea05e5fee482 +File: /usr/lib/debug/.build-id/ba 40755 root:root +File: /usr/lib/debug/.build-id/ba/0d1bd1d0d2a755c4318e6689e3799e09f478a6 120777 root:root ../../../../bin/gl-117 +File: /usr/lib/debug/.build-id/ba/0d1bd1d0d2a755c4318e6689e3799e09f478a6.debug 120777 root:root ../../usr/bin/gl-117.debug +File: /usr/lib/debug/usr/bin/gl-117.debug 100644 root:root 978696322f15eaf414a475ae02c5184c File: /usr/src/debug/gl-117-1.3.2-src 40755 root:root @@ -121,2 +121,2 @@ File: /usr/src/debug/gl-117-1.3.2-src/src/vertexarray.h 100644 root:root 87e237e45f314bef94d49e57f6c5f233 -RPMIdentity: 712d8cc67e8ecae70efb569e7686075be188366b54bd08eb7d32d89ef4e4f2eb1ca4016eee975503457b1bc4c2a1061df2311ac620e937d2c3fac8a34686cceb +RPMIdentity: df687ab6496838877d8c4c6bc0c286672d12d2a2eb3ddb2dcce1a0a32a9e0f4fb7d2bb0ac5be9253b6922521c366bf9e34721a836cd17f1ee578937ca57e96db