Diff of the two buildlogs: -- --- b1/build.log 2024-05-07 19:58:45.703431225 +0000 +++ b2/build.log 2024-05-07 20:01:32.604325796 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue May 7 07:57:10 -12 2024 -I: pbuilder-time-stamp: 1715111830 +I: Current time: Tue Jun 10 16:21:48 +14 2025 +I: pbuilder-time-stamp: 1749522108 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -33,51 +33,83 @@ dpkg-source: info: applying support-runstatedir-option.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3185716/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4000958/tmp/hooks/D01_modify_environment starting +debug: Running on infom02-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 10 02:22 /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/4000958/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4000958/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='amd64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-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=amd64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='95d028cf48934090bf622b8de92f013a' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3185716' - PS1='# ' - PS2='> ' + INVOCATION_ID=7a2496b445864fc482591a4c55964bf2 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=4000958 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.yzXo6Jo4/pbuilderrc_86C3 --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.yzXo6Jo4/b1 --logfile b1/build.log amoebax_0.2.1+dfsg-6.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.yzXo6Jo4/pbuilderrc_aSCN --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.yzXo6Jo4/b2 --logfile b2/build.log amoebax_0.2.1+dfsg-6.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom01-amd64 6.1.0-21-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 6 07:42 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3185716/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 8 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4000958/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -357,7 +389,7 @@ Get: 236 http://deb.debian.org/debian unstable/main amd64 libsdl-mixer1.2 amd64 1.2.12-18 [80.7 kB] Get: 237 http://deb.debian.org/debian unstable/main amd64 libvorbis-dev amd64 1.3.7-2 [325 kB] Get: 238 http://deb.debian.org/debian unstable/main amd64 libsdl-mixer1.2-dev amd64 1.2.12-18 [97.3 kB] -Fetched 103 MB in 1s (102 MB/s) +Fetched 103 MB in 4s (26.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19699 files and directories currently installed.) @@ -1123,8 +1155,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue May 7 19:58:09 UTC 2024. -Universal Time is now: Tue May 7 19:58:09 UTC 2024. +Local time is now: Tue Jun 10 02:23:43 UTC 2025. +Universal Time is now: Tue Jun 10 02:23:43 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libsysprof-capture-4-dev:amd64 (46.0-1) ... @@ -1347,7 +1379,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/4000958/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/4000958/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 @@ -1492,55 +1528,6 @@ g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-DumbAIPlayer.o `test -f 'DumbAIPlayer.cxx' || echo './'`DumbAIPlayer.cxx g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-FadeInState.o `test -f 'FadeInState.cxx' || echo './'`FadeInState.cxx g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-FadeOutState.o `test -f 'FadeOutState.cxx' || echo './'`FadeOutState.cxx -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 - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from File.h:22, - from CongratulationsState.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 CongratulationsState.cxx:24: -NewHighScoreState.h:76:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 76 | std::auto_ptr m_Background; - | ^~~~~~~~ -/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 IPlayer.h:23, from AIPlayer.h:22, from AdvancedAIPlayer.h:22, @@ -1560,41 +1547,13 @@ 65 | template class auto_ptr; | ^~~~~~~~ In file included from IPlayer.h:23, - from Options.h:24, - from CongratulationsState.cxx:25: + 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; | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from IState.h:24, - from CreditsState.h:22, - from 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/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 - | ^~~~~~~~~~~~~~~ -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: + from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ @@ -1604,51 +1563,10 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from IState.h:24, - from FadeOutState.h:22, - from FadeOutState.cxx:22: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/unique_ptr.h:37, - from /usr/include/c++/13/memory:78, - from IState.h:22: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 116 | struct TextWrite: public std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -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; - | ^~~~~~~~ -FadeOutState.h:57:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 57 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from IPlayer.h:23, - from AIPlayer.h:22, - from AdvancedAIPlayer.h:22, - from AdvancedAIPlayer.cxx:24: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -In file included from /usr/include/c++/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 AIPlayer.h:22, - from AIPlayer.cxx:24: + 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; | ^~~~~~~~ @@ -1657,43 +1575,26 @@ /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: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/unique_ptr.h:37, - from /usr/include/c++/13/memory:78, - from IState.h:22: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 116 | struct TextWrite: public std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ 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 GridStatus.h:24, - from AnticipatoryAIPlayer.h:22, - from AnticipatoryAIPlayer.cxx:23: +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 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; | ^~~~~~~~ -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; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; @@ -1709,26 +1610,7 @@ /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; - | ^~~~~~~~ -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 AIPlayer.h:22, - from AnticipatoryAIPlayer.h:23: +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-FrameManager.o `test -f 'FrameManager.cxx' || echo './'`FrameManager.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; | ^~~~~~~~ @@ -1850,38 +1732,182 @@ /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 - | ^~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-File.o `test -f 'File.cxx' || echo './'`File.cxx +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 + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from File.h:22, + from CongratulationsState.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 CongratulationsState.cxx:26: +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 CongratulationsState.cxx:24: +NewHighScoreState.h:76:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 76 | std::auto_ptr m_Background; + | ^~~~~~~~ +/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; + | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-Font.o `test -f 'Font.cxx' || echo './'`Font.cxx +In file included from IPlayer.h:23, + from Options.h:24, + from CongratulationsState.cxx:25: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +In file included from 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 | ^~~~~~~~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +In file included from AIPlayer.h:22, + from AnticipatoryAIPlayer.h:23: +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +In file included from IState.h:24, + from FadeOutState.h:22, + from FadeOutState.cxx:22: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/unique_ptr.h:37, + from /usr/include/c++/13/memory:78, + from IState.h:22: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 116 | struct TextWrite: public std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +In file included from IPlayer.h:23, + from AIPlayer.h:22, + from AdvancedAIPlayer.h:22, + from AdvancedAIPlayer.cxx:24: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ +In file included from /usr/include/c++/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; + | ^~~~~~~~ +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 ControlSetupState.h:23, + from ControlSetupState.cxx:24: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/istream:40, + from /usr/include/c++/13/sstream:40, + from ControlSetupState.cxx:22: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 116 | struct TextWrite: public std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 193 | std::auto_ptr m_FontSurface; + | ^~~~~~~~ +In file included from /usr/include/c++/13/memory:78, + from Font.h:25: +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +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 + | ^~~~~~~~~~~~~~ +/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; @@ -1914,8 +1940,15 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from ControlSetupState.h:23, - from ControlSetupState.cxx:24: +In file included from IState.h:24, + from 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 IState.h:24, + from CreditsState.h:22, + from CreditsState.cxx:24: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function | ^~~~~~~~~~~~~~~ @@ -1925,7 +1958,29 @@ 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: + from CreditsState.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 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 /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 | ^~~~~~~~~~~~~~~ @@ -1939,10 +1994,114 @@ 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ In file included from /usr/include/c++/13/memory:78, - from Font.h:25: + from IState.h:22: +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +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; + | ^~~~~~~~ +/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; + | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-Grid.o `test -f 'Grid.cxx' || echo './'`Grid.cxx +ControlSetupState.h:95:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 95 | std::auto_ptr m_Background; + | ^~~~~~~~ +/usr/include/c++/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; + | ^~~~~~~~ +In file included from FadeOutState.cxx:23: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-GridStatus.o `test -f 'GridStatus.cxx' || echo './'`GridStatus.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 + | ^~~~~~~~~~~~~~ +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 + | ^~~~~~~~~~~~~~ +ControlSetupState.cxx: In member function 'void Amoebax::ControlSetupState::loadGraphicResources()': +ControlSetupState.cxx:539:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 539 | std::auto_ptr title (Surface::fromFile ( + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +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; | ^~~~~~~~ +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; + | ^~~~~~~~ +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; + | ^~~~~~~~ +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; + | ^~~~~~~~ +CreditsState.h:58:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 58 | std::auto_ptr m_SectionsFont; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-HighScoreState.o `test -f 'HighScoreState.cxx' || echo './'`HighScoreState.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-HumanPlayer.o `test -f 'HumanPlayer.cxx' || echo './'`HumanPlayer.cxx In file included from IPlayer.h:23, from Options.h:24, from CreditsState.cxx:27: @@ -1985,16 +2144,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; - | ^~~~~~~~ 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; | ^~~~~~~~ @@ -2086,6 +2235,7 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-Joystick.o `test -f 'Joystick.cxx' || echo './'`Joystick.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 @@ -2093,68 +2243,69 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -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 - | ^~~~~~~~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-main.o `test -f 'main.cxx' || echo './'`main.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-MainMenuState.o `test -f 'MainMenuState.cxx' || echo './'`MainMenuState.cxx +In file included from IPlayer.h:23, + from Options.h:24, + from File.cxx:29: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ +In file included from /usr/include/c++/13/memory:78, + from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -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; +In file included from Font.cxx:29: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/numeric:75, + from Font.cxx:25: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 116 | struct TextWrite: public std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ +In file included from /usr/include/c++/13/memory:78, + from Font.h:25: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -ControlSetupState.h:99:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 99 | std::auto_ptr m_Font; - | ^~~~~~~~ +Font.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; | ^~~~~~~~ -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; +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from IPlayer.h:23, - from AIPlayer.h:22, - from DumbAIPlayer.h:22, - from DumbAIPlayer.cxx:22: +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-Music.o `test -f 'Music.cxx' || echo './'`Music.cxx +In file included from GridStatus.cxx:25: Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ In file included from /usr/include/c++/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 Grid.h:23: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-FrameManager.o `test -f 'FrameManager.cxx' || echo './'`FrameManager.cxx -In file included from FadeOutState.cxx:23: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-File.o `test -f 'File.cxx' || echo './'`File.cxx In file included from IPlayer.h:23, from Options.h:24, - from UnixOptions.h:23, - from UnixOptions.cxx:30: + 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; | ^~~~~~~~ @@ -2169,48 +2320,10 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-Font.o `test -f 'Font.cxx' || echo './'`Font.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 - | ^~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-Grid.o `test -f 'Grid.cxx' || echo './'`Grid.cxx -ControlSetupState.cxx: In member function 'void Amoebax::ControlSetupState::loadGraphicResources()': -ControlSetupState.cxx:539:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 539 | std::auto_ptr title (Surface::fromFile ( - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -ControlSetupState.cxx:544:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 544 | std::auto_ptr controls (Surface::fromFile ( - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -ControlSetupState.cxx:549:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 549 | std::auto_ptr leftPlayer (Surface::fromFile ( - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -ControlSetupState.cxx:554:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 554 | std::auto_ptr rightPlayer (Surface::fromFile ( - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-HighScoreState.o `test -f 'HighScoreState.cxx' || echo './'`HighScoreState.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-HumanPlayer.o `test -f 'HumanPlayer.cxx' || echo './'`HumanPlayer.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-main.o `test -f 'main.cxx' || echo './'`main.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-MainMenuState.o `test -f 'MainMenuState.cxx' || echo './'`MainMenuState.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-Music.o `test -f 'Music.cxx' || echo './'`Music.cxx -In file included from GridStatus.cxx:25: +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-NormalSetupState.o `test -f 'NormalSetupState.cxx' || echo './'`NormalSetupState.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-NormalState.o `test -f 'NormalState.cxx' || echo './'`NormalState.cxx +In file included from Grid.cxx:27: Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ @@ -2219,6 +2332,31 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ +In file included from Grid.cxx:29: +PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 45 | struct GeneratePair: public std::unary_function + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from File.h:22, + from Grid.cxx:26: +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-Options.o `test -f 'Options.cxx' || echo './'`Options.cxx +In file included from Grid.cxx:30: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +Grid.cxx: In member function 'void Amoebax::Grid::clearDyingAmoebas()': +Grid.cxx:429:33: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = Amoebax::ChainLabel]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 429 | std::mem_fun (&ChainLabel::activate)); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1371:5: note: declared here + 1371 | mem_fun(_Ret (_Tp::*__f)()) + | ^~~~~~~ In file included from IPlayer.h:23, from HumanPlayer.h:22, from HumanPlayer.cxx:23: @@ -2236,12 +2374,30 @@ /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 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; + | ^~~~~~~~ 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 | ^~~~~~~~~~~~~~~ +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/string:49, from /usr/include/c++/13/bits/locale_classes.h:40, from /usr/include/c++/13/bits/ios_base.h:41, @@ -2284,12 +2440,39 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from Font.cxx:29: +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/numeric:75, - from Font.cxx:25: +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 IState.h:24, + from MainMenuState.h:22, + from main.cxx:27: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/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 | ^~~~~~~~~~~~~~~ @@ -2303,34 +2486,57 @@ 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ In file included from /usr/include/c++/13/memory:78, - from Font.h:25: + from IState.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -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)); - | ^~~~~~~~ +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-OptionsMenuState.o `test -f 'OptionsMenuState.cxx' || echo './'`OptionsMenuState.cxx +In file included from IState.h:24, + from HighScoreState.h:23, + from NewHighScoreState.cxx:25: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/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 IPlayer.h:23, from Options.h:24, from HighScoreState.cxx:26: @@ -2340,126 +2546,122 @@ /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 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; +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 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; +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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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 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 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; | ^~~~~~~~ -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 IState.h:24, - from MainMenuState.h:22, - from main.cxx:27: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/iomanip:42, - from main.cxx:23: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 116 | struct TextWrite: public std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 193 | std::auto_ptr m_FontSurface; +NewHighScoreState.h:78:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 78 | std::auto_ptr m_BackgroundMusic; | ^~~~~~~~ -In file included from /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 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 - | ^~~~~~~~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; +NewHighScoreState.h: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; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; +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 IPlayer.h:23, + from Options.h:24, + from main.cxx:28: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -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; +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; | ^~~~~~~~ -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; | ^~~~~~~~ +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: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from /usr/include/c++/13/stdexcept:39, + from Music.cxx:24: +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ In file included from IState.h:24, - from CreditsState.h:22, - from MainMenuState.cxx:26: + 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/bits/unique_ptr.h:37: +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; + | ^~~~~~~~ +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 | ^~~~~~~~~~~~~~~ @@ -2472,46 +2674,47 @@ 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 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/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-NewHighScoreState.o `test -f 'NewHighScoreState.cxx' || echo './'`NewHighScoreState.cxx -In file included from IPlayer.h:23, - from Options.h:24, - from 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; +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; | ^~~~~~~~ -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 ( - | ^~~~~~~~ +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; + | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; +In file included from 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; + | ^~~~~~~~ +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; | ^~~~~~~~ -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; | ^~~~~~~~ @@ -2581,7 +2784,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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-NormalSetupState.o `test -f 'NormalSetupState.cxx' || echo './'`NormalSetupState.cxx 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; | ^~~~~~~~ @@ -2810,38 +3012,6 @@ /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 ( - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from Grid.cxx:30: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -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 Music.cxx:26: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/stdexcept:39, - from Music.cxx:24: -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-NormalState.o `test -f 'NormalState.cxx' || echo './'`NormalState.cxx In file included from main.cxx:29: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function @@ -2849,222 +3019,25 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-Options.o `test -f 'Options.cxx' || echo './'`Options.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-PairGenerator.o `test -f 'PairGenerator.cxx' || echo './'`PairGenerator.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-PauseState.o `test -f 'PauseState.cxx' || echo './'`PauseState.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-Sound.o `test -f 'Sound.cxx' || echo './'`Sound.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-Surface.o `test -f 'Surface.cxx' || echo './'`Surface.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-System.o `test -f 'System.cxx' || echo './'`System.cxx -In file included from IState.h:24, - from HighScoreState.h:23, - from NewHighScoreState.cxx:25: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/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; - | ^~~~~~~~ -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 IPlayer.h:23, - from AIPlayerFactory.h:23, - from NormalState.cxx:23: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from IPlayer.h:22: -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from IState.h:24, - from CongratulationsState.h:23, - from NormalState.cxx:24: -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; - | ^~~~~~~~ -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; - | ^~~~~~~~ -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; - | ^~~~~~~~ -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; - | ^~~~~~~~ -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; - | ^~~~~~~~ -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 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 SimpleAIPlayer.cxx:23: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from Grid.h:23: -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from 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; - | ^~~~~~~~ +MainMenuState.cxx: In member function 'void Amoebax::MainMenuState::loadGraphicResources()': +MainMenuState.cxx:194:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 194 | std::auto_ptr title ( + | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from NormalSetupState.cxx:24: +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-PairGenerator.o `test -f 'PairGenerator.cxx' || echo './'`PairGenerator.cxx +In file included from HighScoreState.cxx:27: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function | ^~~~~~~~~~~~~~ -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 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: +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; | ^~~~~~~~ @@ -3075,19 +3048,18 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from PairGenerator.cxx:27: -PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 45 | struct GeneratePair: public std::unary_function - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/functional:49, - from PairGenerator.cxx:24: -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-PauseState.o `test -f 'PauseState.cxx' || echo './'`PauseState.cxx 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; | ^~~~~~~~ +In file included from NewHighScoreState.cxx:28: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ @@ -3202,6 +3174,25 @@ /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 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 + | ^~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-SimpleAIPlayer.o `test -f 'SimpleAIPlayer.cxx' || echo './'`SimpleAIPlayer.cxx In file included from IState.h:24, from NormalSetupState.h:23, from NormalSetupState.cxx:25: @@ -3243,71 +3234,6 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from ControlSetupState.h:23, - from OptionsMenuState.cxx:25: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/istream:40, - from /usr/include/c++/13/sstream:40, - from OptionsMenuState.cxx:23: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 116 | struct TextWrite: public std::unary_function - | ^~~~~~~~~~~~~~ -/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 NewHighScoreState.cxx:28: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-TournamentMenuState.o `test -f 'TournamentMenuState.cxx' || echo './'`TournamentMenuState.cxx -In file included from PauseState.cxx:24: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/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 - | ^~~~~~~~~~~~~~~ -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'}; - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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, @@ -3336,6 +3262,7 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-Sound.o `test -f 'Sound.cxx' || echo './'`Sound.cxx NormalSetupState.cxx: In member function 'void Amoebax::NormalSetupState::loadGraphicResources()': NormalSetupState.cxx:164:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 164 | std::auto_ptr kim (Surface::fromFile ( @@ -3351,50 +3278,65 @@ | ^~~~~~~~ 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 IPlayer.h:23, - from Options.h:24, - from PauseState.cxx:25: + 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; | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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; | ^~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from PauseState.cxx:26: -PauseState.h:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 128 | std::auto_ptr m_Background; +In file included from ControlSetupState.h:23, + from OptionsMenuState.cxx:25: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/istream:40, + from /usr/include/c++/13/sstream:40, + from OptionsMenuState.cxx:23: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 116 | struct TextWrite: public std::unary_function + | ^~~~~~~~~~~~~~ +/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; | ^~~~~~~~ -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; +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-System.o `test -f 'System.cxx' || echo './'`System.cxx +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 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; | ^~~~~~~~ -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; +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; @@ -3417,24 +3359,8 @@ /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: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/stdexcept:39, - from Surface.cxx:26: -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-TournamentSetupState.o `test -f 'TournamentSetupState.cxx' || echo './'`TournamentSetupState.cxx -In file included from PauseState.cxx:27: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-TournamentState.o `test -f 'TournamentState.cxx' || echo './'`TournamentState.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] @@ -3449,9 +3375,18 @@ /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; + | ^~~~~~~~ OptionsMenuState.h:374:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 374 | std::auto_ptr m_Font; | ^~~~~~~~ +In file included from /usr/include/c++/13/memory:78, + from Grid.h:23: +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ @@ -3567,33 +3502,22 @@ /usr/include/c++/13/bits/stl_function.h:1371:5: note: declared here 1371 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ -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 - | ^~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-TournamentState.o `test -f 'TournamentState.cxx' || echo './'`TournamentState.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-TrainingState.o `test -f 'TrainingState.cxx' || echo './'`TrainingState.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-TryAgainState.o `test -f 'TryAgainState.cxx' || echo './'`TryAgainState.cxx -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-TwoComputerPlayersState.o `test -f 'TwoComputerPlayersState.cxx' || echo './'`TwoComputerPlayersState.cxx -In file included from IState.h:24, - from FadeInState.h:22, - from System.cxx:41: +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; + | ^~~~~~~~ +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 /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 File.h:22, + from PauseState.cxx:23: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -3607,77 +3531,38 @@ 193 | std::auto_ptr m_FontSurface; | ^~~~~~~~ In file included from /usr/include/c++/13/memory:78, - from IState.h:22: -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -FadeInState.h:57:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 57 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from System.cxx:42: -FadeOutState.h:57:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 57 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from IPlayer.h:23, - from 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; - | ^~~~~~~~ + 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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-TrainingState.o `test -f 'TrainingState.cxx' || echo './'`TrainingState.cxx +In file included from Surface.cxx:28: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from /usr/include/c++/13/stdexcept:39, + from Surface.cxx:26: +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ In file included from IPlayer.h:23, from Options.h:24, - from TournamentMenuState.cxx: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; | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from IPlayer.h:22: -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; - | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-TryAgainState.o `test -f 'TryAgainState.cxx' || echo './'`TryAgainState.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 TournamentMenuState.h:23, - from TournamentMenuState.cxx:25: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/istream:40, - from /usr/include/c++/13/sstream:40, - from TournamentMenuState.cxx:22: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -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 System.cxx:46: +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; | ^~~~~~~~ @@ -3696,86 +3581,42 @@ /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; - | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-TwoPlayersState.o `test -f 'TwoPlayersState.cxx' || echo './'`TwoPlayersState.cxx -TournamentMenuState.h:59:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 59 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -TournamentMenuState.h:61:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 61 | std::auto_ptr m_Font; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -TournamentMenuState.h:63:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 63 | std::auto_ptr m_FontSelected; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from TournamentMenuState.cxx:26: -TournamentSetupState.h:63:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 63 | std::auto_ptr image; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -TournamentSetupState.h:106:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 106 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -TournamentSetupState.h:110:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 110 | std::auto_ptr m_Font; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -TournamentSetupState.h:122:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 122 | std::auto_ptr m_Selection; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-VersusState.o `test -f 'VersusState.cxx' || echo './'`VersusState.cxx -In file included from TournamentMenuState.cxx:27: +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 | ^~~~~~~~~~~~~~ -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 ( - | ^~~~~~~~ +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 System.cxx:47: +In file included from PauseState.cxx:27: System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 49 | struct DeleteObject: std::unary_function | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from System.cxx:48: -VideoErrorState.h:55:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 55 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-VideoErrorState.o `test -f 'VideoErrorState.cxx' || echo './'`VideoErrorState.cxx +In file included from PairGenerator.cxx:27: +PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 45 | struct GeneratePair: public std::unary_function + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/functional:49, + from PairGenerator.cxx:24: +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-TwoComputerPlayersState.o `test -f 'TwoComputerPlayersState.cxx' || echo './'`TwoComputerPlayersState.cxx In file included from IPlayer.h:23, from AIPlayerFactory.h:23, from TournamentState.cxx:24: @@ -3787,23 +3628,6 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from IPlayer.h:23, - from AIPlayerFactory.h:23, - from TwoComputerPlayersState.cxx:24: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from IPlayer.h:22: -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 165 | std::auto_ptr m_Grid; - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 165 | std::auto_ptr m_Grid; | ^~~~~~~~ @@ -3811,6 +3635,28 @@ 65 | template class auto_ptr; | ^~~~~~~~ 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 + | ^~~~~~~~~~~~~~ +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] @@ -3835,9 +3681,18 @@ 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; + | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-TwoPlayersState.o `test -f 'TwoPlayersState.cxx' || echo './'`TwoPlayersState.cxx 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; | ^~~~~~~~ @@ -3847,13 +3702,22 @@ 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; | ^~~~~~~~ +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; + | ^~~~~~~~ +/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 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 TryAgainState.cxx:24: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function @@ -3867,16 +3731,6 @@ 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/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 - | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ @@ -3890,33 +3744,115 @@ | ^~~~~~~~ In file included from IPlayer.h:23, from Options.h:24, - from TryAgainState.cxx:25: + from TournamentMenuState.cxx:24: Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 227 | std::auto_ptr m_DieSound; | ^~~~~~~~ +In file included from /usr/include/c++/13/memory:78, + from IPlayer.h:22: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from TrainingState.cxx:27: -DrawAmoeba.h:35:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 35 | struct DrawAmoeba: public std::unary_function - | ^~~~~~~~~~~~~~ +IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 165 | std::auto_ptr m_Grid; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +In file included from TournamentMenuState.h:23, + from TournamentMenuState.cxx:25: +Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 68 | public std::binary_function + | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, from /usr/include/c++/13/bits/locale_classes.h:40, from /usr/include/c++/13/bits/ios_base.h:41, from /usr/include/c++/13/ios:44, from /usr/include/c++/13/istream:40, from /usr/include/c++/13/sstream:40, - from TrainingState.cxx:25: + from TournamentMenuState.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; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +In file included from IPlayer.h:23, + from Options.h:24, + from TryAgainState.cxx:25: +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; + | ^~~~~~~~ +TournamentMenuState.h:59:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 59 | std::auto_ptr m_Background; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TournamentMenuState.h:61:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 61 | std::auto_ptr m_Font; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TournamentMenuState.h:63:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 63 | std::auto_ptr m_FontSelected; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +In file included from TournamentMenuState.cxx:26: +TournamentSetupState.h:63:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 63 | std::auto_ptr image; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TournamentSetupState.h:106:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 106 | std::auto_ptr m_Background; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TournamentSetupState.h:110:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 110 | std::auto_ptr m_Font; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TournamentSetupState.h:122:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 122 | std::auto_ptr m_Selection; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +In file included from 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; + | ^~~~~~~~ IPlayer.h:165:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 165 | std::auto_ptr m_Grid; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ +/usr/include/c++/13/bits/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; @@ -3936,65 +3872,39 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from TwoComputerPlayersState.cxx:27: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -In file included from /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 - | ^~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-VersusState.o `test -f 'VersusState.cxx' || echo './'`VersusState.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 TournamentState.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 System.cxx:46: +PauseState.h:128:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 128 | std::auto_ptr m_Background; + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +PauseState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 130 | std::auto_ptr m_Font; + | ^~~~~~~~ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from IState.h:24, - from TwoComputerPlayersState.h:24, - from TwoComputerPlayersState.cxx:28: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -Font.h:116:43: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 116 | struct TextWrite: public std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -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 VersusState.cxx:23: -Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 68 | public std::binary_function - | ^~~~~~~~~~~~~~~ -TwoComputerPlayersState.h:66:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 66 | std::auto_ptr m_Background; +PauseState.h:132:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 132 | std::auto_ptr m_FontSelected; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from /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 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; @@ -4026,13 +3936,7 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TwoComputerPlayersState.cxx: In member function 'void Amoebax::TwoComputerPlayersState::loadGraphicsResources()': -TwoComputerPlayersState.cxx:187:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 187 | std::auto_ptr winner ( - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DDATADIR=\"/usr/share/games/amoebax\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/amoebax-0.2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -c -o amoebax-VideoErrorState.o `test -f 'VideoErrorState.cxx' || echo './'`VideoErrorState.cxx 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; @@ -4045,41 +3949,6 @@ PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 45 | struct GeneratePair: public std::unary_function | ^~~~~~~~~~~~~~ -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; - | ^~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -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; - | ^~~~~~~~ -Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 193 | std::auto_ptr m_FontSurface; - | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from Font.h:25: -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from IState.h:24, - from TournamentSetupState.h:24, - from TournamentSetupState.cxx:25: -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 | ^~~~~~~~~~~~~~ @@ -4174,11 +4043,83 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 193 | std::auto_ptr m_FontSurface; +TournamentState.cxx: In member function 'void Amoebax::TournamentState::loadGraphicResources()': +TournamentState.cxx:436:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 436 | std::auto_ptr grid ( + | ^~~~~~~~ +/usr/include/c++/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 + | ^~~~~~~~~~~~~~ +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; + | ^~~~~~~~ +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 + | ^~~~~~~~~~~~~~ +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 + | ^~~~~~~~~~~~~~ +In file included from System.cxx:47: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +In file included from 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; | ^~~~~~~~ -In file included from DrawChainLabel.h:25, - from TrainingState.cxx:28: +/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 AIPlayerFactory.h:23, + from TwoComputerPlayersState.cxx:24: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ +In file included from /usr/include/c++/13/memory:78, + from IPlayer.h:22: +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +In file included from IState.h:24, + from TournamentSetupState.h:24, + from TournamentSetupState.cxx:25: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function | ^~~~~~~~~~~~~~~ @@ -4199,27 +4140,15 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TournamentState.cxx: In member function 'void Amoebax::TournamentState::loadGraphicResources()': -TournamentState.cxx:436:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 436 | std::auto_ptr grid ( - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from Font.h:25: +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; | ^~~~~~~~ -DrawChainLabel.h:37:40: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 37 | struct DrawChainLabel: public std::unary_function - | ^~~~~~~~~~~~~~ TournamentSetupState.h:63:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 63 | std::auto_ptr image; | ^~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ @@ -4241,30 +4170,21 @@ /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 - | ^~~~~~~~~~~~~~ +In file included from TrainingState.cxx:27: +DrawAmoeba.h:35:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 35 | struct DrawAmoeba: public std::unary_function + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/istream:40, + from /usr/include/c++/13/sstream:40, + from TrainingState.cxx:25: /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from IPlayer.h:23, - from HumanPlayer.h:22, - from TrainingState.cxx:30: -Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 227 | std::auto_ptr m_DieSound; - | ^~~~~~~~ -/usr/include/c++/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 IMatchObserver.h:22, from TournamentState.h:22, from TournamentSetupState.cxx:26: @@ -4280,29 +4200,18 @@ /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 VersusState.cxx:24: +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 | ^~~~~~~~~~~~~~ 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; | ^~~~~~~~ -In file included from TrainingState.cxx:31: -NewHighScoreState.h:76:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 76 | std::auto_ptr m_Background; - | ^~~~~~~~ -/usr/include/c++/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; | ^~~~~~~~ @@ -4312,37 +4221,33 @@ /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; - | ^~~~~~~~ TournamentState.h:120:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 120 | std::auto_ptr m_Faces; | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -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; +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 + | ^~~~~~~~~~~~~~ +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.cxx:33: -System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct DeleteObject: std::unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ TournamentState.h:130:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 130 | std::auto_ptr m_SoundLose; | ^~~~~~~~ @@ -4355,23 +4260,28 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -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; +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.h:61:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 61 | std::auto_ptr m_BackgroundMusic; - | ^~~~~~~~ +TwoComputerPlayersState.cxx: 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: 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 ( - | ^~~~~~~~ +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; | ^~~~~~~~ @@ -4382,42 +4292,99 @@ /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 ( +TournamentSetupState.cxx:413:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 413 | std::auto_ptr title ( | ^~~~~~~~ /usr/include/c++/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 ( +TournamentSetupState.cxx:421:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 421 | std::auto_ptr title ( | ^~~~~~~~ -TournamentSetupState.cxx:413:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 413 | std::auto_ptr title ( +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +TournamentSetupState.cxx:429:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 429 | std::auto_ptr title ( | ^~~~~~~~ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ +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; + | ^~~~~~~~ +In file included from /usr/include/c++/13/memory:78, + from Font.h:25: /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -TournamentSetupState.cxx:421:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 421 | std::auto_ptr title ( - | ^~~~~~~~ +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 IPlayer.h:23, + from HumanPlayer.h:22, + from TrainingState.cxx:30: +Grid.h:227:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 227 | std::auto_ptr m_DieSound; + | ^~~~~~~~ /usr/include/c++/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 ( - | ^~~~~~~~ +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; | ^~~~~~~~ -TournamentSetupState.cxx:429:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 429 | std::auto_ptr title ( - | ^~~~~~~~ +In file included from TrainingState.cxx:31: +NewHighScoreState.h:76:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 76 | std::auto_ptr m_Background; + | ^~~~~~~~ /usr/include/c++/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 TrainingState.cxx:33: +System.h:49:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct DeleteObject: std::unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ In file included from TrainingState.h:24, from TrainingState.cxx:34: PairGenerator.h:45:46: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] @@ -4517,13 +4484,13 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from VideoErrorState.cxx:23: +In file included from VersusState.cxx:23: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 68 | public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, from File.h:22, - from VideoErrorState.cxx:22: + from VersusState.cxx:22: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -4533,35 +4500,6 @@ /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; - | ^~~~~~~~ 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 @@ -4576,6 +4514,14 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +Font.h:193:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 193 | std::auto_ptr m_FontSurface; + | ^~~~~~~~ +In file included from /usr/include/c++/13/memory:78, + from Font.h:25: +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ In file included from DrawChainLabel.h:25, from TwoPlayersState.cxx:28: Font.h:68:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] @@ -4604,6 +4550,30 @@ /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 + | ^~~~~~~~~~~~~~~ +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, @@ -4614,12 +4584,57 @@ /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 + | ^~~~~~~~~~~~~~ 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 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; + | ^~~~~~~~ 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; | ^~~~~~~~ @@ -4732,6 +4747,27 @@ /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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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' @@ -5007,9 +5043,9 @@ dh_gencontrol dh_md5sums dh_builddeb +dpkg-deb: building package 'amoebax-dbgsym' in '../amoebax-dbgsym_0.2.1+dfsg-6_amd64.deb'. dpkg-deb: building package 'amoebax' in '../amoebax_0.2.1+dfsg-6_amd64.deb'. dpkg-deb: building package 'amoebax-data' in '../amoebax-data_0.2.1+dfsg-6_all.deb'. -dpkg-deb: building package 'amoebax-dbgsym' in '../amoebax-dbgsym_0.2.1+dfsg-6_amd64.deb'. dpkg-genbuildinfo --build=binary -O../amoebax_0.2.1+dfsg-6_amd64.buildinfo dpkg-genchanges --build=binary -O../amoebax_0.2.1+dfsg-6_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -5017,12 +5053,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/4000958/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4000958/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/3185716 and its subdirectories -I: Current time: Tue May 7 07:58:44 -12 2024 -I: pbuilder-time-stamp: 1715111924 +I: removing directory /srv/workspace/pbuilder/4000958 and its subdirectories +I: Current time: Tue Jun 10 16:24:31 +14 2025 +I: pbuilder-time-stamp: 1749522271