Diff of the two buildlogs: -- --- b1/build.log 2024-04-02 16:55:27.540571926 +0000 +++ b2/build.log 2024-04-02 16:57:07.316329006 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon May 5 11:17:10 -12 2025 -I: pbuilder-time-stamp: 1746487030 +I: Current time: Wed Apr 3 06:55:29 +14 2024 +I: pbuilder-time-stamp: 1712076929 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -34,54 +34,86 @@ dpkg-source: info: applying support-runstatedir-option.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/85360/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/18129/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-i386. +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 Apr 2 16:55 /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/18129/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/18129/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-pc-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='bc79619f4dee433da4554a9958bfd7d1' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='85360' - PS1='# ' - PS2='> ' + INVOCATION_ID=b4cc81ed30014358a1453a9bd5afe20b + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=18129 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.MoT0tCD6/pbuilderrc_w7gg --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.MoT0tCD6/b1 --logfile b1/build.log amoebax_0.2.1+dfsg-6.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68: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.MoT0tCD6/pbuilderrc_Daad --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.MoT0tCD6/b2 --logfile b2/build.log amoebax_0.2.1+dfsg-6.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos16-i386 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 5 14:05 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/85360/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 30 20:35 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/18129/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -359,7 +391,7 @@ Get: 234 http://deb.debian.org/debian unstable/main i386 libsdl-mixer1.2 i386 1.2.12-18 [83.3 kB] Get: 235 http://deb.debian.org/debian unstable/main i386 libvorbis-dev i386 1.3.7-2 [327 kB] Get: 236 http://deb.debian.org/debian unstable/main i386 libsdl-mixer1.2-dev i386 1.2.12-18 [104 kB] -Fetched 109 MB in 10s (10.7 MB/s) +Fetched 109 MB in 2s (49.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:i386. (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 ... 19703 files and directories currently installed.) @@ -1119,8 +1151,8 @@ Setting up tzdata (2024a-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon May 5 23:17:50 UTC 2025. -Universal Time is now: Mon May 5 23:17:50 UTC 2025. +Local time is now: Tue Apr 2 16:56:22 UTC 2024. +Universal Time is now: Tue Apr 2 16:56:22 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libasound2-data (1.2.11-1) ... @@ -1341,7 +1373,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/18129/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/18129/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 @@ -1421,7 +1457,7 @@ ./config.status: line 1103: shift: shift count out of range make[1]: Leaving directory '/build/reproducible-path/amoebax-0.2.1+dfsg' dh_auto_build - make -j22 + make -j10 make[1]: Entering directory '/build/reproducible-path/amoebax-0.2.1+dfsg' make all-recursive make[2]: Entering directory '/build/reproducible-path/amoebax-0.2.1+dfsg' @@ -1484,19 +1520,17 @@ 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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-CreditsState.o `test -f 'CreditsState.cxx' || echo './'`CreditsState.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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-DemoState.o `test -f 'DemoState.cxx' || echo './'`DemoState.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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-FadeOutState.o `test -f 'FadeOutState.cxx' || echo './'`FadeOutState.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-FrameManager.o `test -f 'FrameManager.cxx' || echo './'`FrameManager.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-File.o `test -f 'File.cxx' || echo './'`File.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Font.o `test -f 'Font.cxx' || echo './'`Font.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Grid.o `test -f 'Grid.cxx' || echo './'`Grid.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-GridStatus.o `test -f 'GridStatus.cxx' || echo './'`GridStatus.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-HighScoreState.o `test -f 'HighScoreState.cxx' || echo './'`HighScoreState.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-HumanPlayer.o `test -f 'HumanPlayer.cxx' || echo './'`HumanPlayer.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Joystick.o `test -f 'Joystick.cxx' || echo './'`Joystick.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-main.o `test -f 'main.cxx' || echo './'`main.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-MainMenuState.o `test -f 'MainMenuState.cxx' || echo './'`MainMenuState.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Music.o `test -f 'Music.cxx' || echo './'`Music.cxx +In file included from GridStatus.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; + | ^~~~~~~~ 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 @@ -1513,6 +1547,14 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +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; + | ^~~~~~~~ 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; | ^~~~~~~~ @@ -1546,55 +1588,64 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from GridStatus.h:24, - from AnticipatoryAIPlayer.h:22, - from AnticipatoryAIPlayer.cxx:23: +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; | ^~~~~~~~ -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; + | ^~~~~~~~ +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 FadeInState.h:22, - from FadeInState.cxx:22: + from CreditsState.h:22, + from CreditsState.cxx:24: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/unique_ptr.h:37, - from /usr/include/c++/13/memory:78, - from IState.h:22: +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 CreditsState.cxx:23: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_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: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 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; +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; | ^~~~~~~~ -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 AIPlayer.h:22, + from AdvancedAIPlayer.h:22, + from AIPlayerFactory.cxx:23: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ +In file included from /usr/include/c++/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; + | ^~~~~~~~ +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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-FadeInState.o `test -f 'FadeInState.cxx' || echo './'`FadeInState.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; | ^~~~~~~~ @@ -1602,15 +1653,22 @@ 65 | template class auto_ptr; | ^~~~~~~~ In file included from IPlayer.h:23, - from Options.h:24, - from Joystick.h:22, - from Joystick.cxx: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 @@ -1622,203 +1680,224 @@ /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; +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: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 IState.h:24, - from FadeOutState.h:22, - from FadeOutState.cxx:22: + 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/bits/unique_ptr.h:37, - from /usr/include/c++/13/memory:78, - from IState.h:22: +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 + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 116 | struct TextWrite: public std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +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 | ^~~~~~~~~~~~~~~ -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; - | ^~~~~~~~ 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 /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; | ^~~~~~~~ /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: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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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 IPlayer.h:22: + 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; - | ^~~~~~~~ +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 ( + | ^~~~~~~~ +/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 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/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -CongratulationsState.h:62:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 62 | std::auto_ptr m_BackgroundMusic; +TwoPlayersState.h: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; | ^~~~~~~~ -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 ( - | ^~~~~~~~ +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; | ^~~~~~~~ -CongratulationsState.cxx:151:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 151 | std::auto_ptr player ( - | ^~~~~~~~ +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; | ^~~~~~~~ -CongratulationsState.cxx:159:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 159 | std::auto_ptr congratulations ( - | ^~~~~~~~ +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; | ^~~~~~~~ -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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-NewHighScoreState.o `test -f 'NewHighScoreState.cxx' || echo './'`NewHighScoreState.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; +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 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; +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; | ^~~~~~~~ -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 IPlayer.h:23, - from AIPlayer.h:22, - from AdvancedAIPlayer.h:22, - from AIPlayerFactory.cxx:23: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; +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; | ^~~~~~~~ -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:65:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 65 | 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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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:160:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 160 | std::auto_ptr m_YouWin; + | ^~~~~~~~ +/usr/include/c++/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; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +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; | ^~~~~~~~ In file included from IPlayer.h:23, - from AIPlayerFactory.h:23, - from DemoState.cxx:22: + 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; | ^~~~~~~~ @@ -1827,18 +1906,37 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from GridStatus.cxx:25: +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 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; + | ^~~~~~~~ +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: + from CreditsState.cxx:27: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ +/usr/include/c++/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; | ^~~~~~~~ @@ -1851,177 +1949,163 @@ /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; +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 /usr/include/c++/13/memory:78, - from IPlayer.h:22: +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; + | ^~~~~~~~ /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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-NormalSetupState.o `test -f 'NormalSetupState.cxx' || echo './'`NormalSetupState.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 - | ^~~~~~~~~~~~~~ -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:374:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 374 | std::auto_ptr m_Font; | ^~~~~~~~ /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 - | ^~~~~~~~~~~~~~ -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; +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 TwoPlayersState.h:24, - from DemoState.h:24: +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] 45 | struct GeneratePair: 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 FadeInState.cxx:23: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -TwoPlayersState.h:120:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 120 | std::auto_ptr m_Amoebas; +In file included from 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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -TwoPlayersState.h:134:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 134 | std::auto_ptr m_Generator; +TrainingState.h: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; | ^~~~~~~~ -TwoPlayersState.h:136:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 136 | std::auto_ptr m_Go; +TrainingState.h: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; | ^~~~~~~~ -TwoPlayersState.h:140:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 140 | std::auto_ptr m_LeftPlayer; +TrainingState.h: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; | ^~~~~~~~ -TwoPlayersState.h:144:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 144 | std::auto_ptr m_Ready; +TrainingState.h: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; | ^~~~~~~~ -TwoPlayersState.h:148:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 148 | std::auto_ptr m_RightPlayer; +TrainingState.h: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; | ^~~~~~~~ -TwoPlayersState.h:150:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 150 | std::auto_ptr m_ScoreFont; +TrainingState.h: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; | ^~~~~~~~ -TwoPlayersState.h:154:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 154 | std::auto_ptr m_Silhouettes; +TrainingState.h: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; | ^~~~~~~~ -TwoPlayersState.h:158:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 158 | std::auto_ptr m_YouLose; +TrainingState.h: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; | ^~~~~~~~ -TwoPlayersState.h:160:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 160 | std::auto_ptr m_YouWin; +TrainingState.h: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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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 /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 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; +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; | ^~~~~~~~ -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; + | ^~~~~~~~ +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; + | ^~~~~~~~ +CreditsState.cxx: In member function 'void Amoebax::CreditsState::loadGraphicResources()': +CreditsState.cxx:86:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 86 | std::auto_ptr title ( + | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ @@ -2031,43 +2115,61 @@ /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: +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 + | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from HighScoreState.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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-FadeOutState.o `test -f 'FadeOutState.cxx' || echo './'`FadeOutState.cxx +In file included from ControlSetupState.cxx:27: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function | ^~~~~~~~~~~~~~ /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 ( +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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-FrameManager.o `test -f 'FrameManager.cxx' || echo './'`FrameManager.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 ( | ^~~~~~~~ +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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-File.o `test -f 'File.cxx' || echo './'`File.cxx /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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Font.o `test -f 'Font.cxx' || echo './'`Font.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Grid.o `test -f 'Grid.cxx' || echo './'`Grid.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-GridStatus.o `test -f 'GridStatus.cxx' || echo './'`GridStatus.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-HighScoreState.o `test -f 'HighScoreState.cxx' || echo './'`HighScoreState.cxx In file included from IState.h:24, - from CreditsState.h:22, - from CreditsState.cxx: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/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 CreditsState.cxx:23: +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 | ^~~~~~~~~~~~~~~ @@ -2080,28 +2182,32 @@ 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; | ^~~~~~~~ -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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-NormalState.o `test -f 'NormalState.cxx' || echo './'`NormalState.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Options.o `test -f 'Options.cxx' || echo './'`Options.cxx -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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-OptionsMenuState.o `test -f 'OptionsMenuState.cxx' || echo './'`OptionsMenuState.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-PairGenerator.o `test -f 'PairGenerator.cxx' || echo './'`PairGenerator.cxx -In file included from DemoState.cxx:24: +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; + | ^~~~~~~~ +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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-HumanPlayer.o `test -f 'HumanPlayer.cxx' || echo './'`HumanPlayer.cxx +In file included from FadeInState.cxx:23: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from Font.cxx:29: +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/numeric:75, - from Font.cxx:25: +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 | ^~~~~~~~~~~~~~~ @@ -2114,31 +2220,57 @@ Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-PauseState.o `test -f 'PauseState.cxx' || echo './'`PauseState.cxx +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +FadeOutState.h:57:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 57 | std::auto_ptr m_Background; + | ^~~~~~~~ +/usr/include/c++/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 -Wformat -Werror=format-security -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 + | ^~~~~~~~~~~~~~ +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 Font.h:25: + from Grid.h:23: /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)); - | ^~~~~~~~ +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 ControlSetupState.h:23, - from ControlSetupState.cxx:24: +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/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/numeric:75, + from Font.cxx:25: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -2156,19 +2288,17 @@ /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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-SimpleAIPlayer.o `test -f 'SimpleAIPlayer.cxx' || echo './'`SimpleAIPlayer.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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Sound.o `test -f 'Sound.cxx' || echo './'`Sound.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 - | ^~~~~~~~~~~~~~ +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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-main.o `test -f 'main.cxx' || echo './'`main.cxx +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 IPlayer.h:23, from Options.h:24, - from UnixOptions.h:23, - from UnixOptions.cxx:30: + 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; | ^~~~~~~~ @@ -2177,31 +2307,19 @@ /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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Surface.o `test -f 'Surface.cxx' || echo './'`Surface.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; - | ^~~~~~~~ -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)()) - | ^~~~~~~ In file included from IState.h:24, - from MainMenuState.h:22, - from main.cxx:27: + from HighScoreState.h:23, + from HighScoreState.cxx:25: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/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: + 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 | ^~~~~~~~~~~~~~~ @@ -2211,16 +2329,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 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; - | ^~~~~~~~ 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; | ^~~~~~~~ @@ -2229,75 +2337,95 @@ /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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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 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; + | ^~~~~~~~ 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: +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 | ^~~~~~~~~~~~~~ -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 | ^~~~~~~~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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)()) + | ^~~~~~~ +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 CreditsState.h:23: +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; + | ^~~~~~~~ +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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-MainMenuState.o `test -f 'MainMenuState.cxx' || echo './'`MainMenuState.cxx In file included from IPlayer.h:23, - from AIPlayer.h:22, - from AdvancedAIPlayer.h:22, - from MainMenuState.cxx:24: + 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; | ^~~~~~~~ @@ -2306,38 +2434,29 @@ /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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-System.o `test -f 'System.cxx' || echo './'`System.cxx -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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Music.o `test -f 'Music.cxx' || echo './'`Music.cxx IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 165 | std::auto_ptr m_Grid; | ^~~~~~~~ /usr/include/c++/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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-NewHighScoreState.o `test -f 'NewHighScoreState.cxx' || echo './'`NewHighScoreState.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-NormalSetupState.o `test -f 'NormalSetupState.cxx' || echo './'`NormalSetupState.cxx +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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-NormalState.o `test -f 'NormalState.cxx' || echo './'`NormalState.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Options.o `test -f 'Options.cxx' || echo './'`Options.cxx +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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-OptionsMenuState.o `test -f 'OptionsMenuState.cxx' || echo './'`OptionsMenuState.cxx In file included from IState.h:24, - from CreditsState.h:22, - from MainMenuState.cxx:26: + from MainMenuState.h:22, + from main.cxx:27: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/unique_ptr.h:37: +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 | ^~~~~~~~~~~~~~~ @@ -2350,160 +2469,239 @@ 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 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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TournamentMenuState.o `test -f 'TournamentMenuState.cxx' || echo './'`TournamentMenuState.cxx In file included from IPlayer.h:23, from Options.h:24, - from CreditsState.cxx:27: + 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; | ^~~~~~~~ -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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TournamentSetupState.o `test -f 'TournamentSetupState.cxx' || echo './'`TournamentSetupState.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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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] - 45 | struct GeneratePair: public std::unary_function - | ^~~~~~~~~~~~~~ +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 | ^~~~~~~~~~~~~~ -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 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; | ^~~~~~~~ -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; +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:106:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 106 | std::auto_ptr m_BackgroundMusic; +In file included from IState.h:24, + from CongratulationsState.h:23, + from NormalState.cxx:24: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/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 + | ^~~~~~~~~~~~~~ +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +In file included from IState.h:24, + from HighScoreState.h:23, + from NewHighScoreState.cxx:25: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/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 NewHighScoreState.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:116:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 116 | std::auto_ptr m_Go; +In file included from NormalState.cxx:27: +NormalState.h:74:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 74 | std::auto_ptr m_SoundLose; | ^~~~~~~~ /usr/include/c++/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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +In file included from NewHighScoreState.cxx:26: +NewHighScoreState.h:76:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 76 | std::auto_ptr m_Background; | ^~~~~~~~ /usr/include/c++/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; +NewHighScoreState.h:78:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 78 | std::auto_ptr m_BackgroundMusic; | ^~~~~~~~ /usr/include/c++/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; +NewHighScoreState.h:88:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 88 | std::auto_ptr m_HighLightFont; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -CreditsState.cxx: In member function 'void Amoebax::CreditsState::loadGraphicResources()': -CreditsState.cxx:86:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 86 | std::auto_ptr title ( - | ^~~~~~~~ +NewHighScoreState.h:92:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 92 | std::auto_ptr m_NameFont; + | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from ControlSetupState.cxx:27: +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 | ^~~~~~~~~~~~~~ @@ -2517,10 +2715,12 @@ /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 ( - | ^~~~~~~~ +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; | ^~~~~~~~ @@ -2536,30 +2736,12 @@ /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; - | ^~~~~~~~ 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; | ^~~~~~~~ -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; - | ^~~~~~~~ In file included from TwoPlayersState.h:24, from DemoState.h:24, from MainMenuState.cxx:27: @@ -2672,6 +2854,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; + | ^~~~~~~~ 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; @@ -2697,6 +2885,21 @@ /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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-PairGenerator.o `test -f 'PairGenerator.cxx' || echo './'`PairGenerator.cxx +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 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; @@ -2716,28 +2919,6 @@ /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 - | ^~~~~~~~~~~~~~ -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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TournamentState.o `test -f 'TournamentState.cxx' || echo './'`TournamentState.cxx 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; @@ -2757,28 +2938,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 HighScoreState.h:23, - from NewHighScoreState.cxx:25: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/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 NewHighScoreState.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 - | ^~~~~~~~~~~~~~ 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; @@ -2798,57 +2957,13 @@ /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; - | ^~~~~~~~ -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; - | ^~~~~~~~ -In file included from NewHighScoreState.cxx:26: -NewHighScoreState.h:76:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 76 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -NewHighScoreState.h:78:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 78 | std::auto_ptr m_BackgroundMusic; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -NewHighScoreState.h:88:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 88 | std::auto_ptr m_HighLightFont; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -NewHighScoreState.h:92:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 92 | std::auto_ptr m_NameFont; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ +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 + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ 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; @@ -2934,6 +3049,25 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ +In file included from NormalState.cxx:29: +TryAgainState.h:127:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 127 | std::auto_ptr m_Background; + | ^~~~~~~~ +/usr/include/c++/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; + | ^~~~~~~~ +/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; + | ^~~~~~~~ +/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 ( @@ -2941,167 +3075,111 @@ /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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TrainingState.o `test -f 'TrainingState.cxx' || echo './'`TrainingState.cxx -In file included from IPlayer.h:23, - from Options.h:24, - from NewHighScoreState.cxx:27: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; +In file included from TwoPlayersState.h:24, + from NormalState.cxx:30: +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 + | ^~~~~~~~~~~~~~ +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; | ^~~~~~~~ -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: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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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 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; +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; | ^~~~~~~~ -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; | ^~~~~~~~ -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; | ^~~~~~~~ -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:150:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 150 | std::auto_ptr m_ScoreFont; | ^~~~~~~~ -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 CongratulationsState.h:23, - from NormalState.cxx:24: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/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 - | ^~~~~~~~~~~~~~ -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; +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; | ^~~~~~~~ -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 - | ^~~~~~~~~~~~~~ -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: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; | ^~~~~~~~ -In file included from ControlSetupState.h:23, - from OptionsMenuState.cxx:25: +TwoPlayersState.h:160:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 160 | std::auto_ptr m_YouWin; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +In file included from NormalState.cxx:31: +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; + | ^~~~~~~~ +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 /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 | ^~~~~~~~~~~~~~~ @@ -3111,46 +3189,41 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -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; - | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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 /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 NormalState.cxx:27: -NormalState.h:74:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 74 | std::auto_ptr m_SoundLose; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ +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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-PauseState.o `test -f 'PauseState.cxx' || echo './'`PauseState.cxx In file included from IPlayer.h:23, - from HumanPlayer.h:22, - from NormalState.h:23, - from NormalSetupState.cxx:26: + from Options.h:24, + from Options.cxx:24: Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ +In file included from /usr/include/c++/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; | ^~~~~~~~ @@ -3160,16 +3233,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 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; - | ^~~~~~~~ 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 @@ -3177,15 +3240,29 @@ /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; +NewHighScoreState.cxx: In member function 'virtual void Amoebax::NewHighScoreState::unicodeCharacterPressed(uint16_t)': +NewHighScoreState.cxx:399:38: warning: narrowing conversion of 'toupper(((int)((char)((int)(((short unsigned int)((int)code)) & 127)))))' from 'int' to 'char' [-Wnarrowing] + 399 | char character[2] = {toupper (static_cast(code & 0x7f)), '\0'}; + | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from IPlayer.h:23, + from 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; + | ^~~~~~~~ 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; | ^~~~~~~~ +NormalState.h:74:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 74 | std::auto_ptr m_SoundLose; + | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ @@ -3208,58 +3285,9 @@ /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; - | ^~~~~~~~ -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; - | ^~~~~~~~ -/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; - | ^~~~~~~~ -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; - | ^~~~~~~~ -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 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 - | ^~~~~~~~~~~~~~ -In file included from IState.h:24, - from FadeInState.h:22, - from System.cxx:41: +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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-SimpleAIPlayer.o `test -f 'SimpleAIPlayer.cxx' || echo './'`SimpleAIPlayer.cxx +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 | ^~~~~~~~~~~~~~~ @@ -3267,9 +3295,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 | ^~~~~~~~~~~~~~~ @@ -3279,56 +3307,19 @@ /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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TryAgainState.o `test -f 'TryAgainState.cxx' || echo './'`TryAgainState.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; - | ^~~~~~~~ -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; - | ^~~~~~~~ -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 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; - | ^~~~~~~~ + from Font.h:25: /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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-Sound.o `test -f 'Sound.cxx' || echo './'`Sound.cxx In file included from IPlayer.h:23, from Options.h:24, - from 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; | ^~~~~~~~ @@ -3341,308 +3332,361 @@ /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 NormalState.cxx:28: +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/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from NormalState.cxx:29: -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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ /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; +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 TwoPlayersState.h:24, - from NormalState.cxx:30: +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 | ^~~~~~~~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -TwoPlayersState.h:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 128 | std::auto_ptr m_BackgroundMusic; +TrainingState.h:106:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 106 | std::auto_ptr m_BackgroundMusic; | ^~~~~~~~ /usr/include/c++/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; +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; | ^~~~~~~~ -TwoPlayersState.h:134:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 134 | std::auto_ptr m_Generator; +TrainingState.h:112:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 112 | std::auto_ptr m_GameOver; | ^~~~~~~~ /usr/include/c++/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; +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; | ^~~~~~~~ -TwoPlayersState.h:140:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 140 | std::auto_ptr m_LeftPlayer; +TrainingState.h:116:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 116 | std::auto_ptr m_Go; | ^~~~~~~~ /usr/include/c++/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; +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; | ^~~~~~~~ -TwoPlayersState.h:148:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 148 | std::auto_ptr m_RightPlayer; +TrainingState.h:124:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 124 | std::auto_ptr m_LevelUpSound; | ^~~~~~~~ /usr/include/c++/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; +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; | ^~~~~~~~ -TwoPlayersState.h:154:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 154 | std::auto_ptr m_Silhouettes; +TrainingState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 130 | std::auto_ptr m_Ready; | ^~~~~~~~ /usr/include/c++/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; +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; | ^~~~~~~~ -TwoPlayersState.h:160:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 160 | std::auto_ptr m_YouWin; +TrainingState.h:138:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 138 | std::auto_ptr m_Silhouettes; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from NormalState.cxx:31: -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; +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; | ^~~~~~~~ -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; - | ^~~~~~~~ +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; | ^~~~~~~~ -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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TwoComputerPlayersState.o `test -f 'TwoComputerPlayersState.cxx' || echo './'`TwoComputerPlayersState.cxx -In file included from OptionsMenuState.h:25, - from OptionsMenuState.cxx:28: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ +OptionsMenuState.cxx: In member function 'virtual void Amoebax::OptionsMenuState::ApplyOption::operator()()': +OptionsMenuState.cxx:310:33: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = Amoebax::OptionsMenuState::IOption]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 310 | std::mem_fun (&IOption::apply)); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/usr/include/c++/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 -Wformat -Werror=format-security -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 | ^~~~~~~~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-System.o `test -f 'System.cxx' || echo './'`System.cxx +In file included from IPlayer.h:23, + from Options.h:24, + from PauseState.cxx:25: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ /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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TournamentMenuState.o `test -f 'TournamentMenuState.cxx' || echo './'`TournamentMenuState.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 /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 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 - | ^~~~~~~~~~~~~~ -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; +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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TournamentSetupState.o `test -f 'TournamentSetupState.cxx' || echo './'`TournamentSetupState.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; | ^~~~~~~~ -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 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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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 + | ^~~~~~~~~~~~~~ +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; | ^~~~~~~~ -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; +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 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; | ^~~~~~~~ -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; +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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TournamentState.o `test -f 'TournamentState.cxx' || echo './'`TournamentState.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TrainingState.o `test -f 'TrainingState.cxx' || echo './'`TrainingState.cxx +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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TryAgainState.o `test -f 'TryAgainState.cxx' || echo './'`TryAgainState.cxx +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -TrainingState.h:124:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 124 | std::auto_ptr m_LevelUpSound; +In file included from 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; | ^~~~~~~~ -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 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; | ^~~~~~~~ -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; +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:134:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 134 | std::auto_ptr m_ScoreFont; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TwoPlayersState.o `test -f 'TwoPlayersState.cxx' || echo './'`TwoPlayersState.cxx -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)()) - | ^~~~~~~ -In file included from PauseState.cxx:27: +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 | ^~~~~~~~~~~~~~ -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 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 System.cxx:47: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function @@ -3650,7 +3694,7 @@ /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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-VersusState.o `test -f 'VersusState.cxx' || echo './'`VersusState.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TwoComputerPlayersState.o `test -f 'TwoComputerPlayersState.cxx' || echo './'`TwoComputerPlayersState.cxx In file included from 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; @@ -3658,7 +3702,6 @@ /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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-VideoErrorState.o `test -f 'VideoErrorState.cxx' || echo './'`VideoErrorState.cxx In file included from IPlayer.h:23, from Options.h:24, from TournamentMenuState.cxx:24: @@ -3670,13 +3713,17 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from Surface.cxx:28: +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/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 TournamentSetupState.cxx:22: /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ @@ -3713,20 +3760,6 @@ /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: -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: -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ TournamentMenuState.h:59:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 59 | std::auto_ptr m_Background; | ^~~~~~~~ @@ -3745,6 +3778,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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-TwoPlayersState.o `test -f 'TwoPlayersState.cxx' || echo './'`TwoPlayersState.cxx 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; @@ -3817,20 +3851,27 @@ /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: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; +In file included from TryAgainState.cxx: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 + | ^~~~~~~~~~~~~~~ +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 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; - | ^~~~~~~~ + from Font.h:25: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ @@ -3846,7 +3887,7 @@ | ^~~~~~~~ In file included from IPlayer.h:23, from AIPlayerFactory.h:23, - from TwoComputerPlayersState.cxx:24: + 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; | ^~~~~~~~ @@ -3855,41 +3896,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 CongratulationsState.h:23, - from TournamentState.cxx:25: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/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 TournamentState.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 - | ^~~~~~~~~~~~~~ -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 - | ^~~~~~~~~~~~~~ -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; - | ^~~~~~~~ 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; | ^~~~~~~~ @@ -3902,18 +3908,6 @@ /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; - | ^~~~~~~~ -/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; - | ^~~~~~~~ -/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; | ^~~~~~~~ @@ -3932,13 +3926,6 @@ /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; - | ^~~~~~~~ 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; | ^~~~~~~~ @@ -3951,6 +3938,13 @@ /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: +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 ( @@ -3976,27 +3970,19 @@ /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 IState.h:24, + from CongratulationsState.h:23, + from TournamentState.cxx:25: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/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 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: + from TournamentState.cxx:23: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -4006,76 +3992,32 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -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 - | ^~~~~~~~~~~~~~~ +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; | ^~~~~~~~ -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 /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; | ^~~~~~~~ -/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; +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 /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 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 - | ^~~~~~~~~~~~~~ -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 - | ^~~~~~~~~~~~~~ -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; +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 Font.h:25: /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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-VersusState.o `test -f 'VersusState.cxx' || echo './'`VersusState.cxx In file included from IPlayer.h:23, from Options.h:24, from TryAgainState.cxx:25: @@ -4085,29 +4027,59 @@ /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; +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 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 TwoComputerPlayersState.cxx:27: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -DrawChainLabel.h:37:40: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 37 | struct DrawChainLabel: public std::unary_function - | ^~~~~~~~~~~~~~ +In file included from TryAgainState.cxx:26: +TryAgainState.h:127:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 127 | std::auto_ptr m_Background; + | ^~~~~~~~ +/usr/include/c++/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; + | ^~~~~~~~ +/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; + | ^~~~~~~~ +/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 AIPlayerFactory.h:22: -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ + 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 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; + | ^~~~~~~~ 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 @@ -4115,15 +4087,11 @@ /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 IState.h:24, - from TwoComputerPlayersState.h:24, - from TwoComputerPlayersState.cxx:28: +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 | ^~~~~~~~~~~~~~~ @@ -4139,28 +4107,17 @@ 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 TryAgainState.cxx:26: -TryAgainState.h:127:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 127 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/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; - | ^~~~~~~~ -/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; - | ^~~~~~~~ -/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 + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ In file included from TournamentState.cxx:29: TournamentState.h:112:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 112 | std::auto_ptr m_Background; @@ -4192,12 +4149,6 @@ /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; - | ^~~~~~~~ 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; @@ -4213,25 +4164,6 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -TwoComputerPlayersState.cxx: In member function 'void Amoebax::TwoComputerPlayersState::loadGraphicsResources()': -TwoComputerPlayersState.cxx:187:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 187 | std::auto_ptr winner ( - | ^~~~~~~~ -/usr/include/c++/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; - | ^~~~~~~~ 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; | ^~~~~~~~ @@ -4323,6 +4255,13 @@ /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 + | ^~~~~~~~~~~~~~ TournamentState.cxx: In member function 'void Amoebax::TournamentState::loadGraphicResources()': TournamentState.cxx:436:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 436 | std::auto_ptr grid ( @@ -4330,6 +4269,13 @@ /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 IPlayer.h:23, from HumanPlayer.h:22, from TrainingState.cxx:30: @@ -4339,27 +4285,6 @@ /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 - | ^~~~~~~~~~~~~~ -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; - | ^~~~~~~~ -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; - | ^~~~~~~~ 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; | ^~~~~~~~ @@ -4406,6 +4331,15 @@ /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 + | ^~~~~~~~~~~~~~ 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; | ^~~~~~~~ @@ -4490,72 +4424,60 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TrainingState.cxx: In member function 'void Amoebax::TrainingState::loadGraphicResources()': -TrainingState.cxx:347:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 347 | std::auto_ptr gridBackground ( - | ^~~~~~~~ -/usr/include/c++/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 - | ^~~~~~~~~~~~~~ +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 | ^~~~~~~~~~~~~~ -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; +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; | ^~~~~~~~ -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 ( - | ^~~~~~~~ +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; | ^~~~~~~~ -VersusState.cxx:152:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 152 | std::auto_ptr player ( - | ^~~~~~~~ +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; | ^~~~~~~~ -VersusState.cxx:164:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 164 | std::auto_ptr opponent ( +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; | ^~~~~~~~ -VersusState.cxx:178:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 178 | std::auto_ptr versus ( +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; | ^~~~~~~~ -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 - | ^~~~~~~~~~~~~~ -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 ( +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; | ^~~~~~~~ +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 -Wformat -Werror=format-security -DNDEBUG -c -o amoebax-VideoErrorState.o `test -f 'VideoErrorState.cxx' || echo './'`VideoErrorState.cxx 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 @@ -4598,6 +4520,30 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +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 + | ^~~~~~~~~~~~~~ +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 HumanPlayer.h:22, from NormalState.h:23, @@ -4726,6 +4672,96 @@ /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 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; + | ^~~~~~~~ +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 + | ^~~~~~~~~~~~~~~ +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 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 + | ^~~~~~~~~~~~~~ +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; + | ^~~~~~~~ +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; + | ^~~~~~~~ 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 -Wformat -Werror=format-security -DNDEBUG -Wl,-z,relro -Wl,-z,now -o amoebax amoebax-binreloc.o amoebax-UnixOptions.o amoebax-AdvancedAIPlayer.o amoebax-AIPlayer.o amoebax-AIPlayerFactory.o amoebax-Amoeba.o amoebax-AnticipatoryAIPlayer.o amoebax-ChainLabel.o amoebax-CongratulationsState.o amoebax-ControlSetupState.o amoebax-CreditsState.o amoebax-DemoState.o amoebax-DumbAIPlayer.o amoebax-FadeInState.o amoebax-FadeOutState.o amoebax-FrameManager.o amoebax-File.o amoebax-Font.o amoebax-Grid.o amoebax-GridStatus.o amoebax-HighScoreState.o amoebax-HumanPlayer.o amoebax-Joystick.o amoebax-main.o amoebax-MainMenuState.o amoebax-Music.o amoebax-NewHighScoreState.o amoebax-NormalSetupState.o amoebax-NormalState.o amoebax-Options.o amoebax-OptionsMenuState.o amoebax-PairGenerator.o amoebax-PauseState.o amoebax-SimpleAIPlayer.o amoebax-Sound.o amoebax-Surface.o amoebax-System.o amoebax-TournamentMenuState.o amoebax-TournamentSetupState.o amoebax-TournamentState.o amoebax-TrainingState.o amoebax-TryAgainState.o amoebax-TwoComputerPlayersState.o amoebax-TwoPlayersState.o amoebax-VersusState.o amoebax-VideoErrorState.o -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' @@ -4733,7 +4769,7 @@ make[2]: Leaving directory '/build/reproducible-path/amoebax-0.2.1+dfsg' make[1]: Leaving directory '/build/reproducible-path/amoebax-0.2.1+dfsg' dh_auto_test - make -j22 check "TESTSUITEFLAGS=-j22 --verbose" VERBOSE=1 + make -j10 check "TESTSUITEFLAGS=-j10 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/amoebax-0.2.1+dfsg' Making check in autopackage make[2]: Entering directory '/build/reproducible-path/amoebax-0.2.1+dfsg/autopackage' @@ -4792,7 +4828,7 @@ dh_testroot dh_prep dh_auto_install - make -j22 install DESTDIR=/build/reproducible-path/amoebax-0.2.1\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no + make -j10 install DESTDIR=/build/reproducible-path/amoebax-0.2.1\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/amoebax-0.2.1+dfsg' Making install in autopackage make[2]: Entering directory '/build/reproducible-path/amoebax-0.2.1+dfsg/autopackage' @@ -4931,8 +4967,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 ; \ @@ -5001,8 +5037,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'amoebax-dbgsym' in '../amoebax-dbgsym_0.2.1+dfsg-6_i386.deb'. dpkg-deb: building package 'amoebax' in '../amoebax_0.2.1+dfsg-6_i386.deb'. +dpkg-deb: building package 'amoebax-dbgsym' in '../amoebax-dbgsym_0.2.1+dfsg-6_i386.deb'. dpkg-deb: building package 'amoebax-data' in '../amoebax-data_0.2.1+dfsg-6_all.deb'. dpkg-genbuildinfo --build=binary -O../amoebax_0.2.1+dfsg-6_i386.buildinfo dpkg-genchanges --build=binary -O../amoebax_0.2.1+dfsg-6_i386.changes @@ -5011,12 +5047,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/18129/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/18129/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/85360 and its subdirectories -I: Current time: Mon May 5 11:18:26 -12 2025 -I: pbuilder-time-stamp: 1746487106 +I: removing directory /srv/workspace/pbuilder/18129 and its subdirectories +I: Current time: Wed Apr 3 06:57:06 +14 2024 +I: pbuilder-time-stamp: 1712077026