Diff of the two buildlogs: -- --- b1/build.log 2023-05-20 18:48:46.865374326 +0000 +++ b2/build.log 2023-05-20 18:49:49.162638290 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 20 06:44:50 -12 2023 -I: pbuilder-time-stamp: 1684608290 +I: Current time: Sat Jun 22 15:11:49 +14 2024 +I: pbuilder-time-stamp: 1719018709 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./amoebax_0.2.1+dfsg.orig.tar.bz2] I: copying [./amoebax_0.2.1+dfsg-6.debian.tar.xz] I: Extracting source -gpgv: Signature made Sat Jan 21 03:13:13 2023 -12 +gpgv: Signature made Sun Jan 22 05:13:13 2023 +14 gpgv: using RSA key ACF3D088EF32EDEF6A1A835FD9AD14B9513B51E4 gpgv: issuer "apo@debian.org" gpgv: Can't check signature: No public key @@ -33,135 +33,167 @@ dpkg-source: info: applying support-runstatedir-option.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3313321/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3951571/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 22 15:11 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/3951571/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3951571/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='fb48fbc8855a4a8db2f225a6ab3393b2' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3313321' - PS1='# ' - PS2='> ' + INVOCATION_ID=f996a153cdce4b29972f00a653823d0c + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3951571 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.7eq5VUB8/pbuilderrc_95j3 --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.7eq5VUB8/b1 --logfile b1/build.log amoebax_0.2.1+dfsg-6.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.7eq5VUB8/pbuilderrc_A0Sb --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.7eq5VUB8/b2 --logfile b2/build.log --extrapackages usrmerge amoebax_0.2.1+dfsg-6.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.15-1~bpo11+1 (2023-03-16) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:23 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/3313321/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jun 22 15:11 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/3951571/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -395,7 +427,7 @@ Get: 190 http://deb.debian.org/debian bookworm/main amd64 libsdl-mixer1.2 amd64 1.2.12-17+b3 [80.4 kB] Get: 191 http://deb.debian.org/debian bookworm/main amd64 libvorbis-dev amd64 1.3.7-1 [327 kB] Get: 192 http://deb.debian.org/debian bookworm/main amd64 libsdl-mixer1.2-dev amd64 1.2.12-17+b3 [97.1 kB] -Fetched 96.6 MB in 3s (31.5 MB/s) +Fetched 96.6 MB in 1s (93.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal: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 ... 19596 files and directories currently installed.) @@ -1187,10 +1219,17 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/amoebax-0.2.1+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../amoebax_0.2.1+dfsg-6_source.changes +I: user script /srv/workspace/pbuilder/3951571/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/3951571/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/amoebax-0.2.1+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../amoebax_0.2.1+dfsg-6_source.changes dpkg-buildpackage: info: source package amoebax dpkg-buildpackage: info: source version 0.2.1+dfsg-6 dpkg-buildpackage: info: source distribution unstable @@ -1212,7 +1251,7 @@ ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --bindir=/usr/games --datadir=/usr/share/games --mandir=/usr/share/man checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a thread-safe mkdir -p... /bin/mkdir -p +checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -1268,7 +1307,7 @@ ./config.status: line 1103: shift: shift count out of range make[1]: Leaving directory '/build/amoebax-0.2.1+dfsg' dh_auto_build - make -j15 + make -j16 make[1]: Entering directory '/build/amoebax-0.2.1+dfsg' make all-recursive make[2]: Entering directory '/build/amoebax-0.2.1+dfsg' @@ -1337,42 +1376,7 @@ g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-File.o `test -f 'File.cxx' || echo './'`File.cxx g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Font.o `test -f 'Font.cxx' || echo './'`Font.cxx g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Grid.o `test -f 'Grid.cxx' || echo './'`Grid.cxx -In file included from IPlayer.h:23, - from AIPlayer.h:22, - from DumbAIPlayer.h:22, - from DumbAIPlayer.cxx:22: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from IPlayer.h:22: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from IPlayer.h:23, - from AIPlayer.h:22, - from AdvancedAIPlayer.h:22, - from AIPlayerFactory.cxx:23: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from IPlayer.h:22: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-GridStatus.o `test -f 'GridStatus.cxx' || echo './'`GridStatus.cxx In file included from IState.h:24, from FadeInState.h:22, from FadeInState.cxx:22: @@ -1397,6 +1401,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +FadeInState.h:57:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 57 | std::auto_ptr m_Background; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from CongratulationsState.cxx:23: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function @@ -1413,12 +1423,6 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -FadeInState.h:57:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 57 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ @@ -1452,17 +1456,22 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-GridStatus.o `test -f 'GridStatus.cxx' || echo './'`GridStatus.cxx -In file included from GridStatus.h:24, - from AnticipatoryAIPlayer.h:22, - from AnticipatoryAIPlayer.cxx:23: +In file included from IPlayer.h:23, + from AIPlayer.h:22, + from DumbAIPlayer.h:22, + from DumbAIPlayer.cxx:22: Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from IPlayer.h:22: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from IPlayer.h:23, from AIPlayer.h:22, from AdvancedAIPlayer.h:22, - from AdvancedAIPlayer.cxx:24: + from AIPlayerFactory.cxx:23: Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ @@ -1471,6 +1480,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from GridStatus.h:24, + from AnticipatoryAIPlayer.h:22, + from AnticipatoryAIPlayer.cxx:23: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from Grid.h:23: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here @@ -1487,24 +1502,15 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from ControlSetupState.h:23, - from ControlSetupState.cxx:24: +In file included from IState.h:24, + from FadeOutState.h:22, + from FadeOutState.cxx:22: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/string:48, - from /usr/include/c++/12/bits/locale_classes.h:40, - from /usr/include/c++/12/bits/ios_base.h:41, - from /usr/include/c++/12/ios:42, - from /usr/include/c++/12/istream:38, - from /usr/include/c++/12/sstream:38, - from ControlSetupState.cxx:22: +In file included from /usr/include/c++/12/bits/unique_ptr.h:37, + from /usr/include/c++/12/memory:76, + from IState.h:22: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -1517,16 +1523,23 @@ Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from Font.h:25: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from IPlayer.h:23, - from Options.h:24, - from CongratulationsState.cxx:25: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +FadeOutState.h:57:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 57 | std::auto_ptr m_Background; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -1542,6 +1555,15 @@ IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 165 | std::auto_ptr m_Grid; | ^~~~~~~~ +In file included from IPlayer.h:23, + from Options.h:24, + from CongratulationsState.cxx:25: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -1581,15 +1603,36 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from IState.h:24, - from FadeOutState.h:22, - from FadeOutState.cxx:22: +In file included from IPlayer.h:23, + from AIPlayer.h:22, + from AdvancedAIPlayer.h:22, + from AdvancedAIPlayer.cxx:24: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from IPlayer.h:22: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from ControlSetupState.h:23, + from ControlSetupState.cxx:24: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/bits/unique_ptr.h:37, - from /usr/include/c++/12/memory:76, - from IState.h:22: +In file included from /usr/include/c++/12/string:48, + from /usr/include/c++/12/bits/locale_classes.h:40, + from /usr/include/c++/12/bits/ios_base.h:41, + from /usr/include/c++/12/ios:42, + from /usr/include/c++/12/istream:38, + from /usr/include/c++/12/sstream:38, + from ControlSetupState.cxx:22: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -1599,12 +1642,6 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 193 | std::auto_ptr m_FontSurface; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from FadeInState.cxx:23: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function @@ -1612,73 +1649,11 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -FadeOutState.h:57:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 57 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from IPlayer.h:23, - from Options.h:24, - from Joystick.h:22, - from ControlSetupState.h:25: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from IPlayer.h:23, - from Options.h:24, - from UnixOptions.h:23, - from UnixOptions.cxx:30: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from IPlayer.h:22: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-HighScoreState.o `test -f 'HighScoreState.cxx' || echo './'`HighScoreState.cxx -ControlSetupState.h:95:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 95 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -ControlSetupState.h:99:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 99 | std::auto_ptr m_Font; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -ControlSetupState.h:101:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 101 | std::auto_ptr m_FontSelected; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from IPlayer.h:23, - from AIPlayerFactory.h:23, - from DemoState.cxx:22: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; +Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from IPlayer.h:22: + from Font.h:25: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -1721,15 +1696,51 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-HumanPlayer.o `test -f 'HumanPlayer.cxx' || echo './'`HumanPlayer.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Joystick.o `test -f 'Joystick.cxx' || echo './'`Joystick.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-main.o `test -f 'main.cxx' || echo './'`main.cxx -In file included from Grid.cxx:27: +In file included from Font.cxx:29: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/numeric:75, + from Font.cxx:25: +/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 116 | struct TextWrite: public std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +In file included from IPlayer.h:23, + from Options.h:24, + from Joystick.h:22, + from ControlSetupState.h:25: Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 193 | std::auto_ptr m_FontSurface; + | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from Grid.h:23: + from Font.h:25: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-HighScoreState.o `test -f 'HighScoreState.cxx' || echo './'`HighScoreState.cxx +In file included from FadeOutState.cxx:23: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +Font.cxx: In static member function 'static Amoebax::Font* Amoebax::Font::fromFile(const std::string&)': +Font.cxx:84:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 84 | std::auto_ptr newFontSurface (Surface::fromFile (fileName)); + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -1740,6 +1751,12 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ CreditsState.h:54:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 54 | std::auto_ptr m_Background; | ^~~~~~~~ @@ -1758,22 +1775,49 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from Grid.cxx:29: -PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 45 | struct GeneratePair: public std::unary_function - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/string:48, - from File.h:22, - from Grid.cxx:26: -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; +ControlSetupState.h:95:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 95 | std::auto_ptr m_Background; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +ControlSetupState.h:99:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 99 | std::auto_ptr m_Font; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +ControlSetupState.h:101:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 101 | std::auto_ptr m_FontSelected; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-HumanPlayer.o `test -f 'HumanPlayer.cxx' || echo './'`HumanPlayer.cxx +In file included from IPlayer.h:23, + from Options.h:24, + from UnixOptions.h:23, + from UnixOptions.cxx:30: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from IPlayer.h:22: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from IPlayer.h:23, + from AIPlayerFactory.h:23, + from DemoState.cxx:22: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from IPlayer.h:22: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Joystick.o `test -f 'Joystick.cxx' || echo './'`Joystick.cxx In file included from IPlayer.h:23, from Options.h:24, from File.cxx:29: @@ -1785,6 +1829,27 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from IPlayer.h:23, + from Options.h:24, + from CreditsState.cxx:27: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from IState.h:24, from DemoState.h:23, from DemoState.cxx:23: @@ -1802,15 +1867,6 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from IPlayer.h:23, - from Options.h:24, - from CreditsState.cxx:27: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 165 | std::auto_ptr m_Grid; | ^~~~~~~~ @@ -1831,6 +1887,12 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ TwoPlayersState.h:120:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 120 | std::auto_ptr m_Amoebas; | ^~~~~~~~ @@ -1852,7 +1914,6 @@ TwoPlayersState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 130 | std::auto_ptr m_ChainLabel; | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-MainMenuState.o `test -f 'MainMenuState.cxx' || echo './'`MainMenuState.cxx /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -1916,12 +1977,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from CreditsState.cxx:28: OptionsMenuState.h:372:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 372 | std::auto_ptr m_Background; @@ -2040,27 +2095,18 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from FadeOutState.cxx:23: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -In file included from Grid.cxx:30: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -Grid.cxx: In member function 'void Amoebax::Grid::clearDyingAmoebas()': -Grid.cxx:429:33: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = Amoebax::ChainLabel]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 429 | std::mem_fun (&ChainLabel::activate)); - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:1371:5: note: declared here - 1371 | mem_fun(_Ret (_Tp::*__f)()) - | ^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-main.o `test -f 'main.cxx' || echo './'`main.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-MainMenuState.o `test -f 'MainMenuState.cxx' || echo './'`MainMenuState.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Music.o `test -f 'Music.cxx' || echo './'`Music.cxx +In file included from GridStatus.cxx:25: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from Grid.h:23: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from ControlSetupState.cxx:27: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function @@ -2100,55 +2146,8 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from Font.cxx:29: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/numeric:75, - from Font.cxx:25: -/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 116 | struct TextWrite: public std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 193 | std::auto_ptr m_FontSurface; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from Font.h:25: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -Font.cxx: In static member function 'static Amoebax::Font* Amoebax::Font::fromFile(const std::string&)': -Font.cxx:84:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 84 | std::auto_ptr newFontSurface (Surface::fromFile (fileName)); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from IPlayer.h:23, - from HumanPlayer.h:22, - from HumanPlayer.cxx:23: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from IPlayer.h:22: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Music.o `test -f 'Music.cxx' || echo './'`Music.cxx -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from GridStatus.cxx:25: +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-NewHighScoreState.o `test -f 'NewHighScoreState.cxx' || echo './'`NewHighScoreState.cxx +In file included from Grid.cxx:27: Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ @@ -2157,15 +2156,38 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-NewHighScoreState.o `test -f 'NewHighScoreState.cxx' || echo './'`NewHighScoreState.cxx g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-NormalSetupState.o `test -f 'NormalSetupState.cxx' || echo './'`NormalSetupState.cxx +In file included from Grid.cxx:29: +PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 45 | struct GeneratePair: public std::unary_function + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/string:48, + from File.h:22, + from Grid.cxx:26: +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-NormalState.o `test -f 'NormalState.cxx' || echo './'`NormalState.cxx g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Options.o `test -f 'Options.cxx' || echo './'`Options.cxx +In file included from Grid.cxx:30: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +Grid.cxx: In member function 'void Amoebax::Grid::clearDyingAmoebas()': +Grid.cxx:429:33: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = Amoebax::ChainLabel]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 429 | std::mem_fun (&ChainLabel::activate)); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:1371:5: note: declared here + 1371 | mem_fun(_Ret (_Tp::*__f)()) + | ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-OptionsMenuState.o `test -f 'OptionsMenuState.cxx' || echo './'`OptionsMenuState.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-PairGenerator.o `test -f 'PairGenerator.cxx' || echo './'`PairGenerator.cxx In file included from IPlayer.h:23, - from Options.h:24, - from Joystick.h:22, - from Joystick.cxx:23: + from HumanPlayer.h:22, + from HumanPlayer.cxx:23: Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ @@ -2181,16 +2203,18 @@ 64 | template class auto_ptr; | ^~~~~~~~ In file included from IState.h:24, - from MainMenuState.h:22, - from main.cxx:27: + from HighScoreState.h:23, + from HighScoreState.cxx:25: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, - from /usr/include/c++/12/iomanip:40, - from main.cxx:23: + from /usr/include/c++/12/ios:42, + from /usr/include/c++/12/istream:38, + from /usr/include/c++/12/sstream:38, + from HighScoreState.cxx:23: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -2208,68 +2232,15 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -MainMenuState.h:234:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 234 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -MainMenuState.h:236:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 236 | std::auto_ptr m_BackgroundMusic; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -MainMenuState.h:238:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 238 | std::auto_ptr m_Font; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -MainMenuState.h:240:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 240 | std::auto_ptr m_FontSelected; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-PairGenerator.o `test -f 'PairGenerator.cxx' || echo './'`PairGenerator.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-PauseState.o `test -f 'PauseState.cxx' || echo './'`PauseState.cxx -In file included from IState.h:24, - from HighScoreState.h:23, - from HighScoreState.cxx:25: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/string:48, - from /usr/include/c++/12/bits/locale_classes.h:40, - from /usr/include/c++/12/bits/ios_base.h:41, - from /usr/include/c++/12/ios:42, - from /usr/include/c++/12/istream:38, - from /usr/include/c++/12/sstream:38, - from HighScoreState.cxx:23: -/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 116 | struct TextWrite: public std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ In file included from IPlayer.h:23, from Options.h:24, - from main.cxx:28: + from Joystick.h:22, + from Joystick.cxx:23: Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 193 | std::auto_ptr m_FontSurface; - | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from IState.h:22: + from IPlayer.h:22: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -2297,23 +2268,25 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from NormalSetupState.cxx:24: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/string:48, - from /usr/include/c++/12/bits/locale_classes.h:40, - from /usr/include/c++/12/bits/ios_base.h:41, - from /usr/include/c++/12/ios:42, - from /usr/include/c++/12/istream:38, - from /usr/include/c++/12/sstream:38, - from NormalSetupState.cxx:22: -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ In file included from IPlayer.h:23, from Options.h:24, - from Options.cxx:24: + from HighScoreState.cxx:26: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from IPlayer.h:23, + from AIPlayer.h:22, + from AdvancedAIPlayer.h:22, + from MainMenuState.cxx:24: Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ @@ -2322,6 +2295,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-PauseState.o `test -f 'PauseState.cxx' || echo './'`PauseState.cxx IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 165 | std::auto_ptr m_Grid; | ^~~~~~~~ @@ -2329,11 +2303,12 @@ 64 | template class auto_ptr; | ^~~~~~~~ In file included from IState.h:24, - from NormalSetupState.h:23, - from NormalSetupState.cxx:25: + from CreditsState.h:22, + from MainMenuState.cxx:26: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/bits/unique_ptr.h:37: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -2346,92 +2321,10 @@ Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from IState.h:22: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -NormalSetupState.h:63:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 63 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -NormalSetupState.h:65:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 65 | std::auto_ptr m_FontNormal; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -NormalSetupState.h:67:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 67 | std::auto_ptr m_FontSelected; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from IPlayer.h:23, - from HumanPlayer.h:22, - from NormalState.h:23, - from NormalSetupState.cxx:26: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from main.cxx:29: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from IPlayer.h:23, - from Options.h:24, - from HighScoreState.cxx:26: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -NormalState.h:74:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 74 | std::auto_ptr m_SoundLose; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -NormalState.h:76:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 76 | std::auto_ptr m_SoundWin; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -NormalSetupState.cxx: In member function 'void Amoebax::NormalSetupState::loadGraphicResources()': -NormalSetupState.cxx:164:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 164 | std::auto_ptr kim (Surface::fromFile ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -NormalSetupState.cxx:172:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 172 | std::auto_ptr tom (Surface::fromFile ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-SimpleAIPlayer.o `test -f 'SimpleAIPlayer.cxx' || echo './'`SimpleAIPlayer.cxx In file included from Music.cxx:26: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function @@ -2442,6 +2335,26 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +In file included from IState.h:24, + from MainMenuState.h:22, + from main.cxx:27: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/string:48, + from /usr/include/c++/12/bits/locale_classes.h:40, + from /usr/include/c++/12/bits/ios_base.h:41, + from /usr/include/c++/12/iomanip:40, + from main.cxx:23: +/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 116 | struct TextWrite: public std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ In file included from HighScoreState.cxx:27: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function @@ -2449,21 +2362,27 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -HighScoreState.cxx: In member function 'void Amoebax::HighScoreState::loadGraphicResources()': -HighScoreState.cxx:99:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 99 | std::auto_ptr title ( - | ^~~~~~~~ +Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 193 | std::auto_ptr m_FontSurface; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from IState.h:22: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-SimpleAIPlayer.o `test -f 'SimpleAIPlayer.cxx' || echo './'`SimpleAIPlayer.cxx -In file included from PauseState.cxx:24: +In file included from IState.h:24, + from HighScoreState.h:23, + from NewHighScoreState.cxx:25: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, - from File.h:22, - from PauseState.cxx:23: + from /usr/include/c++/12/bits/locale_classes.h:40, + from /usr/include/c++/12/bits/ios_base.h:41, + from /usr/include/c++/12/ios:42, + from /usr/include/c++/12/istream:38, + from /usr/include/c++/12/sstream:38, + from NewHighScoreState.cxx:23: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -2473,87 +2392,84 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +MainMenuState.h:234:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 234 | std::auto_ptr m_Background; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +MainMenuState.h:236:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 236 | std::auto_ptr m_BackgroundMusic; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +MainMenuState.h:238:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 238 | std::auto_ptr m_Font; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +MainMenuState.h:240:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 240 | std::auto_ptr m_FontSelected; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from Font.h:25: + from IState.h:22: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Sound.o `test -f 'Sound.cxx' || echo './'`Sound.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Surface.o `test -f 'Surface.cxx' || echo './'`Surface.cxx -In file included from IPlayer.h:23, - from AIPlayer.h:22, - from AdvancedAIPlayer.h:22, - from MainMenuState.cxx:24: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from IPlayer.h:22: +HighScoreState.cxx: In member function 'void Amoebax::HighScoreState::loadGraphicResources()': +HighScoreState.cxx:99:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 99 | std::auto_ptr title ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-System.o `test -f 'System.cxx' || echo './'`System.cxx -In file included from IPlayer.h:23, - from Options.h:24, - from PauseState.cxx:25: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; +HighScoreState.h:65:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 65 | std::auto_ptr m_Background; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; +HighScoreState.h:67:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 67 | std::auto_ptr m_Font; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; +HighScoreState.h:69:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 69 | std::auto_ptr m_FontHighLight; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from PauseState.cxx:26: -PauseState.h:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 128 | std::auto_ptr m_Background; +In file included from NewHighScoreState.cxx:26: +NewHighScoreState.h:76:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 76 | std::auto_ptr m_Background; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -PauseState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 130 | std::auto_ptr m_Font; +NewHighScoreState.h:78:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 78 | std::auto_ptr m_BackgroundMusic; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -PauseState.h:132:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 132 | std::auto_ptr m_FontSelected; +NewHighScoreState.h:88:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 88 | std::auto_ptr m_HighLightFont; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from IState.h:24, - from CreditsState.h:22, - from MainMenuState.cxx:26: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/bits/unique_ptr.h:37: -/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 116 | struct TextWrite: public std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 193 | std::auto_ptr m_FontSurface; +NewHighScoreState.h:92:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 92 | std::auto_ptr m_NameFont; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -2583,7 +2499,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TournamentMenuState.o `test -f 'TournamentMenuState.cxx' || echo './'`TournamentMenuState.cxx In file included from TwoPlayersState.h:24, from DemoState.h:24, from MainMenuState.cxx:27: @@ -2593,6 +2508,17 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +In file included from IPlayer.h:23, + from AIPlayerFactory.h:23, + from NormalState.cxx:23: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from IPlayer.h:22: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ TwoPlayersState.h:120:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 120 | std::auto_ptr m_Amoebas; | ^~~~~~~~ @@ -2671,13 +2597,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from PauseState.cxx:27: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ DemoState.h:65:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 65 | std::auto_ptr m_Match; | ^~~~~~~~ @@ -2703,6 +2622,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Sound.o `test -f 'Sound.cxx' || echo './'`Sound.cxx In file included from MainMenuState.cxx:33: MainMenuState.h:234:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 234 | std::auto_ptr m_Background; @@ -2728,6 +2648,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from MainMenuState.cxx:34: NormalSetupState.h:63:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 63 | std::auto_ptr m_Background; @@ -2766,14 +2692,26 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from IPlayer.h:23, - from AIPlayerFactory.h:23, - from NormalState.cxx:23: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; +In file included from IState.h:24, + from CongratulationsState.h:23, + from NormalState.cxx:24: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/string:48, + from AIPlayerFactory.h:22: +/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 116 | struct TextWrite: public std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from IPlayer.h:22: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -2796,6 +2734,18 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +CongratulationsState.h:60:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 60 | std::auto_ptr m_Background; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +CongratulationsState.h:62:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 62 | std::auto_ptr m_BackgroundMusic; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from MainMenuState.cxx:40: TrainingState.h:100:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 100 | std::auto_ptr m_Amoebas; @@ -2881,124 +2831,28 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -MainMenuState.cxx: In member function 'void Amoebax::MainMenuState::loadGraphicResources()': -MainMenuState.cxx:194:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 194 | std::auto_ptr title ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from IState.h:24, - from HighScoreState.h:23, - from NewHighScoreState.cxx:25: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/string:48, - from /usr/include/c++/12/bits/locale_classes.h:40, - from /usr/include/c++/12/bits/ios_base.h:41, - from /usr/include/c++/12/ios:42, - from /usr/include/c++/12/istream:38, - from /usr/include/c++/12/sstream:38, - from NewHighScoreState.cxx:23: -/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 116 | struct TextWrite: public std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -In file included from IState.h:24, - from CongratulationsState.h:23, - from NormalState.cxx:24: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/string:48, - from AIPlayerFactory.h:22: -/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 116 | struct TextWrite: public std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 193 | std::auto_ptr m_FontSurface; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 193 | std::auto_ptr m_FontSurface; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from IState.h:22: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -CongratulationsState.h:60:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 60 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -CongratulationsState.h:62:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 62 | std::auto_ptr m_BackgroundMusic; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -HighScoreState.h:65:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 65 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -HighScoreState.h:67:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 67 | std::auto_ptr m_Font; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -HighScoreState.h:69:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 69 | std::auto_ptr m_FontHighLight; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from NewHighScoreState.cxx:26: -NewHighScoreState.h:76:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 76 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -NewHighScoreState.h:78:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 78 | std::auto_ptr m_BackgroundMusic; +In file included from IPlayer.h:23, + from Options.h:24, + from NewHighScoreState.cxx:27: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -NewHighScoreState.h:88:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 88 | std::auto_ptr m_HighLightFont; +In file included from IPlayer.h:23, + from Options.h:24, + from main.cxx:28: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -NewHighScoreState.h:92:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 92 | std::auto_ptr m_NameFont; - | ^~~~~~~~ +MainMenuState.cxx: In member function 'void Amoebax::MainMenuState::loadGraphicResources()': +MainMenuState.cxx:194:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 194 | std::auto_ptr title ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -3015,58 +2869,38 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from SimpleAIPlayer.cxx:23: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from Grid.h:23: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from AIPlayer.h:22, - from SimpleAIPlayer.h:23, - from SimpleAIPlayer.cxx:25: IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 165 | std::auto_ptr m_Grid; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from IPlayer.h:23, - from Options.h:24, - from NewHighScoreState.cxx:27: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 165 | std::auto_ptr m_Grid; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from NormalState.cxx:28: +In file included from NormalSetupState.cxx:24: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -In file included from ControlSetupState.h:23, - from OptionsMenuState.cxx:25: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/sstream:38, - from OptionsMenuState.cxx:23: + from NormalSetupState.cxx:22: +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +In file included from IState.h:24, + from NormalSetupState.h:23, + from NormalSetupState.cxx:25: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -3079,8 +2913,44 @@ Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ +In file included from NormalState.cxx:28: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from Font.h:25: + from IState.h:22: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +In file included from IPlayer.h:23, + from Options.h:24, + from Options.cxx:24: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from IPlayer.h:22: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +NormalSetupState.h:63:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 63 | std::auto_ptr m_Background; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +NormalSetupState.h:65:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 65 | std::auto_ptr m_FontNormal; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +NormalSetupState.h:67:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 67 | std::auto_ptr m_FontSelected; + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -3202,19 +3072,76 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TournamentSetupState.o `test -f 'TournamentSetupState.cxx' || echo './'`TournamentSetupState.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TournamentState.o `test -f 'TournamentState.cxx' || echo './'`TournamentState.cxx -In file included from Surface.cxx:28: +In file included from ControlSetupState.h:23, + from OptionsMenuState.cxx:25: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/string:48, + from /usr/include/c++/12/bits/locale_classes.h:40, + from /usr/include/c++/12/bits/ios_base.h:41, + from /usr/include/c++/12/ios:42, + from /usr/include/c++/12/istream:38, + from /usr/include/c++/12/sstream:38, + from OptionsMenuState.cxx:23: +/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 116 | struct TextWrite: public std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 193 | std::auto_ptr m_FontSurface; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from Font.h:25: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from NewHighScoreState.cxx:28: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/string:48, - from /usr/include/c++/12/stdexcept:39, - from Surface.cxx:26: /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TrainingState.o `test -f 'TrainingState.cxx' || echo './'`TrainingState.cxx +NewHighScoreState.cxx: In member function 'virtual void Amoebax::NewHighScoreState::unicodeCharacterPressed(uint16_t)': +NewHighScoreState.cxx:399:38: warning: narrowing conversion of 'toupper(((int)((char)((int)(((short unsigned int)((int)code)) & 127)))))' from 'int' to 'char' [-Wnarrowing] + 399 | char character[2] = {toupper (static_cast(code & 0x7f)), '\0'}; + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from main.cxx:29: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Surface.o `test -f 'Surface.cxx' || echo './'`Surface.cxx +In file included from IPlayer.h:23, + from HumanPlayer.h:22, + from NormalState.h:23, + from NormalSetupState.cxx:26: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from IPlayer.h:23, from Options.h:24, from Joystick.h:22, @@ -3225,22 +3152,62 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-System.o `test -f 'System.cxx' || echo './'`System.cxx +NormalState.h:74:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 74 | std::auto_ptr m_SoundLose; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +NormalState.h:76:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 76 | std::auto_ptr m_SoundWin; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +NormalSetupState.cxx: In member function 'void Amoebax::NormalSetupState::loadGraphicResources()': +NormalSetupState.cxx:164:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 164 | std::auto_ptr kim (Surface::fromFile ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +NormalSetupState.cxx:172:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 172 | std::auto_ptr tom (Surface::fromFile ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 165 | std::auto_ptr m_Grid; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from Sound.cxx:24: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ +In file included from PauseState.cxx:24: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, - from /usr/include/c++/12/stdexcept:39, - from Sound.cxx:22: + from File.h:22, + from PauseState.cxx:23: +/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 116 | struct TextWrite: public std::unary_function + | ^~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 193 | std::auto_ptr m_FontSurface; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from Font.h:25: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ ControlSetupState.h:95:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 95 | std::auto_ptr m_Background; | ^~~~~~~~ @@ -3259,19 +3226,24 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from NewHighScoreState.cxx:28: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TryAgainState.o `test -f 'TryAgainState.cxx' || echo './'`TryAgainState.cxx -NewHighScoreState.cxx: In member function 'virtual void Amoebax::NewHighScoreState::unicodeCharacterPressed(uint16_t)': -NewHighScoreState.cxx:399:38: warning: narrowing conversion of 'toupper(((int)((char)((int)(((short unsigned int)((int)code)) & 127)))))' from 'int' to 'char' [-Wnarrowing] - 399 | char character[2] = {toupper (static_cast(code & 0x7f)), '\0'}; - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TwoComputerPlayersState.o `test -f 'TwoComputerPlayersState.cxx' || echo './'`TwoComputerPlayersState.cxx +In file included from SimpleAIPlayer.cxx:23: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from Grid.h:23: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from IPlayer.h:23, + from Options.h:24, + from PauseState.cxx:25: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from PairGenerator.cxx:26: Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 227 | std::auto_ptr m_DieSound; @@ -3281,6 +3253,21 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from AIPlayer.h:22, + from SimpleAIPlayer.h:23, + from SimpleAIPlayer.cxx:25: +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from PairGenerator.cxx:27: PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 45 | struct GeneratePair: public std::unary_function @@ -3290,6 +3277,27 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +In file included from PauseState.cxx:26: +PauseState.h:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 128 | std::auto_ptr m_Background; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +PauseState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 130 | std::auto_ptr m_Font; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +PauseState.h:132:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 132 | std::auto_ptr m_FontSelected; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TournamentMenuState.o `test -f 'TournamentMenuState.cxx' || echo './'`TournamentMenuState.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TournamentSetupState.o `test -f 'TournamentSetupState.cxx' || echo './'`TournamentSetupState.cxx In file included from OptionsMenuState.h:25, from OptionsMenuState.cxx:28: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] @@ -3298,7 +3306,6 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TwoPlayersState.o `test -f 'TwoPlayersState.cxx' || echo './'`TwoPlayersState.cxx OptionsMenuState.h:372:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 372 | std::auto_ptr m_Background; | ^~~~~~~~ @@ -3416,7 +3423,37 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +OptionsMenuState.cxx: In member function 'virtual void Amoebax::OptionsMenuState::ApplyOption::operator()()': +OptionsMenuState.cxx:310:33: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = Amoebax::OptionsMenuState::IOption]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 310 | std::mem_fun (&IOption::apply)); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:1371:5: note: declared here + 1371 | mem_fun(_Ret (_Tp::*__f)()) + | ^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TournamentState.o `test -f 'TournamentState.cxx' || echo './'`TournamentState.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TrainingState.o `test -f 'TrainingState.cxx' || echo './'`TrainingState.cxx +In file included from PauseState.cxx:27: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TryAgainState.o `test -f 'TryAgainState.cxx' || echo './'`TryAgainState.cxx +In file included from Sound.cxx:24: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/string:48, + from /usr/include/c++/12/stdexcept:39, + from Sound.cxx:22: +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TwoComputerPlayersState.o `test -f 'TwoComputerPlayersState.cxx' || echo './'`TwoComputerPlayersState.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TwoPlayersState.o `test -f 'TwoPlayersState.cxx' || echo './'`TwoPlayersState.cxx g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-VersusState.o `test -f 'VersusState.cxx' || echo './'`VersusState.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-VideoErrorState.o `test -f 'VideoErrorState.cxx' || echo './'`VideoErrorState.cxx In file included from IState.h:24, from FadeInState.h:22, from System.cxx:41: @@ -3439,13 +3476,16 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -OptionsMenuState.cxx: In member function 'virtual void Amoebax::OptionsMenuState::ApplyOption::operator()()': -OptionsMenuState.cxx:310:33: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = Amoebax::OptionsMenuState::IOption]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 310 | std::mem_fun (&IOption::apply)); - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:1371:5: note: declared here - 1371 | mem_fun(_Ret (_Tp::*__f)()) - | ^~~~~~~ +In file included from Surface.cxx:28: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/string:48, + from /usr/include/c++/12/stdexcept:39, + from Surface.cxx:26: +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ @@ -3467,6 +3507,44 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from TryAgainState.cxx:24: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/string:48, + from File.h:22, + from TryAgainState.cxx:23: +/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 116 | struct TextWrite: public std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 193 | std::auto_ptr m_FontSurface; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from Font.h:25: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from TournamentSetupState.cxx:24: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/string:48, + from /usr/include/c++/12/bits/locale_classes.h:40, + from /usr/include/c++/12/bits/ios_base.h:41, + from /usr/include/c++/12/ios:42, + from /usr/include/c++/12/istream:38, + from /usr/include/c++/12/sstream:38, + from TournamentSetupState.cxx:22: +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ In file included from IPlayer.h:23, from Options.h:24, from System.cxx:45: @@ -3476,7 +3554,21 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-VideoErrorState.o `test -f 'VideoErrorState.cxx' || echo './'`VideoErrorState.cxx +In file included from IPlayer.h:23, + from Options.h:24, + from TryAgainState.cxx:25: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 165 | std::auto_ptr m_Grid; | ^~~~~~~~ @@ -3502,49 +3594,31 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from IPlayer.h:23, - from Options.h:24, - from TournamentMenuState.cxx:24: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; +In file included from TryAgainState.cxx:26: +TryAgainState.h:127:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 127 | std::auto_ptr m_Background; | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from IPlayer.h:22: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from TournamentSetupState.cxx:24: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/string:48, - from /usr/include/c++/12/bits/locale_classes.h:40, - from /usr/include/c++/12/bits/ios_base.h:41, - from /usr/include/c++/12/ios:42, - from /usr/include/c++/12/istream:38, - from /usr/include/c++/12/sstream:38, - from TournamentSetupState.cxx:22: -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; +TryAgainState.h:129:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 129 | std::auto_ptr m_Font; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from TournamentMenuState.h:23, - from TournamentMenuState.cxx:25: +TryAgainState.h:131:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 131 | std::auto_ptr m_FontSelected; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from IState.h:24, + from TournamentSetupState.h:24, + from TournamentSetupState.cxx:25: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/string:48, - from /usr/include/c++/12/bits/locale_classes.h:40, - from /usr/include/c++/12/bits/ios_base.h:41, - from /usr/include/c++/12/ios:42, - from /usr/include/c++/12/istream:38, - from /usr/include/c++/12/sstream:38, - from TournamentMenuState.cxx:22: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -3557,65 +3631,87 @@ Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from IState.h:22: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TournamentMenuState.h:59:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 59 | std::auto_ptr m_Background; +TournamentSetupState.h:63:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 63 | std::auto_ptr image; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +TournamentSetupState.h:106:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 106 | std::auto_ptr m_Background; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TournamentMenuState.h:61:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 61 | std::auto_ptr m_Font; +TournamentSetupState.h:110:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 110 | std::auto_ptr m_Font; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TournamentMenuState.h:63:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 63 | std::auto_ptr m_FontSelected; +TournamentSetupState.h:122:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 122 | std::auto_ptr m_Selection; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from TournamentMenuState.cxx:26: -TournamentSetupState.h:63:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 63 | std::auto_ptr image; - | ^~~~~~~~ +In file included from IPlayer.h:23, + from Options.h:24, + from TournamentMenuState.cxx:24: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from IPlayer.h:22: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TournamentSetupState.h:106:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 106 | std::auto_ptr m_Background; +In file included from IPlayer.h:23, + from AIPlayerFactory.h:23, + from TwoComputerPlayersState.cxx:24: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from IPlayer.h:22: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TournamentSetupState.h:110:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 110 | std::auto_ptr m_Font; +In file included from IPlayer.h:23, + from AIPlayerFactory.h:23, + from TournamentState.cxx:24: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from IPlayer.h:22: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TournamentSetupState.h:122:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 122 | std::auto_ptr m_Selection; +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from System.cxx:47: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -In file included from IState.h:24, - from TournamentSetupState.h:24, - from TournamentSetupState.cxx:25: +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from VersusState.cxx:23: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/string:48, + from File.h:22, + from VersusState.cxx:22: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -3629,24 +3725,28 @@ 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, - from IState.h:22: + from Font.h:25: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from System.cxx:48: -VideoErrorState.h:55:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 55 | std::auto_ptr m_Background; +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from TryAgainState.cxx:24: +In file included from TournamentMenuState.h:23, + from TournamentMenuState.cxx:25: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, - from File.h:22, - from TryAgainState.cxx:23: + from /usr/include/c++/12/bits/locale_classes.h:40, + from /usr/include/c++/12/bits/ios_base.h:41, + from /usr/include/c++/12/ios:42, + from /usr/include/c++/12/istream:38, + from /usr/include/c++/12/sstream:38, + from TournamentMenuState.cxx:22: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -3656,43 +3756,62 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -TournamentSetupState.h:63:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 63 | std::auto_ptr image; - | ^~~~~~~~ Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from Font.h:25: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TournamentSetupState.h:106:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 106 | std::auto_ptr m_Background; +In file included from System.cxx:47: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +TournamentMenuState.h:59:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 59 | std::auto_ptr m_Background; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TournamentSetupState.h:110:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 110 | std::auto_ptr m_Font; +TournamentMenuState.h:61:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 61 | std::auto_ptr m_Font; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TournamentSetupState.h:122:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 122 | std::auto_ptr m_Selection; +TournamentMenuState.h:63:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 63 | std::auto_ptr m_FontSelected; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from IPlayer.h:23, - from Options.h:24, - from TryAgainState.cxx:25: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; +In file included from IState.h:24, + from CongratulationsState.h:23, + from TournamentState.cxx:25: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/string:48, + from /usr/include/c++/12/bits/locale_classes.h:40, + from /usr/include/c++/12/bits/ios_base.h:41, + from /usr/include/c++/12/ios:42, + from /usr/include/c++/12/istream:38, + from /usr/include/c++/12/sstream:38, + from TournamentState.cxx:23: +/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 116 | struct TextWrite: public std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +In file included from System.cxx:48: +VideoErrorState.h:55:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 55 | std::auto_ptr m_Background; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -3707,47 +3826,51 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from TournamentMenuState.cxx:27: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; +In file included from TournamentMenuState.cxx:26: +TournamentSetupState.h:63:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 63 | std::auto_ptr image; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +TournamentSetupState.h:106:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 106 | std::auto_ptr m_Background; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TournamentMenuState.cxx: In member function 'void Amoebax::TournamentMenuState::loadGraphicResources()': -TournamentMenuState.cxx:137:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 137 | std::auto_ptr title ( - | ^~~~~~~~ +TournamentSetupState.h:110:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 110 | std::auto_ptr m_Font; + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; +Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from TryAgainState.cxx:26: -TryAgainState.h:127:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 127 | std::auto_ptr m_Background; +TournamentSetupState.h:122:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 122 | std::auto_ptr m_Selection; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TryAgainState.h:129:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 129 | std::auto_ptr m_Font; +CongratulationsState.h:60:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 60 | std::auto_ptr m_Background; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TryAgainState.h:131:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 131 | std::auto_ptr m_FontSelected; +CongratulationsState.h:62:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 62 | std::auto_ptr m_BackgroundMusic; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -3764,26 +3887,12 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from TrainingState.cxx:27: -DrawAmoeba.h:35:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 35 | struct DrawAmoeba: public std::unary_function - | ^~~~~~~~~~~~~~ TournamentState.h:120:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 120 | std::auto_ptr m_Faces; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from /usr/include/c++/12/string:48, - from /usr/include/c++/12/bits/locale_classes.h:40, - from /usr/include/c++/12/bits/ios_base.h:41, - from /usr/include/c++/12/ios:42, - from /usr/include/c++/12/istream:38, - from /usr/include/c++/12/sstream:38, - from TrainingState.cxx:25: -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ TournamentState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 130 | std::auto_ptr m_SoundLose; | ^~~~~~~~ @@ -3796,6 +3905,30 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from VideoErrorState.cxx:23: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/string:48, + from File.h:22, + from VideoErrorState.cxx:22: +/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 116 | struct TextWrite: public std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 193 | std::auto_ptr m_FontSurface; + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from Font.h:25: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ TournamentSetupState.cxx: In member function 'void Amoebax::TournamentSetupState::loadGraphicResources()': TournamentSetupState.cxx:372:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 372 | std::auto_ptr faces ( @@ -3821,20 +3954,31 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from IPlayer.h:23, - from AIPlayerFactory.h:23, - from TwoComputerPlayersState.cxx:24: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from IPlayer.h:22: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; - | ^~~~~~~~ +In file included from TryAgainState.cxx:27: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +In file included from TrainingState.cxx:27: +DrawAmoeba.h:35:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 35 | struct DrawAmoeba: public std::unary_function + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/string:48, + from /usr/include/c++/12/bits/locale_classes.h:40, + from /usr/include/c++/12/bits/ios_base.h:41, + from /usr/include/c++/12/ios:42, + from /usr/include/c++/12/istream:38, + from /usr/include/c++/12/sstream:38, + from TrainingState.cxx:25: +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +TryAgainState.cxx: In member function 'void Amoebax::TryAgainState::loadGraphicResources()': +TryAgainState.cxx:154:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 154 | std::auto_ptr title ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -3866,16 +4010,31 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from VersusState.cxx:23: +In file included from TwoComputerPlayersState.cxx:27: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/string:48, + from AIPlayerFactory.h:22: +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +In file included from IState.h:24, + from TwoComputerPlayersState.h:24, + from TwoComputerPlayersState.cxx:28: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/string:48, - from File.h:22, - from VersusState.cxx:22: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +In file included from VersusState.cxx:24: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 116 | struct TextWrite: public std::unary_function | ^~~~~~~~~~~~~~ @@ -3885,304 +4044,227 @@ Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from Font.h:25: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from IPlayer.h:23, - from HumanPlayer.h:22, - from TrainingState.cxx:30: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from IPlayer.h:23, - from AIPlayerFactory.h:23, - from TournamentState.cxx:24: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; +TwoComputerPlayersState.h:66:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 66 | std::auto_ptr m_Background; | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from IPlayer.h:22: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from TryAgainState.cxx:27: +In file included from TournamentState.cxx:28: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function | ^~~~~~~~~~~~~~ +TwoComputerPlayersState.cxx: In member function 'void Amoebax::TwoComputerPlayersState::loadGraphicsResources()': +TwoComputerPlayersState.cxx:187:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 187 | std::auto_ptr winner ( + | ^~~~~~~~ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TryAgainState.cxx: In member function 'void Amoebax::TryAgainState::loadGraphicResources()': -TryAgainState.cxx:154:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 154 | std::auto_ptr title ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from TrainingState.cxx:31: -NewHighScoreState.h:76:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 76 | std::auto_ptr m_Background; +In file included from VersusState.cxx:25: +VersusState.h:59:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 59 | std::auto_ptr m_Background; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -NewHighScoreState.h:78:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 78 | std::auto_ptr m_BackgroundMusic; +VersusState.h:61:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 61 | std::auto_ptr m_BackgroundMusic; | ^~~~~~~~ +TwoComputerPlayersState.cxx:194:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 194 | std::auto_ptr YouWin ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -NewHighScoreState.h:88:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 88 | std::auto_ptr m_HighLightFont; - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -NewHighScoreState.h:92:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 92 | std::auto_ptr m_NameFont; - | ^~~~~~~~ +TwoComputerPlayersState.cxx:209:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 209 | std::auto_ptr font ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from TrainingState.cxx:33: +In file included from TournamentMenuState.cxx:27: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function | ^~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; - | ^~~~~~~~ +VersusState.cxx: In member function 'void Amoebax::VersusState::loadGraphicResources()': +VersusState.cxx:149:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 149 | std::auto_ptr font ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from VideoErrorState.cxx:23: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/string:48, - from File.h:22, - from VideoErrorState.cxx:22: -/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 116 | struct TextWrite: public std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 193 | std::auto_ptr m_FontSurface; - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from Font.h:25: +VersusState.cxx:152:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 152 | std::auto_ptr player ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from TrainingState.h:24, - from TrainingState.cxx:34: -PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 45 | struct GeneratePair: public std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -TrainingState.h:100:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 100 | std::auto_ptr m_Amoebas; - | ^~~~~~~~ +VersusState.cxx:164:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 164 | std::auto_ptr opponent ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:104:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 104 | std::auto_ptr m_Background; - | ^~~~~~~~ +VersusState.cxx:178:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 178 | std::auto_ptr versus ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:106:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 106 | std::auto_ptr m_BackgroundMusic; +In file included from TournamentState.cxx:29: +TournamentState.h:112:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 112 | std::auto_ptr m_Background; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:108:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 108 | std::auto_ptr m_ChainLabel; +TournamentState.h:114:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 114 | std::auto_ptr m_BackgroundMusic; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:112:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 112 | std::auto_ptr m_GameOver; +TournamentState.h:120:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 120 | std::auto_ptr m_Faces; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:114:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 114 | std::auto_ptr m_Generator; +TournamentState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 130 | std::auto_ptr m_SoundLose; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:116:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 116 | std::auto_ptr m_Go; +TournamentState.h:132:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 132 | std::auto_ptr m_SoundWin; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:120:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 120 | std::auto_ptr m_LevelUp; +TournamentMenuState.cxx: In member function 'void Amoebax::TournamentMenuState::loadGraphicResources()': +TournamentMenuState.cxx:137:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 137 | std::auto_ptr title ( + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from TournamentState.cxx:30: +TwoComputerPlayersState.h:66:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 66 | std::auto_ptr m_Background; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:124:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 124 | std::auto_ptr m_LevelUpSound; +In file included from TwoPlayersState.h:24, + from TournamentState.cxx:31: +PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 45 | struct GeneratePair: public std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +TwoPlayersState.h:120:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 120 | std::auto_ptr m_Amoebas; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 128 | std::auto_ptr m_Player; +TwoPlayersState.h:124:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 124 | std::auto_ptr m_Background; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 130 | std::auto_ptr m_Ready; +TwoPlayersState.h:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 128 | std::auto_ptr m_BackgroundMusic; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:134:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 134 | std::auto_ptr m_ScoreFont; +TwoPlayersState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 130 | std::auto_ptr m_ChainLabel; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:138:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 138 | std::auto_ptr m_Silhouettes; +TwoPlayersState.h:134:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 134 | std::auto_ptr m_Generator; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:140:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 140 | std::auto_ptr m_SoundLose; +TwoPlayersState.h:136:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 136 | std::auto_ptr m_Go; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TrainingState.cxx: In member function 'void Amoebax::TrainingState::loadGraphicResources()': -TrainingState.cxx:347:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 347 | std::auto_ptr gridBackground ( - | ^~~~~~~~ +TwoPlayersState.h:140:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 140 | std::auto_ptr m_LeftPlayer; + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from IState.h:24, - from CongratulationsState.h:23, - from TournamentState.cxx:25: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/string:48, - from /usr/include/c++/12/bits/locale_classes.h:40, - from /usr/include/c++/12/bits/ios_base.h:41, - from /usr/include/c++/12/ios:42, - from /usr/include/c++/12/istream:38, - from /usr/include/c++/12/sstream:38, - from TournamentState.cxx:23: -/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 116 | struct TextWrite: public std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 193 | std::auto_ptr m_FontSurface; +TwoPlayersState.h:144:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 144 | std::auto_ptr m_Ready; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -CongratulationsState.h:60:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 60 | std::auto_ptr m_Background; +TwoPlayersState.h:148:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 148 | std::auto_ptr m_RightPlayer; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -CongratulationsState.h:62:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 62 | std::auto_ptr m_BackgroundMusic; +TwoPlayersState.h:150:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 150 | std::auto_ptr m_ScoreFont; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from TwoComputerPlayersState.cxx:27: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/string:48, - from AIPlayerFactory.h:22: -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -In file included from IState.h:24, - from TwoComputerPlayersState.h:24, - from TwoComputerPlayersState.cxx:28: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 116 | struct TextWrite: public std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 193 | std::auto_ptr m_FontSurface; +TwoPlayersState.h:154:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 154 | std::auto_ptr m_Silhouettes; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TwoComputerPlayersState.h:66:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 66 | std::auto_ptr m_Background; +TwoPlayersState.h:158:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 158 | std::auto_ptr m_YouLose; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TwoComputerPlayersState.cxx: In member function 'void Amoebax::TwoComputerPlayersState::loadGraphicsResources()': -TwoComputerPlayersState.cxx:187:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 187 | std::auto_ptr winner ( - | ^~~~~~~~ +TwoPlayersState.h:160:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 160 | std::auto_ptr m_YouWin; + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TwoComputerPlayersState.cxx:194:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 194 | std::auto_ptr YouWin ( - | ^~~~~~~~ +In file included from TournamentState.cxx:32: +VersusState.h:59:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 59 | std::auto_ptr m_Background; + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TwoComputerPlayersState.cxx:209:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 209 | std::auto_ptr font ( - | ^~~~~~~~ +VersusState.h:61:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 61 | std::auto_ptr m_BackgroundMusic; + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -4200,83 +4282,32 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from VersusState.cxx:24: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -In file included from VideoErrorState.cxx:24: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -In file included from VersusState.cxx:25: -VersusState.h:59:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 59 | std::auto_ptr m_Background; - | ^~~~~~~~ +TournamentState.cxx: In member function 'void Amoebax::TournamentState::loadGraphicResources()': +TournamentState.cxx:436:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 436 | std::auto_ptr grid ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -VersusState.h:61:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 61 | std::auto_ptr m_BackgroundMusic; +In file included from IPlayer.h:23, + from HumanPlayer.h:22, + from TrainingState.cxx:30: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from DrawChainLabel.h:25, - from TwoPlayersState.cxx:28: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 116 | struct TextWrite: public std::unary_function - | ^~~~~~~~~~~~~~ +In file included from VideoErrorState.cxx:24: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 193 | std::auto_ptr m_FontSurface; +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from Font.h:25: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -VersusState.cxx: In member function 'void Amoebax::VersusState::loadGraphicResources()': -VersusState.cxx:149:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 149 | std::auto_ptr font ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -VersusState.cxx:152:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 152 | std::auto_ptr player ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -DrawChainLabel.h:37:40: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 37 | struct DrawChainLabel: public std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -VersusState.cxx:164:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 164 | std::auto_ptr opponent ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -VersusState.cxx:178:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 178 | std::auto_ptr versus ( - | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ @@ -4294,181 +4325,202 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from IPlayer.h:23, - from HumanPlayer.h:22, - from NormalState.h:23, - from TwoPlayersState.cxx:30: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; +In file included from TrainingState.cxx:31: +NewHighScoreState.h:76:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 76 | std::auto_ptr m_Background; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; +NewHighScoreState.h:78:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 78 | std::auto_ptr m_BackgroundMusic; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -NormalState.h:74:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 74 | std::auto_ptr m_SoundLose; +NewHighScoreState.h:88:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 88 | std::auto_ptr m_HighLightFont; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -NormalState.h:76:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 76 | std::auto_ptr m_SoundWin; +NewHighScoreState.h:92:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 92 | std::auto_ptr m_NameFont; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from TwoPlayersState.cxx:31: +In file included from TrainingState.cxx:33: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function | ^~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from TwoPlayersState.h:24, - from TwoPlayersState.cxx:32: +In file included from TrainingState.h:24, + from TrainingState.cxx:34: PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 45 | struct GeneratePair: public std::unary_function | ^~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from TournamentState.cxx:28: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -TwoPlayersState.h:120:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 120 | std::auto_ptr m_Amoebas; +In file included from DrawChainLabel.h:25, + from TwoPlayersState.cxx:28: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +TrainingState.h:100:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 100 | std::auto_ptr m_Amoebas; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TwoPlayersState.h:124:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 124 | std::auto_ptr m_Background; +Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 116 | struct TextWrite: public std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +TrainingState.h:104:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 104 | std::auto_ptr m_Background; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TwoPlayersState.h:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 128 | std::auto_ptr m_BackgroundMusic; +TrainingState.h:106:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 106 | std::auto_ptr m_BackgroundMusic; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TwoPlayersState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 130 | std::auto_ptr m_ChainLabel; +TrainingState.h:108:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 108 | std::auto_ptr m_ChainLabel; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TwoPlayersState.h:134:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 134 | std::auto_ptr m_Generator; +TrainingState.h:112:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 112 | std::auto_ptr m_GameOver; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TwoPlayersState.h:136:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 136 | std::auto_ptr m_Go; +TrainingState.h:114:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 114 | std::auto_ptr m_Generator; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TwoPlayersState.h:140:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 140 | std::auto_ptr m_LeftPlayer; +TrainingState.h:116:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 116 | std::auto_ptr m_Go; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TwoPlayersState.h:144:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 144 | std::auto_ptr m_Ready; +TrainingState.h:120:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 120 | std::auto_ptr m_LevelUp; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TwoPlayersState.h:148:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 148 | std::auto_ptr m_RightPlayer; +TrainingState.h:124:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 124 | std::auto_ptr m_LevelUpSound; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TwoPlayersState.h:150:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 150 | std::auto_ptr m_ScoreFont; +TrainingState.h:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 128 | std::auto_ptr m_Player; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TwoPlayersState.h:154:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 154 | std::auto_ptr m_Silhouettes; +TrainingState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 130 | std::auto_ptr m_Ready; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TwoPlayersState.h:158:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 158 | std::auto_ptr m_YouLose; +TrainingState.h:134:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 134 | std::auto_ptr m_ScoreFont; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TwoPlayersState.h:160:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 160 | std::auto_ptr m_YouWin; +TrainingState.h:138:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 138 | std::auto_ptr m_Silhouettes; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TwoPlayersState.cxx: In member function 'void Amoebax::TwoPlayersState::loadGraphicsResources()': -TwoPlayersState.cxx:373:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 373 | std::auto_ptr gridBackground ( - | ^~~~~~~~ +TrainingState.h:140:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 140 | std::auto_ptr m_SoundLose; + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from TournamentState.cxx:29: -TournamentState.h:112:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 112 | std::auto_ptr m_Background; +Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from Font.h:25: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TournamentState.h:114:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 114 | std::auto_ptr m_BackgroundMusic; - | ^~~~~~~~ +TrainingState.cxx: In member function 'void Amoebax::TrainingState::loadGraphicResources()': +TrainingState.cxx:347:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 347 | std::auto_ptr gridBackground ( + | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TournamentState.h:120:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 120 | std::auto_ptr m_Faces; +DrawChainLabel.h:37:40: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 37 | struct DrawChainLabel: public std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +In file included from IPlayer.h:23, + from HumanPlayer.h:22, + from NormalState.h:23, + from TwoPlayersState.cxx:30: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TournamentState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 130 | std::auto_ptr m_SoundLose; +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -TournamentState.h:132:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 132 | std::auto_ptr m_SoundWin; +NormalState.h:74:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 74 | std::auto_ptr m_SoundLose; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from TournamentState.cxx:30: -TwoComputerPlayersState.h:66:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 66 | std::auto_ptr m_Background; +NormalState.h:76:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 76 | std::auto_ptr m_SoundWin; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from TwoPlayersState.cxx:31: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ In file included from TwoPlayersState.h:24, - from TournamentState.cxx:31: + from TwoPlayersState.cxx:32: PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 45 | struct GeneratePair: public std::unary_function | ^~~~~~~~~~~~~~ @@ -4553,22 +4605,9 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from TournamentState.cxx:32: -VersusState.h:59:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 59 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -VersusState.h:61:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 61 | std::auto_ptr m_BackgroundMusic; - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -TournamentState.cxx: In member function 'void Amoebax::TournamentState::loadGraphicResources()': -TournamentState.cxx:436:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 436 | std::auto_ptr grid ( +TwoPlayersState.cxx: In member function 'void Amoebax::TwoPlayersState::loadGraphicsResources()': +TwoPlayersState.cxx:373:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 373 | std::auto_ptr gridBackground ( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; @@ -4580,7 +4619,7 @@ make[2]: Leaving directory '/build/amoebax-0.2.1+dfsg' make[1]: Leaving directory '/build/amoebax-0.2.1+dfsg' dh_auto_test - make -j15 check "TESTSUITEFLAGS=-j15 --verbose" VERBOSE=1 + make -j16 check "TESTSUITEFLAGS=-j16 --verbose" VERBOSE=1 make[1]: Entering directory '/build/amoebax-0.2.1+dfsg' Making check in autopackage make[2]: Entering directory '/build/amoebax-0.2.1+dfsg/autopackage' @@ -4639,7 +4678,7 @@ dh_testroot dh_prep dh_auto_install - make -j15 install DESTDIR=/build/amoebax-0.2.1\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no + make -j16 install DESTDIR=/build/amoebax-0.2.1\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/amoebax-0.2.1+dfsg' Making install in autopackage make[2]: Entering directory '/build/amoebax-0.2.1+dfsg/autopackage' @@ -4661,7 +4700,7 @@ make[3]: Entering directory '/build/amoebax-0.2.1+dfsg/data/fonts' make[4]: Entering directory '/build/amoebax-0.2.1+dfsg/data/fonts' make[4]: Nothing to be done for 'install-exec-am'. -test -z "/usr/share/games/amoebax/fonts" || /bin/mkdir -p "/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/games/amoebax/fonts" +test -z "/usr/share/games/amoebax/fonts" || /usr/bin/mkdir -p "/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/games/amoebax/fonts" /usr/bin/install -c -m 644 'fontMenu480.png' '/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/games/amoebax/fonts/fontMenu480.png' /usr/bin/install -c -m 644 'fontMenu600.png' '/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/games/amoebax/fonts/fontMenu600.png' /usr/bin/install -c -m 644 'fontMenu768.png' '/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/games/amoebax/fonts/fontMenu768.png' @@ -4689,7 +4728,7 @@ make[4]: Entering directory '/build/amoebax-0.2.1+dfsg/data/graphics' make[5]: Entering directory '/build/amoebax-0.2.1+dfsg/data/graphics' make[5]: Nothing to be done for 'install-exec-am'. -test -z "/usr/share/games/amoebax/graphics" || /bin/mkdir -p "/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/games/amoebax/graphics" +test -z "/usr/share/games/amoebax/graphics" || /usr/bin/mkdir -p "/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/games/amoebax/graphics" /usr/bin/install -c -m 644 'amoebas.png' '/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/games/amoebax/graphics/amoebas.png' /usr/bin/install -c -m 644 'amoebax.png' '/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/games/amoebax/graphics/amoebax.png' /usr/bin/install -c -m 644 'Angus.png' '/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/games/amoebax/graphics/Angus.png' @@ -4750,7 +4789,7 @@ make[3]: Entering directory '/build/amoebax-0.2.1+dfsg/data/music' make[4]: Entering directory '/build/amoebax-0.2.1+dfsg/data/music' make[4]: Nothing to be done for 'install-exec-am'. -test -z "/usr/share/games/amoebax/music" || /bin/mkdir -p "/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/games/amoebax/music" +test -z "/usr/share/games/amoebax/music" || /usr/bin/mkdir -p "/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/games/amoebax/music" /usr/bin/install -c -m 644 'AngusBackground.ogg' '/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/games/amoebax/music/AngusBackground.ogg' /usr/bin/install -c -m 644 'Congratulations.ogg' '/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/games/amoebax/music/Congratulations.ogg' /usr/bin/install -c -m 644 'K.QuitaBackground.ogg' '/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/games/amoebax/music/K.QuitaBackground.ogg' @@ -4766,7 +4805,7 @@ make[3]: Entering directory '/build/amoebax-0.2.1+dfsg/data/sfx' make[4]: Entering directory '/build/amoebax-0.2.1+dfsg/data/sfx' make[4]: Nothing to be done for 'install-exec-am'. -test -z "/usr/share/games/amoebax/sfx" || /bin/mkdir -p "/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/games/amoebax/sfx" +test -z "/usr/share/games/amoebax/sfx" || /usr/bin/mkdir -p "/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/games/amoebax/sfx" /usr/bin/install -c -m 644 'die.wav' '/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/games/amoebax/sfx/die.wav' /usr/bin/install -c -m 644 'levelup.wav' '/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/games/amoebax/sfx/levelup.wav' /usr/bin/install -c -m 644 'youlose.wav' '/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/games/amoebax/sfx/youlose.wav' @@ -4776,8 +4815,8 @@ make[3]: Entering directory '/build/amoebax-0.2.1+dfsg/data' make[4]: Entering directory '/build/amoebax-0.2.1+dfsg/data' make[4]: Nothing to be done for 'install-exec-am'. -test -z "/usr/share/applications" || /bin/mkdir -p "/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/applications" -test -z "/usr/share/pixmaps" || /bin/mkdir -p "/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/pixmaps" +test -z "/usr/share/applications" || /usr/bin/mkdir -p "/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/applications" +test -z "/usr/share/pixmaps" || /usr/bin/mkdir -p "/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/pixmaps" /usr/bin/install -c -m 644 'amoebax.desktop' '/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/applications/amoebax.desktop' /usr/bin/install -c -m 644 'amoebax.svg' '/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/pixmaps/amoebax.svg' make install-data-hook @@ -4800,7 +4839,7 @@ make[2]: Entering directory '/build/amoebax-0.2.1+dfsg/doc' make[3]: Entering directory '/build/amoebax-0.2.1+dfsg/doc' make[3]: Nothing to be done for 'install-exec-am'. -test -z "/usr/share/doc/amoebax" || /bin/mkdir -p "/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/doc/amoebax" +test -z "/usr/share/doc/amoebax" || /usr/bin/mkdir -p "/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/doc/amoebax" /usr/bin/install -c -m 644 'manual.pdf' '/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/doc/amoebax/manual.pdf' make[3]: Leaving directory '/build/amoebax-0.2.1+dfsg/doc' make[2]: Leaving directory '/build/amoebax-0.2.1+dfsg/doc' @@ -4814,7 +4853,7 @@ Making install in src make[2]: Entering directory '/build/amoebax-0.2.1+dfsg/src' make[3]: Entering directory '/build/amoebax-0.2.1+dfsg/src' -test -z "/usr/games" || /bin/mkdir -p "/build/amoebax-0.2.1+dfsg/debian/tmp/usr/games" +test -z "/usr/games" || /usr/bin/mkdir -p "/build/amoebax-0.2.1+dfsg/debian/tmp/usr/games" make[3]: Nothing to be done for 'install-data-am'. /usr/bin/install -c 'amoebax' '/build/amoebax-0.2.1+dfsg/debian/tmp/usr/games/amoebax' make[3]: Leaving directory '/build/amoebax-0.2.1+dfsg/src' @@ -4848,9 +4887,9 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'amoebax-dbgsym' in '../amoebax-dbgsym_0.2.1+dfsg-6_amd64.deb'. dpkg-deb: building package 'amoebax' in '../amoebax_0.2.1+dfsg-6_amd64.deb'. dpkg-deb: building package 'amoebax-data' in '../amoebax-data_0.2.1+dfsg-6_all.deb'. +dpkg-deb: building package 'amoebax-dbgsym' in '../amoebax-dbgsym_0.2.1+dfsg-6_amd64.deb'. dpkg-genbuildinfo --build=binary -O../amoebax_0.2.1+dfsg-6_amd64.buildinfo dpkg-genchanges --build=binary -O../amoebax_0.2.1+dfsg-6_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -4858,12 +4897,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3951571/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3951571/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/3313321 and its subdirectories -I: Current time: Sat May 20 06:48:46 -12 2023 -I: pbuilder-time-stamp: 1684608526 +I: removing directory /srv/workspace/pbuilder/3951571 and its subdirectories +I: Current time: Sat Jun 22 15:12:49 +14 2024 +I: pbuilder-time-stamp: 1719018769