Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/g/gl-117/gl-117_1.3.2-3+b1_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/gl-117-1.3.2-3+b1usrzwbnh/gl-117_1.3.2-3_amd64.buildinfo Get source package info: gl-117=1.3.2-3 Source URL: http://snapshot.notset.fr/mr/package/gl-117/1.3.2-3/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-10 automake=1:1.15-6 autopoint=0.19.8.1-2 autotools-dev=20161112.1 base-files=9.8 base-passwd=3.5.43 bash=4.4-4+b1 binutils=2.28-1 bsdmainutils=9.0.12 bsdutils=1:2.29.1-1 build-essential=12.3 bzip2=1.0.6-8.1 coreutils=8.26-3 cpp=4:6.3.0-1 cpp-6=6.3.0-8 dash=0.5.8-2.4 debconf=1.5.60 debhelper=10.2.5 debianutils=4.8.1 dh-autoreconf=13 dh-python=2.20170125 dh-strip-nondeterminism=0.031-1 diffutils=1:3.5-3 dpkg=1.18.22 dpkg-dev=1.18.22 e2fslibs=1.43.4-2 e2fsprogs=1.43.4-2 file=1:5.29-3 findutils=4.6.0+git+20161106-2 freeglut3=2.8.1-3 freeglut3-dev=2.8.1-3 g++=4:6.3.0-1 g++-6=6.3.0-8 gcc=4:6.3.0-1 gcc-6=6.3.0-8 gcc-6-base=6.3.0-8 gettext=0.19.8.1-2 gettext-base=0.19.8.1-2 grep=2.27-2 groff-base=1.22.3-9 gzip=1.6-5+b1 hostname=3.18+b1 init-system-helpers=1.47 intltool-debian=0.35.0+20060710.4 libacl1=2.2.52-3+b1 libarchive-zip-perl=1.59-1 libasan3=6.3.0-8 libasound2=1.1.3-5 libasound2-data=1.1.3-5 libasound2-dev=1.1.3-5 libasyncns0=0.8-6 libatomic1=6.3.0-8 libattr1=1:2.4.47-2+b2 libaudit-common=1:2.6.7-1 libaudit1=1:2.6.7-1 libblkid1=2.29.1-1 libbsd0=0.8.3-1 libbz2-1.0=1.0.6-8.1 libc-bin=2.24-9 libc-dev-bin=2.24-9 libc6=2.24-9 libc6-dev=2.24-9 libcaca-dev=0.99.beta19-2+b2 libcaca0=0.99.beta19-2+b2 libcap-ng0=0.7.7-3+b1 libcap2=1:2.25-1 libcc1-0=6.3.0-8 libcilkrts5=6.3.0-8 libcomerr2=1.43.4-2 libcroco3=0.6.11-2 libdb5.3=5.3.28-12+b1 libdbus-1-3=1.10.16-1 libdebconfclient0=0.225 libdpkg-perl=1.18.22 libdrm-amdgpu1=2.4.74-1 libdrm-dev=2.4.74-1 libdrm-intel1=2.4.74-1 libdrm-nouveau2=2.4.74-1 libdrm-radeon1=2.4.74-1 libdrm2=2.4.74-1 libelf1=0.168-0.2 libexpat1=2.2.0-2 libfdisk1=2.29.1-1 libffi6=3.2.1-6 libfile-stripnondeterminism-perl=0.031-1 libflac-dev=1.3.2-1 libflac8=1.3.2-1 libfluidsynth1=1.1.6-4 libgcc-6-dev=6.3.0-8 libgcc1=1:6.3.0-8 libgcrypt20=1.7.6-1 libgdbm3=1.8.3-14 libgl1-mesa-dev=13.0.5-1 libgl1-mesa-glx=13.0.5-1 libglapi-mesa=13.0.5-1 libglib2.0-0=2.50.3-1 libglib2.0-bin=2.50.3-1 libglib2.0-data=2.50.3-1 libglib2.0-dev=2.50.3-1 libglu1-mesa=9.0.0-2.1 libglu1-mesa-dev=9.0.0-2.1 libgmp10=2:6.1.2+dfsg-1 libgomp1=6.3.0-8 libgpg-error0=1.26-2 libice-dev=2:1.0.9-2 libice6=2:1.0.9-2 libicu57=57.1-5 libisl15=0.18-1 libitm1=6.3.0-8 libjack-jackd2-0=1.9.10+20150825git1ed50c92~dfsg-4+b1 liblsan0=6.3.0-8 liblz4-1=0.0~r131-2+b1 liblzma5=5.2.2-1.2+b1 libmad0=0.15.1b-8 libmad0-dev=0.15.1b-8 libmagic-mgc=1:5.29-3 libmagic1=1:5.29-3 libmikmod-config=3.3.10-1 libmikmod-dev=3.3.10-1 libmikmod3=3.3.10-1 libmount1=2.29.1-1 libmpc3=1.0.3-1 libmpdec2=2.4.2-1 libmpfr4=3.1.5-1 libmpx2=6.3.0-8 libncurses5=6.0+20161126-1 libncursesw5=6.0+20161126-1 libogg-dev=1.3.2-1 libogg0=1.3.2-1 libopenal-data=1:1.17.2-4 libopenal1=1:1.17.2-4+b2 libopus0=1.2~alpha2-1 libpam-modules=1.1.8-3.5 libpam-modules-bin=1.1.8-3.5 libpam-runtime=1.1.8-3.5 libpam0g=1.1.8-3.5 libpciaccess0=0.13.4-1 libpcre16-3=2:8.39-2.1 libpcre3=2:8.39-2.1 libpcre3-dev=2:8.39-2.1 libpcre32-3=2:8.39-2.1 libpcrecpp0v5=2:8.39-2.1 libperl5.24=5.24.1-1 libpipeline1=1.4.1-2 libpng-dev=1.6.28-1 libpng16-16=1.6.28-1 libpthread-stubs0-dev=0.3-4 libpulse-dev=10.0-1 libpulse-mainloop-glib0=10.0-1 libpulse0=10.0-1 libpython3-stdlib=3.5.3-1 libpython3.5-minimal=3.5.3-1 libpython3.5-stdlib=3.5.3-1 libquadmath0=6.3.0-8 libreadline7=7.0-2 libsamplerate0=0.1.8-8+b2 libsdl-mixer1.2=1.2.12-11+b1 libsdl-mixer1.2-dev=1.2.12-11+b1 libsdl1.2-dev=1.2.15+dfsg1-4 libsdl1.2debian=1.2.15+dfsg1-4 libselinux1=2.6-3 libsemanage-common=2.6-2 libsemanage1=2.6-2 libsepol1=2.6-2 libsigsegv2=2.10-5 libslang2=2.3.1-5 libslang2-dev=2.3.1-5 libsm-dev=2:1.2.2-1+b1 libsm6=2:1.2.2-1+b1 libsmartcols1=2.29.1-1 libsndfile1=1.0.27-1+b1 libsndio6.1=1.1.0-3 libsqlite3-0=3.16.2-3 libss2=1.43.4-2 libssl1.1=1.1.0e-1 libstdc++-6-dev=6.3.0-8 libstdc++6=6.3.0-8 libsystemd0=232-19 libtimedate-perl=2.3000-2 libtinfo5=6.0+20161126-1 libtool=2.4.6-2 libtsan0=6.3.0-8 libubsan0=6.3.0-8 libudev1=232-19 libunistring0=0.9.6+really0.9.3-0.1 libustr-1.0-1=1.0.4-6 libuuid1=2.29.1-1 libvorbis-dev=1.3.5-4 libvorbis0a=1.3.5-4 libvorbisenc2=1.3.5-4 libvorbisfile3=1.3.5-4 libwrap0=7.6.q-26 libx11-6=2:1.6.4-3 libx11-data=2:1.6.4-3 libx11-dev=2:1.6.4-3 libx11-xcb-dev=2:1.6.4-3 libx11-xcb1=2:1.6.4-3 libxau-dev=1:1.0.8-1 libxau6=1:1.0.8-1 libxcb-dri2-0=1.12-1 libxcb-dri2-0-dev=1.12-1 libxcb-dri3-0=1.12-1 libxcb-dri3-dev=1.12-1 libxcb-glx0=1.12-1 libxcb-glx0-dev=1.12-1 libxcb-present-dev=1.12-1 libxcb-present0=1.12-1 libxcb-randr0=1.12-1 libxcb-randr0-dev=1.12-1 libxcb-render0=1.12-1 libxcb-render0-dev=1.12-1 libxcb-shape0=1.12-1 libxcb-shape0-dev=1.12-1 libxcb-sync-dev=1.12-1 libxcb-sync1=1.12-1 libxcb-xfixes0=1.12-1 libxcb-xfixes0-dev=1.12-1 libxcb1=1.12-1 libxcb1-dev=1.12-1 libxdamage-dev=1:1.1.4-2+b1 libxdamage1=1:1.1.4-2+b1 libxdmcp-dev=1:1.1.2-3 libxdmcp6=1:1.1.2-3 libxext-dev=2:1.3.3-1 libxext6=2:1.3.3-1 libxfixes-dev=1:5.0.3-1 libxfixes3=1:5.0.3-1 libxi6=2:1.7.9-1 libxml2=2.9.4+dfsg1-2.2 libxshmfence-dev=1.2-1 libxshmfence1=1.2-1 libxt-dev=1:1.1.5-1 libxt6=1:1.1.5-1 libxtst6=2:1.2.3-1 libxxf86vm-dev=1:1.1.4-1 libxxf86vm1=1:1.1.4-1 linux-libc-dev=4.9.13-1 login=1:4.4-4 lsb-base=9.20161125 m4=1.4.18-1 make=4.1-9.1 man-db=2.7.6.1-2 mawk=1.3.3-17+b3 mesa-common-dev=13.0.5-1 mime-support=3.60 mount=2.29.1-1 multiarch-support=2.24-9 ncurses-base=6.0+20161126-1 ncurses-bin=6.0+20161126-1 passwd=1:4.4-4 patch=2.7.5-1+b2 perl=5.24.1-1 perl-base=5.24.1-1 perl-modules-5.24=5.24.1-1 pkg-config=0.29-4+b1 po-debconf=1.0.20 python3=3.5.3-1 python3-minimal=3.5.3-1 python3.5=3.5.3-1 python3.5-minimal=3.5.3-1 readline-common=7.0-2 sed=4.4-1 sensible-utils=0.0.9 sysvinit-utils=2.88dsf-59.9 tar=1.29b-1.1 util-linux=2.29.1-1 x11-common=1:7.7+18 x11proto-core-dev=7.0.31-1 x11proto-damage-dev=1:1.2.1-2 x11proto-dri2-dev=2.8-2 x11proto-fixes-dev=1:5.0-2 x11proto-gl-dev=1.4.17-1 x11proto-input-dev=2.3.2-1 x11proto-kb-dev=1.0.7-1 x11proto-xext-dev=7.3.0-1 x11proto-xf86vidmode-dev=2.3.1-2 xorg-sgml-doctools=1:1.11-1 xtrans-dev=1.3.5-1 xz-utils=5.2.2-1.2+b1 zlib1g=1:1.2.8.dfsg-5 zlib1g-dev=1:1.2.8.dfsg-5 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20170306T032500Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d gl-117=1.3.2-3 && mkdir -p /build/gl-117-3o63tC && dpkg-source --no-check -x /*.dsc /build/gl-117-3o63tC/gl-117-1.3.2 && cd /build/gl-117-3o63tC/gl-117-1.3.2 && { printf '%s' 'gl-117 (1.3.2-3+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * rebuild with PIE -- amd64 Build Daemon (binet) Sun, 05 Jun 2016 03:24:12 +0200 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/gl-117-3o63tC" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/gl-117-3o63tC/gl-117-1.3.2 && env DEB_BUILD_OPTIONS="parallel=4" SOURCE_DATE_EPOCH="1465089852" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/gl-117-3o63tC /tmp/gl-117-1.3.2-3+b1usrzwbnh stretch /dev/null deb http://snapshot.notset.fr/archive/debian/20170306T032500Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.CmoGLb9knQ as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.CmoGLb9knQ Reading package lists... Building dependency tree... util-linux is already the newest version (2.29.1-1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 131 kB of archives. After this operation, 374 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20170306T032500Z unstable/main amd64 libfakeroot amd64 1.21-3.1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20170306T032500Z unstable/main amd64 fakeroot amd64 1.21-3.1 [85.6 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 131 kB in 0s (1181 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4401 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.21-3.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.21-3.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.21-3.1_amd64.deb ... Unpacking fakeroot (1.21-3.1) ... Processing triggers for libc-bin (2.24-9) ... Setting up libfakeroot:amd64 (1.21-3.1) ... Setting up fakeroot (1.21-3.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.24-9) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20170306T032500Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.CmoGLb9knQ Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20170306T032500Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 20s (1087 kB/s) Reading package lists... W: Problem unlinking the file auxfiles - Clean (21: Is a directory) I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.CmoGLb9knQ I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d gl-117=1.3.2-3 && mkdir -p /build/gl-117-3o63tC && dpkg-source --no-check -x /*.dsc /build/gl-117-3o63tC/gl-117-1.3.2 && cd /build/gl-117-3o63tC/gl-117-1.3.2 && { printf '%s' 'gl-117 (1.3.2-3+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * rebuild with PIE -- amd64 Build Daemon (binet) Sun, 05 Jun 2016 03:24:12 +0200 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/gl-117-3o63tC"' exec /tmp/mmdebstrap.CmoGLb9knQ Reading package lists... Need to get 3182 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main gl-117 1.3.2-3 (dsc) [1982 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main gl-117 1.3.2-3 (tar) [3174 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main gl-117 1.3.2-3 (diff) [6640 B] Fetched 3182 kB in 2s (1175 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'gl-117_1.3.2-3.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting gl-117 in /build/gl-117-3o63tC/gl-117-1.3.2 dpkg-source: info: unpacking gl-117_1.3.2.orig.tar.gz dpkg-source: info: unpacking gl-117_1.3.2-3.debian.tar.xz dpkg-source: info: applying hardening.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/gl-117-3o63tC/gl-117-1.3.2 && env DEB_BUILD_OPTIONS="parallel=4" SOURCE_DATE_EPOCH="1465089852" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.CmoGLb9knQ dpkg-buildpackage: info: source package gl-117 dpkg-buildpackage: info: source version 1.3.2-3+b1 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by amd64 Build Daemon (binet) dpkg-source --before-build gl-117-1.3.2 dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean --with autoreconf dh_testdir dh_auto_clean dh_autoreconf_clean dh_clean debian/rules build-arch dh build-arch --with autoreconf dh_testdir -a dh_update_autotools_config -a dh_autoreconf -a aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:13: warning: underquoted definition of GL_PATH_CHECK configure.in:13: run info Automake 'Extending aclocal' configure.in:13: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:2: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:7: installing './compile' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' debian/rules override_dh_auto_configure make[1]: Entering directory '/build/gl-117-3o63tC/gl-117-1.3.2' dh_auto_configure -- \ --prefix=/usr \ --bindir=\${prefix}/games \ --datadir=\${prefix}/share/games ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --bindir=\${prefix}/games --datadir=\${prefix}/share/games configure: WARNING: unrecognized options: --disable-maintainer-mode checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to run the C preprocessor... 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 g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking whether make sets $(MAKE)... (cached) yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for OpenGL directory... /usr checking for SDL directory... /usr checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking GL/glu.h usability... yes checking GL/glu.h presence... yes checking for GL/glu.h... yes checking GL/glut.h usability... yes checking GL/glut.h presence... yes checking for GL/glut.h... yes checking SDL/SDL.h usability... yes checking SDL/SDL.h presence... yes checking for SDL/SDL.h... yes checking SDL/SDL_mixer.h usability... yes checking SDL/SDL_mixer.h presence... yes checking for SDL/SDL_mixer.h... yes checking for glEnable in -lGL... yes checking for gluPerspective in -lGLU... yes checking for glutMainLoop in -lglut... yes checking for SDL_Init in -lSDL... yes checking for Mix_LoadMUS in -lSDL_mixer... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-maintainer-mode make[1]: Leaving directory '/build/gl-117-3o63tC/gl-117-1.3.2' dh_auto_build -a make -j1 make[1]: Entering directory '/build/gl-117-3o63tC/gl-117-1.3.2' make all-recursive make[2]: Entering directory '/build/gl-117-3o63tC/gl-117-1.3.2' Making all in src make[3]: Entering directory '/build/gl-117-3o63tC/gl-117-1.3.2/src' g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o main.o main.cpp main.cpp: In function ‘int game_levelInit()’: main.cpp:669:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Could not startup mission", LOG_ERROR); ^ main.cpp: In function ‘void switch_mission(int)’: main.cpp:1188:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Could not init mission", LOG_ERROR); ^ main.cpp: In function ‘void drawQuads(CColor*)’: main.cpp:1864:18: warning: variable ‘yf’ set but not used [-Wunused-but-set-variable] float zf = -3, yf; ^~ main.cpp: In function ‘void pleaseWait()’: main.cpp:1974:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, -0.5, -1.5, "PLEASE WAIT...", &colorwhite); ^ main.cpp: In function ‘void stats_key(unsigned char, int, int)’: main.cpp:1983:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] 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*’ [-Wpedantic] 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*’ [-Wpedantic] 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*’ [-Wpedantic] return "THE HAWK II IS A ..."; ^~~~~~~~~~~~~~~~~~~~~~ main.cpp:2088:10: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] return "NO INFO"; ^~~~~~~~~ main.cpp: In function ‘char* getModelName(int)’: main.cpp:2094:12: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] return "GL-16 FALCON"; ^~~~~~~~~~~~~~ main.cpp:2096:12: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] return "GL-22 HAWK"; ^~~~~~~~~~~~ main.cpp:2098:12: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] return "GL-23 HAWK II"; ^~~~~~~~~~~~~~~ main.cpp:2100:12: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] return "GL-15 REDARROW"; ^~~~~~~~~~~~~~~~ main.cpp:2102:12: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] return "GL-117 PHOENIX"; ^~~~~~~~~~~~~~~~ main.cpp:2104:12: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] return "GL-50 STORM"; ^~~~~~~~~~~~~ main.cpp:2106:12: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] return "CROW"; ^~~~~~ main.cpp:2108:12: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] return "BUZZARD"; ^~~~~~~~~ main.cpp:2110:12: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] return "SWALLOW"; ^~~~~~~~~ main.cpp:2112:12: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] return "BLACKBIRD"; ^~~~~~~~~~~ main.cpp:2114:12: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] return "AIR-AIR MISSILE PACK"; ^~~~~~~~~~~~~~~~~~~~~~ main.cpp:2116:12: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] return "AIR-GROUND MISSILE PACK"; ^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:2118:12: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] return "DUMB FIRE MISSILE PACK"; ^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:2119:10: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] return "NO INFO"; ^~~~~~~~~ main.cpp: In function ‘void mission_display()’: main.cpp:2280:78: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (textx / fontscale, texty / fontscale, -2, "BRIEFING:", col); ^ main.cpp:2286:78: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (xstats / fontscale, ystats / fontscale, -2, "STATUS:", col); ^ main.cpp:2288:88: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (xstatstab / fontscale, ystats / fontscale, -2, "SUCCESS", colorstd); ^ main.cpp:2290:87: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (xstatstab / fontscale, ystats / fontscale, -2, "FAILED", colorstd); ^ main.cpp:2292:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (xstatstab / fontscale, ystats / fontscale, -2, "EMPTY", colorstd); ^ main.cpp:2296:78: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (xstats / fontscale, texty / fontscale, -2, "SCORE:", col); ^ main.cpp:2302:78: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (xstats / fontscale, texty / fontscale, -2, "KILLS:", col); ^ main.cpp:2310:78: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (xstats / fontscale, texty / fontscale, -2, "SCORE:", col); ^ main.cpp:2311:83: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (xstatstab / fontscale, texty / fontscale, -2, "TRAINING", col); ^ main.cpp:2314:77: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (textx / fontscale, piloty / fontscale, -2, "PILOTS:", col); ^ main.cpp:2327:81: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (textx / fontscale, -1 / fontscale, -2, "CHOOSE FIGHTER:", col); ^ main.cpp:2328:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (xstats / fontscale, -1 / fontscale, -2, "CHOOSE WEAPON PACK:", col); ^ main.cpp: In function ‘void create_display()’: main.cpp:2382:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 9, -1.5, "CREATE GAME"); ^ main.cpp:2385:80: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextScaled (-2, -12, -2, "BACK", colorstd, -missionmenutimer * 5); ^ main.cpp:2387:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (-2, -12, -2, "BACK"); ^ main.cpp: In function ‘void join_display()’: main.cpp:2426:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 9, -1.5, "JOIN GAME"); ^ main.cpp:2429:80: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextScaled (-2, -12, -2, "BACK", colorstd, -missionmenutimer * 5); ^ main.cpp:2431:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (-2, -12, -2, "BACK"); ^ main.cpp: In function ‘void game_quit()’: main.cpp:2583:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] pilots->save (dirs->getSaves ("pilots")); ^ main.cpp:2584:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Pilots saved", LOG_MOST); ^ main.cpp: In function ‘void stats_display()’: main.cpp:2700:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2, "SUCCESS", &colorblue); ^ main.cpp:2704:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2, "FAILED", &colorred); ^ main.cpp:2707:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (xf1, yf, zf, "SCORE:", color); ^ main.cpp:2712:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (xf1, yf, zf, "DIFFICULTY:", color); ^ main.cpp:2713:76: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] if (mission->difficulty == 0) font1->drawText (xf2, yf, zf, "EASY", color); ^ main.cpp:2714:83: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else if (mission->difficulty == 1) font1->drawText (xf2, yf, zf, "NORMAL", color); ^ main.cpp:2715:81: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else if (mission->difficulty == 2) font1->drawText (xf2, yf, zf, "HARD", color); ^ main.cpp:2716:75: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] if (mission->difficulty == 0) font1->drawText (xf3, yf, zf, "-25", color); ^ main.cpp:2717:80: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else if (mission->difficulty == 1) font1->drawText (xf3, yf, zf, "+25", color); ^ main.cpp:2718:80: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else if (mission->difficulty == 2) font1->drawText (xf3, yf, zf, "+75", color); ^ main.cpp:2721:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (xf1, yf, zf, "FLIGHT MODEL:", color); ^ main.cpp:2722:71: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] if (!fplayer->realism) font1->drawText (xf2, yf, zf, "ACTION", color); ^ main.cpp:2723:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else font1->drawText (xf2, yf, zf, "SIM", color); ^ main.cpp:2724:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] if (!fplayer->realism) font1->drawText (xf3, yf, zf, "-25", color); ^ main.cpp:2725:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else font1->drawText (xf3, yf, zf, "+25", color); ^ main.cpp:2731:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (xf1, yf, zf, "TIME BONUS:", color); ^ main.cpp:2738:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (xf1, yf, zf, "SHIELD BONUS:", color); ^ main.cpp:2744:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (xf1, yf, zf, "KILLS:", color); ^ main.cpp:2782:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, yf, zf, "PROMOTED TO", color); ^ main.cpp: In function ‘int selectMouse(int, int, int, int, int, bool)’: main.cpp:2893:7: warning: variable ‘pick’ set but not used [-Wunused-but-set-variable] int pick [100]; ^~~~ main.cpp: In function ‘void pause_display()’: main.cpp:2938:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (-3, -1, -1, "PAUSED", &colorwhite); ^ main.cpp: In function ‘void credits_display()’: main.cpp:3009:89: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font2->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "GAME PROGRAMMING,", col); ^ main.cpp:3010:103: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font2->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "GRAPHICS, MODELS, SOUND & MUSIC", col); ^ main.cpp:3011:88: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "THOMAS A. DREXL", col2); ^ main.cpp:3015:92: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "SPECIAL THANKS TO...", col); ^ main.cpp:3016:103: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "LENS FLARES & FURTHER DEBUGGING", col); ^ main.cpp:3017:85: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "PIOTR PAWLOW", col2); ^ main.cpp:3018:112: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "MOUSE INTERFACE & LANDSCAPE IMPROVEMENTS", col); ^ main.cpp:3019:85: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "LOURENS VEEN", col2); ^ main.cpp:3020:103: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "PUBLISHING & FURTHER GAME IDEAS", col); ^ main.cpp:3021:88: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "BERNHARD KAINDL", col2); ^ main.cpp:3022:84: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "MOON TERRAIN", col); ^ main.cpp:3023:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "NORBERT DREXL", col2); ^ main.cpp:3024:118: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "PHYSICAL MODEL (ACTION) & COCKPIT IMPROVEMENTS", col); ^ main.cpp:3025:85: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, (yt -= 2 * ydist) / fontzoom, zf, "ARNE REINERS", col2); ^ main.cpp:3026:126: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font2->drawTextCentered (0, (yt -= 4 * ydist) / fontzoom, zf, "...AND THANKS TO ALL PEOPLE GIVING FEEDBACK AND ADVICE", col); ^ main.cpp:3031:96: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, (yt -= 10 * ydist) / fontzoom, zf, "***********************", col); ^ main.cpp:3032:99: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, (yt -= 10 * ydist) / fontzoom, zf, "DO YOU WANT TO CONTRIBUTE?", col); ^ main.cpp:3036:108: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font2->drawText (xf / fontzoom, (yt -= 4 * ydist) / fontzoom, zf, "LOTS OF THINGS ARE STILL NEEDED:", col); ^ main.cpp:3037:116: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- DRAW TEXTURES OF TREES, BUILDINGS, ETC", col); ^ main.cpp:3038:94: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- DESIGN 3D MODELS", col); ^ main.cpp:3039:96: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- CREATE SOUNDTRACKS", col); ^ main.cpp:3040:102: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- MAKE MISSION SUGGESTIONS", col); ^ main.cpp:3041:102: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font2->drawText (xf / fontzoom, (yt -= 2 * ydist) / fontzoom, zf, "- GIVE FEEDBACK AND ADVICE", col); ^ main.cpp: In function ‘void finish_display()’: main.cpp:3052:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 12, -3, "CONGRATULATIONS!", col); ^ main.cpp:3053:81: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 10, -3, "THE WORLD HAS BEEN SAVED YET AGAIN.", col); ^ main.cpp:3054:77: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -3, "HOPE YOU HAD FUN PLAYING GL-117!", col); ^ main.cpp:3055:92: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 4, -3, "THIS GAME HAS ORIGINALLY BEEN DEVELOPED AS PART", col); ^ main.cpp:3056:96: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 2, -3, "OF THE COURSE \"APPLICATIONS OF COMPUTER GRAPHICS\"", col); ^ main.cpp:3057:92: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 0, -3, "AT THE TECHNICAL UNIVERSITY OF MUNICH, GERMANY.", col); ^ main.cpp:3058:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, -2, -3, "IN FEBRUARY 2002 THE WORK WAS DONE AND I", col); ^ main.cpp:3059:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, -4, -3, "PRESENTED THE PROTOTYPE OF A FLIGHT SIM,", col); ^ main.cpp:3060:92: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, -6, -3, "YET WITHOUT TEXTURES, JOYSTICK, SOUNDS, MUSIC,", col); ^ main.cpp:3061:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, -8, -3, "NO CAMPAIGN!", col); ^ main.cpp:3062:102: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, -10, -3, "TWO MONTHS LATER THE FIRST RELEASE OF GL-117 WAS READY.", col); ^ main.cpp:3063:95: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, -12, -3, "FURTHER RELEASES FOLLOWED, FEEDBACK ARRIVED, AND", col); ^ main.cpp:3064:98: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, -14, -3, "PROGRAMMERS JOINED (LISTED IN THE CREDITS SECTION).", col); ^ main.cpp:3065:100: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, -16, -3, "SPECIAL THANKS TO JOSEF DREXL FOR THE MODELING IDEAS,", col); ^ main.cpp:3066:93: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, -18, -3, "AND THE UNIX AWARD GOES TO WOLFGANG HOMMEL ;-)", col); ^ main.cpp: In function ‘void quit_display()’: main.cpp:3075:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 0, -2, "REALLY QUIT?", &menu_colwhite); ^ main.cpp: In function ‘void game_display()’: main.cpp:3578:76: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 0, -1.8, "PLEASE WAIT WHILE", &colorred); ^ main.cpp:3579:77: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, -1, -1.8, "ADJUSTING QUALITY", &colorred); ^ main.cpp:3585:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, -8, -2, "FPS TOO LOW", &colorred); ^ main.cpp:3586:79: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, -9, -2, "TURN DOWN VIEW OR QUALITY", &colorred); ^ main.cpp:3591:69: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, -8, -2, "FPS FAR TOO LOW", &colorred); ^ main.cpp:3592:85: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, -9, -2, "SEE \"README\" OR \"FAQ\" FILES", &colorred); ^ main.cpp:3593:91: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, -10, -2, "HIT \"ESC\" AND 'Y' TO EXIT THE GAME", &colorred); ^ main.cpp:3249:9: warning: variable ‘fac’ set but not used [-Wunused-but-set-variable] float fac = view, zfac = view * 0.2; ^~~ main.cpp:3249:21: warning: variable ‘zfac’ set but not used [-Wunused-but-set-variable] float fac = view, zfac = view * 0.2; ^~~~ main.cpp: In function ‘void myFirstInit()’: main.cpp:4298:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Creating calculation tables", LOG_ALL); ^ main.cpp:4301:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Creating advanced OpenGL methods", LOG_ALL); ^ main.cpp:4305:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Loading textures", LOG_ALL); ^ main.cpp:4306:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texgrass = gl->genTextureTGA (dirs->getTextures ("grass1.tga"), 0, 0, 1, false); ^ main.cpp:4307:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texrocks = gl->genTextureTGA (dirs->getTextures ("rocks1.tga"), 0, 0, 1, false); ^ main.cpp:4308:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texwater = gl->genTextureTGA (dirs->getTextures ("water1.tga"), 0, 0, 1, false); ^ main.cpp:4309:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texsand = gl->genTextureTGA (dirs->getTextures ("sand1.tga"), 0, 0, 1, false); ^ main.cpp:4310:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texredsand = gl->genTextureTGA (dirs->getTextures ("redsand1.tga"), 0, 0, 1, false); ^ main.cpp:4311:70: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texredstone = gl->genTextureTGA (dirs->getTextures ("redstone2.tga"), 0, 0, 1, false); ^ main.cpp:4312:67: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texgravel1 = gl->genTextureTGA (dirs->getTextures ("gravel1.tga"), 0, 0, 1, false); ^ main.cpp:4313:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texglitter1 = gl->genTextureTGA (dirs->getTextures ("glitter.tga"), 0, -1, 0, true); ^ main.cpp:4314:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] textree = gl->genTextureTGA (dirs->getTextures ("tree1.tga"), 0, -1, 1, true); ^ main.cpp:4315:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] textreeu = gl->genTextureTGA (dirs->getTextures ("treeu1.tga"), 0, -1, 1, true); ^ main.cpp:4316:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] textree2 = gl->genTextureTGA (dirs->getTextures ("tree2.tga"), 0, -1, 1, true); ^ main.cpp:4317:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] textreeu2 = gl->genTextureTGA (dirs->getTextures ("treeu2.tga"), 0, -1, 1, true); ^ main.cpp:4318:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] textree3 = gl->genTextureTGA (dirs->getTextures ("tree3.tga"), 0, 3, 1, true); ^ main.cpp:4319:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] textreeu3 = gl->genTextureTGA (dirs->getTextures ("treeu3.tga"), 0, 3, 1, true); ^ main.cpp:4320:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] textree4 = gl->genTextureTGA (dirs->getTextures ("tree4.tga"), 0, 3, 1, true); ^ main.cpp:4321:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] textreeu4 = gl->genTextureTGA (dirs->getTextures ("treeu4.tga"), 0, 3, 1, true); ^ main.cpp:4322:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] textree5 = gl->genTextureTGA (dirs->getTextures ("tree5.tga"), 0, -1, 1, true); ^ main.cpp:4323:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] textreeu5 = gl->genTextureTGA (dirs->getTextures ("treeu5.tga"), 0, -1, 1, true); ^ main.cpp:4324:67: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texcactus1 = gl->genTextureTGA (dirs->getTextures ("cactus1.tga"), 0, 3, 1, true); ^ main.cpp:4325:69: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texcactusu1 = gl->genTextureTGA (dirs->getTextures ("cactusu1.tga"), 0, 3, 1, true); ^ main.cpp:4326:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texsmoke = gl->genTextureTGA (dirs->getTextures ("smoke1.tga"), 0, -1, 1, true); ^ main.cpp:4327:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texsmoke2 = gl->genTextureTGA (dirs->getTextures ("smoke2.tga"), 0, -1, 1, true); ^ main.cpp:4328:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texsmoke3 = gl->genTextureTGA (dirs->getTextures ("smoke3.tga"), 0, 5, 1, true); ^ main.cpp:4329:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texsun = gl->genTextureTGA (dirs->getTextures ("sun2.tga"), 1, -1, 0, true); ^ main.cpp:4330:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texmoon = gl->genTextureTGA (dirs->getTextures ("moon1.tga"), 1, 2, 0, true); ^ main.cpp:4331:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texearth = gl->genTextureTGA (dirs->getTextures ("earth.tga"), 1, 0, 0, true); ^ main.cpp:4332:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texflare1 = gl->genTextureTGA (dirs->getTextures ("flare1.tga"), 1, -1, 0, true); ^ main.cpp:4333:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texflare2 = gl->genTextureTGA (dirs->getTextures ("flare2.tga"), 1, -1, 0, true); ^ main.cpp:4334:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texflare3 = gl->genTextureTGA (dirs->getTextures ("flare3.tga"), 1, -1, 0, true); ^ main.cpp:4335:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texflare4 = gl->genTextureTGA (dirs->getTextures ("flare4.tga"), 1, -1, 0, true); ^ main.cpp:4336:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texcross = gl->genTextureTGA (dirs->getTextures ("cross.tga"), 0, -1, 1, true); ^ main.cpp:4337:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texcross2 = gl->genTextureTGA (dirs->getTextures ("cross2.tga"), 0, -1, 1, true); ^ main.cpp:4338:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texranks = gl->genTextureTGA (dirs->getTextures ("ranks.tga"), 0, 0, 0, true); ^ main.cpp:4339:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texmedals = gl->genTextureTGA (dirs->getTextures ("medals.tga"), 0, 0, 0, true); ^ main.cpp:4340:67: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texclouds1 = gl->genTextureTGA (dirs->getTextures ("clouds1.tga"), 0, -1, 1, true); ^ main.cpp:4341:67: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texclouds2 = gl->genTextureTGA (dirs->getTextures ("clouds2.tga"), 0, 4, 1, true); ^ main.cpp:4342:67: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texclouds3 = gl->genTextureTGA (dirs->getTextures ("clouds3.tga"), 0, 6, 1, true); ^ main.cpp:4343:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texradar1 = gl->genTextureTGA (dirs->getTextures ("radar2.tga"), 0, -1, 0, true); ^ main.cpp:4344:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texradar2 = gl->genTextureTGA (dirs->getTextures ("radar1.tga"), 0, -1, 0, true); ^ main.cpp:4345:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] texarrow = gl->genTextureTGA (dirs->getTextures ("arrow.tga"), 0, -1, 0, true); ^ main.cpp:4347:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Loading Fonts", LOG_ALL); ^ main.cpp:4348:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1 = new Font (dirs->getTextures ("font1.tga"), 32, '!', 64); ^ main.cpp:4350:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font2 = new Font (dirs->getTextures ("font2.tga"), 32, '!', 64); ^ main.cpp:4352:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Loading 3ds models:", LOG_ALL); ^ main.cpp:4353:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * gl-16.3ds", LOG_ALL); ^ main.cpp:4354:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_fig, dirs->getModels ("gl-16.3ds")); ^ main.cpp:4355:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_fig.setName ("FALCON"); ^ main.cpp:4356:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * gl-15.3ds", LOG_ALL); ^ main.cpp:4357:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_figa, dirs->getModels ("gl-15.3ds")); ^ main.cpp:4358:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_figa.setName ("SWALLOW"); ^ main.cpp:4359:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * gl-14c.3ds", LOG_ALL); ^ main.cpp:4360:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_figb, dirs->getModels ("gl-14c.3ds")); ^ main.cpp:4361:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_figb.setName ("HAWK"); ^ main.cpp:4362:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * gl-14d.3ds", LOG_ALL); ^ main.cpp:4363:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_figc, dirs->getModels ("gl-14d.3ds")); ^ main.cpp:4364:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_figc.setName ("HAWK II"); ^ main.cpp:4365:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * gl-21b.3ds", LOG_ALL); ^ main.cpp:4366:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_figd, dirs->getModels ("gl-21b.3ds")); ^ main.cpp:4367:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_figd.setName ("BUZZARD"); ^ main.cpp:4368:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * gl-21.3ds", LOG_ALL); ^ main.cpp:4369:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_fige, dirs->getModels ("gl-21.3ds")); ^ main.cpp:4370:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_fige.setName ("CROW"); ^ main.cpp:4371:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * gl-14b.3ds", LOG_ALL); ^ main.cpp:4372:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_figf, dirs->getModels ("gl-14b.3ds")); ^ main.cpp:4373:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_figf.setName ("PHOENIX"); ^ main.cpp:4374:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * gl-14.3ds", LOG_ALL); ^ main.cpp:4375:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_figg, dirs->getModels ("gl-14.3ds")); ^ main.cpp:4376:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_figg.setName ("RED ARROW"); ^ main.cpp:4377:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * gl-29.3ds", LOG_ALL); ^ main.cpp:4378:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_figh, dirs->getModels ("gl-29.3ds")); ^ main.cpp:4379:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_figh.setName ("BLACKBIRD"); ^ main.cpp:4381:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * gl-50.3ds", LOG_ALL); ^ main.cpp:4382:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_figi, dirs->getModels ("gl-50.3ds")); ^ main.cpp:4383:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_figi.setName ("STORM"); ^ main.cpp:4384:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * transp2.3ds", LOG_ALL); ^ main.cpp:4385:67: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_figt, dirs->getModels ("transp2.3ds")); ^ main.cpp:4386:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_figt.setName ("TRANSPORT"); ^ main.cpp:4387:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * transp4.3ds", LOG_ALL); ^ main.cpp:4388:67: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_figu, dirs->getModels ("transp4.3ds")); ^ main.cpp:4389:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_figu.setName ("TRANSPORT"); ^ main.cpp:4393:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * cannon1.3ds", LOG_ALL); ^ main.cpp:4394:70: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_cannon1, dirs->getModels ("cannon1.3ds")); ^ main.cpp:4396:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * cannon1b.3ds", LOG_ALL); ^ main.cpp:4397:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_cannon1b, dirs->getModels ("cannon1b.3ds")); ^ main.cpp:4401:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * cannon2.3ds", LOG_ALL); ^ main.cpp:4402:70: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_cannon2, dirs->getModels ("cannon2.3ds")); ^ main.cpp:4416:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * cannon2b.3ds", LOG_ALL); ^ main.cpp:4417:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_cannon2b, dirs->getModels ("cannon2b.3ds")); ^ main.cpp:4434:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * flare1.3ds", LOG_ALL); ^ main.cpp:4435:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_flare1, dirs->getModels ("flare1.3ds")); ^ main.cpp:4436:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_flare1.setName ("FLARE"); ^ main.cpp:4439:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * chaff1.3ds", LOG_ALL); ^ main.cpp:4440:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_chaff1, dirs->getModels ("chaff1.3ds")); ^ main.cpp:4441:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_chaff1.setName ("CHAFF"); ^ main.cpp:4444:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * missile1.3ds", LOG_ALL); ^ main.cpp:4445:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_missile1, dirs->getModels ("missile1.3ds")); ^ main.cpp:4446:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_missile1.setName ("AAM HS MK1"); ^ main.cpp:4447:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * missile2.3ds", LOG_ALL); ^ main.cpp:4448:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_missile2, dirs->getModels ("missile2.3ds")); ^ main.cpp:4449:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_missile2.setName ("AAM HS MK2"); ^ main.cpp:4450:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * missile3.3ds", LOG_ALL); ^ main.cpp:4451:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_missile3, dirs->getModels ("missile3.3ds")); ^ main.cpp:4452:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_missile3.setName ("AAM HS MK3"); ^ main.cpp:4453:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * missile4.3ds", LOG_ALL); ^ main.cpp:4454:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_missile4, dirs->getModels ("missile4.3ds")); ^ main.cpp:4455:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_missile4.setName ("AGM MK1"); ^ main.cpp:4456:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * missile5.3ds", LOG_ALL); ^ main.cpp:4457:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_missile5, dirs->getModels ("missile5.3ds")); ^ main.cpp:4458:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_missile5.setName ("AGM MK2"); ^ main.cpp:4459:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * missile6.3ds", LOG_ALL); ^ main.cpp:4460:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_missile6, dirs->getModels ("missile6.3ds")); ^ main.cpp:4461:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_missile6.setName ("DFM"); ^ main.cpp:4462:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * missile7.3ds", LOG_ALL); ^ main.cpp:4463:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_missile7, dirs->getModels ("missile7.3ds")); ^ main.cpp:4464:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_missile7.setName ("AAM FF MK1"); ^ main.cpp:4465:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * missile8.3ds", LOG_ALL); ^ main.cpp:4466:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_missile8, dirs->getModels ("missile8.3ds")); ^ main.cpp:4467:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_missile8.setName ("AAM FF MK2"); ^ main.cpp:4468:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * flak2.3ds", LOG_ALL); ^ main.cpp:4469:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_flak1, dirs->getModels ("flak2.3ds")); ^ main.cpp:4470:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_flak1.setName ("SA CANNON"); ^ main.cpp:4471:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * flarak1.3ds", LOG_ALL); ^ main.cpp:4472:70: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_flarak1, dirs->getModels ("flarak1.3ds")); ^ main.cpp:4473:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_flarak1.setName ("SAM"); ^ main.cpp:4474:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * ship1.3ds", LOG_ALL); ^ main.cpp:4475:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_ship1, dirs->getModels ("ship1.3ds")); ^ main.cpp:4476:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_ship1.setName ("CRUISER"); ^ main.cpp:4477:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * tent1.3ds", LOG_ALL); ^ main.cpp:4478:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_tent1, dirs->getModels ("tent1.3ds")); ^ main.cpp:4479:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_tent1.setName ("TENT"); ^ main.cpp:4480:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * gl-117.3ds", LOG_ALL); ^ main.cpp:4481:67: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_gl117, dirs->getModels ("gl-117.3ds")); ^ main.cpp:4483:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * tank1.3ds", LOG_ALL); ^ main.cpp:4484:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_tank1, dirs->getModels ("tank1.3ds")); ^ main.cpp:4485:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_tank1.setName ("WIESEL"); ^ main.cpp:4487:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * container1.3ds", LOG_ALL); ^ main.cpp:4488:76: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_container1, dirs->getModels ("container1.3ds")); ^ main.cpp:4489:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_container1.setName ("CONTAINER"); ^ main.cpp:4490:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * ship2.3ds", LOG_ALL); ^ main.cpp:4491:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_ship2, dirs->getModels ("ship2.3ds")); ^ main.cpp:4492:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_ship2.setName ("LIGHT DESTROYER"); ^ main.cpp:4493:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * truck1.3ds", LOG_ALL); ^ main.cpp:4494:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_truck1, dirs->getModels ("truck1.3ds")); ^ main.cpp:4495:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_truck1.setName ("TRUCK"); ^ main.cpp:4496:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * truck2.3ds", LOG_ALL); ^ main.cpp:4497:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_truck2, dirs->getModels ("truck2.3ds")); ^ main.cpp:4498:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_truck2.setName ("TRUCK"); ^ main.cpp:4499:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * trsam.3ds", LOG_ALL); ^ main.cpp:4500:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_trsam, dirs->getModels ("trsam.3ds")); ^ main.cpp:4501:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_trsam.setName ("MOBILE SAM"); ^ main.cpp:4502:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * pickup1.3ds", LOG_ALL); ^ main.cpp:4503:70: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_pickup1, dirs->getModels ("pickup1.3ds")); ^ main.cpp:4504:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_pickup1.setName ("PICKUP"); ^ main.cpp:4505:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * pickup2.3ds", LOG_ALL); ^ main.cpp:4506:70: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_pickup2, dirs->getModels ("pickup2.3ds")); ^ main.cpp:4507:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_pickup2.setName ("PICKUP"); ^ main.cpp:4508:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * tank2.3ds", LOG_ALL); ^ main.cpp:4509:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_tank2, dirs->getModels ("tank2.3ds")); ^ main.cpp:4510:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_tank2.setName ("PANTHER"); ^ main.cpp:4512:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * tent4.3ds", LOG_ALL); ^ main.cpp:4513:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_tent4, dirs->getModels ("tent4.3ds")); ^ main.cpp:4514:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_tent4.setName ("BIG TENT"); ^ main.cpp:4515:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * hall1.3ds", LOG_ALL); ^ main.cpp:4516:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_hall1, dirs->getModels ("hall1.3ds")); ^ main.cpp:4517:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_hall1.setName ("HALL"); ^ main.cpp:4518:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * hall2.3ds", LOG_ALL); ^ main.cpp:4519:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_hall2, dirs->getModels ("hall2.3ds")); ^ main.cpp:4520:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_hall2.setName ("HALL"); ^ main.cpp:4521:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * oilrig.3ds", LOG_ALL); ^ main.cpp:4522:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_oilrig, dirs->getModels ("oilrig.3ds")); ^ main.cpp:4523:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_oilrig.setName ("OILRIG"); ^ main.cpp:4525:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * egg.3ds", LOG_ALL); ^ main.cpp:4526:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_egg, dirs->getModels ("egg.3ds")); ^ main.cpp:4528:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_egg.setName ("COMPLEX"); ^ main.cpp:4529:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * radar.3ds", LOG_ALL); ^ main.cpp:4530:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_radar, dirs->getModels ("radar.3ds")); ^ main.cpp:4531:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_radar.setName ("RADAR"); ^ main.cpp:4532:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * mine1.3ds", LOG_ALL); ^ main.cpp:4533:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_mine1, dirs->getModels ("mine1.3ds")); ^ main.cpp:4534:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_mine1.setName ("MINE"); ^ main.cpp:4535:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * aster1.3ds", LOG_ALL); ^ main.cpp:4536:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_aster1, dirs->getModels ("aster1.3ds")); ^ main.cpp:4537:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_aster1.setName ("ASTEROID"); ^ main.cpp:4538:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * base1.3ds", LOG_ALL); ^ main.cpp:4539:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_base1, dirs->getModels ("base1.3ds")); ^ main.cpp:4540:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_base1.setName ("MOON BASE"); ^ main.cpp:4541:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * barrier.3ds", LOG_ALL); ^ main.cpp:4542:71: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_barrier1, dirs->getModels ("barrier.3ds")); ^ main.cpp:4543:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_barrier1.setName ("MOON BASE"); ^ main.cpp:4546:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * rubble.3ds", LOG_ALL); ^ main.cpp:4547:69: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_rubble1, dirs->getModels ("rubble.3ds")); ^ main.cpp:4548:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_base1.setName ("RUBBLE"); ^ main.cpp:4549:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" * depot1.3ds", LOG_ALL); ^ main.cpp:4550:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_depot1, dirs->getModels ("depot1.3ds")); ^ main.cpp:4551:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_depot1.setName ("DEPOT"); ^ main.cpp:4553:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] g_Load3ds.Import3DS (&model_house1, dirs->getModels ("house1.3ds")); ^ main.cpp:4554:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] model_house1.setName ("HOUSE"); ^ main.cpp:4573:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Setting up world geometry", LOG_ALL); ^ main.cpp:4602:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] textitle = gl->genTextureTGA (dirs->getTextures ("patents.tga"), 0, 0, 0, true); ^ main.cpp: In function ‘void init_display()’: main.cpp:4718:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font2->drawText (20, -20, -3, VERSIONSTRING, &color); ^ main.cpp: In function ‘void myTimerFunc(int)’: main.cpp:5220:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Out of sync", LOG_ERROR); ^ main.cpp: In function ‘void config_test(int, char**)’: main.cpp:5577:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("No configuration file found. Testing...", LOG_MOST); ^ main.cpp:5587:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Using SDL and GLUT", LOG_MOST); ^ main.cpp:5616:133: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("No working display modes found! Try editing the file conf yourself. You may not be able to play this game.", LOG_FATAL); ^ main.cpp: In function ‘void viewParameters()’: main.cpp:5635:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" ", LOG_NONE); ^ main.cpp:5636:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Usage: gl-117 [-h -v -dLEVEL]", LOG_NONE); ^ main.cpp:5637:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" ", LOG_NONE); ^ main.cpp:5638:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("-h: Display this help screen and quit", LOG_NONE); ^ main.cpp:5639:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("-v: Display version string and quit", LOG_NONE); ^ main.cpp:5640:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("-dLEVEL: Set debug LEVEL to 0=silent...5=log all", LOG_NONE); ^ main.cpp:5641:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (" ", LOG_NONE); ^ main.cpp: In function ‘void checkargs(int, char**)’: main.cpp:5657:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Invalid debug level", LOG_FATAL); ^ main.cpp:5669:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display (VERSIONSTRING, LOG_NONE); ^ main.cpp:5679:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Invalid command line parameter", LOG_FATAL); ^ main.cpp: In function ‘void callbackJoystickAxis(Component*, int)’: main.cpp:5824:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] la->setText ("N/A"); ^ main.cpp: In function ‘void setpilotstext()’: main.cpp:5889:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] ((Label *) submenu [0]->components [i + 2])->setText ("N/A"); ^ main.cpp: In function ‘void callbackPilotsAdd(Component*, int)’: main.cpp:5902:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] ((EditField *) submenu [0]->components [9])->setText (""); ^ main.cpp: In function ‘void callbackDefaultsJoystick(Component*, int)’: main.cpp:6036:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] ((Label *) controlsmenu [2]->components [z])->setText ("A 0"); ^ main.cpp:6038:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] ((Label *) controlsmenu [2]->components [z])->setText ("A 1"); ^ main.cpp:6040:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] ((Label *) controlsmenu [2]->components [z])->setText ("A 2"); ^ main.cpp:6042:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] ((Label *) controlsmenu [2]->components [z])->setText ("A 3"); ^ main.cpp:6044:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] ((Label *) controlsmenu [2]->components [z])->setText ("A 4"); ^ main.cpp:6046:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] ((Label *) controlsmenu [2]->components [z])->setText ("A 5"); ^ main.cpp: In function ‘void callbackFullscreen(Component*, int)’: main.cpp:6308:79: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] if (wantfullscreen) ((Label *) optmenu [0]->components [18])->setText ("YES"); ^ main.cpp:6309:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else ((Label *) optmenu [0]->components [18])->setText ("NO"); ^ main.cpp: In function ‘void createMenu()’: main.cpp:6571:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("DELETE (RIGHT MB)"); ^ main.cpp:6578:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("ADD"); ^ main.cpp:6634:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("FIGHTER INFO"); ^ main.cpp:6686:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("PILOTS RANKING"); ^ main.cpp:6728:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("QUALITY"); ^ main.cpp:6740:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("VIEW"); ^ main.cpp:6752:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("DITHERING"); ^ main.cpp:6765:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("ANTIALIASING"); ^ main.cpp:6778:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("SPECIAL EFFECTS"); ^ main.cpp:6791:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("DYN LIGHTING"); ^ main.cpp:6804:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("BRIGHTNESS"); ^ main.cpp:6824:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("RESOLUTION"); ^ main.cpp:6836:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("FULLSCREEN"); ^ main.cpp:6862:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("SOUND VOLUME"); ^ main.cpp:6875:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("MUSIC VOLUME"); ^ main.cpp:6905:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("DIFFICULTY"); ^ main.cpp:6919:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("PHYSICS"); ^ main.cpp:6932:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("CONTROLS"); ^ main.cpp:6957:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] label = new Label ("ROLL: \t LEFT, RIGHT"); ^ main.cpp:6962:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] label = new Label ("ELEVATOR: \t UP, DOWN"); ^ main.cpp:6967:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] label = new Label ("RUDDER: \t LSHIFT+ROLL"); ^ main.cpp:6972:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] label = new Label ("THROTTLE: \t 1...9"); ^ main.cpp:6977:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] label = new Label ("CAMERA: \t F1...F8"); ^ main.cpp:7020:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("LOAD DEFAULTS"); ^ main.cpp:7033:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("SENSITIVITY"); ^ main.cpp:7045:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("REVERSE"); ^ main.cpp:7058:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("RELATIVE"); ^ main.cpp:7071:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("AUTORUDDER"); ^ main.cpp:7106:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("LOAD DEFAULTS"); ^ main.cpp:7121:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("AILERON"); ^ main.cpp:7132:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("ELEVATOR"); ^ main.cpp:7143:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("THROTTLE"); ^ main.cpp:7154:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("RUDDER"); ^ main.cpp:7165:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("VIEW X"); ^ main.cpp:7176:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("VIEW Y"); ^ main.cpp:7212:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("LOAD DEFAULTS"); ^ main.cpp:7232:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] textfield = new TextField ("", yfstep - 0.1); ^ main.cpp:7266:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] textfield = new TextField ("", yfstep - 0.1); ^ main.cpp:7271:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button ("<"); ^ main.cpp:7275:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button (">"); ^ main.cpp:7279:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] textfield = new TextField ("", yfstep - 0.1); ^ main.cpp:7334:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button (" BACK TO MAIN MENU"); ^ main.cpp:7339:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button (" START MISSION"); ^ main.cpp:7358:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button (" YES"); ^ main.cpp:7363:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button (" NO"); ^ main.cpp:7382:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] button = new Button (" CONTINUE"); ^ main.cpp: In function ‘int main(int, char**)’: main.cpp:7421:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Getting directory locations", LOG_ALL); ^ main.cpp:7426:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Creating new configuration", LOG_ALL); ^ main.cpp:7444:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Creating/Loading pilots list", LOG_ALL); ^ main.cpp:7445:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] pilots = new PilotList (dirs->getSaves ("pilots")); // look at pilots.h ^ main.cpp:7498:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Using SDL and GLUT", LOG_MOST); ^ main.cpp:7533:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Setting SDL caption", LOG_ALL); ^ main.cpp:7538:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Creating sound system", LOG_ALL); ^ main.cpp:7545:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Playing startup music", LOG_ALL); ^ main.cpp:7551:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Calling main initialization method", LOG_ALL); ^ main.cpp:7555:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Querying joystick", LOG_ALL); ^ main.cpp:7571:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("No joystick found", LOG_MOST); ^ main.cpp:7592:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Entering SDL main loop (GLUT emulation)", LOG_ALL); ^ main.cpp: At global scope: main.cpp:5153:13: warning: ‘void myIdleFunc()’ defined but not used [-Wunused-function] static void myIdleFunc () ^~~~~~~~~~ main.cpp: In function ‘void proceedFire()’: main.cpp:4762:29: warning: iteration 256 invokes undefined behavior [-Waggressive-loop-optimizations] int h = heat [yind] [i2]; ^ main.cpp:4757:21: note: within this loop for (i2 = 0; i2 < maxfx + 1; i2 ++) ~~~^~~~~~~~~~~ g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o gl.o gl.cpp g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o model.o model.cpp model.cpp: In member function ‘void CSphere::init(float, int, float, float, float, int)’: model.cpp:1391:130: warning: ‘p[2]’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (i == 0) co->triangle [co->numTriangles ++].setVertices (&co->vertex [p [0]], &co->vertex [p [1]], &co->vertex [p [2]]); ~~~~^ model.cpp:1391:109: warning: ‘p[1]’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (i == 0) co->triangle [co->numTriangles ++].setVertices (&co->vertex [p [0]], &co->vertex [p [1]], &co->vertex [p [2]]); ~~~~^ model.cpp: In member function ‘void CSpherePart::init(float, int, float)’: model.cpp:1531:128: warning: ‘p[2]’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (i == 0) co->triangle [co->numTriangles ++].setVertices (&co->vertex [p [0]], &co->vertex [p [1]], &co->vertex [p [2]]); ~~~~^ model.cpp:1531:107: warning: ‘p[1]’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (i == 0) co->triangle [co->numTriangles ++].setVertices (&co->vertex [p [0]], &co->vertex [p [1]], &co->vertex [p [2]]); ~~~~^ g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o 3ds.o 3ds.cpp 3ds.cpp: In constructor ‘BinaryFile::BinaryFile(char*)’: 3ds.cpp:59:9: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] int tmp; ^~~ g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o audio.o audio.cpp audio.cpp: In constructor ‘SoundSystem::SoundSystem()’: audio.cpp:229:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Using SDL_mixer", LOG_MOST); ^ audio.cpp:232:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Unable to open audio device", LOG_ERROR); ^ audio.cpp:240:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] music1 = Mix_LoadMUS (dirs->getMusic ("winner.s3m")); ^ audio.cpp:248:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] music1 = Mix_LoadMUS (dirs->getMusic ("loser.s3m")); ^ audio.cpp:256:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] music1 = Mix_LoadMUS (dirs->getMusic ("dark.s3m")); ^ audio.cpp:264:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] music1 = Mix_LoadMUS (dirs->getMusic ("stars.s3m")); ^ audio.cpp:272:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] music1 = Mix_LoadMUS (dirs->getMusic ("ambient.s3m")); ^ audio.cpp:280:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] music1 = Mix_LoadMUS (dirs->getMusic ("standby.s3m")); ^ audio.cpp:288:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] music1 = Mix_LoadMUS (dirs->getMusic ("electro.s3m")); ^ audio.cpp:296:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] music1 = Mix_LoadMUS (dirs->getMusic ("softtec.s3m")); ^ audio.cpp:306:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] waveexplosion1 = new WaveFile (dirs->getSounds ("explode1.wav")); ^ audio.cpp:307:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] waveclick1 = new WaveFile (dirs->getSounds ("click1.wav")); ^ audio.cpp:308:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] wavecannon1 = new WaveFile (dirs->getSounds ("cannon1.wav")); ^ audio.cpp:309:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] wavemissile1 = new WaveFile (dirs->getSounds ("missile1.wav")); ^ audio.cpp:310:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] wavethunder1 = new WaveFile (dirs->getSounds ("thunder1.wav")); ^ audio.cpp:317:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] wavehit1 = new WaveFile (dirs->getSounds ("hit1.wav")); ^ audio.cpp:318:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] wavebeep1 = new WaveFile (dirs->getSounds ("beep1.wav")); ^ audio.cpp:319:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] wavechaff1 = new WaveFile (dirs->getSounds ("chaff1.wav")); ^ audio.cpp:320:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] wavebeep2 = new WaveFile (dirs->getSounds ("beep2.wav")); ^ audio.cpp: In member function ‘void SoundSystem::loadMusic(int)’: audio.cpp:442:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] music1 = Mix_LoadMUS (dirs->getMusic ("dark.s3m")); ^ audio.cpp:445:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] music1 = Mix_LoadMUS (dirs->getMusic ("winner.s3m")); ^ audio.cpp:448:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] music1 = Mix_LoadMUS (dirs->getMusic ("loser.s3m")); ^ audio.cpp:451:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] music1 = Mix_LoadMUS (dirs->getMusic ("standby.s3m")); ^ audio.cpp:454:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] music1 = Mix_LoadMUS (dirs->getMusic ("electro.s3m")); ^ audio.cpp:457:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] music1 = Mix_LoadMUS (dirs->getMusic ("stars.s3m")); ^ audio.cpp:460:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] music1 = Mix_LoadMUS (dirs->getMusic ("softtec.s3m")); ^ audio.cpp:463:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] music1 = Mix_LoadMUS (dirs->getMusic ("ambient.s3m")); ^ g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o land.o land.cpp In file included from land.cpp:31:0: land.cpp: In member function ‘void Landscape::convolveGauss(int, int, int)’: land.cpp:95:39: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] mx = GETCOORD(x - MAXCORE / 2 + i); ~~~~~~~~~~~~~~~~^~~ land.h:50:22: note: in definition of macro ‘GETCOORD’ #define GETCOORD(x) (x & MAXX_MASK) ^ land.cpp:107:41: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] my = GETCOORD(y - MAXCORE / 2 + i); ~~~~~~~~~~~~~~~~^~~ land.h:50:22: note: in definition of macro ‘GETCOORD’ #define GETCOORD(x) (x & MAXX_MASK) ^ land.cpp: In member function ‘void Landscape::genCanyonSurface(int)’: land.cpp:746:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (h [i * step] [i2 * step] == 0) ^ In file included from land.cpp:31:0: land.cpp: In member function ‘void Landscape::genDesertSurface(int)’: land.cpp:907:43: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] ha [i3] = h [i] [GETCOORD(i2 + i3 - range / 2)]; ~~~~~~~~^~~~~~~~~~~ land.h:50:22: note: in definition of macro ‘GETCOORD’ #define GETCOORD(x) (x & MAXX_MASK) ^ land.cpp: In member function ‘void Landscape::genRocks(int, int)’: land.cpp:1042:37: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (f [i - 1] [i2] == ROCKS && f [i + 1] [i2] == ROCKS || land.cpp:1046:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (f [i - 1] [i2] == GLACIER && f [i + 1] [i2] == GLACIER || land.cpp: In member function ‘int Landscape::calcLake(int, int, short unsigned int, int, int)’: land.cpp:1074:17: warning: variable ‘w’ set but not used [-Wunused-but-set-variable] int i, i2, n, w, timeout = 0; ^ land.cpp: In member function ‘void Landscape::calcWoods(int)’: land.cpp:1384:38: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (isWoods (f [i - 1] [i2]) && isWoods (f [i + 1] [i2]) || ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o glland.o glland.cpp In file included from glland.h:32:0, from glland.cpp:26: glland.cpp: In member function ‘void GLLandscape::precalculate()’: glland.cpp:299:28: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] int xm1 = GETCOORD(x - 1); ~~^~~ land.h:50:22: note: in definition of macro ‘GETCOORD’ #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:300:28: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] int xp1 = GETCOORD(x + 1); ~~^~~ land.h:50:22: note: in definition of macro ‘GETCOORD’ #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:301:28: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] int zm1 = GETCOORD(z - 1); ~~^~~ land.h:50:22: note: in definition of macro ‘GETCOORD’ #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:302:28: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] int zp1 = GETCOORD(z + 1); ~~^~~ land.h:50:22: note: in definition of macro ‘GETCOORD’ #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp: In member function ‘void GLLandscape::drawQuadStrip(int, int, int, int)’: glland.cpp:889:30: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] int xstep = GETCOORD(x + step); ~~^~~ land.h:50:22: note: in definition of macro ‘GETCOORD’ #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:890:27: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] int y2 = GETCOORD(y + step); ~~^~~ land.h:50:22: note: in definition of macro ‘GETCOORD’ #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:897:29: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] int y0 = GETCOORD(y - step); ~~^~~ land.h:50:22: note: in definition of macro ‘GETCOORD’ #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:968:32: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] int xstep = GETCOORD(x + step); ~~^~~ land.h:50:22: note: in definition of macro ‘GETCOORD’ #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:969:32: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] int ystep = GETCOORD(y + step); ~~^~~ land.h:50:22: note: in definition of macro ‘GETCOORD’ #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:970:33: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] int ymstep = GETCOORD(y - step); ~~^~~ land.h:50:22: note: in definition of macro ‘GETCOORD’ #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp: In member function ‘void GLLandscape::drawWaterTexturedQuad(int, int)’: glland.cpp:1524:27: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] int xstep = GETCOORD(xs + step); ~~~^~~ land.h:50:22: note: in definition of macro ‘GETCOORD’ #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:1525:27: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] int ystep = GETCOORD(ys + step); ~~~^~~ land.h:50:22: note: in definition of macro ‘GETCOORD’ #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp: In member function ‘void GLLandscape::draw(int, int)’: glland.cpp:2048:76: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("view exceeds ray casting blocks - not implemented", LOG_FATAL); ^ In file included from glland.h:32:0, from glland.cpp:26: glland.cpp:2540:33: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] int x2 = GETCOORD(xs+gridstep); ~~^~ land.h:50:22: note: in definition of macro ‘GETCOORD’ #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:2541:33: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] int y2 = GETCOORD(ys+gridstep); ~~^~ land.h:50:22: note: in definition of macro ‘GETCOORD’ #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:2566:41: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] int xstep = GETCOORD(xs + gridstep); ~~~^~~ land.h:50:22: note: in definition of macro ‘GETCOORD’ #define GETCOORD(x) (x & MAXX_MASK) ^ glland.cpp:2567:41: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] int ystep = GETCOORD(ys + gridstep); ~~~^~~ land.h:50:22: note: in definition of macro ‘GETCOORD’ #define GETCOORD(x) (x & MAXX_MASK) ^ g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o aiobject.o aiobject.cpp aiobject.cpp: In member function ‘int DynamicObj::net_write()’: aiobject.cpp:36:36: warning: argument to ‘sizeof’ in ‘void* memcpy(void*, const void*, size_t)’ call is the same pointer type ‘float*’ as the source; expected ‘float’ or an explicit length [-Wsizeof-pointer-memaccess] memcpy (&net [z], &tl->x, sizeof (&tl->x)); ^ aiobject.cpp:38:36: warning: argument to ‘sizeof’ in ‘void* memcpy(void*, const void*, size_t)’ call is the same pointer type ‘float*’ as the source; expected ‘float’ or an explicit length [-Wsizeof-pointer-memaccess] memcpy (&net [z], &tl->y, sizeof (&tl->y)); ^ aiobject.cpp:40:36: warning: argument to ‘sizeof’ in ‘void* memcpy(void*, const void*, size_t)’ call is the same pointer type ‘float*’ as the source; expected ‘float’ or an explicit length [-Wsizeof-pointer-memaccess] memcpy (&net [z], &tl->z, sizeof (&tl->z)); ^ aiobject.cpp:42:34: warning: argument to ‘sizeof’ in ‘void* memcpy(void*, const void*, size_t)’ call is the same expression as the source; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess] memcpy (&net [z], &phi, sizeof (&phi)); ^ aiobject.cpp:44:36: warning: argument to ‘sizeof’ in ‘void* memcpy(void*, const void*, size_t)’ call is the same expression as the source; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess] memcpy (&net [z], &theta, sizeof (&theta)); ^ aiobject.cpp:46:36: warning: argument to ‘sizeof’ in ‘void* memcpy(void*, const void*, size_t)’ call is the same expression as the source; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess] memcpy (&net [z], &gamma, sizeof (&gamma)); ^ aiobject.cpp: In member function ‘void DynamicObj::net_read()’: aiobject.cpp:55:36: warning: argument to ‘sizeof’ in ‘void* memcpy(void*, const void*, size_t)’ call is the same pointer type ‘float*’ as the destination; expected ‘float’ or an explicit length [-Wsizeof-pointer-memaccess] memcpy (&tl->x, &net [z], sizeof (&tl->x)); ^ aiobject.cpp:57:36: warning: argument to ‘sizeof’ in ‘void* memcpy(void*, const void*, size_t)’ call is the same pointer type ‘float*’ as the destination; expected ‘float’ or an explicit length [-Wsizeof-pointer-memaccess] memcpy (&tl->y, &net [z], sizeof (&tl->y)); ^ aiobject.cpp:59:36: warning: argument to ‘sizeof’ in ‘void* memcpy(void*, const void*, size_t)’ call is the same pointer type ‘float*’ as the destination; expected ‘float’ or an explicit length [-Wsizeof-pointer-memaccess] memcpy (&tl->z, &net [z], sizeof (&tl->z)); ^ aiobject.cpp:61:34: warning: argument to ‘sizeof’ in ‘void* memcpy(void*, const void*, size_t)’ call is the same expression as the destination; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess] memcpy (&phi, &net [z], sizeof (&phi)); ^ aiobject.cpp:63:36: warning: argument to ‘sizeof’ in ‘void* memcpy(void*, const void*, size_t)’ call is the same expression as the destination; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess] memcpy (&theta, &net [z], sizeof (&theta)); ^ aiobject.cpp:65:36: warning: argument to ‘sizeof’ in ‘void* memcpy(void*, const void*, size_t)’ call is the same expression as the destination; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess] memcpy (&gamma, &net [z], sizeof (&gamma)); ^ aiobject.cpp: In member function ‘bool AIObj::fireFlare(DynamicObj**, AIObj**)’: aiobject.cpp:1735:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Missile to flare", LOG_ALL); ^ aiobject.cpp: In member function ‘bool AIObj::fireChaff(DynamicObj**, AIObj**)’: aiobject.cpp:1781:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Missile to chaff", LOG_ALL); ^ aiobject.cpp: In member function ‘void AIObj::aiAction(Uint32, AIObj**, AIObj**, DynamicObj**, DynamicObj**, DynamicObj**)’: aiobject.cpp:2449:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Manoever: Vertical climb", LOG_ALL); ^ aiobject.cpp:2656:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Manoever: Immelmann", LOG_ALL); ^ aiobject.cpp:2661:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Manoever: Immelmann", LOG_ALL); ^ aiobject.cpp:2668:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Manoever: Roll", LOG_ALL); ^ aiobject.cpp:2676:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Manoever: Turn", LOG_ALL); ^ aiobject.cpp:2683:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Manoever: Height change", LOG_ALL); ^ aiobject.cpp:2714:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Manoever: Immelmann", LOG_ALL); ^ aiobject.cpp:2719:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Manoever: Immelmann", LOG_ALL); ^ aiobject.cpp:2726:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Manoever: Roll", LOG_ALL); ^ aiobject.cpp:2734:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Manoever: Turn", LOG_ALL); ^ aiobject.cpp:2741:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Manoever: Height change", LOG_ALL); ^ g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o effects.o effects.cpp g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o vertexarray.o vertexarray.cpp vertexarray.cpp: In member function ‘void VertexArray::reallocData()’: vertexarray.cpp:160:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Out of memory", LOG_FATAL); ^ g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o net.o net.cpp g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o mathtab.o mathtab.cpp g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o dirs.o dirs.cpp dirs.cpp: In constructor ‘Dirs::Dirs(char*)’: dirs.cpp:141:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] p = mystrtok (p, (int) (path + pathlen - p), ":"); ^ dirs.cpp:158:74: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] p = mystrtok (p + strlen (p) + 1, (int) (path + pathlen - p), ":"); ^ dirs.cpp:161:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Binary file has no context to the data files.", LOG_FATAL); ^ dirs.cpp:185:74: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Binary file has no context to the data files.", LOG_FATAL); ^ dirs.cpp:194:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] append (saves, ".gl-117"); ^ dirs.cpp:230:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] append (textures, "textures"); ^ dirs.cpp:231:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] append (music, "music"); ^ dirs.cpp:232:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] append (sound, "sounds"); ^ dirs.cpp:233:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] append (models, "models"); ^ dirs.cpp:234:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] append (maps, "maps"); ^ dirs.cpp: In constructor ‘Dirs::Dirs(char*)’: dirs.cpp:131:23: warning: ignoring return value of ‘char* getcwd(char*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] getcwd (cwd, 4096); // get current working directory ^ g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o objload.o objload.cpp objload.cpp: In constructor ‘CFile::CFile(char*)’: objload.cpp:48:47: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (&data [z], 4096, sizeof (char), in); ^ g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o pilots.o pilots.cpp pilots.cpp: In member function ‘char* TeamPilot::getRank()’: pilots.cpp:55:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] if (ranking == 0) return "AIRMAN BASIC"; ^~~~~~~~~~~~~~ pilots.cpp:56:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else if (ranking == 1) return "AIRMAN"; ^~~~~~~~ pilots.cpp:57:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else if (ranking == 2) return "AIRMAN 1ST CLASS"; ^~~~~~~~~~~~~~~~~~ pilots.cpp:58:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else if (ranking == 3) return "2ND LIEUTNANT"; ^~~~~~~~~~~~~~~ pilots.cpp:59:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else if (ranking == 4) return "1ST LIEUTNANT"; ^~~~~~~~~~~~~~~ pilots.cpp:60:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else if (ranking == 5) return "CAPTAIN"; ^~~~~~~~~ pilots.cpp:61:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else if (ranking == 6) return "MAJOR"; ^~~~~~~ pilots.cpp:62:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else if (ranking == 7) return "COLONEL"; ^~~~~~~~~ pilots.cpp:63:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] 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*’ [-Wpedantic] if (ranking == 0) return "AB"; ^~~~ pilots.cpp:69:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else if (ranking == 1) return "ARM"; ^~~~~ pilots.cpp:70:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else if (ranking == 2) return "A1C"; ^~~~~ pilots.cpp:71:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else if (ranking == 3) return "2ND LT"; ^~~~~~~~ pilots.cpp:72:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else if (ranking == 4) return "1ST LT"; ^~~~~~~~ pilots.cpp:73:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else if (ranking == 5) return "CAPT"; ^~~~~~ pilots.cpp:74:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else if (ranking == 6) return "MAJ"; ^~~~~ pilots.cpp:75:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else if (ranking == 7) return "COL"; ^~~~~ pilots.cpp:76:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] else return "GEN"; ^~~~~ pilots.cpp: In member function ‘void Pilot::load()’: pilots.cpp:140:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] tp [0] = new TeamPilot (5, "PRIMETIME", 200, 100, 150, 20); ^ pilots.cpp:141:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] tp [1] = new TeamPilot (1, "HEPTARGON", 80, 220, 300, 1); ^ pilots.cpp:142:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] tp [2] = new TeamPilot (2, "KARA", 180, 160, 50, 4); ^ pilots.cpp:143:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] tp [3] = new TeamPilot (6, "SHARK", 70, 90, 120, 22); ^ pilots.cpp:144:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] tp [4] = new TeamPilot (3, "BOSS", 250, 180, 80, 10); ^ pilots.cpp:145:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] tp [5] = new TeamPilot (2, "DR DOOM", 320, 210, 20, 2); ^ pilots.cpp:146:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] tp [6] = new TeamPilot (4, "SHADOW", 130, 200, 320, 15); ^ pilots.cpp:147:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] tp [7] = new TeamPilot (7, "MATRIX", 40, 80, 180, 25); ^ pilots.cpp:148:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] tp [8] = new TeamPilot (1, "FIREBIRD", 250, 140, 100, 1); ^ pilots.cpp:149:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] tp [9] = new TeamPilot (4, "THUNDER", 150, 170, 60, 18); ^ pilots.cpp:150:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] tp [10] = new TeamPilot (0, "PLAYER", 0, 0, 0, 0); ^ pilots.cpp:158:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Could not load pilot", LOG_WARN); ^ pilots.cpp: In member function ‘void Pilot::save()’: pilots.cpp:185:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] 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*’ [-Wpedantic] { ranking = 0; return "AIRMAN BASIC"; } ^~~~~~~~~~~~~~ pilots.cpp:214:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] { ranking = 1; return "AIRMAN"; } ^~~~~~~~ pilots.cpp:216:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] { ranking = 2; return "AIRMAN 1ST CLASS"; } ^~~~~~~~~~~~~~~~~~ pilots.cpp:218:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] { ranking = 3; return "2ND LIEUTNANT"; } ^~~~~~~~~~~~~~~ pilots.cpp:220:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] { ranking = 4; return "1ST LIEUTNANT"; } ^~~~~~~~~~~~~~~ pilots.cpp:222:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] { ranking = 5; return "CAPTAIN"; } ^~~~~~~~~ pilots.cpp:224:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] { ranking = 6; return "MAJOR"; } ^~~~~~~ pilots.cpp:226:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] { ranking = 7; return "COLONEL"; } ^~~~~~~~~ pilots.cpp:228:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] { 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*’ [-Wpedantic] { ranking = 0; return "AB"; } ^~~~ pilots.cpp:256:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] { ranking = 1; return "AMN"; } ^~~~~ pilots.cpp:258:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] { ranking = 2; return "A1C"; } ^~~~~ pilots.cpp:260:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] { ranking = 3; return "2ND LT"; } ^~~~~~~~ pilots.cpp:262:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] { ranking = 4; return "1ST LT"; } ^~~~~~~~ pilots.cpp:264:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] { ranking = 5; return "CAPT"; } ^~~~~~ pilots.cpp:266:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] { ranking = 6; return "MAJ"; } ^~~~~ pilots.cpp:268:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] { ranking = 7; return "COL"; } ^~~~~ pilots.cpp:270:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] { ranking = 8; return "GEN"; } ^~~~~ pilots.cpp: In member function ‘void PilotList::load(char*)’: pilots.cpp:296:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Could not load saves/pilots", LOG_WARN); ^ pilots.cpp:298:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] add ("PLAYER"); ^ pilots.cpp: In member function ‘void PilotList::save(char*)’: pilots.cpp:325:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Could not write saves/pilots", LOG_WARN); ^ pilots.cpp: In member function ‘void TeamPilot::load(FILE*)’: pilots.cpp:97:40: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (&ranking, sizeof (int), 1, in); ^ pilots.cpp:99:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (&len, sizeof (int), 1, in); ^ pilots.cpp:101:39: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (name, sizeof (char), len, in); ^ pilots.cpp:102:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (&intelligence, sizeof (int), 1, in); ^ pilots.cpp:103:42: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (&precision, sizeof (int), 1, in); ^ pilots.cpp:104:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (&aggressivity, sizeof (int), 1, in); ^ pilots.cpp:105:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (&fighterkills, sizeof (int), 1, in); ^ pilots.cpp: In member function ‘void Pilot::load()’: pilots.cpp:162:63: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (saveversion, sizeof (char), strlen (SAVEVERSION), in); ^ pilots.cpp:163:56: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (mission_state, sizeof (int), maxpilotdata, in); ^ pilots.cpp:164:55: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (mission_time, sizeof (int), maxpilotdata, in); ^ pilots.cpp:165:63: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (mission_fighterkills, sizeof (int), maxpilotdata, in); ^ pilots.cpp:166:60: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (mission_shipkills, sizeof (int), maxpilotdata, in); ^ pilots.cpp:167:60: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (mission_tankkills, sizeof (int), maxpilotdata, in); ^ pilots.cpp:168:61: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (mission_otherkills, sizeof (int), maxpilotdata, in); ^ pilots.cpp:169:57: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (mission_shield, sizeof (int), maxpilotdata, in); ^ pilots.cpp:170:57: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (mission_points, sizeof (int), maxpilotdata, in); ^ pilots.cpp:171:56: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (mission_score, sizeof (int), maxpilotdata, in); ^ pilots.cpp: In member function ‘void PilotList::load(char*)’: pilots.cpp:301:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets (buf, 16, in); ^ pilots.cpp:303:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets (buf, 16, in); ^ g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o loader_tga.o loader_tga.cpp loader_tga.cpp:42:1: warning: multi-line comment [-Wcomment] //#define WRITE_RGBA(p, r, g, b, a) \ ^ loader_tga.cpp: In function ‘unsigned char* tga_load(char*, int*, int*)’: loader_tga.cpp:198:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Out of memory", LOG_FATAL); ^ loader_tga.cpp:217:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Out of memory", LOG_FATAL); ^ loader_tga.cpp: In function ‘DATA32* flip(DATA32*, int, int)’: loader_tga.cpp:438:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Out of memory", LOG_FATAL); ^ g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o object.o object.cpp g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o conf.o conf.cpp conf.cpp: In function ‘void save_config()’: conf.cpp:204:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] char *confname = dirs->getSaves ("conf"); ^ conf.cpp:210:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Could not save configuration", LOG_ERROR); ^ conf.cpp:214:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Configuration\n"); ^ conf.cpp:215:78: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Some possible width x height values for fullscreen mode:"); ^ conf.cpp:216:90: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# 640x480, 800x600, 1024x768, 1152x864, 1280x768, 1280x960, 1280x1024"); ^ conf.cpp:217:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" width", wantwidth); ^ conf.cpp:218:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" height", wantheight); ^ conf.cpp:219:67: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Possible bits per pixel values (color depth):"); ^ conf.cpp:220:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# 8 (not recommended), 16, 24, 32"); ^ conf.cpp:221:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" bpp", bpp); ^ conf.cpp:222:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Try to go fullscreen = 1, game in window = 0"); ^ conf.cpp:223:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" fullscreen", wantfullscreen); ^ conf.cpp:224:75: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Quality: 0=software rendered up to 5=best (default=2)"); ^ conf.cpp:225:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" quality", quality); ^ conf.cpp:226:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Far clipping plane: 20..100 (default=50)"); ^ conf.cpp:227:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" view", (int) view); ^ conf.cpp:228:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Dithering: 0=off, 1=on (default=1)"); ^ conf.cpp:229:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" dithering", dithering); ^ conf.cpp:230:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Antialiasing: 0=off, 1=on (default=1)"); ^ conf.cpp:231:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" antialiasing", antialiasing); ^ conf.cpp:232:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Special effects: 0=off, 1=on (default=1)"); ^ conf.cpp:233:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" specialeffects", specialeffects); ^ conf.cpp:234:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Dynamic lighting: 0=off, 1=on (default=1)"); ^ conf.cpp:235:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" dynamiclighting", dynamiclighting); ^ conf.cpp:237:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Sound volume: 0..100 (default=100) per cent"); ^ conf.cpp:238:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" sound", (int) volumesound); ^ conf.cpp:239:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Music volume: 0..100 (default=100) per cent"); ^ conf.cpp:240:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" music", (int) volumemusic); ^ conf.cpp:242:77: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Piloting controls: 0=keyboard, 1=mouse easy, 2=joystick"); ^ conf.cpp:243:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" controls", controls); ^ conf.cpp:244:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Difficulty level: 0=easy, 1=medium, 2=hard"); ^ conf.cpp:245:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" difficulty", difficulty); ^ conf.cpp:246:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Brightness: -50..50 per cent (default=0)"); ^ conf.cpp:247:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" brightness", brightness); ^ conf.cpp:248:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Physics: 0=action, 1=realistic"); ^ conf.cpp:249:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" physics", physics); ^ conf.cpp:250:76: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("\n# This file is meant to give sensible startup settings"); ^ conf.cpp:251:85: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# as graphic cards and drivers may differ some 100 times in speed"); ^ conf.cpp:252:79: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("\n# To get back to default settings, just delete this file!"); ^ conf.cpp: In function ‘void save_saveconfig()’: conf.cpp:261:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] char *confname = dirs->getSaves ("saveconf"); ^ conf.cpp:267:77: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Could not save working graphics mode configuration", LOG_ERROR); ^ conf.cpp:271:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Working backup configuration\n"); ^ conf.cpp:272:95: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Do not edit this file. It is only used to restore a broken configuration!"); ^ conf.cpp:273:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" width", width); ^ conf.cpp:274:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" height", height); ^ conf.cpp:275:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" bpp", bpp); ^ conf.cpp:276:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" fullscreen", fullscreen); ^ conf.cpp: In function ‘int load_config()’: conf.cpp:286:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] char *confname = dirs->getSaves ("conf"); ^ conf.cpp:297:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "width"); ^ conf.cpp:306:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "height"); ^ conf.cpp:315:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "bpp"); ^ conf.cpp:323:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "fullscreen"); ^ conf.cpp:331:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "quality"); ^ conf.cpp:339:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "view"); ^ conf.cpp:353:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "dithering"); ^ conf.cpp:357:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "antialiasing"); ^ conf.cpp:361:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "specialeffects"); ^ conf.cpp:365:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "dynamiclighting"); ^ conf.cpp:370:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "sound"); ^ conf.cpp:378:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "music"); ^ conf.cpp:387:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "controls"); ^ conf.cpp:395:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "difficulty"); ^ conf.cpp:403:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "brightness"); ^ conf.cpp:411:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "physics"); ^ conf.cpp: In function ‘int load_saveconfig()’: conf.cpp:428:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] char *confname = dirs->getSaves ("saveconf"); ^ conf.cpp:439:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "savewidth"); ^ conf.cpp:447:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "saveheight"); ^ conf.cpp:455:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "savebpp"); ^ conf.cpp:463:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "savefullscreen"); ^ conf.cpp: In function ‘void save_configInterface()’: conf.cpp:485:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] char *confname = dirs->getSaves ("conf.interface"); ^ conf.cpp:491:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Could not save interface configuration", LOG_ERROR); ^ conf.cpp:494:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Interface configuration\n"); ^ conf.cpp:495:91: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# ---------------------------------------------------------------------"); ^ conf.cpp:496:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Keyboard section"); ^ conf.cpp:497:93: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# ---------------------------------------------------------------------\n"); ^ conf.cpp:498:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Use ASCII-Code values or letters to remap"); ^ conf.cpp:499:88: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# 8=BACKSPACE, 13=ENTER, 32=SPACE, 65=A...90=Z (NOT case sensitive)"); ^ conf.cpp:500:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" key_firecannon", (int) key_firecannon); ^ conf.cpp:501:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" key_firemissile", (int) key_firemissile); ^ conf.cpp:502:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" key_dropflare", (int) key_dropflare); ^ conf.cpp:503:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" key_dropchaff", (int) key_dropchaff); ^ conf.cpp:504:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" key_selectmissile", (int) key_selectmissile); ^ conf.cpp:505:85: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Target nearest enemy with priority for enemies in front of you"); ^ conf.cpp:506:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" key_targetnearest", (int) key_targetnearest); ^ conf.cpp:507:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Target next enemy who has locked you"); ^ conf.cpp:508:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" key_targetlocking", (int) key_targetlocking); ^ conf.cpp:509:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" key_targetnext", (int) key_targetnext); ^ conf.cpp:510:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" key_targetprevious", (int) key_targetprevious); ^ conf.cpp:511:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" key_incthrust", (int) key_thrustup); ^ conf.cpp:512:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" key_decthrust", (int) key_thrustdown); ^ conf.cpp:513:75: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# All other piloting keys (CURSORS, PGUP/DN) are fixed."); ^ conf.cpp:514:93: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("\n# ---------------------------------------------------------------------"); ^ conf.cpp:515:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Mouse section"); ^ conf.cpp:516:93: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# ---------------------------------------------------------------------\n"); ^ conf.cpp:517:88: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Sensitivity: 70...200%, 70%=full screen area, 200%=max sensitivity"); ^ conf.cpp:518:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" mouse_sensitivity", (int) mouse_sensitivity); ^ conf.cpp:519:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Reverse y-axis: 0 (no) or 1 (yes)"); ^ conf.cpp:520:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" mouse_reverse", (int) mouse_reverse); ^ conf.cpp:521:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Relative coordinates: 0 (no) or 1 (yes)"); ^ conf.cpp:522:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" mouse_relative", (int) mouse_relative); ^ conf.cpp:523:73: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Auto rudder on x-axis, dead area for rolls: 0...100"); ^ conf.cpp:524:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" mouse_autorudder", (int) mouse_autorudder); ^ conf.cpp:525:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("\n# Buttons: 1=Left, 2=Middle, 3=Right"); ^ conf.cpp:530:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" mouse_firecannon", mousebutton); ^ conf.cpp:534:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" mouse_firemissile", mousebutton); ^ conf.cpp:538:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->write (" mouse_selectmissile", mousebutton); ^ conf.cpp:539:93: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("\n# ---------------------------------------------------------------------"); ^ conf.cpp:540:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Joystick section"); ^ conf.cpp:541:93: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# ---------------------------------------------------------------------\n"); ^ conf.cpp:542:95: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# The number of axes, buttons, and the coolie hat depends on your joystick!"); ^ conf.cpp:543:94: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Numbers start with A=first joystick, B=second joystick...J=10th joystick"); ^ conf.cpp:544:87: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# followed by a number to identify axes, buttons, and coolie hat\n"); ^ conf.cpp:545:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Axis: 0...MAX-1 (maybe 0=aileron 1=elevator 2=throttle 3=rudder)"); ^ conf.cpp:546:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] writeJoystick (cf, " joystick_aileron", joystick_aileron); ^ conf.cpp:547:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] writeJoystick (cf, " joystick_elevator", joystick_elevator); ^ conf.cpp:548:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] writeJoystick (cf, " joystick_throttle", joystick_throttle); ^ conf.cpp:549:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] writeJoystick (cf, " joystick_rudder", joystick_rudder); ^ conf.cpp:550:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] writeJoystick (cf, " joystick_view_x", joystick_view_x); ^ conf.cpp:551:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] writeJoystick (cf, " joystick_view_y", joystick_view_y); ^ conf.cpp:552:89: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("\n# Buttons: 0...MAX-1, Coolie: 100=Right, 101=Up, 102=Left, 103=Down"); ^ conf.cpp:553:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] writeJoystick (cf, " joystick_firecannon", joystick_firecannon); ^ conf.cpp:554:67: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] writeJoystick (cf, " joystick_firemissile", joystick_firemissile); ^ conf.cpp:555:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("# Dropping chaff AND flare may be preferred"); ^ conf.cpp:556:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] writeJoystick (cf, " joystick_dropflare", joystick_dropflare); ^ conf.cpp:557:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] writeJoystick (cf, " joystick_dropchaff", joystick_dropchaff); ^ conf.cpp:558:71: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] writeJoystick (cf, " joystick_selectmissile", joystick_selectmissile); ^ conf.cpp:559:71: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] writeJoystick (cf, " joystick_targetnearest", joystick_targetnearest); ^ conf.cpp:560:71: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] writeJoystick (cf, " joystick_targetlocking", joystick_targetlocking); ^ conf.cpp:561:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] writeJoystick (cf, " joystick_targetnext", joystick_targetnext); ^ conf.cpp:562:73: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] writeJoystick (cf, " joystick_targetprevious", joystick_targetprevious); ^ conf.cpp:563:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] writeJoystick (cf, " joystick_incthrust", joystick_thrustup); ^ conf.cpp:564:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] writeJoystick (cf, " joystick_decthrust", joystick_thrustdown); ^ conf.cpp:565:85: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("\n# This file is meant to give sensible custom interface settings"); ^ conf.cpp:566:79: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] cf->writeText ("\n# To get back to default settings, just delete this file!"); ^ conf.cpp: In function ‘int load_configInterface()’: conf.cpp:605:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] char *confname = dirs->getSaves ("conf.interface"); ^ conf.cpp:610:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "key_firecannon"); ^ conf.cpp:613:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "key_firemissile"); ^ conf.cpp:616:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "key_dropchaff"); ^ conf.cpp:619:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "key_dropflare"); ^ conf.cpp:622:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "key_selectmissile"); ^ conf.cpp:625:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "key_targetnearest"); ^ conf.cpp:628:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "key_targetlocking"); ^ conf.cpp:631:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "key_targetnext"); ^ conf.cpp:634:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "key_targetprevious"); ^ conf.cpp:637:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "key_incthrust"); ^ conf.cpp:640:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "key_decthrust"); ^ conf.cpp:643:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "mouse_sensitivity"); ^ conf.cpp:651:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "mouse_reverse"); ^ conf.cpp:657:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "mouse_relative"); ^ conf.cpp:663:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "mouse_autorudder"); ^ conf.cpp:672:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "mouse_firecannon"); ^ conf.cpp:681:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "mouse_firemissile"); ^ conf.cpp:690:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "mouse_selectmissile"); ^ conf.cpp:699:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "joystick_aileron"); ^ conf.cpp:702:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "joystick_elevator"); ^ conf.cpp:705:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "joystick_throttle"); ^ conf.cpp:708:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "joystick_rudder"); ^ conf.cpp:711:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "joystick_view_x"); ^ conf.cpp:714:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "joystick_view_y"); ^ conf.cpp:717:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "joystick_firecannon"); ^ conf.cpp:720:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "joystick_firemissile"); ^ conf.cpp:723:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "joystick_dropchaff"); ^ conf.cpp:726:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "joystick_dropflare"); ^ conf.cpp:729:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "joystick_selectmissile"); ^ conf.cpp:732:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "joystick_targetnearest"); ^ conf.cpp:735:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "joystick_targetlocking"); ^ conf.cpp:738:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "joystick_targetnext"); ^ conf.cpp:741:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "joystick_targetprevious"); ^ conf.cpp:744:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "joystick_incthrust"); ^ conf.cpp:747:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] str = cf->getString (ret, "joystick_decthrust"); ^ g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o mission.o mission.cpp mission.cpp: In member function ‘virtual void MissionTutorial1::draw()’: mission.cpp:385:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "LEAVE THE JOYSTICK CENTERED.", &textcolor); ^ mission.cpp:386:93: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "THE FIGHTER SHOULD FLY STRAIGHT ON.", &textcolor); ^ mission.cpp:387:91: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "IF NOT, RECALIBRATE YOUR JOYSTICK", &textcolor); ^ mission.cpp:391:92: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "THE MENU OPTIONS/CONTROLS LETS YOU", &textcolor); ^ mission.cpp:392:85: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "DETERMINE THE INPUT DEVICE.", &textcolor); ^ mission.cpp:393:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "CURRENTLY, THIS IS THE MOUSE", &textcolor); ^ mission.cpp:397:92: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "THE MENU OPTIONS/CONTROLS LETS YOU", &textcolor); ^ mission.cpp:398:85: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "DETERMINE THE INPUT DEVICE.", &textcolor); ^ mission.cpp:399:89: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "CURRENTLY, THIS IS THE KEYBOARD", &textcolor); ^ mission.cpp:406:91: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "MOVING THE JOYSTICK LEFT OR RIGHT", &textcolor); ^ mission.cpp:407:82: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "WILL AFFECT THE AILERON.", &textcolor); ^ mission.cpp:408:81: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "THUS YOU WILL ONLY ROLL", &textcolor); ^ mission.cpp:414:93: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "THE MOUSE INTERFACE IS VERY EASY.", &textcolor); ^ mission.cpp:415:98: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "ALWAYS POINT TO WHERE YOU WANT TO FLY.", &textcolor); ^ mission.cpp:416:101: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "YOU'LL HAVE TO MOVE THE MOUSE PERMANENTLY", &textcolor); ^ mission.cpp:420:103: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "THE REVERTED MOUSE IS FOR REAL GAMERS ONLY.", &textcolor); ^ mission.cpp:421:95: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "THE STANDARD MOUSE INTERFACE MAY BE", &textcolor); ^ mission.cpp:422:75: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "EASIER TO LEARN", &textcolor); ^ mission.cpp:426:92: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "MOUSE RELATIVE IS A LOT OF WORK.", &textcolor); ^ mission.cpp:427:104: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "ONLY THE RELATIVE MOUSE COORDINATES (MOVING)", &textcolor); ^ mission.cpp:428:79: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "WILL HAVE AN EFFECT", &textcolor); ^ mission.cpp:433:98: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "THE KEYBOARD INTERFACE IS NOT THAT EASY.", &textcolor); ^ mission.cpp:434:96: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "USING THE MOUSE IS STRONLY RECOMMENDED", &textcolor); ^ mission.cpp:441:87: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "MOVING UP OR DOWN WILL AFFECT", &textcolor); ^ mission.cpp:442:71: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "THE ELEVATOR.", &textcolor); ^ mission.cpp:443:84: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "YOU'LL START TO FLY A LOOP", &textcolor); ^ mission.cpp:447:103: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "MOVING RIGHT OR LEFT WILL AFFECT THE AILERON,", &textcolor); ^ mission.cpp:448:101: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "MOVING UP OR DOWN WILL AFFECT THE ELEVATOR.", &textcolor); ^ mission.cpp:449:90: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "THUS YOU CAN FLY ROLLS AND LOOPS", &textcolor); ^ mission.cpp:456:102: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "IF YOUR JOYSTICK HAS A SO-CALLED \"RUDDER\",", &textcolor); ^ mission.cpp:457:93: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "YOU MAY ALTER THE FIGHTER'S RUDDER.", &textcolor); ^ mission.cpp:458:98: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "YOU'LL SLIGHTLY FLY TO THE LEFT OR RIGHT", &textcolor); ^ mission.cpp:462:97: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "MOVING THE MOUSE SLIGHTLY LEFT OR RIGHT", &textcolor); ^ mission.cpp:463:81: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "WILL AFFECT THE RUDDER.", &textcolor); ^ mission.cpp:467:77: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "TO ALTER THE RUDDER", &textcolor); ^ mission.cpp:468:84: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "USE THE KEYS PGUP AND PGDN", &textcolor); ^ mission.cpp:475:91: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "YOUR JOYSTICK HAS ALSO A THROTTLE", &textcolor); ^ mission.cpp:476:83: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "TO SPEEDUP OR DECELERATE.", &textcolor); ^ mission.cpp:477:90: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "THERE IS NO WAY TO ENTIRELY STOP", &textcolor); ^ mission.cpp:481:95: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "USE THE KEYS '1' THROUGH '9' TO ALTER", &textcolor); ^ mission.cpp:482:80: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "YOUR THROTTLE (SPEED).", &textcolor); ^ mission.cpp:483:90: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "THERE IS NO WAY TO ENTIRELY STOP", &textcolor); ^ mission.cpp:490:90: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "THE PREDEFINED JOYSTICK BUTTONS:", &textcolor); ^ mission.cpp:491:88: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "FIRE CANNON, DROP CHAFF/FLARE,", &textcolor); ^ mission.cpp:492:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "FIRE MISSILE, CHOOSE MISSILE", &textcolor); ^ mission.cpp:496:88: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "LEFT MOUSE BUTTON: FIRE CANNON", &textcolor); ^ mission.cpp:497:90: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "RIGHT MOUSE BUTTON: FIRE MISSILE", &textcolor); ^ mission.cpp:498:99: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "BUT YOU SHOULD REALLY PREFER THE KEYBOARD", &textcolor); ^ mission.cpp:502:102: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "NOW, LETS HAVE A LOOK AT SOME IMPORTANT KEYS", &textcolor); ^ mission.cpp:509:105: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "A SUMMARY OF COMMANDS CAN BE FOUND IN THE MENU.", &textcolor); ^ mission.cpp:510:84: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "\"ESC\" WILL SHOW THE MENU", &textcolor); ^ mission.cpp:511:87: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "AND RETURN BACK TO THE ACTION", &textcolor); ^ mission.cpp:528:103: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "LOOK AT THE RADAR ON THE BOTTOM OF YOUR SCREEN.", &textcolor); ^ mission.cpp:529:114: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "THERE ARE ENEMIES REPRESENTED BY A YELLOW POINT (TARGETED)", &textcolor); ^ mission.cpp:530:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "AND A RED POINT (NOT TARGETED)", &textcolor); ^ mission.cpp:536:103: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "YOU MAY TARGET AN ENEMY USING THE COOLIE HAT,", &textcolor); ^ mission.cpp:540:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "THEN APPROACH!", &textcolor); ^ mission.cpp:544:90: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "YOU MAY TARGET AN ENEMY PRESSING", &textcolor); ^ mission.cpp:548:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "THEN APPROACH!", &textcolor); ^ mission.cpp:553:85: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "SHOOT THE TARGETS TO COMPLETE", &textcolor); ^ mission.cpp:554:82: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "THIS TUTORIAL SUCCESSFULLY", &textcolor); ^ mission.cpp: In member function ‘virtual void MissionTutorial2::draw()’: mission.cpp:649:94: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "FIRSTLY, HAVE A LOOK AT YOUR MISSILES:", &textcolor); ^ mission.cpp:653:99: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "AGM (AIR-GROUND-MISSILE) AND DF (DUMB FIRE)", &textcolor); ^ mission.cpp:657:96: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "LET'S USE THE AGM: AS SOON AS THE TARGET", &textcolor); ^ mission.cpp:658:96: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "IS LOCKED (YELLOW), SHOOT THE AGM AT ANY", &textcolor); ^ mission.cpp:659:90: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "DIRECTION AND WATCH WHERE IT GOES.", &textcolor); ^ mission.cpp:663:90: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "THEN TRY A DF MISSILE BUT CAREFUL:", &textcolor); ^ mission.cpp:664:103: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "IT IS QUITE 'DUMB' AND WILL FLY STRAIGHT AHEAD.", &textcolor); ^ mission.cpp:668:104: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "HOWEVER, DF MISSILES WILL CAUSE MUCH MORE DAMAGE", &textcolor); ^ mission.cpp:672:82: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "NOW, BLOW UP THE TWO TANKS", &textcolor); ^ mission.cpp: In member function ‘virtual void MissionTutorial3::draw()’: mission.cpp:724:108: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "THE MENU OPTIONS/CONTROLS LETS YOU DEFINE DIFFICULTY", &textcolor); ^ mission.cpp:725:107: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "AND REALISM. CHANGING THESE SETTINGS WILL ONLY HAVE", &textcolor); ^ mission.cpp:726:92: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "EFFECT ON THE NEXT MISSION YOU START", &textcolor); ^ mission.cpp:730:96: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "APART FROM YOUR CURRENT PHYSICS SETTINGS", &textcolor); ^ mission.cpp:731:98: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "LET'S USE THE SIMULATION MODEL AND DISCUSS", &textcolor); ^ mission.cpp:732:102: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "THE FOUR FORCES THRUST, DRAG, LIFT, AND WEIGHT", &textcolor); ^ mission.cpp:736:103: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "THRUST IS FORWARD FORCE CREATED BY THE ENGINES.", &textcolor); ^ mission.cpp:737:95: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "CHANGE THE THRUST TO GAIN OR LOSE SPEED", &textcolor); ^ mission.cpp:741:110: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "DRAG IS THE RETARDING FORCE THAT LIMITS THE AIRCRAFT'S", &textcolor); ^ mission.cpp:742:110: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "SPEED. IT IS MAINLY CAUSED BY THE AIRCRAFT'S STRUCTURE", &textcolor); ^ mission.cpp:743:83: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "THAT PROTUDES INTO THE WIND", &textcolor); ^ mission.cpp:747:115: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "LIFT IS THE UPWARD FORCE CREATED BY THE AIRFLOW THAT PASSES", &textcolor); ^ mission.cpp:748:108: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "OVER THE WINGS. IN STRAIGHT UNACCELERATED FLIGHT, IT", &textcolor); ^ mission.cpp:749:115: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "COMPENSATES THE WEIGHT AND YOUR FIGHTER WON'T CLIMB OR DIVE", &textcolor); ^ mission.cpp:753:92: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "THE LIFT FORCE DEPENDS ON THE SPEED:", &textcolor); ^ mission.cpp:754:98: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "LOW SPEED WILL CAUSE THE AIRPLANE TO DIVE,", &textcolor); ^ mission.cpp:755:88: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "AT HIGH SPEED IT WILL EVEN CLIMB", &textcolor); ^ mission.cpp:759:112: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "NOW TRY THIS EFFECT BY FLYING STRAIGHT AHEAD AT 0 DEGREE", &textcolor); ^ mission.cpp:760:112: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "ELEVATION WHILE USING THE LOWEST/HIGHEST THRUST SETTINGS", &textcolor); ^ mission.cpp:764:110: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "IF YOU FLY A ROLL, THE LIFT WILL NOT OPPOSE THE THRUST", &textcolor); ^ mission.cpp:765:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "AND YOU WILL LOSE HEIGHT. TRY!", &textcolor); ^ mission.cpp:769:112: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "IF YOU ROLL TO THE SIDE, THE LIFT WILL TEAR THE AIRCRAFT", &textcolor); ^ mission.cpp:770:106: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "FROM STRAIGHT FLIGHT TO A DIAGONAL DIRECTION WHILE", &textcolor); ^ mission.cpp:771:75: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "LOSING HEIGHT. TRY!", &textcolor); ^ mission.cpp:775:110: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "THE OVERALL FORCE IS GAINED BY ADDING THE FOUR FORCES.", &textcolor); ^ mission.cpp:776:113: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "IT IS MEASURED IN 'G' WITH 1G MEANING THE EARTH'S GRAVITY", &textcolor); ^ mission.cpp:780:112: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "YOU ARE MOSTLY OPPOSED TO MORE THAN ONLY 1G. BE CAREFUL:", &textcolor); ^ mission.cpp:781:90: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "9G OR MORE MAY LEAD TO A BLACKOUT,", &textcolor); ^ mission.cpp:782:108: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "AT LESS THAN -3G THE BLOOD WILL SHOOT INTO YOUR HEAD", &textcolor); ^ mission.cpp:786:91: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "NOW ROLL ON THE BACK AND GET RID OF", &textcolor); ^ mission.cpp:787:82: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "THE TWO TRANSPORTERS AHEAD", &textcolor); ^ mission.cpp: In member function ‘virtual void MissionDogfight1::draw()’: mission.cpp:907:71: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "THAT WAS EASY", &textcolor); ^ mission.cpp:908:89: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "BUT CAN YOU HANDLE TWO ENEMIES?", &textcolor); ^ mission.cpp:913:85: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "OK, LET'S TRY THREE ENEMIES", &textcolor); ^ mission.cpp:924:83: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "THERE IS AN ENEMY ATTACKING", &textcolor); ^ mission.cpp:928:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "SELECT A MISSILE", &textcolor); ^ mission.cpp:932:88: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "CHOOSE A FRIEND-FOE (FF) MISSILE", &textcolor); ^ mission.cpp:933:87: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "WHICH DETECTS ENEMIES BY RADAR.", &textcolor); ^ mission.cpp:934:82: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "SHOOT AS EARLY AS POSSIBLE", &textcolor); ^ mission.cpp:938:87: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "YOU CAN ONLY FIRE MISSILES WHEN", &textcolor); ^ mission.cpp:939:93: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "THE RECTANGULAR LOCK AROUND THE ENEMY", &textcolor); ^ mission.cpp:940:70: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "APPEARS YELLOW", &textcolor); ^ mission.cpp:944:87: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "CHECK THE CHAFF/FLARE DISPLAYS.", &textcolor); ^ mission.cpp:945:92: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "IF THEY START BLINKING, AN ENEMY HAS", &textcolor); ^ mission.cpp:946:87: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 5, -2.5, "FIRED A MISSILE TO GET YOU DOWN", &textcolor); ^ mission.cpp:950:100: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "CHAFF IS A DECOY FOR RADAR SEEKING MISSILES,", &textcolor); ^ mission.cpp:951:93: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "FLARES PROTECT FROM INFRARED MISSILES", &textcolor); ^ mission.cpp:959:95: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "THE COUNTER MEASURE ONLY HAD AN EFFECT,", &textcolor); ^ mission.cpp:960:85: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "IF THE DISPLAYS STOP BLINKING", &textcolor); ^ mission.cpp:964:80: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -2.5, "A LITTLE TARGETING HINT:", &textcolor); ^ mission.cpp: In member function ‘virtual void MissionFreeFlight1::draw()’: mission.cpp:1079:81: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "TRANSPORTERS RESPAWNING", &textcolor); ^ mission.cpp:1084:81: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "TRANSPORTERS RESPAWNING", &textcolor); ^ mission.cpp: In member function ‘virtual void MissionWaves1::draw()’: mission.cpp:1803:92: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "NEXT WAVE - YOU ARE FULLY REPAIRED", &textcolor); ^ mission.cpp:1808:92: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 6, -2.5, "NEXT WAVE - YOU ARE FULLY REPAIRED", &textcolor); ^ mission.cpp: In member function ‘virtual void MissionTest2::draw()’: mission.cpp:1984:85: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 4, -2, "ALMOST! GET CLEARLY BEHIND HIM!", &textcolor); ^ mission.cpp: In member function ‘virtual void MissionDogfight2::draw()’: mission.cpp:2240:86: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -3, "MORE ENEMIES ENTERING THE REGION", &textcolor); ^ mission.cpp: In member function ‘virtual void MissionDefend1::draw()’: mission.cpp:2984:78: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -3, "MORE TANKS ARE ATTACKING", &textcolor); ^ mission.cpp: In member function ‘virtual void MissionDogfight3::draw()’: mission.cpp:3090:85: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 7, -3, "BOMBERS ARE ENTERING THE REGION", &textcolor); ^ mission.cpp: In member function ‘virtual void MissionMultiDogfight1::draw()’: mission.cpp:4394:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawTextCentered (0, 0, -1, "DOGFIGHT"); ^ g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o cockpit.o cockpit.cpp cockpit.cpp: In member function ‘void Cockpit::drawHeading()’: cockpit.cpp:463:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (xf - 0.5, yf - 2.0, zf, "S", &color); ^ cockpit.cpp:465:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (xf - 0.5, yf - 2.0, zf, "E", &color); ^ cockpit.cpp:467:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (xf - 0.5, yf - 2.0, zf, "N", &color); ^ cockpit.cpp:469:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] font1->drawText (xf - 0.5, yf - 2.0, zf, "W", &color); ^ g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o common.o common.cpp common.cpp: In function ‘void display(char*, int)’: common.cpp:47:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] if ((display_out = fopen (dirs->getSaves ("logfile.txt"), "wt")) != NULL) ^ common.cpp: In function ‘void error_outofmemory()’: common.cpp:62:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Out of memory", LOG_FATAL); ^ g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o menu.o menu.cpp g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o fileloader.o fileloader.cpp g++ -I. -I.. -I. -I.. -DDATADIR='"/usr/share/games"' -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -c -o maploader.o maploader.cpp maploader.cpp: In member function ‘void MapLoader::readMapFile()’: maploader.cpp:57:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] if (!file_open (dirs->getMaps ("maps.txt"))) ^ maploader.cpp: In constructor ‘MapLoader::MapLoader()’: maploader.cpp:73:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] file_setWhitespace (" \t\r\n"); ^ maploader.cpp:74:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] file_addComment ("#", "\n"); ^ maploader.cpp:74:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] maploader.cpp:75:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] file_setQuotes ("\"'´`"); ^ maploader.cpp: In member function ‘int MissionCustom::readAttribute(char*, char*, char*)’: maploader.cpp:145:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Assignment symbol '=' is missing"); ^ maploader.cpp:152:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Unexpected end of file"); ^ maploader.cpp: In member function ‘int MissionCustom::synchronize()’: maploader.cpp:163:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] if (!file_find ("\n")) return 0; ^ maploader.cpp: In member function ‘int MissionCustom::parseMapData()’: maploader.cpp:235:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Heading value must be an integer"); ^ maploader.cpp:259:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Time value must be an integer in [0...24]"); ^ maploader.cpp:266:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Time value must be an integer in [0...24]"); ^ maploader.cpp:300:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Only 32 bpp TGA files are valid"); ^ maploader.cpp:313:69: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Scaleheight value must be a float number in [0...1]"); ^ maploader.cpp:320:71: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Scaleheight value must be a float number in [0...1]"); ^ maploader.cpp:333:82: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Tree needs a number suffix like \"Tree2\" with number in [1...3]"); ^ maploader.cpp:339:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Tree value must be an integer in [0...100]"); ^ maploader.cpp:345:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Tree value must be an integer in [0...100]"); ^ maploader.cpp: In member function ‘int MissionCustom::parseObjectData()’: maploader.cpp:369:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Too many objects defined"); ^ maploader.cpp:426:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Party value must be an integer"); ^ maploader.cpp:437:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Level value must be an integer in [0...10]"); ^ maploader.cpp:443:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Level value must be an integer in [0...10]"); ^ maploader.cpp:451:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("X value must be a float number"); ^ maploader.cpp:462:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Y value must be a float number"); ^ maploader.cpp:473:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Inittime value must be a float number"); ^ maploader.cpp:485:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Critical value must be an integer"); ^ maploader.cpp: In member function ‘int MissionCustom::parseTextData()’: maploader.cpp:511:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Too many text blocks"); ^ maploader.cpp:530:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Starttime value must be a float number"); ^ maploader.cpp:542:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Delay value must be a float number"); ^ maploader.cpp: In member function ‘int MissionCustom::parseRelCoords()’: maploader.cpp:576:73: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("No object defined yet: coords origin could not be set"); ^ maploader.cpp:587:73: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("No object defined yet: coords origin could not be set"); ^ maploader.cpp:608:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Quadrant value must be an integer in [1...16]"); ^ maploader.cpp:614:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Quadrant value must be an integer in [1...16]"); ^ maploader.cpp: In member function ‘int MissionCustom::parseInfoData()’: maploader.cpp:657:92: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Pilot needs a number suffix like \"Pilot5\" with number in [1...maxpilots]"); ^ maploader.cpp:664:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Invalid pilot name"); ^ maploader.cpp:677:88: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Fighter needs a number suffix like \"Fighter1\" with number in [1...3]"); ^ maploader.cpp:689:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Invalid fighter type"); ^ maploader.cpp:698:85: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Weapon needs a number suffix like \"Weapon\" with number in [1...3]"); ^ maploader.cpp:707:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Invalid weapon type"); ^ maploader.cpp:715:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Maxtime value must be a float number"); ^ maploader.cpp: In member function ‘void MissionCustom::init()’: maploader.cpp:741:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] error ("Could not open map file"); ^ maploader.cpp: In member function ‘virtual void MissionCustom::start()’: maploader.cpp:871:78: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wpedantic] display ("Map has a valid bpp entry but seems to be corrupt", LOG_FATAL); ^ g++ -g -O2 -fdebug-prefix-map=/build/gl-117-3o63tC/gl-117-1.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include -I/usr/include -Wl,-z,relro -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 -lSDLmain -lSDL_mixer make[3]: Leaving directory '/build/gl-117-3o63tC/gl-117-1.3.2/src' make[3]: Entering directory '/build/gl-117-3o63tC/gl-117-1.3.2' make[3]: Leaving directory '/build/gl-117-3o63tC/gl-117-1.3.2' make[2]: Leaving directory '/build/gl-117-3o63tC/gl-117-1.3.2' make[1]: Leaving directory '/build/gl-117-3o63tC/gl-117-1.3.2' dh_auto_test -a make -j1 check VERBOSE=1 make[1]: Entering directory '/build/gl-117-3o63tC/gl-117-1.3.2' Making check in src make[2]: Entering directory '/build/gl-117-3o63tC/gl-117-1.3.2/src' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/gl-117-3o63tC/gl-117-1.3.2/src' make[2]: Entering directory '/build/gl-117-3o63tC/gl-117-1.3.2' make[2]: Leaving directory '/build/gl-117-3o63tC/gl-117-1.3.2' make[1]: Leaving directory '/build/gl-117-3o63tC/gl-117-1.3.2' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-arch dh binary-arch --with autoreconf create-stamp debian/debhelper-build-stamp dh_testroot -a dh_prep -a dh_auto_install -a make -j1 install DESTDIR=/build/gl-117-3o63tC/gl-117-1.3.2/debian/tmp AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/gl-117-3o63tC/gl-117-1.3.2' Making install in src make[2]: Entering directory '/build/gl-117-3o63tC/gl-117-1.3.2/src' make[3]: Entering directory '/build/gl-117-3o63tC/gl-117-1.3.2/src' /bin/mkdir -p '/build/gl-117-3o63tC/gl-117-1.3.2/debian/tmp/usr/games' /usr/bin/install -c gl-117 '/build/gl-117-3o63tC/gl-117-1.3.2/debian/tmp/usr/games' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/build/gl-117-3o63tC/gl-117-1.3.2/src' make[2]: Leaving directory '/build/gl-117-3o63tC/gl-117-1.3.2/src' make[2]: Entering directory '/build/gl-117-3o63tC/gl-117-1.3.2' make[3]: Entering directory '/build/gl-117-3o63tC/gl-117-1.3.2' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/build/gl-117-3o63tC/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/models' /usr/bin/install -c -m 644 models/aster1.3ds models/barrier.3ds models/base1.3ds models/cannon1.3ds models/cannon1b.3ds models/cannon2.3ds models/cannon2b.3ds models/chaff1.3ds models/container1.3ds models/depot1.3ds models/egg.3ds models/flak2.3ds models/flarak1.3ds models/flare1.3ds models/gl-117.3ds models/gl-14.3ds models/gl-14b.3ds models/gl-14c.3ds models/gl-14d.3ds models/gl-15.3ds models/gl-16.3ds models/gl-21.3ds models/gl-21b.3ds models/gl-29.3ds models/gl-50.3ds models/hall1.3ds models/hall2.3ds models/house1.3ds models/mine1.3ds models/missile1.3ds models/missile2.3ds models/missile3.3ds models/missile4.3ds models/missile5.3ds models/missile6.3ds models/missile7.3ds models/missile8.3ds models/oilrig.3ds models/pickup1.3ds models/pickup2.3ds '/build/gl-117-3o63tC/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/models' /usr/bin/install -c -m 644 models/radar.3ds models/rubble.3ds models/ship1.3ds models/ship2.3ds models/tank1.3ds models/tank2.3ds models/tent1.3ds models/tent4.3ds models/transp1.3ds models/transp2.3ds models/transp4.3ds models/trsam.3ds models/truck1.3ds models/truck2.3ds models/wall.3ds '/build/gl-117-3o63tC/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/models' /bin/mkdir -p '/build/gl-117-3o63tC/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/music' /usr/bin/install -c -m 644 music/ambient.s3m music/dark.s3m music/electro.s3m music/loser.s3m music/softtec.s3m music/standby.s3m music/stars.s3m music/winner.s3m '/build/gl-117-3o63tC/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/music' /bin/mkdir -p '/build/gl-117-3o63tC/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/sounds' /usr/bin/install -c -m 644 sounds/beep1.wav sounds/beep2.wav sounds/cannon1.wav sounds/chaff1.wav sounds/click1.wav sounds/explode1.wav sounds/hit1.wav sounds/missile1.wav sounds/plane1.wav sounds/thunder1.wav '/build/gl-117-3o63tC/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/sounds' /bin/mkdir -p '/build/gl-117-3o63tC/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/textures' /usr/bin/install -c -m 644 textures/arrow.tga textures/aster1_n.tga textures/barrier_.tga textures/base1_no.tga textures/cactus1.tga textures/cactusu1.tga textures/camoufl.tga textures/chaff_ch.tga textures/clouds1.tga textures/clouds2.tga textures/clouds3.tga textures/cross.tga textures/cross2.tga textures/depot_fr.tga textures/eagle_gr.tga textures/earth.tga textures/egg_chec.tga textures/flare1.tga textures/flare2.tga textures/flare3.tga textures/flare4.tga textures/flare_ch.tga textures/font1.tga textures/font2.tga textures/gl-14_c2.tga textures/gl-14_ch.tga textures/gl-14b_c.tga textures/gl-14b_d.tga textures/gl-14c_c.tga textures/gl-14c_d.tga textures/gl-14d_c.tga textures/gl-14d_d.tga textures/gl-15_c2.tga textures/gl-15_ch.tga textures/gl-16_c2.tga textures/gl-16_ch.tga textures/gl-21_c2.tga textures/gl-21_ch.tga textures/gl-21b_c.tga textures/gl-21b_d.tga '/build/gl-117-3o63tC/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/textures' /usr/bin/install -c -m 644 textures/gl-29_ch.tga textures/gl-50_c2.tga textures/gl-50_ch.tga textures/glitter.tga textures/grass1.tga textures/gravel1.tga textures/greendrk.tga textures/greenlit.tga textures/greygrid.tga textures/hall1b_g.tga textures/hall2b_c.tga textures/house_s1.tga textures/medals.tga textures/moon1.tga textures/oilrig_c.tga textures/oilrig_c2.tga textures/panzer1_.tga textures/panzer2_.tga textures/patents.tga textures/radar1.tga textures/radar2.tga textures/ranks.tga textures/redsand1.tga textures/redstone2.tga textures/rocks1.tga textures/roof.tga textures/sand1.tga textures/ship2_fr.tga textures/ship_fra.tga textures/smoke1.tga textures/smoke2.tga textures/smoke3.tga textures/sun2.tga textures/tent1_no.tga textures/tent4_fr.tga textures/title.tga textures/transp2_.tga textures/transp4_.tga textures/tree1.tga textures/tree2.tga '/build/gl-117-3o63tC/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/textures' /usr/bin/install -c -m 644 textures/tree3.tga textures/tree4.tga textures/tree5.tga textures/treeu1.tga textures/treeu2.tga textures/treeu3.tga textures/treeu4.tga textures/treeu5.tga textures/water1.tga textures/wheel.tga '/build/gl-117-3o63tC/gl-117-1.3.2/debian/tmp/usr/share/games/gl-117/textures' make[3]: Leaving directory '/build/gl-117-3o63tC/gl-117-1.3.2' make[2]: Leaving directory '/build/gl-117-3o63tC/gl-117-1.3.2' make[1]: Leaving directory '/build/gl-117-3o63tC/gl-117-1.3.2' dh_install -a dh_installdocs -a dh_installchangelogs -a dh_installman -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'gl-117-dbgsym' in '../gl-117-dbgsym_1.3.2-3+b1_amd64.deb'. dpkg-deb: building package 'gl-117' in '../gl-117_1.3.2-3+b1_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../gl-117_1.3.2-3+b1_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build gl-117-1.3.2 dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/gl-117-3o63tC /tmp/gl-117-1.3.2-3+b1usrzwbnh I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.CmoGLb9knQ... I: success in 372.7747 seconds md5: gl-117-dbgsym_1.3.2-3+b1_amd64.deb: OK md5: gl-117_1.3.2-3+b1_amd64.deb: OK sha1: gl-117-dbgsym_1.3.2-3+b1_amd64.deb: OK sha1: gl-117_1.3.2-3+b1_amd64.deb: OK sha256: gl-117-dbgsym_1.3.2-3+b1_amd64.deb: OK sha256: gl-117_1.3.2-3+b1_amd64.deb: OK Checksums: OK