Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/s/stax/stax_1.37-1+b1_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/stax-1.37-1+b1g2sxe4fl/stax_1.37-1+b1_amd64.buildinfo Get source package info: stax=1.37-1 Source URL: http://snapshot.notset.fr/mr/package/stax/1.37-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11 automake=1:1.16.1-4 autopoint=0.19.8.1-9 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.46 bash=5.0-4 binutils=2.32.51.20190727-1 binutils-common=2.32.51.20190727-1 binutils-x86-64-linux-gnu=2.32.51.20190727-1 bsdmainutils=11.1.2+b1 bsdutils=1:2.34-0.1 build-essential=12.6 bzip2=1.0.6-9.2 coreutils=8.30-3 cpp=4:8.3.0-1 cpp-8=8.3.0-19 dash=0.5.10.2-6 debconf=1.5.72 debhelper=12.2.3 debianutils=4.8.6.3 dh-autoreconf=19 dh-strip-nondeterminism=1.3.0-1 diffutils=1:3.7-3 dpkg=1.19.7 dpkg-dev=1.19.7 dwz=0.12.20190723-1 fdisk=2.34-0.1 file=1:5.37-5 findutils=4.6.0+git+20190510-2 g++=4:8.3.0-1 g++-8=8.3.0-19 gcc=4:8.3.0-1 gcc-8=8.3.0-19 gcc-8-base=8.3.0-19 gcc-9-base=9.1.0-10 gettext=0.19.8.1-9 gettext-base=0.19.8.1-9 grep=3.3-1 groff-base=1.22.4-3 gzip=1.9-3 hostname=3.21 init-system-helpers=1.57 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-4 liballegro4-dev=2:4.4.2-13 liballegro4.4=2:4.4.2-13 libarchive-zip-perl=1.64-1 libasan5=9.1.0-10 libasound2=1.1.8-1 libasound2-data=1.1.8-1 libatomic1=9.1.0-10 libattr1=1:2.4.48-4 libaudit-common=1:2.8.5-2 libaudit1=1:2.8.5-2 libbinutils=2.32.51.20190727-1 libblkid1=2.34-0.1 libbsd0=0.9.1-2 libbz2-1.0=1.0.6-9.2 libc-bin=2.28-10 libc-dev-bin=2.28-10 libc6=2.28-10 libc6-dev=2.28-10 libcap-ng0=0.7.9-2 libcc1-0=9.1.0-10 libcroco3=0.6.12-3 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.249 libdpkg-perl=1.19.7 libelf1=0.176-1.1 libfdisk1=2.34-0.1 libffi6=3.2.1-9 libfile-stripnondeterminism-perl=1.3.0-1 libgcc-8-dev=8.3.0-19 libgcc1=1:9.1.0-10 libgcrypt20=1.8.4-5 libgdbm-compat4=1.18.1-4+b1 libgdbm6=1.18.1-4+b1 libglib2.0-0=2.60.6-1 libgmp10=2:6.1.2+dfsg-4 libgomp1=9.1.0-10 libgpg-error0=1.36-7 libicu63=63.2-2 libisl19=0.20-2 libitm1=9.1.0-10 libjpgalleg4.4=2:4.4.2-13 liblsan0=9.1.0-10 liblz4-1=1.8.3-1 liblzma5=5.2.4-1 libmagic-mgc=1:5.37-5 libmagic1=1:5.37-5 libmount1=2.34-0.1 libmpc3=1.1.0-1 libmpfr6=4.0.2-1 libmpx2=8.3.0-19 libncurses6=6.1+20190713-1 libncursesw6=6.1+20190713-1 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.32-5 libpcre3=2:8.39-12 libperl5.28=5.28.1-6 libpipeline1=1.5.1-2 libpthread-stubs0-dev=0.4-1 libquadmath0=9.1.0-10 libseccomp2=2.4.1-2 libselinux1=2.9-2 libsigsegv2=2.12-2 libsmartcols1=2.34-0.1 libstdc++-8-dev=8.3.0-19 libstdc++6=9.1.0-10 libsub-override-perl=0.09-2 libsystemd0=241-7 libtinfo6=6.1+20190713-1 libtool=2.4.6-10 libtsan0=9.1.0-10 libubsan1=9.1.0-10 libuchardet0=0.0.6-3 libudev1=241-7 libunistring2=0.9.10-2 libuuid1=2.34-0.1 libx11-6=2:1.6.7-1 libx11-data=2:1.6.7-1 libx11-dev=2:1.6.7-1 libxau-dev=1:1.0.8-1+b2 libxau6=1:1.0.8-1+b2 libxcb1=1.13.1-2 libxcb1-dev=1.13.1-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-1 libxfixes3=1:5.0.3-1 libxml2=2.9.4+dfsg1-7+b3 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 linux-libc-dev=4.19.37-6 login=1:4.7-2 m4=1.4.18-2 make=4.2.1-1.2 man-db=2.8.5-2 mawk=1.3.3-17+b3 ncurses-base=6.1+20190713-1 ncurses-bin=6.1+20190713-1 patch=2.7.6-6 perl=5.28.1-6 perl-base=5.28.1-6 perl-modules-5.28=5.28.1-6 po-debconf=1.0.21 sed=4.7-1 sensible-utils=0.0.12 sysvinit-utils=2.95-2 tar=1.30+dfsg-6 util-linux=2.34-0.1 x11proto-core-dev=2018.4-4 x11proto-dev=2018.4-4 x11proto-fixes-dev=1:2018.4-4 x11proto-xext-dev=2018.4-4 x11proto-xf86vidmode-dev=2018.4-4 xorg-sgml-doctools=1:1.11-1 xtrans-dev=1.3.5-1 xz-utils=5.2.4-1 zlib1g=1:1.2.11.dfsg-1 --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/20190729T092703Z/ 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 stax=1.37-1 && mkdir -p /build/stax-c1qLqU && dpkg-source --no-check -x /*.dsc /build/stax-c1qLqU/stax-1.37 && cd /build/stax-c1qLqU/stax-1.37 && { printf '%s' 'stax (1.37-1+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * rebuild for missing buildinfo files -- amd64 / i386 Build Daemon (x86-ubc-01) Mon, 29 Jul 2019 14:44:19 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/stax-c1qLqU" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/stax-c1qLqU/stax-1.37 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1564411459" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/stax-c1qLqU /tmp/stax-1.37-1+b1g2sxe4fl bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20190729T092703Z 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.rv5_TY1Njd 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.rv5_TY1Njd Reading package lists... Building dependency tree... util-linux is already the newest version (2.34-0.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 132 kB of archives. After this operation, 373 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20190729T092703Z unstable/main amd64 libfakeroot amd64 1.23-1 [45.9 kB] Get:2 http://snapshot.notset.fr/archive/debian/20190729T092703Z unstable/main amd64 fakeroot amd64 1.23-1 [85.8 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (1167 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 ... 4453 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.23-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.23-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.23-1_amd64.deb ... Unpacking fakeroot (1.23-1) ... Setting up libfakeroot:amd64 (1.23-1) ... Setting up fakeroot (1.23-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.28-10) ... 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/20190729T092703Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.rv5_TY1Njd Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20190729T092703Z 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 (1105 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.rv5_TY1Njd I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d stax=1.37-1 && mkdir -p /build/stax-c1qLqU && dpkg-source --no-check -x /*.dsc /build/stax-c1qLqU/stax-1.37 && cd /build/stax-c1qLqU/stax-1.37 && { printf '%s' 'stax (1.37-1+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * rebuild for missing buildinfo files -- amd64 / i386 Build Daemon (x86-ubc-01) Mon, 29 Jul 2019 14:44:19 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/stax-c1qLqU"' exec /tmp/mmdebstrap.rv5_TY1Njd Reading package lists... Need to get 1196 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main stax 1.37-1 (dsc) [1619 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main stax 1.37-1 (tar) [1188 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main stax 1.37-1 (diff) [6392 B] Fetched 1196 kB in 1s (1147 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'stax_1.37-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting stax in /build/stax-c1qLqU/stax-1.37 dpkg-source: info: unpacking stax_1.37.orig.tar.xz dpkg-source: info: unpacking stax_1.37-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying debian-changes I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/stax-c1qLqU/stax-1.37 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1564411459" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.rv5_TY1Njd dpkg-buildpackage: info: source package stax dpkg-buildpackage: info: source version 1.37-1+b1 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by amd64 / i386 Build Daemon (x86-ubc-01) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 dpkg-source: info: using options from stax-1.37/debian/source/options: --single-debian-patch --auto-commit fakeroot debian/rules clean dh clean --parallel dh_auto_clean -O--parallel make -j4 clean make[1]: Entering directory '/build/stax-c1qLqU/stax-1.37' rm -f stax stax.exe rm -f stax.hs rm -f stax.cfg make[1]: Leaving directory '/build/stax-c1qLqU/stax-1.37' dh_clean -O--parallel debian/rules build-arch dh build-arch --parallel dh_update_autotools_config -a -O--parallel dh_auto_configure -a -O--parallel debian/rules override_dh_auto_build make[1]: Entering directory '/build/stax-c1qLqU/stax-1.37' g++ -g -O2 -fdebug-prefix-map=/build/stax-c1qLqU/stax-1.37=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -DUNIX *.cpp -o stax `allegro-config --libs` In file included from commandline.cpp:22: stax.h:98:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool MoveBlocks(int step) throw (std::bad_alloc); // Returns true when the blocks reach the top of the panel ^~~~~ stax.h:353:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void AddColorScheme(char* name, RGB colors[NUM_CONFIGURABLE_COLORS]) throw (std::bad_alloc); ^~~~~ stax.h:354:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetColorScheme(char* name) throw (Invalid); ^~~~~ stax.h:356:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern char* GetColorSchemeName(unsigned int i) throw (Invalid); ^~~~~ stax.h:361:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void LoadData(void) throw (BadLoad); ^~~~~ stax.h:364:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetGraphicsMode(void) throw (BadGraphicsMode); ^~~~~ stax.h:365:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void CreateBuffer(void) throw (std::bad_alloc); ^~~~~ stax.h:379:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Message(char* s1, char* s2, char* s3) throw (std::bad_alloc); ^~~~~ stax.h:380:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_WaitMessage(char *s, ...) throw (std::bad_alloc); ^~~~~ stax.h:381:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern bool GUI_Prompt(char *message, char *b1, char *b2) throw (std::bad_alloc); ^~~~~ stax.h:382:102: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern int GUI_Go(int x, int y, int w, int h, Widget *widgets, int selected, void (*callback)(bool)) throw (std::bad_alloc); ^~~~~ stax.h:383:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_GetName(char *caption, char *buf, int maxlen) throw (std::bad_alloc); ^~~~~ stax.h:384:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Initialize(void) throw (std::bad_alloc); ^~~~~ stax.h:415:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void InstallSound(void) throw (BadInstall); ^~~~~ In file included from configuration.cpp:23: stax.h:98:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool MoveBlocks(int step) throw (std::bad_alloc); // Returns true when the blocks reach the top of the panel ^~~~~ stax.h:353:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void AddColorScheme(char* name, RGB colors[NUM_CONFIGURABLE_COLORS]) throw (std::bad_alloc); ^~~~~ stax.h:354:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetColorScheme(char* name) throw (Invalid); ^~~~~ stax.h:356:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern char* GetColorSchemeName(unsigned int i) throw (Invalid); ^~~~~ stax.h:361:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void LoadData(void) throw (BadLoad); ^~~~~ stax.h:364:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetGraphicsMode(void) throw (BadGraphicsMode); ^~~~~ stax.h:365:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void CreateBuffer(void) throw (std::bad_alloc); ^~~~~ stax.h:379:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Message(char* s1, char* s2, char* s3) throw (std::bad_alloc); ^~~~~ stax.h:380:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_WaitMessage(char *s, ...) throw (std::bad_alloc); ^~~~~ stax.h:381:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern bool GUI_Prompt(char *message, char *b1, char *b2) throw (std::bad_alloc); ^~~~~ stax.h:382:102: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern int GUI_Go(int x, int y, int w, int h, Widget *widgets, int selected, void (*callback)(bool)) throw (std::bad_alloc); ^~~~~ stax.h:383:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_GetName(char *caption, char *buf, int maxlen) throw (std::bad_alloc); ^~~~~ stax.h:384:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Initialize(void) throw (std::bad_alloc); ^~~~~ stax.h:415:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void InstallSound(void) throw (BadInstall); ^~~~~ configuration.cpp:28:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static char *DuplicateString(char *s) throw (std::bad_alloc) ^~~~~ configuration.cpp:35:70: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void AddColorScheme(char *name, RGB colors[NUM_CONFIGURABLE_COLORS]) throw (std::bad_alloc) ^~~~~ configuration.cpp:47:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void SetColorScheme(char* name) throw (Invalid) ^~~~~ configuration.cpp:67:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char* GetColorSchemeName(unsigned int i) throw (Invalid) ^~~~~ configuration.cpp: In function ‘char* game_type_getter(int, int*)’: configuration.cpp:78:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^ configuration.cpp:78:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:78:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp: In function ‘char* num_blocks_getter(int, int*)’: configuration.cpp:93:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^ configuration.cpp:93:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:93:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:93:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp: In function ‘char* initial_height_getter(int, int*)’: configuration.cpp:109:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^ configuration.cpp:109:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:109:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:109:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:109:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:109:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:109:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:109:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:109:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:109:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:109:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:109:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:109:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:109:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:109:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp: In function ‘void ConfigureGameOptions()’: configuration.cpp:132:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^ configuration.cpp:132:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:132:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:132:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:132:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp: In function ‘char* player1_controls_getter(int, int*)’: configuration.cpp:151:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^ configuration.cpp:151:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:151:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:151:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp: In function ‘char* player2_controls_getter(int, int*)’: configuration.cpp:166:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^ configuration.cpp:166:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:166:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:166:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:166:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp: In function ‘void ConfigureControls()’: configuration.cpp:187:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^ configuration.cpp:187:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:187:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:187:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:199:92: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] GUI_WaitMessage("|255000000Player 1 and Player 2 controls\n|255000000cannot be the same"); ^ configuration.cpp: In function ‘char* graphics_mode_getter(int, int*)’: configuration.cpp:212:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^ configuration.cpp:212:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp: In function ‘char* resolution_getter(int, int*)’: configuration.cpp:227:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^ configuration.cpp:227:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:227:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp: In function ‘char* color_depth_getter(int, int*)’: configuration.cpp:242:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^ configuration.cpp:242:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:242:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:242:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp: In function ‘void ConfigureGraphics()’: configuration.cpp:265:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^ configuration.cpp:265:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:265:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:265:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:265:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:352:99: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] GUI_WaitMessage("|255000000Error setting graphics mode...\n|255000000Reverted to previous mode."); ^ configuration.cpp: At global scope: configuration.cpp:377:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^ configuration.cpp:377:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:377:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:377:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:377:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:377:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:377:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:386:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^ configuration.cpp:386:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:386:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:386:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:386:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp: In function ‘void ConfigureSound()’: configuration.cpp:438:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^ configuration.cpp:438:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:438:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:438:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:438:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:438:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:474:80: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if (GUI_Prompt("|255000000Error setting up sound... Try again?", "Yes", "No") == 1) ^ configuration.cpp:474:80: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:474:80: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp: In function ‘void Configure()’: configuration.cpp:494:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^ configuration.cpp:494:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:494:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:494:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:494:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] configuration.cpp:494:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] In file included from data.cpp:21: stax.h:98:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool MoveBlocks(int step) throw (std::bad_alloc); // Returns true when the blocks reach the top of the panel ^~~~~ stax.h:353:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void AddColorScheme(char* name, RGB colors[NUM_CONFIGURABLE_COLORS]) throw (std::bad_alloc); ^~~~~ stax.h:354:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetColorScheme(char* name) throw (Invalid); ^~~~~ stax.h:356:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern char* GetColorSchemeName(unsigned int i) throw (Invalid); ^~~~~ stax.h:361:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void LoadData(void) throw (BadLoad); ^~~~~ stax.h:364:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetGraphicsMode(void) throw (BadGraphicsMode); ^~~~~ stax.h:365:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void CreateBuffer(void) throw (std::bad_alloc); ^~~~~ stax.h:379:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Message(char* s1, char* s2, char* s3) throw (std::bad_alloc); ^~~~~ stax.h:380:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_WaitMessage(char *s, ...) throw (std::bad_alloc); ^~~~~ stax.h:381:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern bool GUI_Prompt(char *message, char *b1, char *b2) throw (std::bad_alloc); ^~~~~ stax.h:382:102: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern int GUI_Go(int x, int y, int w, int h, Widget *widgets, int selected, void (*callback)(bool)) throw (std::bad_alloc); ^~~~~ stax.h:383:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_GetName(char *caption, char *buf, int maxlen) throw (std::bad_alloc); ^~~~~ stax.h:384:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Initialize(void) throw (std::bad_alloc); ^~~~~ stax.h:415:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void InstallSound(void) throw (BadInstall); ^~~~~ data.cpp:23:21: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void LoadData(void) throw (BadLoad) ^~~~~ In file included from graphics.cpp:24: stax.h:98:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool MoveBlocks(int step) throw (std::bad_alloc); // Returns true when the blocks reach the top of the panel ^~~~~ stax.h:353:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void AddColorScheme(char* name, RGB colors[NUM_CONFIGURABLE_COLORS]) throw (std::bad_alloc); ^~~~~ stax.h:354:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetColorScheme(char* name) throw (Invalid); ^~~~~ stax.h:356:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern char* GetColorSchemeName(unsigned int i) throw (Invalid); ^~~~~ stax.h:361:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void LoadData(void) throw (BadLoad); ^~~~~ stax.h:364:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetGraphicsMode(void) throw (BadGraphicsMode); ^~~~~ stax.h:365:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void CreateBuffer(void) throw (std::bad_alloc); ^~~~~ stax.h:379:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Message(char* s1, char* s2, char* s3) throw (std::bad_alloc); ^~~~~ stax.h:380:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_WaitMessage(char *s, ...) throw (std::bad_alloc); ^~~~~ stax.h:381:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern bool GUI_Prompt(char *message, char *b1, char *b2) throw (std::bad_alloc); ^~~~~ stax.h:382:102: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern int GUI_Go(int x, int y, int w, int h, Widget *widgets, int selected, void (*callback)(bool)) throw (std::bad_alloc); ^~~~~ stax.h:383:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_GetName(char *caption, char *buf, int maxlen) throw (std::bad_alloc); ^~~~~ stax.h:384:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Initialize(void) throw (std::bad_alloc); ^~~~~ stax.h:415:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void InstallSound(void) throw (BadInstall); ^~~~~ graphics.cpp:26:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void SetGraphicsMode(void) throw (BadGraphicsMode) ^~~~~ graphics.cpp:34:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void CreateBuffer(void) throw (std::bad_alloc) ^~~~~ In file included from gui.cpp:28: stax.h:98:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool MoveBlocks(int step) throw (std::bad_alloc); // Returns true when the blocks reach the top of the panel ^~~~~ stax.h:353:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void AddColorScheme(char* name, RGB colors[NUM_CONFIGURABLE_COLORS]) throw (std::bad_alloc); ^~~~~ stax.h:354:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetColorScheme(char* name) throw (Invalid); ^~~~~ stax.h:356:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern char* GetColorSchemeName(unsigned int i) throw (Invalid); ^~~~~ stax.h:361:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void LoadData(void) throw (BadLoad); ^~~~~ stax.h:364:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetGraphicsMode(void) throw (BadGraphicsMode); ^~~~~ stax.h:365:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void CreateBuffer(void) throw (std::bad_alloc); ^~~~~ stax.h:379:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Message(char* s1, char* s2, char* s3) throw (std::bad_alloc); ^~~~~ stax.h:380:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_WaitMessage(char *s, ...) throw (std::bad_alloc); ^~~~~ stax.h:381:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern bool GUI_Prompt(char *message, char *b1, char *b2) throw (std::bad_alloc); ^~~~~ stax.h:382:102: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern int GUI_Go(int x, int y, int w, int h, Widget *widgets, int selected, void (*callback)(bool)) throw (std::bad_alloc); ^~~~~ stax.h:383:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_GetName(char *caption, char *buf, int maxlen) throw (std::bad_alloc); ^~~~~ stax.h:384:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Initialize(void) throw (std::bad_alloc); ^~~~~ stax.h:415:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void InstallSound(void) throw (BadInstall); ^~~~~ gui.cpp:289:68: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static BITMAP *GUI_CreateButton(int w, char *s, WidgetState state) throw (std::bad_alloc) ^~~~~ gui.cpp:367:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] static BITMAP *GUI_CreateCharButton(int ch, WidgetState state) throw (std::bad_alloc) ^~~~~ gui.cpp:1250:95: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] int GUI_Go(int x, int y, int w, int h, Widget *widgets, int selected, void (*callback)(bool)) throw (std::bad_alloc) ^~~~~ gui.cpp: In function ‘int GUI_Go(int, int, int, int, Widget*, int, void (*)(bool))’: gui.cpp:1253:95: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] GUI_WaitMessage("|255000000*Error*\n|255255000GUI_Go:\nCannot select an unselectable widget"); ^ gui.cpp:1371:101: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] GUI_WaitMessage("|255000000*Error*\n|255255000GUI_Go:\nSlider width not a multiple of increment"); ^ gui.cpp:1685:109: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] GUI_WaitMessage("|255000000*Error*\n|255255000GUI_Go:\nWidget indexed by CharSelector not an editor"); ^ gui.cpp: At global scope: gui.cpp:1992:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void GUI_Message(char *s1, char *s2, char *s3) throw (std::bad_alloc) ^~~~~ gui.cpp: In function ‘void GUI_Message(char*, char*, char*)’: gui.cpp:1995:91: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] GUI_WaitMessage("|255000000*Error*\n|255255000GUI_Message:\nMust pass at least 1 string"); ^ gui.cpp: At global scope: gui.cpp:2060:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void GUI_WaitMessage(char *s, ...) throw (std::bad_alloc) ^~~~~ gui.cpp: In function ‘void GUI_WaitMessage(char*, ...)’: gui.cpp:2101:102: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] GUI_WaitMessage("|255000000*Error*\n|255255000GUI_WaitMessage:\nInvalid argument type '%c'", s[i]); ^ gui.cpp:2169:11: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] w[i].s = "OK"; ^~~~ gui.cpp: At global scope: gui.cpp:2185:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool GUI_Prompt(char *message, char *b1, char *b2) throw (std::bad_alloc) ^~~~~ gui.cpp:2222:27: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void GUI_Initialize(void) throw (std::bad_alloc) ^~~~~ In file included from highscores.cpp:21: stax.h:98:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool MoveBlocks(int step) throw (std::bad_alloc); // Returns true when the blocks reach the top of the panel ^~~~~ stax.h:353:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void AddColorScheme(char* name, RGB colors[NUM_CONFIGURABLE_COLORS]) throw (std::bad_alloc); ^~~~~ stax.h:354:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetColorScheme(char* name) throw (Invalid); ^~~~~ stax.h:356:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern char* GetColorSchemeName(unsigned int i) throw (Invalid); ^~~~~ stax.h:361:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void LoadData(void) throw (BadLoad); ^~~~~ stax.h:364:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetGraphicsMode(void) throw (BadGraphicsMode); ^~~~~ stax.h:365:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void CreateBuffer(void) throw (std::bad_alloc); ^~~~~ stax.h:379:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Message(char* s1, char* s2, char* s3) throw (std::bad_alloc); ^~~~~ stax.h:380:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_WaitMessage(char *s, ...) throw (std::bad_alloc); ^~~~~ stax.h:381:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern bool GUI_Prompt(char *message, char *b1, char *b2) throw (std::bad_alloc); ^~~~~ stax.h:382:102: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern int GUI_Go(int x, int y, int w, int h, Widget *widgets, int selected, void (*callback)(bool)) throw (std::bad_alloc); ^~~~~ stax.h:383:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_GetName(char *caption, char *buf, int maxlen) throw (std::bad_alloc); ^~~~~ stax.h:384:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Initialize(void) throw (std::bad_alloc); ^~~~~ stax.h:415:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void InstallSound(void) throw (BadInstall); ^~~~~ highscores.cpp: In function ‘void CheckHighScores(int)’: highscores.cpp:174:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^ highscores.cpp:174:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] highscores.cpp: In function ‘void ViewHighScores()’: highscores.cpp:240:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] "Shifty High Scores" }; ^ highscores.cpp:240:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] highscores.cpp:240:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] highscores.cpp:253:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] widgets[21].s = "<"; ^~~ highscores.cpp:261:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] widgets[22].s = "Exit"; ^~~~~~ highscores.cpp:269:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] widgets[23].s = ">"; ^~~ highscores.cpp: In function ‘char* GetHighScoresFilename(char*)’: highscores.cpp:39:12: warning: ‘char* strncat(char*, const char*, size_t)’ specified bound 1000 equals destination size [-Wstringop-overflow=] strncat(filename, "/", sizeof(filename)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ highscores.cpp:40:11: warning: ‘char* strncat(char*, const char*, size_t)’ specified bound 1000 equals destination size [-Wstringop-overflow=] strncat(filename, ".staxhs", sizeof(filename)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from input.cpp:21: stax.h:98:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool MoveBlocks(int step) throw (std::bad_alloc); // Returns true when the blocks reach the top of the panel ^~~~~ stax.h:353:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void AddColorScheme(char* name, RGB colors[NUM_CONFIGURABLE_COLORS]) throw (std::bad_alloc); ^~~~~ stax.h:354:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetColorScheme(char* name) throw (Invalid); ^~~~~ stax.h:356:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern char* GetColorSchemeName(unsigned int i) throw (Invalid); ^~~~~ stax.h:361:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void LoadData(void) throw (BadLoad); ^~~~~ stax.h:364:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetGraphicsMode(void) throw (BadGraphicsMode); ^~~~~ stax.h:365:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void CreateBuffer(void) throw (std::bad_alloc); ^~~~~ stax.h:379:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Message(char* s1, char* s2, char* s3) throw (std::bad_alloc); ^~~~~ stax.h:380:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_WaitMessage(char *s, ...) throw (std::bad_alloc); ^~~~~ stax.h:381:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern bool GUI_Prompt(char *message, char *b1, char *b2) throw (std::bad_alloc); ^~~~~ stax.h:382:102: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern int GUI_Go(int x, int y, int w, int h, Widget *widgets, int selected, void (*callback)(bool)) throw (std::bad_alloc); ^~~~~ stax.h:383:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_GetName(char *caption, char *buf, int maxlen) throw (std::bad_alloc); ^~~~~ stax.h:384:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Initialize(void) throw (std::bad_alloc); ^~~~~ stax.h:415:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void InstallSound(void) throw (BadInstall); ^~~~~ In file included from panel.cpp:23: stax.h:98:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool MoveBlocks(int step) throw (std::bad_alloc); // Returns true when the blocks reach the top of the panel ^~~~~ stax.h:353:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void AddColorScheme(char* name, RGB colors[NUM_CONFIGURABLE_COLORS]) throw (std::bad_alloc); ^~~~~ stax.h:354:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetColorScheme(char* name) throw (Invalid); ^~~~~ stax.h:356:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern char* GetColorSchemeName(unsigned int i) throw (Invalid); ^~~~~ stax.h:361:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void LoadData(void) throw (BadLoad); ^~~~~ stax.h:364:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetGraphicsMode(void) throw (BadGraphicsMode); ^~~~~ stax.h:365:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void CreateBuffer(void) throw (std::bad_alloc); ^~~~~ stax.h:379:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Message(char* s1, char* s2, char* s3) throw (std::bad_alloc); ^~~~~ stax.h:380:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_WaitMessage(char *s, ...) throw (std::bad_alloc); ^~~~~ stax.h:381:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern bool GUI_Prompt(char *message, char *b1, char *b2) throw (std::bad_alloc); ^~~~~ stax.h:382:102: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern int GUI_Go(int x, int y, int w, int h, Widget *widgets, int selected, void (*callback)(bool)) throw (std::bad_alloc); ^~~~~ stax.h:383:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_GetName(char *caption, char *buf, int maxlen) throw (std::bad_alloc); ^~~~~ stax.h:384:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Initialize(void) throw (std::bad_alloc); ^~~~~ stax.h:415:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void InstallSound(void) throw (BadInstall); ^~~~~ panel.cpp:448:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool Panel::MoveBlocks(int step) throw (std::bad_alloc) ^~~~~ In file included from shifty.cpp:21: stax.h:98:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool MoveBlocks(int step) throw (std::bad_alloc); // Returns true when the blocks reach the top of the panel ^~~~~ stax.h:353:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void AddColorScheme(char* name, RGB colors[NUM_CONFIGURABLE_COLORS]) throw (std::bad_alloc); ^~~~~ stax.h:354:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetColorScheme(char* name) throw (Invalid); ^~~~~ stax.h:356:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern char* GetColorSchemeName(unsigned int i) throw (Invalid); ^~~~~ stax.h:361:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void LoadData(void) throw (BadLoad); ^~~~~ stax.h:364:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetGraphicsMode(void) throw (BadGraphicsMode); ^~~~~ stax.h:365:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void CreateBuffer(void) throw (std::bad_alloc); ^~~~~ stax.h:379:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Message(char* s1, char* s2, char* s3) throw (std::bad_alloc); ^~~~~ stax.h:380:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_WaitMessage(char *s, ...) throw (std::bad_alloc); ^~~~~ stax.h:381:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern bool GUI_Prompt(char *message, char *b1, char *b2) throw (std::bad_alloc); ^~~~~ stax.h:382:102: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern int GUI_Go(int x, int y, int w, int h, Widget *widgets, int selected, void (*callback)(bool)) throw (std::bad_alloc); ^~~~~ stax.h:383:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_GetName(char *caption, char *buf, int maxlen) throw (std::bad_alloc); ^~~~~ stax.h:384:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Initialize(void) throw (std::bad_alloc); ^~~~~ stax.h:415:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void InstallSound(void) throw (BadInstall); ^~~~~ shifty.cpp: In function ‘bool Shifty()’: shifty.cpp:135:180: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if (GUI_Prompt("|000255000Q|000255255u|240000240i|255000000t |255255000t|000255000h|000255255i|240000240s |255000000g|255255000a|000255000m|000255255e|240000240?", "Yes", "No")) { ^ shifty.cpp:135:180: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] shifty.cpp:135:180: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] shifty.cpp:146:94: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DrawText(buffer->w/2, PANEL_START_Y+(PANEL_HEIGHT*BLOCK_SIZE)+12, true, "Score: %d", score); ^ shifty.cpp:153:124: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DrawText(PANEL1_START_X+(PANEL_WIDTH*BLOCK_SIZE/2), PANEL_START_Y+(PANEL_HEIGHT*BLOCK_SIZE)+12, true, "Score: %d", score); ^ shifty.cpp:162:124: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DrawText(PANEL2_START_X+(PANEL_WIDTH*BLOCK_SIZE/2), PANEL_START_Y+(PANEL_HEIGHT*BLOCK_SIZE)+12, true, "Score: %d", score); ^ shifty.cpp:182:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|255255000Player 1 scored higher\n|255255000AND lasted longer!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shifty.cpp:184:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|255255000Player 1 scored higher...\n|255255255BUT player 2 lasted longer!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shifty.cpp:186:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|255255000Player 1 scored higher...\n|255255255BUT it was a tie for time!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shifty.cpp:190:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|255255000Player 2 scored higher...\n|255255255BUT player 1 lasted longer!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shifty.cpp:192:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|255255000Player 2 scored higher\n|255255000AND lasted longer!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shifty.cpp:194:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|255255000Player 2 scored higher...\n|255255255BUT it was a tie for time!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shifty.cpp:198:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|000255000It was a tie for score...\n|255255000BUT player 1 lasted longer!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shifty.cpp:200:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|000255000It was a tie for score...\n|255255000BUT player 2 lasted longer!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shifty.cpp:202:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|000255000Wow!\n|000255000A dead-even tie!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sound.cpp:21: stax.h:98:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool MoveBlocks(int step) throw (std::bad_alloc); // Returns true when the blocks reach the top of the panel ^~~~~ stax.h:353:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void AddColorScheme(char* name, RGB colors[NUM_CONFIGURABLE_COLORS]) throw (std::bad_alloc); ^~~~~ stax.h:354:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetColorScheme(char* name) throw (Invalid); ^~~~~ stax.h:356:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern char* GetColorSchemeName(unsigned int i) throw (Invalid); ^~~~~ stax.h:361:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void LoadData(void) throw (BadLoad); ^~~~~ stax.h:364:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetGraphicsMode(void) throw (BadGraphicsMode); ^~~~~ stax.h:365:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void CreateBuffer(void) throw (std::bad_alloc); ^~~~~ stax.h:379:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Message(char* s1, char* s2, char* s3) throw (std::bad_alloc); ^~~~~ stax.h:380:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_WaitMessage(char *s, ...) throw (std::bad_alloc); ^~~~~ stax.h:381:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern bool GUI_Prompt(char *message, char *b1, char *b2) throw (std::bad_alloc); ^~~~~ stax.h:382:102: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern int GUI_Go(int x, int y, int w, int h, Widget *widgets, int selected, void (*callback)(bool)) throw (std::bad_alloc); ^~~~~ stax.h:383:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_GetName(char *caption, char *buf, int maxlen) throw (std::bad_alloc); ^~~~~ stax.h:384:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Initialize(void) throw (std::bad_alloc); ^~~~~ stax.h:415:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void InstallSound(void) throw (BadInstall); ^~~~~ sound.cpp:23:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void InstallSound(void) throw (BadInstall) ^~~~~ In file included from springshot.cpp:21: stax.h:98:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool MoveBlocks(int step) throw (std::bad_alloc); // Returns true when the blocks reach the top of the panel ^~~~~ stax.h:353:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void AddColorScheme(char* name, RGB colors[NUM_CONFIGURABLE_COLORS]) throw (std::bad_alloc); ^~~~~ stax.h:354:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetColorScheme(char* name) throw (Invalid); ^~~~~ stax.h:356:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern char* GetColorSchemeName(unsigned int i) throw (Invalid); ^~~~~ stax.h:361:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void LoadData(void) throw (BadLoad); ^~~~~ stax.h:364:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetGraphicsMode(void) throw (BadGraphicsMode); ^~~~~ stax.h:365:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void CreateBuffer(void) throw (std::bad_alloc); ^~~~~ stax.h:379:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Message(char* s1, char* s2, char* s3) throw (std::bad_alloc); ^~~~~ stax.h:380:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_WaitMessage(char *s, ...) throw (std::bad_alloc); ^~~~~ stax.h:381:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern bool GUI_Prompt(char *message, char *b1, char *b2) throw (std::bad_alloc); ^~~~~ stax.h:382:102: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern int GUI_Go(int x, int y, int w, int h, Widget *widgets, int selected, void (*callback)(bool)) throw (std::bad_alloc); ^~~~~ stax.h:383:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_GetName(char *caption, char *buf, int maxlen) throw (std::bad_alloc); ^~~~~ stax.h:384:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Initialize(void) throw (std::bad_alloc); ^~~~~ stax.h:415:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void InstallSound(void) throw (BadInstall); ^~~~~ springshot.cpp: In function ‘bool SpringShot()’: springshot.cpp:200:180: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if (GUI_Prompt("|000255000Q|000255255u|240000240i|255000000t |255255000t|000255000h|000255255i|240000240s |255000000g|255255000a|000255000m|000255255e|240000240?", "Yes", "No")) { ^ springshot.cpp:200:180: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] springshot.cpp:200:180: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] springshot.cpp:212:111: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DrawText(SINGLE_PLAYER_PANEL_START_X, PANEL_START_Y+(PANEL_HEIGHT*BLOCK_SIZE)+12, false, "Score: %d", score); ^ springshot.cpp:213:97: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DrawText(buffer->w/2, PANEL_START_Y+(PANEL_HEIGHT*BLOCK_SIZE)+12, true, "%d", player1_charges); ^ springshot.cpp:214:128: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DrawText(SINGLE_PLAYER_PANEL_START_X+(PANEL_WIDTH*BLOCK_SIZE)-65, PANEL_START_Y+(PANEL_HEIGHT*BLOCK_SIZE)+12, false, "Next:"); ^ springshot.cpp:220:98: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DrawText(PANEL1_START_X, PANEL_START_Y+(PANEL_HEIGHT*BLOCK_SIZE)+12, false, "Score: %d", score); ^ springshot.cpp:221:129: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DrawText(PANEL1_START_X+((PANEL_WIDTH*BLOCK_SIZE)/2), PANEL_START_Y+(PANEL_HEIGHT*BLOCK_SIZE)+12, true, "%d", player1_charges); ^ springshot.cpp:222:115: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DrawText(PANEL1_START_X+(PANEL_WIDTH*BLOCK_SIZE)-65, PANEL_START_Y+(PANEL_HEIGHT*BLOCK_SIZE)+12, false, "Next:"); ^ springshot.cpp:232:98: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DrawText(PANEL2_START_X, PANEL_START_Y+(PANEL_HEIGHT*BLOCK_SIZE)+12, false, "Score: %d", score); ^ springshot.cpp:233:129: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DrawText(PANEL2_START_X+((PANEL_WIDTH*BLOCK_SIZE)/2), PANEL_START_Y+(PANEL_HEIGHT*BLOCK_SIZE)+12, true, "%d", player2_charges); ^ springshot.cpp:234:115: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DrawText(PANEL2_START_X+(PANEL_WIDTH*BLOCK_SIZE)-65, PANEL_START_Y+(PANEL_HEIGHT*BLOCK_SIZE)+12, false, "Next:"); ^ springshot.cpp:255:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|255255000Player 1 scored higher\n|255255000AND lasted longer!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ springshot.cpp:257:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|255255000Player 1 scored higher...\n|255255255BUT player 2 lasted longer!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ springshot.cpp:259:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|255255000Player 1 scored higher...\n|255255255BUT it was a tie for time!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ springshot.cpp:263:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|255255000Player 2 scored higher...\n|255255255BUT player 1 lasted longer!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ springshot.cpp:265:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|255255000Player 2 scored higher\n|255255000AND lasted longer!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ springshot.cpp:267:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|255255000Player 2 scored higher...\n|255255255BUT it was a tie for time!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ springshot.cpp:271:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|000255000It was a tie for score...\n|255255000BUT player 1 lasted longer!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ springshot.cpp:273:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|000255000It was a tie for score...\n|255255000BUT player 2 lasted longer!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ springshot.cpp:275:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|000255000Wow!\n|000255000A dead-even tie!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stax.cpp:28: stax.h:98:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool MoveBlocks(int step) throw (std::bad_alloc); // Returns true when the blocks reach the top of the panel ^~~~~ stax.h:353:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void AddColorScheme(char* name, RGB colors[NUM_CONFIGURABLE_COLORS]) throw (std::bad_alloc); ^~~~~ stax.h:354:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetColorScheme(char* name) throw (Invalid); ^~~~~ stax.h:356:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern char* GetColorSchemeName(unsigned int i) throw (Invalid); ^~~~~ stax.h:361:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void LoadData(void) throw (BadLoad); ^~~~~ stax.h:364:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetGraphicsMode(void) throw (BadGraphicsMode); ^~~~~ stax.h:365:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void CreateBuffer(void) throw (std::bad_alloc); ^~~~~ stax.h:379:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Message(char* s1, char* s2, char* s3) throw (std::bad_alloc); ^~~~~ stax.h:380:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_WaitMessage(char *s, ...) throw (std::bad_alloc); ^~~~~ stax.h:381:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern bool GUI_Prompt(char *message, char *b1, char *b2) throw (std::bad_alloc); ^~~~~ stax.h:382:102: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern int GUI_Go(int x, int y, int w, int h, Widget *widgets, int selected, void (*callback)(bool)) throw (std::bad_alloc); ^~~~~ stax.h:383:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_GetName(char *caption, char *buf, int maxlen) throw (std::bad_alloc); ^~~~~ stax.h:384:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Initialize(void) throw (std::bad_alloc); ^~~~~ stax.h:415:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void InstallSound(void) throw (BadInstall); ^~~~~ stax.cpp:55:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^ stax.cpp:150:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^ stax.cpp: In function ‘void DrawLogo()’: stax.cpp:169:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^ stax.cpp:169:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] stax.cpp:169:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] stax.cpp:169:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] stax.cpp:169:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] stax.cpp: In function ‘void ShowLogo(bool)’: stax.cpp:236:154: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] textout_outline(buffer, font, "Program, GFX & Sounds: Trent Gamblin", 10, BUFFER_HEIGHT-text_height(font)-10, makecol(0, 255, 0), makecol(0, 100, 0), -1); ^ stax.cpp:237:197: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] textout_outline(buffer, font, "Music: Andrew Skrypnyk", BUFFER_WIDTH-text_length(font, "Music: Andrew Skrypnyk")-10, BUFFER_HEIGHT-text_height(font)-10, makecol(255, 0, 0), makecol(100, 0, 0), -1); ^ stax.cpp: In function ‘int StartMenu()’: stax.cpp:252:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] }; ^ stax.cpp:252:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] stax.cpp:252:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] stax.cpp:252:2: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] stax.cpp: In function ‘int main(int, char**)’: stax.cpp:366:151: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] again = GUI_Prompt("|000255000P|000255255l|240000240a|255000000y |255255000a|000255000g|000255255a|240000240i|255000000n|255255000?", "Yes", "No"); ^ stax.cpp:366:151: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] stax.cpp:366:151: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] In file included from sucker.cpp:1: stax.h:98:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool MoveBlocks(int step) throw (std::bad_alloc); // Returns true when the blocks reach the top of the panel ^~~~~ stax.h:353:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void AddColorScheme(char* name, RGB colors[NUM_CONFIGURABLE_COLORS]) throw (std::bad_alloc); ^~~~~ stax.h:354:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetColorScheme(char* name) throw (Invalid); ^~~~~ stax.h:356:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern char* GetColorSchemeName(unsigned int i) throw (Invalid); ^~~~~ stax.h:361:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void LoadData(void) throw (BadLoad); ^~~~~ stax.h:364:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetGraphicsMode(void) throw (BadGraphicsMode); ^~~~~ stax.h:365:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void CreateBuffer(void) throw (std::bad_alloc); ^~~~~ stax.h:379:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Message(char* s1, char* s2, char* s3) throw (std::bad_alloc); ^~~~~ stax.h:380:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_WaitMessage(char *s, ...) throw (std::bad_alloc); ^~~~~ stax.h:381:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern bool GUI_Prompt(char *message, char *b1, char *b2) throw (std::bad_alloc); ^~~~~ stax.h:382:102: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern int GUI_Go(int x, int y, int w, int h, Widget *widgets, int selected, void (*callback)(bool)) throw (std::bad_alloc); ^~~~~ stax.h:383:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_GetName(char *caption, char *buf, int maxlen) throw (std::bad_alloc); ^~~~~ stax.h:384:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Initialize(void) throw (std::bad_alloc); ^~~~~ stax.h:415:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void InstallSound(void) throw (BadInstall); ^~~~~ sucker.cpp: In function ‘bool Sucker()’: sucker.cpp:156:180: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if (GUI_Prompt("|000255000Q|000255255u|240000240i|255000000t |255255000t|000255000h|000255255i|240000240s |255000000g|255255000a|000255000m|000255255e|240000240?", "Yes", "No")) { ^ sucker.cpp:156:180: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] sucker.cpp:156:180: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] sucker.cpp:168:94: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DrawText(buffer->w/2, PANEL_START_Y+(PANEL_HEIGHT*BLOCK_SIZE)+12, true, "Score: %d", score); ^ sucker.cpp:173:124: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DrawText(PANEL1_START_X+(PANEL_WIDTH*BLOCK_SIZE/2), PANEL_START_Y+(PANEL_HEIGHT*BLOCK_SIZE)+12, true, "Score: %d", score); ^ sucker.cpp:184:124: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DrawText(PANEL2_START_X+(PANEL_WIDTH*BLOCK_SIZE/2), PANEL_START_Y+(PANEL_HEIGHT*BLOCK_SIZE)+12, true, "Score: %d", score); ^ sucker.cpp:203:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|255255000Player 1 scored higher\n|255255000AND lasted longer!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sucker.cpp:205:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|255255000Player 1 scored higher...\n|255255255BUT player 2 lasted longer!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sucker.cpp:207:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|255255000Player 1 scored higher...\n|255255255BUT it was a tie for time!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sucker.cpp:211:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|255255000Player 2 scored higher...\n|255255255BUT player 1 lasted longer!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sucker.cpp:213:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|255255000Player 2 scored higher\n|255255000AND lasted longer!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sucker.cpp:215:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|255255000Player 2 scored higher...\n|255255255BUT it was a tie for time!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sucker.cpp:219:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|000255000It was a tie for score...\n|255255000BUT player 1 lasted longer!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sucker.cpp:221:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|000255000It was a tie for score...\n|255255000BUT player 2 lasted longer!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sucker.cpp:223:13: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] note = "|000255000Wow!\n|000255000A dead-even tie!"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from timer.cpp:29: stax.h:98:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool MoveBlocks(int step) throw (std::bad_alloc); // Returns true when the blocks reach the top of the panel ^~~~~ stax.h:353:77: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void AddColorScheme(char* name, RGB colors[NUM_CONFIGURABLE_COLORS]) throw (std::bad_alloc); ^~~~~ stax.h:354:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetColorScheme(char* name) throw (Invalid); ^~~~~ stax.h:356:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern char* GetColorSchemeName(unsigned int i) throw (Invalid); ^~~~~ stax.h:361:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void LoadData(void) throw (BadLoad); ^~~~~ stax.h:364:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void SetGraphicsMode(void) throw (BadGraphicsMode); ^~~~~ stax.h:365:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void CreateBuffer(void) throw (std::bad_alloc); ^~~~~ stax.h:379:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Message(char* s1, char* s2, char* s3) throw (std::bad_alloc); ^~~~~ stax.h:380:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_WaitMessage(char *s, ...) throw (std::bad_alloc); ^~~~~ stax.h:381:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern bool GUI_Prompt(char *message, char *b1, char *b2) throw (std::bad_alloc); ^~~~~ stax.h:382:102: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern int GUI_Go(int x, int y, int w, int h, Widget *widgets, int selected, void (*callback)(bool)) throw (std::bad_alloc); ^~~~~ stax.h:383:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_GetName(char *caption, char *buf, int maxlen) throw (std::bad_alloc); ^~~~~ stax.h:384:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void GUI_Initialize(void) throw (std::bad_alloc); ^~~~~ stax.h:415:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] extern void InstallSound(void) throw (BadInstall); ^~~~~ make[1]: Leaving directory '/build/stax-c1qLqU/stax-1.37' dh_auto_test -a -O--parallel fakeroot debian/rules binary-arch dh binary-arch --parallel dh_testroot -a -O--parallel dh_prep -a -O--parallel dh_installdirs -a -O--parallel debian/rules override_dh_auto_install make[1]: Entering directory '/build/stax-c1qLqU/stax-1.37' cp stax debian/stax/usr/games/stax dh_installman debian/stax.6 cp *.dat debian/stax/usr/share/games/stax/ install -m644 debian/stax.xpm debian/stax/usr/share/pixmaps install -m644 debian/stax.desktop debian/stax/usr/share/applications make[1]: Leaving directory '/build/stax-c1qLqU/stax-1.37' dh_installdocs -a -O--parallel dh_installchangelogs -a -O--parallel dh_installman -a -O--parallel dh_installinit -a -O--parallel dh_installmenu -a -O--parallel dh_perl -a -O--parallel dh_link -a -O--parallel dh_strip_nondeterminism -a -O--parallel dh_compress -a -O--parallel dh_fixperms -a -O--parallel dh_missing -a -O--parallel dh_strip -a -O--parallel dh_makeshlibs -a -O--parallel dh_shlibdeps -a -O--parallel dh_installdeb -a -O--parallel dh_gencontrol -a -O--parallel dh_md5sums -a -O--parallel dh_builddeb -a -O--parallel dpkg-deb: building package 'stax-dbgsym' in '../stax-dbgsym_1.37-1+b1_amd64.deb'. dpkg-deb: building package 'stax' in '../stax_1.37-1+b1_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../stax_1.37-1+b1_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-source: info: using options from stax-1.37/debian/source/options: --single-debian-patch --auto-commit dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/stax-c1qLqU /tmp/stax-1.37-1+b1g2sxe4fl I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.rv5_TY1Njd... I: success in 292.9694 seconds md5: stax-dbgsym_1.37-1+b1_amd64.deb: OK md5: stax_1.37-1+b1_amd64.deb: OK sha1: stax-dbgsym_1.37-1+b1_amd64.deb: OK sha1: stax_1.37-1+b1_amd64.deb: OK sha256: stax-dbgsym_1.37-1+b1_amd64.deb: OK sha256: stax_1.37-1+b1_amd64.deb: OK Checksums: OK