Diff of the two buildlogs: -- --- b1/build.log 2024-05-01 23:23:40.551982460 +0000 +++ b2/build.log 2024-05-01 23:24:52.288926696 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 1 11:22:39 -12 2024 -I: pbuilder-time-stamp: 1714605759 +I: Current time: Wed Jun 4 19:46:43 +14 2025 +I: pbuilder-time-stamp: 1749016003 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -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/1690156/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2424737/tmp/hooks/D01_modify_environment starting +debug: Running on codethink01-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 Jun 4 05:46 /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/2424737/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2424737/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - 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]="21" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + 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=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='cae938832f654ccab1e39209bb806377' - 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='1690156' - PS1='# ' - PS2='> ' + INVOCATION_ID=69285025a92e45249d830e7045138f9a + 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=2424737 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.2Nn389Pp/pbuilderrc_po8J --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.2Nn389Pp/b1 --logfile b1/build.log amoebax_0.2.1+dfsg-6.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.2Nn389Pp/pbuilderrc_npc7 --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.2Nn389Pp/b2 --logfile b2/build.log amoebax_0.2.1+dfsg-6.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 1 07:42 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1690156/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 3 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2424737/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -358,7 +390,7 @@ Get: 236 http://deb.debian.org/debian unstable/main arm64 libsdl-mixer1.2 arm64 1.2.12-18 [79.4 kB] Get: 237 http://deb.debian.org/debian unstable/main arm64 libvorbis-dev arm64 1.3.7-2 [316 kB] Get: 238 http://deb.debian.org/debian unstable/main arm64 libsdl-mixer1.2-dev arm64 1.2.12-18 [96.8 kB] -Fetched 96.6 MB in 0s (210 MB/s) +Fetched 96.6 MB in 0s (204 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 ... 19735 files and directories currently installed.) @@ -1124,8 +1156,8 @@ Setting up tzdata (2024a-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed May 1 23:23:10 UTC 2024. -Universal Time is now: Wed May 1 23:23:10 UTC 2024. +Local time is now: Wed Jun 4 05:47:13 UTC 2025. +Universal Time is now: Wed Jun 4 05:47:13 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libasound2-data (1.2.11-1) ... @@ -1348,7 +1380,11 @@ fakeroot is already the newest version (1.34-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/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/2424737/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2424737/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/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 @@ -1493,28 +1529,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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-DumbAIPlayer.o `test -f 'DumbAIPlayer.cxx' || echo './'`DumbAIPlayer.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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-FadeInState.o `test -f 'FadeInState.cxx' || echo './'`FadeInState.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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-FadeOutState.o `test -f 'FadeOutState.cxx' || echo './'`FadeOutState.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++/13/memory:78, - from IPlayer.h:22: -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from IPlayer.h:23, - from AIPlayerFactory.h:23, - from DemoState.cxx:22: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from IPlayer.h:22: -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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 @@ -1531,17 +1545,6 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -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++/13/memory:78, - from Grid.h:23: -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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; | ^~~~~~~~ @@ -1550,40 +1553,10 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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; | ^~~~~~~~ -In file included from IState.h:24, - 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 - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/unique_ptr.h:37, - from /usr/include/c++/13/memory:78, - from IState.h:22: -/usr/include/c++/13/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++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ @@ -1605,20 +1578,6 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ In file included from IPlayer.h:23, from AIPlayer.h:22, from AdvancedAIPlayer.h:22, @@ -1631,145 +1590,101 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from IState.h:24, - from DemoState.h:23, - from DemoState.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++/13/string:49, - from AIPlayerFactory.h:22: -/usr/include/c++/13/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++/13/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; +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++/13/memory:78, + from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 193 | std::auto_ptr m_FontSurface; +In file included from IPlayer.h:23, + from Options.h:24, + from CongratulationsState.cxx:25: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from TwoPlayersState.h:24, - from DemoState.h:24: -PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 45 | struct GeneratePair: public std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -TwoPlayersState.h:120:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 120 | std::auto_ptr m_Amoebas; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -TwoPlayersState.h:124:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 124 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -TwoPlayersState.h:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 128 | std::auto_ptr m_BackgroundMusic; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -TwoPlayersState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 130 | std::auto_ptr m_ChainLabel; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -TwoPlayersState.h:134:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 134 | std::auto_ptr m_Generator; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -TwoPlayersState.h:136:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 136 | std::auto_ptr m_Go; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -TwoPlayersState.h:140:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 140 | std::auto_ptr m_LeftPlayer; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -TwoPlayersState.h:144:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 144 | std::auto_ptr m_Ready; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TwoPlayersState.h:148:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 148 | std::auto_ptr m_RightPlayer; - | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TwoPlayersState.h:150:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 150 | std::auto_ptr m_ScoreFont; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TwoPlayersState.h:154:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 154 | std::auto_ptr m_Silhouettes; +In file included from IState.h:24, + 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 + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/unique_ptr.h:37, + from /usr/include/c++/13/memory:78, + from IState.h:22: +/usr/include/c++/13/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++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TwoPlayersState.h:158:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 158 | std::auto_ptr m_YouLose; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TwoPlayersState.h:160:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 160 | std::auto_ptr m_YouWin; +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++/13/memory:78, + from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -DemoState.h:65:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 65 | std::auto_ptr m_Match; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from ControlSetupState.h:23, - from ControlSetupState.cxx:24: +In file included from IState.h:24, + from FadeOutState.h:22, + from FadeOutState.cxx:22: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/istream:40, - from /usr/include/c++/13/sstream:40, - from ControlSetupState.cxx:22: +In file included from /usr/include/c++/13/bits/unique_ptr.h:37, + from /usr/include/c++/13/memory:78, + from IState.h:22: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -1782,20 +1697,12 @@ 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++/13/memory:78, - from Font.h:25: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from IPlayer.h:23, - from AIPlayer.h:22, - from AdvancedAIPlayer.h:22, - from AdvancedAIPlayer.cxx:24: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; +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 /usr/include/c++/13/memory:78, - from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ @@ -1821,15 +1728,6 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from IPlayer.h:23, - from Options.h:24, - from CongratulationsState.cxx:25: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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; | ^~~~~~~~ @@ -1838,43 +1736,42 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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 CongratulationsState.cxx:26: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +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; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +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; | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from IPlayer.h:23, - from Options.h:24, - from Joystick.h:22, - from ControlSetupState.h:25: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ +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 ( + | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; - | ^~~~~~~~ +CongratulationsState.cxx:151:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 151 | std::auto_ptr player ( + | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; - | ^~~~~~~~ +CongratulationsState.cxx:159:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 159 | std::auto_ptr congratulations ( + | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ @@ -1885,38 +1782,54 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; +In file included from 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++/13/string:49, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/istream:40, + from /usr/include/c++/13/sstream:40, + from ControlSetupState.cxx:22: +/usr/include/c++/13/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++/13/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++/13/memory:78, + from Font.h:25: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from DemoState.cxx:24: +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++/13/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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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; +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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-FrameManager.o `test -f 'FrameManager.cxx' || echo './'`FrameManager.cxx +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-File.o `test -f 'File.cxx' || echo './'`File.cxx 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 @@ -1924,15 +1837,9 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from IPlayer.h:23, - from Options.h:24, - from 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; +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++/13/memory:78, - from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ @@ -1954,86 +1861,44 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-File.o `test -f 'File.cxx' || echo './'`File.cxx -In file included from CongratulationsState.cxx:26: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; +ControlSetupState.h:95:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 95 | std::auto_ptr m_Background; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from ControlSetupState.cxx:27: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -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; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -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 ( - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -CongratulationsState.cxx:151:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 151 | std::auto_ptr player ( - | ^~~~~~~~ +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++/13/memory:78, + from Grid.h:23: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -CongratulationsState.cxx:159:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 159 | std::auto_ptr congratulations ( - | ^~~~~~~~ +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-Font.o `test -f 'Font.cxx' || echo './'`Font.cxx -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 ( - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -ControlSetupState.cxx:544:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 544 | std::auto_ptr controls (Surface::fromFile ( - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -ControlSetupState.cxx:549:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 549 | std::auto_ptr leftPlayer (Surface::fromFile ( - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -ControlSetupState.cxx:554:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 554 | std::auto_ptr rightPlayer (Surface::fromFile ( - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-Grid.o `test -f 'Grid.cxx' || echo './'`Grid.cxx In file included from IPlayer.h:23, from Options.h:24, from CreditsState.cxx:27: @@ -2049,24 +1914,6 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from IState.h:24, - from FadeOutState.h:22, - from FadeOutState.cxx:22: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/unique_ptr.h:37, - from /usr/include/c++/13/memory:78, - from IState.h:22: -/usr/include/c++/13/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++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ In file included from CreditsState.cxx:28: OptionsMenuState.h:372:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 372 | std::auto_ptr m_Background; @@ -2086,12 +1933,6 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ 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] @@ -2100,13 +1941,6 @@ /usr/include/c++/13/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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-GridStatus.o `test -f 'GridStatus.cxx' || echo './'`GridStatus.cxx -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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ 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; | ^~~~~~~~ @@ -2198,22 +2032,10 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-Joystick.o `test -f 'Joystick.cxx' || echo './'`Joystick.cxx -In file included from FadeOutState.cxx:23: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-MainMenuState.o `test -f 'MainMenuState.cxx' || echo './'`MainMenuState.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-Music.o `test -f 'Music.cxx' || echo './'`Music.cxx In file included from IPlayer.h:23, - from Options.h:24, - from File.cxx:29: + 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; | ^~~~~~~~ @@ -2225,70 +2047,9 @@ 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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from Grid.cxx:27: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from Grid.h:23: -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from Font.cxx:29: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/numeric:75, - from Font.cxx:25: -/usr/include/c++/13/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++/13/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++/13/memory:78, - from Font.h:25: -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -Font.cxx: In static member function 'static Amoebax::Font* Amoebax::Font::fromFile(const std::string&)': -Font.cxx:84:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 84 | std::auto_ptr newFontSurface (Surface::fromFile (fileName)); - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from Grid.cxx:29: -PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 45 | struct GeneratePair: public std::unary_function - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from File.h:22, - from Grid.cxx:26: -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -In file included from GridStatus.cxx:25: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from Grid.h:23: -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ In file included from IPlayer.h:23, - from HumanPlayer.h:22, - from HumanPlayer.cxx:23: + from AIPlayerFactory.h:23, + from DemoState.cxx:22: Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ @@ -2297,128 +2058,25 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from Grid.cxx:30: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -In file included from IPlayer.h:23, - from Options.h:24, - from Joystick.h:22, - from Joystick.cxx:23: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -Grid.cxx: In member function 'void Amoebax::Grid::clearDyingAmoebas()': -Grid.cxx:429:33: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = Amoebax::ChainLabel]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 429 | std::mem_fun (&ChainLabel::activate)); - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ 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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -/usr/include/c++/13/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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-Grid.o `test -f 'Grid.cxx' || echo './'`Grid.cxx In file included from IState.h:24, - from HighScoreState.h:23, - from HighScoreState.cxx:25: + from DemoState.h:23, + from DemoState.cxx:23: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-GridStatus.o `test -f 'GridStatus.cxx' || echo './'`GridStatus.cxx In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/istream:40, - from /usr/include/c++/13/sstream:40, - from HighScoreState.cxx:23: -/usr/include/c++/13/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++/13/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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-NewHighScoreState.o `test -f 'NewHighScoreState.cxx' || echo './'`NewHighScoreState.cxx -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++/13/memory:78, - from IState.h:22: -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-NormalSetupState.o `test -f 'NormalSetupState.cxx' || echo './'`NormalSetupState.cxx -In file included from IPlayer.h:23, - from AIPlayer.h:22, - from AdvancedAIPlayer.h:22, - from MainMenuState.cxx:24: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from IPlayer.h:22: -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from IPlayer.h:23, - from Options.h:24, - from HighScoreState.cxx:26: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from IState.h:24, - from CreditsState.h:22, - from MainMenuState.cxx:26: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/unique_ptr.h:37: + from AIPlayerFactory.h:22: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -2434,43 +2092,9 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-NormalState.o `test -f 'NormalState.cxx' || echo './'`NormalState.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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-Options.o `test -f 'Options.cxx' || echo './'`Options.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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-OptionsMenuState.o `test -f 'OptionsMenuState.cxx' || echo './'`OptionsMenuState.cxx -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 - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -CreditsState.h:54:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 54 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -CreditsState.h:56:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 56 | std::auto_ptr m_NamesFont; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -CreditsState.h:58:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 58 | std::auto_ptr m_SectionsFont; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-HighScoreState.o `test -f 'HighScoreState.cxx' || echo './'`HighScoreState.cxx In file included from TwoPlayersState.h:24, - from DemoState.h:24, - from MainMenuState.cxx:27: + from DemoState.h:24: PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 45 | struct GeneratePair: public std::unary_function | ^~~~~~~~~~~~~~ @@ -2480,13 +2104,6 @@ TwoPlayersState.h:120:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 120 | std::auto_ptr m_Amoebas; | ^~~~~~~~ -In file included from 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++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ @@ -2496,6 +2113,7 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-HumanPlayer.o `test -f 'HumanPlayer.cxx' || echo './'`HumanPlayer.cxx TwoPlayersState.h:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 128 | std::auto_ptr m_BackgroundMusic; | ^~~~~~~~ @@ -2565,288 +2183,412 @@ DemoState.h:65:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 65 | std::auto_ptr m_Match; | ^~~~~~~~ +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 + | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -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++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +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 ( | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from MainMenuState.cxx:31: -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; - | ^~~~~~~~ +ControlSetupState.cxx:544:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 544 | std::auto_ptr controls (Surface::fromFile ( + | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +ControlSetupState.cxx:549:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 549 | std::auto_ptr leftPlayer (Surface::fromFile ( + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +ControlSetupState.cxx:554:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 554 | std::auto_ptr rightPlayer (Surface::fromFile ( + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 UnixOptions.h:23, + from UnixOptions.cxx:30: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ +In file included from /usr/include/c++/13/memory:78, + from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from Music.cxx:26: +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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-main.o `test -f 'main.cxx' || echo './'`main.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 | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/stdexcept:39, - from Music.cxx:24: /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from IState.h:24, - from MainMenuState.h:22, - from main.cxx:27: +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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-MainMenuState.o `test -f 'MainMenuState.cxx' || echo './'`MainMenuState.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 | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/iomanip:42, - from main.cxx:23: +In file included from /usr/include/c++/13/numeric:75, + from Font.cxx:25: /usr/include/c++/13/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 MainMenuState.cxx:33: -MainMenuState.h:234:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 234 | std::auto_ptr m_Background; - | ^~~~~~~~ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -MainMenuState.h:236:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 236 | std::auto_ptr m_BackgroundMusic; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -MainMenuState.h:238:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 238 | std::auto_ptr m_Font; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -MainMenuState.h:240:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 240 | std::auto_ptr m_FontSelected; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ In file included from /usr/include/c++/13/memory:78, - from IState.h:22: -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from MainMenuState.cxx:34: -NormalSetupState.h:63:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 63 | std::auto_ptr m_Background; - | ^~~~~~~~ + from Font.h:25: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; - | ^~~~~~~~ +Font.cxx: In static member function 'static Amoebax::Font* Amoebax::Font::fromFile(const std::string&)': +Font.cxx:84:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 84 | std::auto_ptr newFontSurface (Surface::fromFile (fileName)); + | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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 IPlayer.h:23, + from Options.h:24, + from File.cxx:29: +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++/13/memory:78, + from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -MainMenuState.h:234:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 234 | std::auto_ptr m_Background; +In file included from GridStatus.cxx:25: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ -In file included from MainMenuState.cxx:35: -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; +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++/13/memory:78, + from Grid.h:23: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -MainMenuState.h:236:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 236 | std::auto_ptr m_BackgroundMusic; - | ^~~~~~~~ -OptionsMenuState.h:374:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 374 | std::auto_ptr m_Font; +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++/13/memory:78, + from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -OptionsMenuState.h:376:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 376 | std::auto_ptr m_FontSelected; +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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-Music.o `test -f 'Music.cxx' || echo './'`Music.cxx +In file included from IState.h:24, + from HighScoreState.h:23, + from HighScoreState.cxx:25: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/istream:40, + from /usr/include/c++/13/sstream:40, + from HighScoreState.cxx:23: +/usr/include/c++/13/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++/13/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++/13/memory:78, + from IState.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -MainMenuState.h:238:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 238 | std::auto_ptr m_Font; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -MainMenuState.h:240:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 240 | std::auto_ptr m_FontSelected; +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; | ^~~~~~~~ +In file included from Grid.cxx:27: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ +In file included from /usr/include/c++/13/memory:78, + from Grid.h:23: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from MainMenuState.cxx:39: -TournamentMenuState.h:59:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 59 | std::auto_ptr m_Background; - | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TournamentMenuState.h:61:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 61 | std::auto_ptr m_Font; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TournamentMenuState.h:63:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 63 | std::auto_ptr m_FontSelected; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +In file included from Grid.cxx:29: +PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 45 | struct GeneratePair: public std::unary_function + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from File.h:22, + from Grid.cxx:26: +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +In file included from IPlayer.h:23, + from Options.h:24, + from Joystick.h:22, + from Joystick.cxx:23: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ +In file included from /usr/include/c++/13/memory:78, + from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:104:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 104 | std::auto_ptr m_Background; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:106:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 106 | std::auto_ptr m_BackgroundMusic; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:108:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 108 | std::auto_ptr m_ChainLabel; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:112:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 112 | std::auto_ptr m_GameOver; +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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-NewHighScoreState.o `test -f 'NewHighScoreState.cxx' || echo './'`NewHighScoreState.cxx +In file included from Grid.cxx:30: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +Grid.cxx: In member function 'void Amoebax::Grid::clearDyingAmoebas()': +Grid.cxx:429:33: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = Amoebax::ChainLabel]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 429 | std::mem_fun (&ChainLabel::activate)); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-NormalSetupState.o `test -f 'NormalSetupState.cxx' || echo './'`NormalSetupState.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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-NormalState.o `test -f 'NormalState.cxx' || echo './'`NormalState.cxx +In file included from IState.h:24, + from MainMenuState.h:22, + from main.cxx:27: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ +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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-Options.o `test -f 'Options.cxx' || echo './'`Options.cxx +In file included from /usr/include/c++/13/string:49, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/iomanip:42, + from main.cxx:23: +/usr/include/c++/13/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++/13/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++/13/memory:78, + from IState.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:114:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 114 | std::auto_ptr m_Generator; +MainMenuState.h:234:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 234 | std::auto_ptr m_Background; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:116:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 116 | std::auto_ptr m_Go; +MainMenuState.h:236:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 236 | std::auto_ptr m_BackgroundMusic; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:120:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 120 | std::auto_ptr m_LevelUp; +MainMenuState.h:238:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 238 | std::auto_ptr m_Font; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:124:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 124 | std::auto_ptr m_LevelUpSound; +MainMenuState.h:240:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 240 | std::auto_ptr m_FontSelected; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 128 | std::auto_ptr m_Player; - | ^~~~~~~~ +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++/13/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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 130 | std::auto_ptr m_Ready; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:134:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 134 | std::auto_ptr m_ScoreFont; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:138:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 138 | std::auto_ptr m_Silhouettes; +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++/13/string:49, + from /usr/include/c++/13/stdexcept:39, + from Music.cxx:24: +/usr/include/c++/13/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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-OptionsMenuState.o `test -f 'OptionsMenuState.cxx' || echo './'`OptionsMenuState.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++/13/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, + from MainMenuState.cxx:24: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ +In file included from /usr/include/c++/13/memory:78, + from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TrainingState.h:140:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 140 | std::auto_ptr m_SoundLose; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -MainMenuState.cxx: In member function 'void Amoebax::MainMenuState::loadGraphicResources()': -MainMenuState.cxx:194:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 194 | std::auto_ptr title ( - | ^~~~~~~~ +In file included from IState.h:24, + from CreditsState.h:22, + from MainMenuState.cxx:26: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/unique_ptr.h:37: +/usr/include/c++/13/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++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 193 | std::auto_ptr m_FontSurface; + | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-PairGenerator.o `test -f 'PairGenerator.cxx' || echo './'`PairGenerator.cxx In file included from IPlayer.h:23, - from Options.h:24, - from main.cxx:28: + 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++/13/memory:78, + from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-PauseState.o `test -f 'PauseState.cxx' || echo './'`PauseState.cxx In file included from IState.h:24, from HighScoreState.h:23, from NewHighScoreState.cxx:25: @@ -2877,6 +2619,12 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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; | ^~~~~~~~ @@ -2920,23 +2668,6 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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++/13/memory:78, - from IPlayer.h:22: -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ In file included from IState.h:24, from CongratulationsState.h:23, from NormalState.cxx:24: @@ -2954,15 +2685,6 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from IPlayer.h:23, - from Options.h:24, - from 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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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; | ^~~~~~~~ @@ -2994,86 +2716,22 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from NormalSetupState.cxx:24: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/istream:40, - from /usr/include/c++/13/sstream:40, - from NormalSetupState.cxx:22: -/usr/include/c++/13/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++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -In file included from IState.h:24, - from NormalSetupState.h:23, - from NormalSetupState.cxx:25: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/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++/13/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++/13/memory:78, - from IState.h:22: -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -NormalSetupState.h:63:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 63 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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; +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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-PauseState.o `test -f 'PauseState.cxx' || echo './'`PauseState.cxx +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-SimpleAIPlayer.o `test -f 'SimpleAIPlayer.cxx' || echo './'`SimpleAIPlayer.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++/13/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 NormalState.cxx:28: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function @@ -3085,17 +2743,6 @@ 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; | ^~~~~~~~ -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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-Sound.o `test -f 'Sound.cxx' || echo './'`Sound.cxx -In file included from IPlayer.h:23, - from HumanPlayer.h:22, - from NormalState.h:23, - from NormalSetupState.cxx:26: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ @@ -3116,15 +2763,10 @@ PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 45 | struct GeneratePair: public std::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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ /usr/include/c++/13/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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-SimpleAIPlayer.o `test -f 'SimpleAIPlayer.cxx' || echo './'`SimpleAIPlayer.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; | ^~~~~~~~ @@ -3216,216 +2858,196 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +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 + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +CreditsState.h:54:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 54 | std::auto_ptr m_Background; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +CreditsState.h:56:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 56 | std::auto_ptr m_NamesFont; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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 ( - | ^~~~~~~~ +CreditsState.h:58:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 58 | std::auto_ptr m_SectionsFont; + | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/istream:40, - from /usr/include/c++/13/sstream:40, - from OptionsMenuState.cxx:23: -/usr/include/c++/13/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 - | ^~~~~~~~~~~~~~ +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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-Sound.o `test -f 'Sound.cxx' || echo './'`Sound.cxx +In file included from TwoPlayersState.h:24, + from DemoState.h:24, + from MainMenuState.cxx:27: +PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 45 | struct GeneratePair: public std::unary_function + | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 193 | std::auto_ptr m_FontSurface; +TwoPlayersState.h:120:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 120 | std::auto_ptr m_Amoebas; | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from Font.h:25: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -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++/13/string:49, - from File.h:22, - from PauseState.cxx:23: -/usr/include/c++/13/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++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 193 | std::auto_ptr m_FontSurface; +TwoPlayersState.h:124:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 124 | std::auto_ptr m_Background; | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from Font.h:25: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from IPlayer.h:23, - from Options.h:24, - from PauseState.cxx:25: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; +TwoPlayersState.h:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 128 | std::auto_ptr m_BackgroundMusic; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +TwoPlayersState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 130 | std::auto_ptr m_ChainLabel; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from PauseState.cxx:26: -PauseState.h:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 128 | std::auto_ptr m_Background; +TwoPlayersState.h:134:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 134 | std::auto_ptr m_Generator; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -PauseState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 130 | std::auto_ptr m_Font; +TwoPlayersState.h:136:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 136 | std::auto_ptr m_Go; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -PauseState.h:132:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 132 | std::auto_ptr m_FontSelected; +TwoPlayersState.h:140:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 140 | std::auto_ptr m_LeftPlayer; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from IPlayer.h:23, - from Options.h:24, - from Joystick.h:22, - from ControlSetupState.h:25: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; +TwoPlayersState.h:144:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 144 | std::auto_ptr m_Ready; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +TwoPlayersState.h:148:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 148 | std::auto_ptr m_RightPlayer; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -ControlSetupState.h:95:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 95 | std::auto_ptr m_Background; +TwoPlayersState.h:150:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 150 | std::auto_ptr m_ScoreFont; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +TwoPlayersState.h:154:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 154 | std::auto_ptr m_Silhouettes; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +TwoPlayersState.h:158:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 158 | std::auto_ptr m_YouLose; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-Surface.o `test -f 'Surface.cxx' || echo './'`Surface.cxx -In file included from PauseState.cxx:27: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -In file included from IPlayer.h:23, - from Options.h:24, - from Options.cxx:24: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; +TwoPlayersState.h:160:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 160 | std::auto_ptr m_YouWin; | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +DemoState.h:65:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 65 | std::auto_ptr m_Match; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-System.o `test -f 'System.cxx' || echo './'`System.cxx -In file included from PairGenerator.cxx:26: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; +In file included from MainMenuState.cxx:31: +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; | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from Grid.h:23: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from PairGenerator.cxx:27: -PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 45 | struct GeneratePair: public std::unary_function - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/functional:49, - from PairGenerator.cxx:24: -/usr/include/c++/13/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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-TournamentMenuState.o `test -f 'TournamentMenuState.cxx' || echo './'`TournamentMenuState.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-TournamentSetupState.o `test -f 'TournamentSetupState.cxx' || echo './'`TournamentSetupState.cxx -In file included from Sound.cxx:24: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/stdexcept:39, - from Sound.cxx:22: -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -In file included from OptionsMenuState.h:25, - from OptionsMenuState.cxx:28: +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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +In file included from MainMenuState.cxx:33: +MainMenuState.h:234:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 234 | std::auto_ptr m_Background; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +MainMenuState.h:236:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 236 | std::auto_ptr m_BackgroundMusic; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +MainMenuState.h:238:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 238 | std::auto_ptr m_Font; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +MainMenuState.h:240:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 240 | std::auto_ptr m_FontSelected; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +In file included from MainMenuState.cxx:34: +NormalSetupState.h:63:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 63 | std::auto_ptr m_Background; + | ^~~~~~~~ +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++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +NormalSetupState.h:65:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 65 | std::auto_ptr m_FontNormal; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +NormalSetupState.h:67:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 67 | std::auto_ptr m_FontSelected; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +In file included from MainMenuState.cxx:35: 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; | ^~~~~~~~ @@ -3444,14 +3066,30 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from TrainingState.h:24, - from OptionsMenuState.cxx:31: -PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 45 | struct GeneratePair: public std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/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 MainMenuState.cxx:39: +TournamentMenuState.h:59:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 59 | std::auto_ptr m_Background; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TournamentMenuState.h:61:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 61 | std::auto_ptr m_Font; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TournamentMenuState.h:63:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 63 | std::auto_ptr m_FontSelected; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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; | ^~~~~~~~ @@ -3536,57 +3174,46 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -OptionsMenuState.cxx: In member function 'void Amoebax::OptionsMenuState::loadGraphicResources()': -OptionsMenuState.cxx:183:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 183 | std::auto_ptr title (Surface::fromFile ( +MainMenuState.cxx: In member function 'void Amoebax::MainMenuState::loadGraphicResources()': +MainMenuState.cxx:194:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 194 | std::auto_ptr title ( | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -OptionsMenuState.cxx: In member function 'virtual void Amoebax::OptionsMenuState::ApplyOption::operator()()': -OptionsMenuState.cxx:310:33: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = Amoebax::OptionsMenuState::IOption]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 310 | std::mem_fun (&IOption::apply)); - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1371:5: note: declared here - 1371 | mem_fun(_Ret (_Tp::*__f)()) - | ^~~~~~~ -In file included from SimpleAIPlayer.cxx:23: +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++/13/memory:78, - from Grid.h:23: + from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from AIPlayer.h:22, - from SimpleAIPlayer.h:23, - from SimpleAIPlayer.cxx:25: IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 165 | std::auto_ptr m_Grid; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-TournamentState.o `test -f 'TournamentState.cxx' || echo './'`TournamentState.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-TrainingState.o `test -f 'TrainingState.cxx' || echo './'`TrainingState.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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-TwoComputerPlayersState.o `test -f 'TwoComputerPlayersState.cxx' || echo './'`TwoComputerPlayersState.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-VersusState.o `test -f 'VersusState.cxx' || echo './'`VersusState.cxx -In file included from Surface.cxx:28: +In file included from NormalSetupState.cxx:24: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/stdexcept:39, - from Surface.cxx:26: + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/istream:40, + from /usr/include/c++/13/sstream:40, + from NormalSetupState.cxx:22: /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from IState.h:24, - from FadeInState.h:22, - from System.cxx:41: +In file included from ControlSetupState.h:23, + from OptionsMenuState.cxx:25: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function | ^~~~~~~~~~~~~~~ @@ -3594,9 +3221,9 @@ from /usr/include/c++/13/bits/locale_classes.h:40, from /usr/include/c++/13/bits/ios_base.h:41, from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/ostream:40, - from /usr/include/c++/13/iostream:41, - from System.cxx:24: + from /usr/include/c++/13/istream:40, + from /usr/include/c++/13/sstream:40, + from OptionsMenuState.cxx:23: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -3610,26 +3237,39 @@ 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ In file included from /usr/include/c++/13/memory:78, - from IState.h:22: -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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; - | ^~~~~~~~ + from Font.h:25: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-Surface.o `test -f 'Surface.cxx' || echo './'`Surface.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++/13/string:49, + from File.h:22, + from PauseState.cxx:23: +/usr/include/c++/13/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++/13/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++/13/memory:78, + from Font.h:25: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ In file included from IPlayer.h:23, from Options.h:24, - from System.cxx:45: + 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; | ^~~~~~~~ @@ -3642,32 +3282,30 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from System.cxx:46: -PauseState.h:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 128 | std::auto_ptr m_Background; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -PauseState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 130 | std::auto_ptr m_Font; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -PauseState.h:132:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 132 | std::auto_ptr m_FontSelected; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from TryAgainState.cxx:24: +In file included from IState.h:24, + from NormalSetupState.h:23, + from NormalSetupState.cxx:25: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from File.h:22, - from TryAgainState.cxx:23: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -3681,101 +3319,329 @@ 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ In file included from /usr/include/c++/13/memory:78, - from Font.h:25: + from IState.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from TournamentSetupState.cxx:24: +In file included from PairGenerator.cxx:26: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ +In file included from /usr/include/c++/13/memory:78, + from Grid.h:23: +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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; + | ^~~~~~~~ +In file included from IPlayer.h:23, + from Options.h:24, + from PauseState.cxx:25: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +In file included from PairGenerator.cxx:27: +PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 45 | struct GeneratePair: public std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +NormalSetupState.h:65:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 65 | std::auto_ptr m_FontNormal; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +NormalSetupState.h:67:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 67 | std::auto_ptr m_FontSelected; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +In file included from /usr/include/c++/13/functional:49, + from PairGenerator.cxx:24: +/usr/include/c++/13/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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +In file included from PauseState.cxx:26: +PauseState.h:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 128 | std::auto_ptr m_Background; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +PauseState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 130 | std::auto_ptr m_Font; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +PauseState.h:132:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 132 | std::auto_ptr m_FontSelected; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +In file included from Sound.cxx:24: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/istream:40, - from /usr/include/c++/13/sstream:40, - from TournamentSetupState.cxx:22: + from /usr/include/c++/13/stdexcept:39, + from Sound.cxx:22: /usr/include/c++/13/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; + | ^~~~~~~~ +In file included from /usr/include/c++/13/memory:78, + from Grid.h:23: +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ In file included from IPlayer.h:23, - from Options.h:24, - from TryAgainState.cxx:25: + 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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from System.cxx:47: +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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +In file included from AIPlayer.h:22, + from SimpleAIPlayer.h:23, + from SimpleAIPlayer.cxx:25: +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; + | ^~~~~~~~ +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] 49 | struct DeleteObject: std::unary_function | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ /usr/include/c++/13/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; +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; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +OptionsMenuState.h:374:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 374 | std::auto_ptr m_Font; | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from System.cxx:48: -VideoErrorState.h:55:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 55 | std::auto_ptr m_Background; +OptionsMenuState.h:376:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 376 | std::auto_ptr m_FontSelected; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +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; | ^~~~~~~~ +In file included from TrainingState.h:24, + from OptionsMenuState.cxx:31: +PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 45 | struct GeneratePair: public std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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 ( + | ^~~~~~~~ +TrainingState.h:100:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 100 | std::auto_ptr m_Amoebas; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TrainingState.h:104:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 104 | std::auto_ptr m_Background; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ +TrainingState.h:106:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 106 | std::auto_ptr m_BackgroundMusic; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TrainingState.h:108:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 108 | std::auto_ptr m_ChainLabel; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TrainingState.h:112:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 112 | std::auto_ptr m_GameOver; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TrainingState.h:114:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 114 | std::auto_ptr m_Generator; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TrainingState.h:116:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 116 | std::auto_ptr m_Go; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TrainingState.h:120:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 120 | std::auto_ptr m_LevelUp; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TrainingState.h:124:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 124 | std::auto_ptr m_LevelUpSound; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TrainingState.h:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 128 | std::auto_ptr m_Player; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TrainingState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 130 | std::auto_ptr m_Ready; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TrainingState.h:134:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 134 | std::auto_ptr m_ScoreFont; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TrainingState.h:138:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 138 | std::auto_ptr m_Silhouettes; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TrainingState.h:140:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 140 | std::auto_ptr m_SoundLose; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +OptionsMenuState.cxx: In member function 'void Amoebax::OptionsMenuState::loadGraphicResources()': +OptionsMenuState.cxx:183:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 183 | std::auto_ptr title (Surface::fromFile ( + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +OptionsMenuState.cxx: In member function 'virtual void Amoebax::OptionsMenuState::ApplyOption::operator()()': +OptionsMenuState.cxx:310:33: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = Amoebax::OptionsMenuState::IOption]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 310 | std::mem_fun (&IOption::apply)); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/usr/include/c++/13/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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-System.o `test -f 'System.cxx' || echo './'`System.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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-TournamentMenuState.o `test -f 'TournamentMenuState.cxx' || echo './'`TournamentMenuState.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-TournamentSetupState.o `test -f 'TournamentSetupState.cxx' || echo './'`TournamentSetupState.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-TournamentState.o `test -f 'TournamentState.cxx' || echo './'`TournamentState.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-TrainingState.o `test -f 'TrainingState.cxx' || echo './'`TrainingState.cxx +In file included from PauseState.cxx:27: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-TryAgainState.o `test -f 'TryAgainState.cxx' || echo './'`TryAgainState.cxx +In file included from Surface.cxx:28: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from /usr/include/c++/13/stdexcept:39, + from Surface.cxx:26: +/usr/include/c++/13/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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-TwoComputerPlayersState.o `test -f 'TwoComputerPlayersState.cxx' || echo './'`TwoComputerPlayersState.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-VersusState.o `test -f 'VersusState.cxx' || echo './'`VersusState.cxx +In file included from TournamentSetupState.cxx:24: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, from /usr/include/c++/13/bits/locale_classes.h:40, from /usr/include/c++/13/bits/ios_base.h:41, from /usr/include/c++/13/ios:44, from /usr/include/c++/13/istream:40, from /usr/include/c++/13/sstream:40, - from TournamentMenuState.cxx:22: + from TournamentSetupState.cxx:22: +/usr/include/c++/13/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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-VideoErrorState.o `test -f 'VideoErrorState.cxx' || echo './'`VideoErrorState.cxx +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++/13/string:49, + from File.h:22, + from TryAgainState.cxx:23: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -3785,6 +3651,14 @@ /usr/include/c++/13/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++/13/memory:78, + from Font.h:25: +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ In file included from IState.h:24, from TournamentSetupState.h:24, from TournamentSetupState.cxx:25: @@ -3800,6 +3674,20 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +In file included from TrainingState.cxx:27: +DrawAmoeba.h:35:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 35 | struct DrawAmoeba: public std::unary_function + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/istream:40, + from /usr/include/c++/13/sstream:40, + from TrainingState.cxx:25: +/usr/include/c++/13/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; | ^~~~~~~~ @@ -3808,30 +3696,6 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -TournamentMenuState.h:59:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 59 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -TournamentMenuState.h:61:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 61 | std::auto_ptr m_Font; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -TournamentMenuState.h:63:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 63 | std::auto_ptr m_FontSelected; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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; | ^~~~~~~~ @@ -3850,122 +3714,92 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from TournamentMenuState.cxx:26: -TournamentSetupState.h:63:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 63 | std::auto_ptr image; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TournamentSetupState.h:110:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 110 | std::auto_ptr m_Font; +In file included from IPlayer.h:23, + from AIPlayerFactory.h:23, + from TournamentState.cxx:24: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ +In file included from /usr/include/c++/13/memory:78, + from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TournamentSetupState.h:122:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 122 | std::auto_ptr m_Selection; +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ In file included from IPlayer.h:23, - from AIPlayerFactory.h:23, - from TournamentState.cxx:24: + 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; | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from TrainingState.cxx:27: -DrawAmoeba.h:35:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 35 | struct DrawAmoeba: public std::unary_function - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/istream:40, - from /usr/include/c++/13/sstream:40, - from TrainingState.cxx:25: -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ In file included from IPlayer.h:23, - from IMatchObserver.h:22, - from TournamentState.h:22, - from TournamentSetupState.cxx:26: + from AIPlayerFactory.h:23, + from TwoComputerPlayersState.cxx:24: Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ +In file included from /usr/include/c++/13/memory:78, + from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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++/13/string:49, - from File.h:22, - from VersusState.cxx:22: -/usr/include/c++/13/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++/13/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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 193 | std::auto_ptr m_FontSurface; +In file included from TryAgainState.cxx:26: +TryAgainState.h:127:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 127 | std::auto_ptr m_Background; | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from Font.h:25: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; @@ -3992,98 +3826,101 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -TournamentState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 130 | std::auto_ptr m_SoundLose; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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 ( - | ^~~~~~~~ +Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 193 | std::auto_ptr m_FontSurface; + | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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 ( - | ^~~~~~~~ +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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 ( - | ^~~~~~~~ +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; | ^~~~~~~~ +In file included from DrawChainLabel.h:25, + from TrainingState.cxx:28: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ 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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DNDEBUG -c -o amoebax-VideoErrorState.o `test -f 'VideoErrorState.cxx' || echo './'`VideoErrorState.cxx -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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from DrawChainLabel.h:25, - from TrainingState.cxx:28: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/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++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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 ( + | ^~~~~~~~ Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ In file included from /usr/include/c++/13/memory:78, from Font.h:25: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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 | ^~~~~~~~~~~~~~ @@ -4099,36 +3936,23 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from IPlayer.h:23, - from AIPlayerFactory.h:23, - from TwoComputerPlayersState.cxx:24: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from IPlayer.h:22: -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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 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++/13/memory:78, + from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ In file included from TrainingState.cxx:31: NewHighScoreState.h:76:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 76 | std::auto_ptr m_Background; @@ -4161,38 +3985,9 @@ /usr/include/c++/13/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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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; +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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ In file included from TrainingState.h:24, from TrainingState.cxx:34: PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] @@ -4201,9 +3996,6 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ @@ -4291,24 +4083,125 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from TournamentState.cxx:28: +In file included from TournamentMenuState.h:23, + from TournamentMenuState.cxx:25: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/istream:40, + from /usr/include/c++/13/sstream:40, + from TournamentMenuState.cxx:22: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 116 | struct TextWrite: public std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +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++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -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 ( +Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 193 | std::auto_ptr m_FontSurface; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TournamentMenuState.h:59:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 59 | std::auto_ptr m_Background; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TournamentMenuState.h:61:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 61 | std::auto_ptr m_Font; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TournamentMenuState.h:63:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 63 | std::auto_ptr m_FontSelected; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TryAgainState.cxx: In member function 'void Amoebax::TryAgainState::loadGraphicResources()': +TryAgainState.cxx:154:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 154 | std::auto_ptr title ( | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from TournamentMenuState.cxx:27: +In file included from TournamentMenuState.cxx:26: +TournamentSetupState.h:63:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 63 | std::auto_ptr image; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +In file included from TournamentState.cxx:28: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +In file included from TwoComputerPlayersState.cxx:27: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from AIPlayerFactory.h:22: +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +In file included from IState.h:24, + from TwoComputerPlayersState.h:24, + from TwoComputerPlayersState.cxx:28: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/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++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ @@ -4343,6 +4236,12 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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; @@ -4358,6 +4257,12 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +TwoComputerPlayersState.h:66:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 66 | std::auto_ptr m_Background; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ TwoPlayersState.h:120:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 120 | std::auto_ptr m_Amoebas; | ^~~~~~~~ @@ -4418,6 +4323,10 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ +TwoComputerPlayersState.cxx: In member function 'void Amoebax::TwoComputerPlayersState::loadGraphicsResources()': +TwoComputerPlayersState.cxx:187:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 187 | std::auto_ptr winner ( + | ^~~~~~~~ TwoPlayersState.h:154:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr m_Silhouettes; | ^~~~~~~~ @@ -4449,9 +4358,17 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TournamentMenuState.cxx: In member function 'void Amoebax::TournamentMenuState::loadGraphicResources()': -TournamentMenuState.cxx:137:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 137 | std::auto_ptr title ( +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TwoComputerPlayersState.cxx:194:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 194 | std::auto_ptr YouWin ( + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TwoComputerPlayersState.cxx:209:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 209 | std::auto_ptr font ( | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; @@ -4463,21 +4380,27 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from TwoComputerPlayersState.cxx:27: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ +In file included from TwoPlayersState.cxx:27: +DrawAmoeba.h:35:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 35 | struct DrawAmoeba: public std::unary_function + | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, - from AIPlayerFactory.h:22: + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/istream:40, + from /usr/include/c++/13/sstream:40, + from TwoPlayersState.cxx:24: /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from IState.h:24, - from TwoComputerPlayersState.h:24, - from TwoComputerPlayersState.cxx:28: +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++/13/string:49, + from File.h:22, + from VideoErrorState.cxx:22: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -4490,45 +4413,15 @@ 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++/13/memory:78, + from Font.h:25: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TwoComputerPlayersState.h:66:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 66 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -TwoComputerPlayersState.cxx: In member function 'void Amoebax::TwoComputerPlayersState::loadGraphicsResources()': -TwoComputerPlayersState.cxx:187:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 187 | std::auto_ptr winner ( - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -TwoComputerPlayersState.cxx:194:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 194 | std::auto_ptr YouWin ( - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -TwoComputerPlayersState.cxx:209:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 209 | std::auto_ptr font ( - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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 - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/istream:40, - from /usr/include/c++/13/sstream:40, - from TwoPlayersState.cxx:24: +In file included from TournamentMenuState.cxx:27: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ @@ -4546,6 +4439,13 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +TournamentMenuState.cxx: In member function 'void Amoebax::TournamentMenuState::loadGraphicResources()': +TournamentMenuState.cxx:137:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 137 | std::auto_ptr title ( + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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; | ^~~~~~~~ @@ -4560,6 +4460,49 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +In file included from IState.h:24, + from FadeInState.h:22, + from System.cxx:41: +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++/13/string:49, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/ostream:40, + from /usr/include/c++/13/iostream:41, + from System.cxx:24: +/usr/include/c++/13/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++/13/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++/13/memory:78, + from IState.h:22: +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ In file included from IPlayer.h:23, from HumanPlayer.h:22, from NormalState.h:23, @@ -4576,6 +4519,22 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ +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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ 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; | ^~~~~~~~ @@ -4595,6 +4554,26 @@ /usr/include/c++/13/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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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] @@ -4681,6 +4660,25 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ +In file included from System.cxx:46: +PauseState.h:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 128 | std::auto_ptr m_Background; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +PauseState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 130 | std::auto_ptr m_Font; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +PauseState.h:132:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 132 | std::auto_ptr m_FontSelected; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ TwoPlayersState.cxx: In member function 'void Amoebax::TwoPlayersState::loadGraphicsResources()': TwoPlayersState.cxx:373:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 373 | std::auto_ptr gridBackground ( @@ -4688,13 +4686,13 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from VideoErrorState.cxx:23: +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++/13/string:49, from File.h:22, - from VideoErrorState.cxx:22: + from VersusState.cxx:22: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -4712,27 +4710,65 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from VideoErrorState.cxx:24: +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++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from VideoErrorState.cxx:25: +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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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"))); +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++/13/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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -lSDL -lSDL_image -lSDL_mixer make[3]: Leaving directory '/build/reproducible-path/amoebax-0.2.1+dfsg/src' make[3]: Entering directory '/build/reproducible-path/amoebax-0.2.1+dfsg' @@ -4938,8 +4974,8 @@ make[4]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/applications" || /usr/bin/mkdir -p "/build/reproducible-path/amoebax-0.2.1+dfsg/debian/tmp/usr/share/applications" test -z "/usr/share/pixmaps" || /usr/bin/mkdir -p "/build/reproducible-path/amoebax-0.2.1+dfsg/debian/tmp/usr/share/pixmaps" - /usr/bin/install -c -m 644 'amoebax.desktop' '/build/reproducible-path/amoebax-0.2.1+dfsg/debian/tmp/usr/share/applications/amoebax.desktop' /usr/bin/install -c -m 644 'amoebax.svg' '/build/reproducible-path/amoebax-0.2.1+dfsg/debian/tmp/usr/share/pixmaps/amoebax.svg' + /usr/bin/install -c -m 644 'amoebax.desktop' '/build/reproducible-path/amoebax-0.2.1+dfsg/debian/tmp/usr/share/applications/amoebax.desktop' make install-data-hook make[5]: Entering directory '/build/reproducible-path/amoebax-0.2.1+dfsg/data' mkdir -p /build/reproducible-path/amoebax-0.2.1+dfsg/debian/tmp/usr/share/man/man6 ; \ @@ -5018,12 +5054,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/2424737/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2424737/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/1690156 and its subdirectories -I: Current time: Wed May 1 11:23:38 -12 2024 -I: pbuilder-time-stamp: 1714605818 +I: removing directory /srv/workspace/pbuilder/2424737 and its subdirectories +I: Current time: Wed Jun 4 19:47:46 +14 2025 +I: pbuilder-time-stamp: 1749016066