Diff of the two buildlogs: -- --- b1/build.log 2023-04-15 20:55:07.480176837 +0000 +++ b2/build.log 2023-04-15 20:58:17.891721206 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Apr 15 08:53:10 -12 2023 -I: pbuilder-time-stamp: 1681591990 +I: Current time: Sat May 18 17:18:11 +14 2024 +I: pbuilder-time-stamp: 1716002291 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,52 +33,84 @@ dpkg-source: info: applying support-runstatedir-option.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3895/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/21950/tmp/hooks/D01_modify_environment starting +debug: Running on codethink11-arm64. +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 May 18 17:18 /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/21950/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/21950/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='3895' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=21950 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.DYFIwfoU/pbuilderrc_BbUp --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.DYFIwfoU/b1 --logfile b1/build.log amoebax_0.2.1+dfsg-6.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.DYFIwfoU/pbuilderrc_JVwO --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.DYFIwfoU/b2 --logfile b2/build.log --extrapackages usrmerge amoebax_0.2.1+dfsg-6.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink12-arm64 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 14 22:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3895/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 16 07:13 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/21950/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -310,7 +342,7 @@ Get: 188 http://deb.debian.org/debian bookworm/main arm64 libsdl-mixer1.2 arm64 1.2.12-17+b3 [78.6 kB] Get: 189 http://deb.debian.org/debian bookworm/main arm64 libvorbis-dev arm64 1.3.7-1 [321 kB] Get: 190 http://deb.debian.org/debian bookworm/main arm64 libsdl-mixer1.2-dev arm64 1.2.12-17+b3 [95.4 kB] -Fetched 90.4 MB in 4s (23.3 MB/s) +Fetched 90.4 MB in 2s (45.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (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 ... 19616 files and directories currently installed.) @@ -1094,10 +1126,15 @@ 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/21950/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/21950/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +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 @@ -1236,23 +1273,6 @@ 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-CongratulationsState.o `test -f 'CongratulationsState.cxx' || echo './'`CongratulationsState.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-ControlSetupState.o `test -f 'ControlSetupState.cxx' || echo './'`ControlSetupState.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-CreditsState.o `test -f 'CreditsState.cxx' || echo './'`CreditsState.cxx -In file included from IPlayer.h:23, - from AIPlayer.h:22, - from AIPlayer.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 CongratulationsState.cxx:23: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function @@ -1277,17 +1297,6 @@ /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 - 64 | template class auto_ptr; - | ^~~~~~~~ In file included from CongratulationsState.cxx:24: 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; @@ -1313,20 +1322,37 @@ /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 AnticipatoryAIPlayer.h:23: -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 AIPlayer.h:22, + from AIPlayer.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; | ^~~~~~~~ In file included from IPlayer.h:23, - from Options.h:24, - from CongratulationsState.cxx:25: + 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; + | ^~~~~~~~ +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 64 | template class auto_ptr; | ^~~~~~~~ @@ -1336,45 +1362,26 @@ /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-DemoState.o `test -f 'DemoState.cxx' || echo './'`DemoState.cxx -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/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 - | ^~~~~~~~~~~~~~~ -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; +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; | ^~~~~~~~ In file included from IPlayer.h:23, - from AIPlayer.h:22, - from AdvancedAIPlayer.h:22, - from AIPlayerFactory.cxx: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; | ^~~~~~~~ -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 AIPlayer.h:22, + from AnticipatoryAIPlayer.h:23: +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; | ^~~~~~~~ @@ -1385,12 +1392,14 @@ 64 | template class auto_ptr; | ^~~~~~~~ In file included from IPlayer.h:23, - from Options.h:24, - from Joystick.h:22, - from ControlSetupState.h:25: + 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; | ^~~~~~~~ @@ -1400,9 +1409,8 @@ /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 CreditsState.cxx:24: +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 | ^~~~~~~~~~~~~~~ @@ -1412,7 +1420,7 @@ from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/sstream:38, - from CreditsState.cxx:23: + from ControlSetupState.cxx:22: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -1422,36 +1430,35 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -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; +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:101:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 101 | std::auto_ptr m_FontSelected; +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; +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-DemoState.o `test -f 'DemoState.cxx' || echo './'`DemoState.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; | ^~~~~~~~ -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; | ^~~~~~~~ In file included from IPlayer.h:23, - from AIPlayer.h:22, - from AdvancedAIPlayer.h:22, - from AdvancedAIPlayer.cxx:24: + 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; | ^~~~~~~~ @@ -1460,8 +1467,20 @@ /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; +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; @@ -1473,6 +1492,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; + | ^~~~~~~~ In file included from CongratulationsState.cxx:27: 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; @@ -1486,6 +1511,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-DumbAIPlayer.o `test -f 'DumbAIPlayer.cxx' || echo './'`DumbAIPlayer.cxx CongratulationsState.cxx: In member function 'void Amoebax::CongratulationsState::loadGraphicResources()': CongratulationsState.cxx:145:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr podium ( @@ -1505,19 +1531,37 @@ /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-DumbAIPlayer.o `test -f 'DumbAIPlayer.cxx' || echo './'`DumbAIPlayer.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 IState.h:24, + from CreditsState.h:22, + from CreditsState.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/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 CreditsState.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 IPlayer.h:22: + 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-FadeInState.o `test -f 'FadeInState.cxx' || echo './'`FadeInState.cxx 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 @@ -1525,12 +1569,6 @@ /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; - | ^~~~~~~~ ControlSetupState.cxx: In member function 'void Amoebax::ControlSetupState::loadGraphicResources()': ControlSetupState.cxx:539:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 539 | std::auto_ptr title (Surface::fromFile ( @@ -1581,7 +1619,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-FadeInState.o `test -f 'FadeInState.cxx' || echo './'`FadeInState.cxx In file included from IPlayer.h:23, from Options.h:24, from CreditsState.cxx:27: @@ -1591,6 +1628,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-FadeOutState.o `test -f 'FadeOutState.cxx' || echo './'`FadeOutState.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; | ^~~~~~~~ @@ -1616,6 +1654,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-FrameManager.o `test -f 'FrameManager.cxx' || echo './'`FrameManager.cxx In file included from TrainingState.h:24, from CreditsState.cxx:30: PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] @@ -1715,8 +1754,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-FadeOutState.o `test -f 'FadeOutState.cxx' || echo './'`FadeOutState.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-FrameManager.o `test -f 'FrameManager.cxx' || echo './'`FrameManager.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-File.o `test -f 'File.cxx' || echo './'`File.cxx In file included from IPlayer.h:23, from AIPlayerFactory.h:23, @@ -1735,6 +1772,18 @@ /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 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 IState.h:24, from DemoState.h:23, from DemoState.cxx:23: @@ -1752,6 +1801,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; + | ^~~~~~~~ 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; | ^~~~~~~~ @@ -1766,7 +1821,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-Font.o `test -f 'Font.cxx' || echo './'`Font.cxx 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; | ^~~~~~~~ @@ -1851,27 +1905,9 @@ /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 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 IState.h:24, - from FadeOutState.h:22, - from FadeOutState.cxx:22: + from FadeInState.h:22, + from FadeInState.cxx:22: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function | ^~~~~~~~~~~~~~~ @@ -1893,12 +1929,14 @@ /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] +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; | ^~~~~~~~ +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 DemoState.cxx:24: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function @@ -1907,8 +1945,8 @@ 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from IState.h:24, - from FadeInState.h:22, - from FadeInState.cxx:22: + 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 | ^~~~~~~~~~~~~~~ @@ -1930,31 +1968,29 @@ /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] +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 FadeOutState.cxx:23: +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 | ^~~~~~~~~~~~~~ /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-Grid.o `test -f 'Grid.cxx' || echo './'`Grid.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-GridStatus.o `test -f 'GridStatus.cxx' || echo './'`GridStatus.cxx -In file included from FadeInState.cxx:23: +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 | ^~~~~~~~~~~~~~ +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 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 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 In file included from IPlayer.h:23, from Options.h:24, from File.cxx:29: @@ -1966,13 +2002,14 @@ /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-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-Joystick.o `test -f 'Joystick.cxx' || echo './'`Joystick.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; | ^~~~~~~~ +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 Font.cxx:29: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function @@ -2012,6 +2049,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-MainMenuState.o `test -f 'MainMenuState.cxx' || echo './'`MainMenuState.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 @@ -2022,7 +2060,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-MainMenuState.o `test -f 'MainMenuState.cxx' || echo './'`MainMenuState.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; @@ -2046,24 +2083,6 @@ /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-Music.o `test -f 'Music.cxx' || echo './'`Music.cxx -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; - | ^~~~~~~~ -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 IState.h:24, from HighScoreState.h:23, from HighScoreState.cxx:25: @@ -2113,21 +2132,32 @@ 64 | template class auto_ptr; | ^~~~~~~~ In file included from IPlayer.h:23, - from Options.h:24, - from HighScoreState.cxx:26: + 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; | ^~~~~~~~ -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 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; + | ^~~~~~~~ In file included from IPlayer.h:23, from Options.h:24, from Joystick.h:22, @@ -2146,6 +2176,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; + | ^~~~~~~~ +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 HighScoreState.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 + | ^~~~~~~~~~~~~~ +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; + | ^~~~~~~~ In file included from IState.h:24, from MainMenuState.h:22, from main.cxx:27: @@ -2198,43 +2250,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -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 - | ^~~~~~~~~~~~~~ -/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 ( - | ^~~~~~~~ -/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 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; - | ^~~~~~~~ -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-NormalSetupState.o `test -f 'NormalSetupState.cxx' || echo './'`NormalSetupState.cxx -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 - | ^~~~~~~~~~~~~~ In file included from IPlayer.h:23, from AIPlayer.h:22, from AdvancedAIPlayer.h:22, @@ -2247,16 +2262,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -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 - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/string:48, - from /usr/include/c++/12/stdexcept:39, - from Music.cxx:24: -/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; | ^~~~~~~~ @@ -2279,86 +2284,37 @@ /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 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; | ^~~~~~~~ -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 - | ^~~~~~~~~~~~~~ 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; - | ^~~~~~~~ -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; - | ^~~~~~~~ -/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; +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-NormalState.o `test -f 'NormalState.cxx' || echo './'`NormalState.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 + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/string:48, + from /usr/include/c++/12/stdexcept:39, + from Music.cxx:24: +/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ In file included from CreditsState.h:23: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function @@ -2393,6 +2349,13 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +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 + | ^~~~~~~~~~~~~~ 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; | ^~~~~~~~ @@ -2578,15 +2541,6 @@ /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; - | ^~~~~~~~ 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; @@ -2672,7 +2626,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-Options.o `test -f 'Options.cxx' || echo './'`Options.cxx 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 ( @@ -2680,33 +2633,89 @@ /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-OptionsMenuState.o `test -f 'OptionsMenuState.cxx' || echo './'`OptionsMenuState.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; +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 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 + | ^~~~~~~~~~~~~~ +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; + | ^~~~~~~~ +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; + | ^~~~~~~~ +/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; | ^~~~~~~~ /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-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 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 - | ^~~~~~~~~~~~~~ -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 IPlayer.h:23, - from AIPlayerFactory.h:23, - from NormalState.cxx: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; | ^~~~~~~~ -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; | ^~~~~~~~ @@ -2731,13 +2740,11 @@ 64 | template class auto_ptr; | ^~~~~~~~ In file included from IState.h:24, - from CongratulationsState.h:23, - from NormalState.cxx: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 | ^~~~~~~~~~~~~~~ -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 | ^~~~~~~~~~~~~~~ @@ -2750,22 +2757,56 @@ 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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -In file included from NormalState.cxx:27: +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 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 + | ^~~~~~~~~~~~~~ +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; + | ^~~~~~~~ +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'}; + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; | ^~~~~~~~ @@ -2778,12 +2819,44 @@ /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; + | ^~~~~~~~ +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; + | ^~~~~~~~ +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 IState.h:24, - from NormalSetupState.h:23, - from NormalSetupState.cxx:25: + 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 | ^~~~~~~~~~~~~~~ @@ -2796,37 +2869,43 @@ 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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +In file included from NormalState.cxx:27: +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; | ^~~~~~~~ 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 IPlayer.h:23, - from HumanPlayer.h:22, - from NormalState.h:23, - from NormalSetupState.cxx:26: + 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; | ^~~~~~~~ @@ -2862,31 +2941,6 @@ /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; - | ^~~~~~~~ In file included from TwoPlayersState.h:24, from NormalState.cxx:30: PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] @@ -2987,23 +3041,6 @@ 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 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; - | ^~~~~~~~ -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 OptionsMenuState.cxx:25: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] @@ -3042,7 +3079,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-Sound.o `test -f 'Sound.cxx' || echo './'`Sound.cxx 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 @@ -3052,6 +3088,7 @@ /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-Sound.o `test -f 'Sound.cxx' || echo './'`Sound.cxx In file included from IPlayer.h:23, from Options.h:24, from Joystick.h:22, @@ -3088,6 +3125,30 @@ | ^~~~~~~~ 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 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 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 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; + | ^~~~~~~~ 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] @@ -3096,6 +3157,7 @@ /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-TournamentMenuState.o `test -f 'TournamentMenuState.cxx' || echo './'`TournamentMenuState.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; | ^~~~~~~~ @@ -3220,31 +3282,6 @@ /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-TournamentMenuState.o `test -f 'TournamentMenuState.cxx' || echo './'`TournamentMenuState.cxx -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 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; - | ^~~~~~~~ In file included from IPlayer.h:23, from Options.h:24, from PauseState.cxx:25: @@ -3279,6 +3316,13 @@ /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 + | ^~~~~~~~~~~~~~ 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; @@ -3297,13 +3341,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 - | ^~~~~~~~~~~~~~ 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 @@ -3346,6 +3383,19 @@ /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 System.cxx:42: +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 Surface.cxx:28: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function @@ -3356,15 +3406,11 @@ /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; - | ^~~~~~~~ -In file included from System.cxx:42: -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; +In file included from IPlayer.h:23, + from Options.h:24, + from System.cxx:45: +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; @@ -3372,10 +3418,12 @@ 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 IPlayer.h:23, from Options.h:24, - from System.cxx:45: + 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; | ^~~~~~~~ @@ -3404,37 +3452,12 @@ /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 /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 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 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; - | ^~~~~~~~ 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] @@ -3499,13 +3522,26 @@ /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-TryAgainState.o `test -f 'TryAgainState.cxx' || echo './'`TryAgainState.cxx 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 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 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; + | ^~~~~~~~ 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 @@ -3520,6 +3556,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-TryAgainState.o `test -f 'TryAgainState.cxx' || echo './'`TryAgainState.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-TwoComputerPlayersState.o `test -f 'TwoComputerPlayersState.cxx' || echo './'`TwoComputerPlayersState.cxx In file included from TournamentSetupState.cxx:24: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] @@ -3535,14 +3572,12 @@ /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 -In file included from TryAgainState.cxx:24: +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 File.h:22, - from TryAgainState.cxx:23: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -3556,7 +3591,7 @@ 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; | ^~~~~~~~ @@ -3571,6 +3606,30 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +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; + | ^~~~~~~~ +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; + | ^~~~~~~~ +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; + | ^~~~~~~~ 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; | ^~~~~~~~ @@ -3605,15 +3664,6 @@ /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; - | ^~~~~~~~ -/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; | ^~~~~~~~ @@ -3626,102 +3676,79 @@ /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 IPlayer.h:23, + from IMatchObserver.h:22, + from TournamentState.h:22, + from TournamentSetupState.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 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; +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.h:129:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 129 | std::auto_ptr m_Font; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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 - | ^~~~~~~~~~~~~~~ -/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; +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; | ^~~~~~~~ -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; | ^~~~~~~~ -TournamentSetupState.h:63:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 63 | std::auto_ptr image; - | ^~~~~~~~ +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; - | ^~~~~~~~ +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 ( + | ^~~~~~~~ /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; - | ^~~~~~~~ +TournamentSetupState.cxx:413:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 413 | 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 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 - | ^~~~~~~~~~~~~~ -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 ( +TournamentSetupState.cxx:421:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 421 | 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 IPlayer.h:23, - from IMatchObserver.h:22, - from TournamentState.h:22, - from TournamentSetupState.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; - | ^~~~~~~~ +TournamentSetupState.cxx:429:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 429 | 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-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 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 @@ -3743,39 +3770,27 @@ /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; - | ^~~~~~~~ -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; - | ^~~~~~~~ -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; - | ^~~~~~~~ -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; - | ^~~~~~~~ -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; - | ^~~~~~~~ -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; +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; | ^~~~~~~~ @@ -3810,31 +3825,6 @@ /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 ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -TournamentSetupState.cxx:413:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 413 | std::auto_ptr title ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -TournamentSetupState.cxx:421:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 421 | std::auto_ptr title ( - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -TournamentSetupState.cxx:429:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 429 | 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; @@ -3977,6 +3967,21 @@ 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; + | ^~~~~~~~ +/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 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] @@ -3985,6 +3990,25 @@ /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; + | ^~~~~~~~ +/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; + | ^~~~~~~~ +/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; + | ^~~~~~~~ +/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; | ^~~~~~~~ @@ -4023,7 +4047,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-VersusState.o `test -f 'VersusState.cxx' || echo './'`VersusState.cxx 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] @@ -4116,13 +4139,6 @@ /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 ( - | ^~~~~~~~ -/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: @@ -4134,13 +4150,34 @@ /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 ( + | ^~~~~~~~ +/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 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-VideoErrorState.o `test -f 'VideoErrorState.cxx' || echo './'`VideoErrorState.cxx +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 + | ^~~~~~~~~~~~~~ +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 TwoComputerPlayersState.cxx:27: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function @@ -4196,6 +4233,75 @@ /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 + | ^~~~~~~~~~~~~~~ +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 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 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; + | ^~~~~~~~ +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; + | ^~~~~~~~ +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; + | ^~~~~~~~ +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; + | ^~~~~~~~ In file included from TwoPlayersState.cxx:27: DrawAmoeba.h:35:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 35 | struct DrawAmoeba: public std::unary_function @@ -4210,11 +4316,13 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from DrawChainLabel.h:25, - from TwoPlayersState.cxx:28: +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 | ^~~~~~~~~~~~~~~ @@ -4232,19 +4340,11 @@ /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 - | ^~~~~~~~~~~~~~ -In file included from VersusState.cxx:23: +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 | ^~~~~~~~~~~~~~~ -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 | ^~~~~~~~~~~~~~~ @@ -4262,6 +4362,12 @@ /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 + | ^~~~~~~~~~~~~~ In file included from IPlayer.h:23, from HumanPlayer.h:22, from NormalState.h:23, @@ -4278,30 +4384,13 @@ /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 - | ^~~~~~~~~~~~~~ +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; - | ^~~~~~~~ -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; - | ^~~~~~~~ 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; | ^~~~~~~~ @@ -4321,6 +4410,20 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +In file included from VideoErrorState.cxx:25: +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; + | ^~~~~~~~ +VideoErrorState.cxx: In member function 'virtual void Amoebax::VideoErrorState::activate()': +VideoErrorState.cxx:66:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 66 | std::auto_ptr font (Font::fromFile (File::getFontFilePath ("fontMenu"))); + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from TwoPlayersState.h:24, from TwoPlayersState.cxx:32: PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] @@ -4414,72 +4517,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -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 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; - | ^~~~~~~~ -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; - | ^~~~~~~~ -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; - | ^~~~~~~~ -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; - | ^~~~~~~~ -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 VideoErrorState.cxx:25: -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; - | ^~~~~~~~ -VideoErrorState.cxx: In member function 'virtual void Amoebax::VideoErrorState::activate()': -VideoErrorState.cxx:66:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 66 | std::auto_ptr font (Font::fromFile (File::getFontFilePath ("fontMenu"))); - | ^~~~~~~~ -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ g++ -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 -Wl,-z,relro -Wl,-z,now -o amoebax amoebax-binreloc.o amoebax-UnixOptions.o amoebax-AdvancedAIPlayer.o amoebax-AIPlayer.o amoebax-AIPlayerFactory.o amoebax-Amoeba.o amoebax-AnticipatoryAIPlayer.o amoebax-ChainLabel.o amoebax-CongratulationsState.o amoebax-ControlSetupState.o amoebax-CreditsState.o amoebax-DemoState.o amoebax-DumbAIPlayer.o amoebax-FadeInState.o amoebax-FadeOutState.o amoebax-FrameManager.o amoebax-File.o amoebax-Font.o amoebax-Grid.o amoebax-GridStatus.o amoebax-HighScoreState.o amoebax-HumanPlayer.o amoebax-Joystick.o amoebax-main.o amoebax-MainMenuState.o amoebax-Music.o amoebax-NewHighScoreState.o amoebax-NormalSetupState.o amoebax-NormalState.o amoebax-Options.o amoebax-OptionsMenuState.o amoebax-PairGenerator.o amoebax-PauseState.o amoebax-SimpleAIPlayer.o amoebax-Sound.o amoebax-Surface.o amoebax-System.o amoebax-TournamentMenuState.o amoebax-TournamentSetupState.o amoebax-TournamentState.o amoebax-TrainingState.o amoebax-TryAgainState.o amoebax-TwoComputerPlayersState.o amoebax-TwoPlayersState.o amoebax-VersusState.o amoebax-VideoErrorState.o -L/usr/lib/aarch64-linux-gnu -lSDL -lSDL_image -lSDL_mixer make[3]: Leaving directory '/build/amoebax-0.2.1+dfsg/src' make[3]: Entering directory '/build/amoebax-0.2.1+dfsg' @@ -4685,8 +4722,8 @@ make[4]: Nothing to be done for 'install-exec-am'. 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.svg' '/build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/pixmaps/amoebax.svg' /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 make[5]: Entering directory '/build/amoebax-0.2.1+dfsg/data' mkdir -p /build/amoebax-0.2.1+dfsg/debian/tmp/usr/share/man/man6 ; \ @@ -4755,8 +4792,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'amoebax-dbgsym' in '../amoebax-dbgsym_0.2.1+dfsg-6_arm64.deb'. dpkg-deb: building package 'amoebax' in '../amoebax_0.2.1+dfsg-6_arm64.deb'. +dpkg-deb: building package 'amoebax-dbgsym' in '../amoebax-dbgsym_0.2.1+dfsg-6_arm64.deb'. dpkg-deb: building package 'amoebax-data' in '../amoebax-data_0.2.1+dfsg-6_all.deb'. dpkg-genbuildinfo --build=binary -O../amoebax_0.2.1+dfsg-6_arm64.buildinfo dpkg-genchanges --build=binary -O../amoebax_0.2.1+dfsg-6_arm64.changes @@ -4765,12 +4802,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/21950/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/21950/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/3895 and its subdirectories -I: Current time: Sat Apr 15 08:55:05 -12 2023 -I: pbuilder-time-stamp: 1681592105 +I: removing directory /srv/workspace/pbuilder/21950 and its subdirectories +I: Current time: Sat May 18 17:21:15 +14 2024 +I: pbuilder-time-stamp: 1716002475