Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/a/atanks/atanks_6.5~dfsg-4_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/atanks-6.5~dfsg-4smicmdju/atanks_6.5~dfsg-4_amd64.buildinfo Get source package info: atanks=6.5~dfsg-4 Source URL: http://snapshot.notset.fr/mr/package/atanks/6.5~dfsg-4/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11.1 automake=1:1.16.2-4 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.48 bash=5.1~rc2-1 binutils=2.35.1-2 binutils-common=2.35.1-2 binutils-x86-64-linux-gnu=2.35.1-2 bsdextrautils=2.36-3+b2 bsdutils=1:2.36-3+b2 build-essential=12.8 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.0-1 cpp-10=10.2.0-16 dash=0.5.10.2-7 debconf=1.5.74 debhelper=13.2.1 debianutils=4.11.2 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13-5 file=1:5.38-5 findutils=4.7.0+git20201010-2 g++=4:10.2.0-1 g++-10=10.2.0-16 gcc=4:10.2.0-1 gcc-10=10.2.0-16 gcc-10-base=10.2.0-16 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 grep=3.6-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.58 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 liballegro4-dev=2:4.4.3.1-1 liballegro4.4=2:4.4.3.1-1 libarchive-zip-perl=1.68-1 libasan6=10.2.0-16 libasound2=1.2.3.2-1 libasound2-data=1.2.3.2-1 libatomic1=10.2.0-16 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3.1 libaudit1=1:2.8.5-3.1 libbinutils=2.35.1-2 libblkid1=2.36-3+b2 libbsd0=0.10.0-1 libbz2-1.0=1.0.8-4 libc-bin=2.31-4 libc-dev-bin=2.31-4 libc6=2.31-4 libc6-dev=2.31-4 libcap-ng0=0.7.9-2.2 libcc1-0=10.2.0-16 libcom-err2=1.45.6-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-2 libctf0=2.35.1-2 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.255 libdebhelper-perl=13.2.1 libdpkg-perl=1.20.5 libelf1=0.182-1 libffi7=3.3-4 libfile-stripnondeterminism-perl=1.9.0-1 libgcc-10-dev=10.2.0-16 libgcc-s1=10.2.0-16 libgcrypt20=1.8.7-2 libgdbm-compat4=1.18.1-5.1 libgdbm6=1.18.1-5.1 libglib2.0-0=2.66.2-1 libgmp10=2:6.2.0+dfsg-6 libgomp1=10.2.0-16 libgpg-error0=1.38-2 libgssapi-krb5-2=1.17-10 libicu67=67.1-4 libisl22=0.22.1-1 libitm1=10.2.0-16 libjpgalleg4.4=2:4.4.3.1-1 libk5crypto3=1.17-10 libkeyutils1=1.6.1-2 libkrb5-3=1.17-10 libkrb5support0=1.17-10 liblsan0=10.2.0-16 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmount1=2.36-3+b2 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libnss-nis=3.1-4 libnss-nisplus=1.3-4 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.32=5.32.0-4 libpipeline1=1.5.3-1 libpthread-stubs0-dev=0.4-1 libquadmath0=10.2.0-16 libseccomp2=2.5.0-3 libselinux1=3.1-2+b1 libsigsegv2=2.12-2 libsmartcols1=2.36-3+b2 libssl1.1=1.1.1h-1 libstdc++-10-dev=10.2.0-16 libstdc++6=10.2.0-16 libsub-override-perl=0.09-2 libsystemd0=246.6-2 libtinfo6=6.2+20200918-1 libtirpc-common=1.2.6-3 libtirpc-dev=1.2.6-3 libtirpc3=1.2.6-3 libtool=2.4.6-14 libtsan0=10.2.0-16 libubsan1=10.2.0-16 libuchardet0=0.0.7-1 libudev1=246.6-2 libunistring2=0.9.10-4 libuuid1=2.36-3+b2 libx11-6=2:1.6.12-1 libx11-data=2:1.6.12-1 libx11-dev=2:1.6.12-1 libxau-dev=1:1.0.8-1+b2 libxau6=1:1.0.8-1+b2 libxcb1=1.14-2 libxcb1-dev=1.14-2 libxcursor-dev=1:1.2.0-2 libxcursor1=1:1.2.0-2 libxdmcp-dev=1:1.1.2-3 libxdmcp6=1:1.1.2-3 libxext-dev=2:1.3.3-1+b2 libxext6=2:1.3.3-1+b2 libxfixes-dev=1:5.0.3-2 libxfixes3=1:5.0.3-2 libxml2=2.9.10+dfsg-6.2 libxpm-dev=1:3.5.12-1 libxpm4=1:3.5.12-1 libxrender-dev=1:0.9.10-1 libxrender1=1:0.9.10-1 libxxf86dga1=2:1.1.4-1+b3 libxxf86vm-dev=1:1.1.4-1+b2 libxxf86vm1=1:1.1.4-1+b2 libzstd1=1.4.5+dfsg-4 linux-libc-dev=5.9.6-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 ncurses-base=6.2+20200918-1 ncurses-bin=6.2+20200918-1 patch=2.7.6-6 perl=5.32.0-4 perl-base=5.32.0-4 perl-modules-5.32=5.32.0-4 po-debconf=1.0.21 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-5 tar=1.30+dfsg-7 util-linux=2.36-3+b2 x11proto-core-dev=2020.1-1 x11proto-dev=2020.1-1 x11proto-xext-dev=2020.1-1 x11proto-xf86vidmode-dev=2020.1-1 xorg-sgml-doctools=1:1.11-1 xtrans-dev=1.4.0-1 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-2 --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/20201111T205648Z/ 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 atanks=6.5~dfsg-4 && mkdir -p /build/atanks-6m8qyp && dpkg-source --no-check -x /*.dsc /build/atanks-6m8qyp/atanks-6.5-dfsg && chown -R builduser:builduser /build/atanks-6m8qyp" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/atanks-6m8qyp/atanks-6.5-dfsg && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1605389370" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/atanks-6m8qyp /tmp/atanks-6.5~dfsg-4smicmdju bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20201111T205648Z 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.DrOTBvSWo4 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.DrOTBvSWo4 Reading package lists... Building dependency tree... util-linux is already the newest version (2.36-3+b2). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20201111T205648Z unstable/main amd64 libfakeroot amd64 1.25.3-1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20201111T205648Z unstable/main amd64 fakeroot amd64 1.25.3-1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (739 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 ... 4694 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1_amd64.deb ... Unpacking fakeroot (1.25.3-1) ... Setting up libfakeroot:amd64 (1.25.3-1) ... Setting up fakeroot (1.25.3-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-4) ... 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/20201111T205648Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.DrOTBvSWo4 Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20201111T205648Z 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 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 (1150 kB/s) Reading package lists... 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.DrOTBvSWo4 I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d atanks=6.5~dfsg-4 && mkdir -p /build/atanks-6m8qyp && dpkg-source --no-check -x /*.dsc /build/atanks-6m8qyp/atanks-6.5-dfsg && chown -R builduser:builduser /build/atanks-6m8qyp"' exec /tmp/mmdebstrap.DrOTBvSWo4 Reading package lists... NOTICE: 'atanks' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/games-team/atanks.git Please use: git clone https://salsa.debian.org/games-team/atanks.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 5362 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main atanks 6.5~dfsg-4 (dsc) [2144 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main atanks 6.5~dfsg-4 (tar) [5351 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main atanks 6.5~dfsg-4 (diff) [8260 B] Fetched 5362 kB in 4s (1262 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'atanks_6.5~dfsg-4.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting atanks in /build/atanks-6m8qyp/atanks-6.5-dfsg dpkg-source: info: unpacking atanks_6.5~dfsg.orig.tar.gz dpkg-source: info: unpacking atanks_6.5~dfsg-4.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying freebsd-hurd.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/atanks-6m8qyp/atanks-6.5-dfsg && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1605389370" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.DrOTBvSWo4 dpkg-buildpackage: info: source package atanks dpkg-buildpackage: info: source version 6.5~dfsg-4 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Markus Koschany dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean dh_auto_clean make -j4 clean make[1]: Entering directory '/build/atanks-6m8qyp/atanks-6.5-dfsg' /bin/rm -f obj/* atanks make[1]: Leaving directory '/build/atanks-6m8qyp/atanks-6.5-dfsg' dh_clean debian/rules build-arch dh build-arch dh_update_autotools_config -a dh_autoreconf -a dh_auto_configure -a dh_auto_build -a make -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/atanks-6m8qyp/atanks-6.5-dfsg' Compiling obj/aicore.o Compiling obj/atanks.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/aicore.o -c src/aicore.cpp /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/atanks.o -c src/atanks.cpp Compiling obj/beam.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/beam.o -c src/beam.cpp Compiling obj/button.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/button.o -c src/button.cpp In file included from src/menu.h:24, from src/optionscreens.h:28, from src/atanks.cpp:24: src/optionitem.h: In constructor ‘OptionItem::OptionItem(int32_t, tgt_T*, int32_t (*)(tgt_T*, int32_t), const char*, int32_t, BUTTON*, int32_t, int32_t, int32_t, int32_t, int32_t)’: src/optionitem.h:304:16: warning: invalid use of incomplete type ‘class BUTTON’ 304 | this->button->getLocation(this->left, this->top, this->width, this->height); | ^~ In file included from src/optionitem.h:24, from src/menu.h:24, from src/optionscreens.h:28, from src/atanks.cpp:24: src/optionitembase.h:40:7: note: forward declaration of ‘class BUTTON’ 40 | class BUTTON; | ^~~~~~ src/beam.cpp: In member function ‘virtual void BEAM::applyPhysics()’: src/beam.cpp:201:18: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 201 | } catch (std::exception) { | ^~~~~~~~~ src/beam.cpp:211:17: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 211 | } catch (std::exception) { | ^~~~~~~~~ src/beam.cpp: In member function ‘void BEAM::createBeamPath()’: src/beam.cpp:271:17: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 271 | } catch (std::exception) { | ^~~~~~~~~ Compiling obj/client.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/client.o -c src/client.cpp src/atanks.cpp: In function ‘void credits()’: src/atanks.cpp:152:35: warning: ‘/credits.txt’ directive output may be truncated writing 12 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 152 | snprintf (path_buf, PATH_MAX, "%s/credits.txt", env.dataDir); | ^~~~~~~~~~~~ src/atanks.cpp:152:11: note: ‘snprintf’ output between 13 and 4109 bytes into a destination of size 4096 152 | snprintf (path_buf, PATH_MAX, "%s/credits.txt", env.dataDir); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/atanks.cpp: In function ‘const char* do_winner()’: src/atanks.cpp:293:30: warning: ‘snprintf’ output truncated before the last format character [-Wformat-truncation=] 293 | snprintf(valTxt, 15, " %14s", Add_Comma(pl_money[z])); | ^ src/atanks.cpp:293:11: note: ‘snprintf’ output 16 or more bytes into a destination of size 15 293 | snprintf(valTxt, 15, " %14s", Add_Comma(pl_money[z])); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/atanks.cpp: In function ‘bool loadConfig()’: src/atanks.cpp:737:35: warning: ‘/atanks-config.txt’ directive output may be truncated writing 18 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 737 | snprintf(fullPath, PATH_MAX, "%s/atanks-config.txt", env.configDir); | ^~~~~~~~~~~~~~~~~~ src/atanks.cpp:737:11: note: ‘snprintf’ output between 19 and 4115 bytes into a destination of size 4096 737 | snprintf(fullPath, PATH_MAX, "%s/atanks-config.txt", env.configDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling obj/clock.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/clock.o -c src/clock.cpp Compiling obj/debris_pool.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/debris_pool.o -c src/debris_pool.cpp Compiling obj/debug.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/debug.o -c src/debug.cpp Compiling obj/decor.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/decor.o -c src/decor.cpp Compiling obj/environment.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/environment.o -c src/environment.cpp Compiling obj/explosion.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/explosion.o -c src/explosion.cpp Compiling obj/files.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/files.o -c src/files.cpp src/explosion.cpp: In member function ‘virtual void EXPLOSION::applyPhysics()’: src/explosion.cpp:181:18: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 181 | } catch (std::exception) { /* No reason to fuss, its just smoke. */ } | ^~~~~~~~~ Compiling obj/floattext.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/floattext.o -c src/floattext.cpp src/environment.cpp: In member function ‘void ENVIRONMENT::load_text_files()’: src/environment.cpp:942:36: warning: ‘/text/war_quotes_it.txt’ directive output may be truncated writing 23 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 942 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes_it.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp:942:12: note: ‘snprintf’ output between 24 and 4120 bytes into a destination of size 4096 942 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes_it.txt", dataDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp:958:36: warning: ‘/text/war_quotes_ES.txt’ directive output may be truncated writing 23 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 958 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes_ES.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp:958:12: note: ‘snprintf’ output between 24 and 4120 bytes into a destination of size 4096 958 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes_ES.txt", dataDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp:950:36: warning: ‘/text/war_quotes_ru.txt’ directive output may be truncated writing 23 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 950 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes_ru.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp:950:12: note: ‘snprintf’ output between 24 and 4120 bytes into a destination of size 4096 950 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes_ru.txt", dataDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp:954:36: warning: ‘/text/war_quotes.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 954 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~ src/environment.cpp:954:12: note: ‘snprintf’ output between 21 and 4117 bytes into a destination of size 4096 954 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp:938:36: warning: ‘/text/war_quotes.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 938 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~ src/environment.cpp:938:12: note: ‘snprintf’ output between 21 and 4117 bytes into a destination of size 4096 938 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp:934:36: warning: ‘/text/war_quotes.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 934 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~ src/environment.cpp:934:12: note: ‘snprintf’ output between 21 and 4117 bytes into a destination of size 4096 934 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp:946:36: warning: ‘/text/war_quotes.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 946 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~ src/environment.cpp:946:12: note: ‘snprintf’ output between 21 and 4117 bytes into a destination of size 4096 946 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp:963:36: warning: ‘/text/war_quotes.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 963 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~ src/environment.cpp:963:12: note: ‘snprintf’ output between 21 and 4117 bytes into a destination of size 4096 963 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp:915:31: warning: ‘/text/’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:975:2: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 975 | LOAD_TEXT_BLOCK(gloat, "gloat") | ^~~~~~~~~~~~~~~ src/environment.cpp:915:34: note: format string is defined here 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ src/environment.cpp:915:10: note: ‘snprintf’ output between 12 and 4119 bytes into a destination of size 4096 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp:975:2: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 975 | LOAD_TEXT_BLOCK(gloat, "gloat") | ^~~~~~~~~~~~~~~ src/environment.cpp:915:31: warning: ‘/text/’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:976:2: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 976 | LOAD_TEXT_BLOCK(ingame, "ingame") | ^~~~~~~~~~~~~~~ src/environment.cpp:915:34: note: format string is defined here 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ src/environment.cpp:915:10: note: ‘snprintf’ output between 13 and 4120 bytes into a destination of size 4096 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp:976:2: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 976 | LOAD_TEXT_BLOCK(ingame, "ingame") | ^~~~~~~~~~~~~~~ src/environment.cpp:915:31: warning: ‘/text/’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:977:2: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 977 | LOAD_TEXT_BLOCK(instructions, "instr") | ^~~~~~~~~~~~~~~ src/environment.cpp:915:34: note: format string is defined here 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ src/environment.cpp:915:10: note: ‘snprintf’ output between 12 and 4119 bytes into a destination of size 4096 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp:977:2: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 977 | LOAD_TEXT_BLOCK(instructions, "instr") | ^~~~~~~~~~~~~~~ src/environment.cpp:915:31: warning: ‘/text/’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:978:2: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 978 | LOAD_TEXT_BLOCK(panic, "panic") | ^~~~~~~~~~~~~~~ src/environment.cpp:915:34: note: format string is defined here 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ src/environment.cpp:915:10: note: ‘snprintf’ output between 12 and 4119 bytes into a destination of size 4096 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp:978:2: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 978 | LOAD_TEXT_BLOCK(panic, "panic") | ^~~~~~~~~~~~~~~ src/environment.cpp:915:31: warning: ‘/text/’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:979:2: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 979 | LOAD_TEXT_BLOCK(kamikaze, "kamikaze") | ^~~~~~~~~~~~~~~ src/environment.cpp:915:34: note: format string is defined here 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ src/environment.cpp:915:10: note: ‘snprintf’ output between 15 and 4122 bytes into a destination of size 4096 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp:979:2: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 979 | LOAD_TEXT_BLOCK(kamikaze, "kamikaze") | ^~~~~~~~~~~~~~~ src/environment.cpp:915:31: warning: ‘/text/’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:980:2: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 980 | LOAD_TEXT_BLOCK(retaliation, "retaliation") | ^~~~~~~~~~~~~~~ src/environment.cpp:915:34: note: format string is defined here 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ src/environment.cpp:915:10: note: ‘snprintf’ output between 18 and 4125 bytes into a destination of size 4096 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp:980:2: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 980 | LOAD_TEXT_BLOCK(retaliation, "retaliation") | ^~~~~~~~~~~~~~~ src/environment.cpp:915:31: warning: ‘/text/’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:981:2: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 981 | LOAD_TEXT_BLOCK(revenge, "revenge") | ^~~~~~~~~~~~~~~ src/environment.cpp:915:34: note: format string is defined here 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ src/environment.cpp:915:10: note: ‘snprintf’ output between 14 and 4121 bytes into a destination of size 4096 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp:981:2: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 981 | LOAD_TEXT_BLOCK(revenge, "revenge") | ^~~~~~~~~~~~~~~ src/environment.cpp:915:31: warning: ‘/text/’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:982:2: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 982 | LOAD_TEXT_BLOCK(suicide, "suicide") | ^~~~~~~~~~~~~~~ src/environment.cpp:915:34: note: format string is defined here 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ src/environment.cpp:915:10: note: ‘snprintf’ output between 14 and 4121 bytes into a destination of size 4096 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp:982:2: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 982 | LOAD_TEXT_BLOCK(suicide, "suicide") | ^~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘bool ENVIRONMENT::loadBackgroundMusic()’: src/environment.cpp:1007:35: warning: ‘/music’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 1007 | snprintf(path_buf, PATH_MAX, "%s/music", configDir); | ^~~~~~ src/environment.cpp:1007:11: note: ‘snprintf’ output between 7 and 4103 bytes into a destination of size 4096 1007 | snprintf(path_buf, PATH_MAX, "%s/music", configDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp:1021:36: warning: ‘/music/’ directive output may be truncated writing 7 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 1021 | snprintf(path_buf, PATH_MAX, "%s/music/%s", | ^~~~~~~ src/environment.cpp:1021:12: note: ‘snprintf’ output between 8 and 4359 bytes into a destination of size 4096 1021 | snprintf(path_buf, PATH_MAX, "%s/music/%s", | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1022 | configDir, folder_entry->d_name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘bool ENVIRONMENT::loadBitmaps()’: src/environment.cpp:1097:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 1097 | snprintf(path_buf, PATH_MAX, "%s/%s/%d.bmp", dataDir, | ^ src/environment.cpp:1097:11: note: ‘snprintf’ output between 8 and 4122 bytes into a destination of size 4096 1097 | snprintf(path_buf, PATH_MAX, "%s/%s/%d.bmp", dataDir, | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1098 | sub_folder, file_count); | ~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp:1185:36: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 1185 | snprintf(path_buf, PATH_MAX, "%s/%s/%d.bmp", dataDir, | ^ src/environment.cpp:1185:12: note: ‘snprintf’ output between 8 and 4122 bytes into a destination of size 4096 1185 | snprintf(path_buf, PATH_MAX, "%s/%s/%d.bmp", dataDir, | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1186 | sub_folder, file_count); | ~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘bool ENVIRONMENT::loadFonts()’: src/environment.cpp:1213:34: warning: ‘/unicode.dat’ directive output may be truncated writing 12 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 1213 | snprintf(path_buf, PATH_MAX, "%s/unicode.dat", dataDir); | ^~~~~~~~~~~~ src/environment.cpp:1213:10: note: ‘snprintf’ output between 13 and 4109 bytes into a destination of size 4096 1213 | snprintf(path_buf, PATH_MAX, "%s/unicode.dat", dataDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘bool ENVIRONMENT::loadSounds()’: src/environment.cpp:1288:35: warning: ‘/sound/’ directive output may be truncated writing 7 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 1288 | snprintf(path_buf, PATH_MAX, "%s/sound/%02d.wav", dataDir, i); | ^~~~~~~ src/environment.cpp:1288:11: note: ‘snprintf’ output between 14 and 4119 bytes into a destination of size 4096 1288 | snprintf(path_buf, PATH_MAX, "%s/sound/%02d.wav", dataDir, i); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/files.cpp: In function ‘bool Save_Game()’: src/files.cpp:44:34: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 44 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); | ^ src/files.cpp:44:10: note: ‘snprintf’ output between 6 and 4166 bytes into a destination of size 4096 44 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/files.cpp:95:34: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 95 | snprintf(path_buf, PATH_MAX, "%s/%s.txt", | ^ src/files.cpp:95:10: note: ‘snprintf’ output between 6 and 4166 bytes into a destination of size 4096 95 | snprintf(path_buf, PATH_MAX, "%s/%s.txt", | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | env.configDir, env.game_name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/files.cpp: In function ‘bool Load_Game()’: src/files.cpp:131:34: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 131 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); | ^ src/files.cpp:131:10: note: ‘snprintf’ output between 6 and 4166 bytes into a destination of size 4096 131 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/files.cpp: In function ‘bool Check_For_Saved_Game()’: src/files.cpp:295:34: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 295 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); | ^ src/files.cpp:295:10: note: ‘snprintf’ output between 6 and 4166 bytes into a destination of size 4096 295 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/files.cpp: In function ‘bool Copy_Config_File()’: src/files.cpp:323:35: warning: ‘/atanks-config.txt’ directive output may be truncated writing 18 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 323 | snprintf(dest_path, PATH_MAX, "%s/atanks-config.txt", env.configDir); | ^~~~~~~~~~~~~~~~~~ src/files.cpp:323:10: note: ‘snprintf’ output between 19 and 4115 bytes into a destination of size 4096 323 | snprintf(dest_path, PATH_MAX, "%s/atanks-config.txt", env.configDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/files.cpp: In function ‘bool Create_Music_Folder()’: src/files.cpp:381:34: warning: ‘/music’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 381 | snprintf(path_buf, PATH_MAX, "%s/music", env.configDir); | ^~~~~~ src/files.cpp:381:10: note: ‘snprintf’ output between 7 and 4103 bytes into a destination of size 4096 381 | snprintf(path_buf, PATH_MAX, "%s/music", env.configDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/files.cpp: In function ‘bool Load_Weapons_Text()’: src/files.cpp:511:35: warning: ‘/text/weapons_it.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 511 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_it.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~~~~ src/files.cpp:511:11: note: ‘snprintf’ output between 21 and 4117 bytes into a destination of size 4096 511 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_it.txt", env.dataDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/files.cpp:509:35: warning: ‘/text/weapons_ES.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 509 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ES.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~~~~ src/files.cpp:509:11: note: ‘snprintf’ output between 21 and 4117 bytes into a destination of size 4096 509 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ES.txt", env.dataDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/files.cpp:507:35: warning: ‘/text/weapons_ru.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 507 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ru.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~~~~ src/files.cpp:507:11: note: ‘snprintf’ output between 21 and 4117 bytes into a destination of size 4096 507 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ru.txt", env.dataDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/files.cpp:505:35: warning: ‘/text/weapons_sk.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 505 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_sk.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~~~~ src/files.cpp:505:11: note: ‘snprintf’ output between 21 and 4117 bytes into a destination of size 4096 505 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_sk.txt", env.dataDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/files.cpp:503:35: warning: ‘/text/weapons_de.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 503 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_de.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~~~~ src/files.cpp:503:11: note: ‘snprintf’ output between 21 and 4117 bytes into a destination of size 4096 503 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_de.txt", env.dataDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/files.cpp:501:35: warning: ‘/text/weapons_fr.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 501 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_fr.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~~~~ src/files.cpp:501:11: note: ‘snprintf’ output between 21 and 4117 bytes into a destination of size 4096 501 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_fr.txt", env.dataDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/files.cpp:499:35: warning: ‘/text/weapons.pt_BR.txt’ directive output may be truncated writing 23 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 499 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.pt_BR.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~~~~~~~ src/files.cpp:499:11: note: ‘snprintf’ output between 24 and 4120 bytes into a destination of size 4096 499 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.pt_BR.txt", env.dataDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/files.cpp:497:35: warning: ‘/text/weapons.txt’ directive output may be truncated writing 17 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 497 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~ src/files.cpp:497:11: note: ‘snprintf’ output between 18 and 4114 bytes into a destination of size 4096 497 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.txt", env.dataDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling obj/gameloop.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/gameloop.o -c src/gameloop.cpp Compiling obj/gfxData.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/gfxData.o -c src/gfxData.cpp Compiling obj/globaldata.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/globaldata.o -c src/globaldata.cpp Compiling obj/globaltypes.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/globaltypes.o -c src/globaltypes.cpp src/gameloop.cpp: In function ‘void init_new_round()’: src/gameloop.cpp:1399:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 1399 | for (int32_t i = 0; i < env.numGamePlayers; ++i) | ^~~ src/gameloop.cpp:1403:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 1403 | global.newRound(); | ^~~~~~ Compiling obj/land.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/land.o -c src/land.cpp src/globaldata.cpp: In member function ‘void GLOBALDATA::destroy()’: src/globaldata.cpp:226:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 226 | if (canvas) destroy_bitmap(canvas); canvas = nullptr; | ^~ src/globaldata.cpp:226:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 226 | if (canvas) destroy_bitmap(canvas); canvas = nullptr; | ^~~~~~ src/globaldata.cpp:227:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 227 | if (terrain) destroy_bitmap(terrain); terrain = nullptr; | ^~ src/globaldata.cpp:227:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 227 | if (terrain) destroy_bitmap(terrain); terrain = nullptr; | ^~~~~~~ src/globaldata.cpp:228:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 228 | if (done) delete [] done; done = nullptr; | ^~ src/globaldata.cpp:228:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 228 | if (done) delete [] done; done = nullptr; | ^~~~ src/globaldata.cpp:229:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 229 | if (fp) delete [] fp; fp = nullptr; | ^~ src/globaldata.cpp:229:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 229 | if (fp) delete [] fp; fp = nullptr; | ^~ src/globaldata.cpp:230:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 230 | if (surface) delete [] surface; surface = nullptr; | ^~ src/globaldata.cpp:230:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 230 | if (surface) delete [] surface; surface = nullptr; | ^~~~~~~ src/globaldata.cpp:231:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 231 | if (dropTo) delete [] dropTo; dropTo = nullptr; | ^~ src/globaldata.cpp:231:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 231 | if (dropTo) delete [] dropTo; dropTo = nullptr; | ^~~~~~ src/globaldata.cpp:232:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 232 | if (velocity) delete [] velocity; velocity = nullptr; | ^~ src/globaldata.cpp:232:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 232 | if (velocity) delete [] velocity; velocity = nullptr; | ^~~~~~~~ src/globaldata.cpp:233:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 233 | if (dropIncr) delete [] dropIncr; dropIncr = nullptr; | ^~ src/globaldata.cpp:233:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 233 | if (dropIncr) delete [] dropIncr; dropIncr = nullptr; | ^~~~~~~~ src/globaldata.cpp:234:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 234 | if (updates) delete [] updates; updates = nullptr; | ^~ src/globaldata.cpp:234:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 234 | if (updates) delete [] updates; updates = nullptr; | ^~~~~~~ src/globaldata.cpp:235:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 235 | if (lastUpdates) delete [] lastUpdates; lastUpdates = nullptr; | ^~ src/globaldata.cpp:235:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 235 | if (lastUpdates) delete [] lastUpdates; lastUpdates = nullptr; | ^~~~~~~~~~~ src/globaldata.cpp: In member function ‘void GLOBALDATA::do_updates()’: src/globaldata.cpp:256:59: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct BOX’ with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess] 256 | memcpy (lastUpdates, updates, sizeof (BOX) * updateCount); | ^ In file included from src/player_types.h:9, from src/player.h:25, from src/globaldata.cpp:22: src/main.h:280:8: note: ‘struct BOX’ declared here 280 | struct BOX | ^~~ Compiling obj/main.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/main.o -c src/main.cpp Compiling obj/menu.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/menu.o -c src/menu.cpp Compiling obj/missile.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/missile.o -c src/missile.cpp Compiling obj/network.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/network.o -c src/network.cpp Compiling obj/optionitembase.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionitembase.o -c src/optionitembase.cpp In file included from src/menu.h:24, from src/menu.cpp:5: src/optionitem.h: In instantiation of ‘void OptionItem::activateValue(int32_t) [with tgt_T = bool; opt_T = unsigned int; int32_t = int]’: src/optionitem.h:382:12: required from ‘int32_t OptionItem::activate(int32_t, int32_t, int32_t, int32_t) [with tgt_T = bool; opt_T = unsigned int; int32_t = int]’ src/optionitem.h:340:10: required from here src/optionitem.h:507:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 507 | tgt_T t_val = static_cast(val * decinc); | ~~~~^~~~~~~~ src/missile.cpp: In member function ‘virtual void MISSILE::applyPhysics()’: src/missile.cpp:237:18: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 237 | } catch (std::exception) { | ^~~~~~~~~ Compiling obj/optionitemcolour.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionitemcolour.o -c src/optionitemcolour.cpp Compiling obj/optionitemmenu.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionitemmenu.o -c src/optionitemmenu.cpp Compiling obj/optionitemplayer.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionitemplayer.o -c src/optionitemplayer.cpp Compiling obj/optionscreens.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optionscreens.o -c src/optionscreens.cpp Compiling obj/optiontypes.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/optiontypes.o -c src/optiontypes.cpp In file included from src/menu.h:24, from src/optionitemmenu.cpp:2: src/optionitem.h: In constructor ‘OptionItem::OptionItem(int32_t, tgt_T*, int32_t (*)(tgt_T*, int32_t), const char*, int32_t, BUTTON*, int32_t, int32_t, int32_t, int32_t, int32_t)’: src/optionitem.h:304:16: warning: invalid use of incomplete type ‘class BUTTON’ 304 | this->button->getLocation(this->left, this->top, this->width, this->height); | ^~ In file included from src/optionitemmenu.h:24, from src/optionitemmenu.cpp:1: src/optionitembase.h:40:7: note: forward declaration of ‘class BUTTON’ 40 | class BUTTON; | ^~~~~~ Compiling obj/perlin.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/perlin.o -c src/perlin.cpp Compiling obj/physobj.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/physobj.o -c src/physobj.cpp In file included from src/menu.h:24, from src/optionscreens.h:28, from src/optionscreens.cpp:1: src/optionitem.h: In constructor ‘OptionItem::OptionItem(int32_t, tgt_T*, int32_t (*)(tgt_T*, int32_t), const char*, int32_t, BUTTON*, int32_t, int32_t, int32_t, int32_t, int32_t)’: src/optionitem.h:304:16: warning: invalid use of incomplete type ‘class BUTTON’ 304 | this->button->getLocation(this->left, this->top, this->width, this->height); | ^~ In file included from src/optionitem.h:24, from src/menu.h:24, from src/optionscreens.h:28, from src/optionscreens.cpp:1: src/optionitembase.h:40:7: note: forward declaration of ‘class BUTTON’ 40 | class BUTTON; | ^~~~~~ Compiling obj/player.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/player.o -c src/player.cpp In file included from src/menu.h:24, from src/optionscreens.h:28, from src/optionscreens.cpp:1: src/optionitem.h: In instantiation of ‘void OptionItem::activateValue(int32_t) [with tgt_T = bool; opt_T = int; int32_t = int]’: src/optionitem.h:382:12: required from ‘int32_t OptionItem::activate(int32_t, int32_t, int32_t, int32_t) [with tgt_T = bool; opt_T = int; int32_t = int]’ src/optionitem.h:340:10: required from here src/optionitem.h:507:40: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 507 | tgt_T t_val = static_cast(val * decinc); | ~~~~^~~~~~~~ Compiling obj/player_types.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/player_types.o -c src/player_types.cpp In file included from src/menu.h:24, from src/player.cpp:25: src/optionitem.h: In constructor ‘OptionItem::OptionItem(int32_t, tgt_T*, int32_t (*)(tgt_T*, int32_t), const char*, int32_t, BUTTON*, int32_t, int32_t, int32_t, int32_t, int32_t)’: src/optionitem.h:304:16: warning: invalid use of incomplete type ‘class BUTTON’ 304 | this->button->getLocation(this->left, this->top, this->width, this->height); | ^~ In file included from src/optionitem.h:24, from src/menu.h:24, from src/player.cpp:25: src/optionitembase.h:40:7: note: forward declaration of ‘class BUTTON’ 40 | class BUTTON; | ^~~~~~ Compiling obj/satellite.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/satellite.o -c src/satellite.cpp Compiling obj/shop.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/shop.o -c src/shop.cpp Compiling obj/sky.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/sky.o -c src/sky.cpp Compiling obj/sound.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/sound.o -c src/sound.cpp Compiling obj/tank.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/tank.o -c src/tank.cpp src/shop.cpp: In function ‘bool shop(LevelCreator*)’: src/shop.cpp:284:22: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 62 [-Wformat-truncation=] 284 | "%s \"%s\".", | ^~ 285 | env.ingame->Get_Line(17), 286 | env.game_name); | ~~~~~~~~~~~~~ src/shop.cpp:283:15: note: ‘snprintf’ output 5 or more bytes (assuming 69) into a destination of size 64 283 | snprintf(description, 64, | ~~~~~~~~^~~~~~~~~~~~~~~~~ 284 | "%s \"%s\".", | ~~~~~~~~~~~~~ 285 | env.ingame->Get_Line(17), | ~~~~~~~~~~~~~~~~~~~~~~~~~ 286 | env.game_name); | ~~~~~~~~~~~~~~ Compiling obj/teleport.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/teleport.o -c src/teleport.cpp Compiling obj/text.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/text.o -c src/text.cpp Compiling obj/update.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/update.o -c src/update.cpp Compiling obj/virtobj.o /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused -o obj/virtobj.o -c src/virtobj.cpp /usr/bin/g++ -o atanks obj/aicore.o obj/atanks.o obj/beam.o obj/button.o obj/client.o obj/clock.o obj/debris_pool.o obj/debug.o obj/decor.o obj/environment.o obj/explosion.o obj/files.o obj/floattext.o obj/gameloop.o obj/gfxData.o obj/globaldata.o obj/globaltypes.o obj/land.o obj/main.o obj/menu.o obj/missile.o obj/network.o obj/optionitembase.o obj/optionitemcolour.o obj/optionitemmenu.o obj/optionitemplayer.o obj/optionscreens.o obj/optiontypes.o obj/perlin.o obj/physobj.o obj/player.o obj/player_types.o obj/satellite.o obj/shop.o obj/sky.o obj/sound.o obj/tank.o obj/teleport.o obj/text.o obj/update.o obj/virtobj.o -Wdate-time -D_FORTIFY_SOURCE=2 -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -DATANKS_DEBUG -Wl,-z,relro -L/usr/lib/x86_64-linux-gnu -lalleg -lm -lpthread -ggdb -g -O2 -fdebug-prefix-map=/build/atanks-6m8qyp/atanks-6.5-dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -std=c++0x -pthread -O0 -Wunused make[1]: Leaving directory '/build/atanks-6m8qyp/atanks-6.5-dfsg' dh_auto_test -a create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-arch dh binary-arch dh_testroot -a dh_prep -a dh_auto_install -a make -j4 install DESTDIR=/build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/atanks-6m8qyp/atanks-6.5-dfsg' install --strip-program=true -d /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -m 755 atanks /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -d /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/applications install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -m 644 atanks.desktop /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/applications install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -d /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/icons/hicolor/48x48/apps install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -m 644 atanks.png /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/icons/hicolor/48x48/apps install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -d /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/games/atanks install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -d /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/games/atanks/button install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -d /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/games/atanks/misc install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -d /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/games/atanks/missile install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -d /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/games/atanks/sound install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -d /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/games/atanks/stock install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -d /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/games/atanks/tank install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -d /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/games/atanks/tankgun install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -d /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/games/atanks/title install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -d /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/games/atanks/text install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -m 644 COPYING README TODO Changelog *.txt unicode.dat /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/games/atanks install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -m 644 button/* /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/games/atanks/button install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -m 644 misc/* /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/games/atanks/misc install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -m 644 missile/* /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/games/atanks/missile install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -m 644 sound/* /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/games/atanks/sound install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -m 644 stock/* /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/games/atanks/stock install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -m 644 tank/* /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/games/atanks/tank install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -m 644 tankgun/* /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/games/atanks/tankgun install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -m 644 title/* /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/games/atanks/title install: WARNING: ignoring --strip-program option as -s option was not specified install --strip-program=true -m 644 text/* /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/tmp/usr/share/games/atanks/text install: WARNING: ignoring --strip-program option as -s option was not specified make[1]: Leaving directory '/build/atanks-6m8qyp/atanks-6.5-dfsg' debian/rules override_dh_install make[1]: Entering directory '/build/atanks-6m8qyp/atanks-6.5-dfsg' dh_install -XCOPYING rm -fR /build/atanks-6m8qyp/atanks-6.5-dfsg/debian/atanks-data/usr/share/applications/ make[1]: Leaving directory '/build/atanks-6m8qyp/atanks-6.5-dfsg' 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 debian/rules override_dh_missing make[1]: Entering directory '/build/atanks-6m8qyp/atanks-6.5-dfsg' dh_missing --fail-missing make[1]: Leaving directory '/build/atanks-6m8qyp/atanks-6.5-dfsg' dh_dwz -a -a dh_strip -a -a dh_makeshlibs -a -a dh_shlibdeps -a -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'atanks' in '../atanks_6.5~dfsg-4_amd64.deb'. dpkg-deb: building package 'atanks-dbgsym' in '../atanks-dbgsym_6.5~dfsg-4_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../atanks_6.5~dfsg-4_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/atanks-6m8qyp /tmp/atanks-6.5~dfsg-4smicmdju I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.DrOTBvSWo4... I: success in 659.3631 seconds md5: atanks-dbgsym_6.5~dfsg-4_amd64.deb: OK md5: atanks_6.5~dfsg-4_amd64.deb: OK sha1: atanks-dbgsym_6.5~dfsg-4_amd64.deb: OK sha1: atanks_6.5~dfsg-4_amd64.deb: OK sha256: atanks-dbgsym_6.5~dfsg-4_amd64.deb: OK sha256: atanks_6.5~dfsg-4_amd64.deb: OK Checksums: OK