Diff of the two buildlogs: -- --- b1/build.log 2024-05-07 20:54:26.757208647 +0000 +++ b2/build.log 2024-05-07 20:55:13.155233400 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue May 7 08:52:59 -12 2024 -I: pbuilder-time-stamp: 1715115179 +I: Current time: Tue Jun 10 17:17:28 +14 2025 +I: pbuilder-time-stamp: 1749525448 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying dirname-agnostic-2.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/4058008/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/816453/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 10 03:17 /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/816453/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/816453/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' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="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=42 ' + 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='64976b33c4ac4a8aba3e007c1b35db1b' - 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='4058008' - PS1='# ' - PS2='> ' + INVOCATION_ID=f882c434117846aa9eb00ca4017b0722 + 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=816453 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.zmbC75tH/pbuilderrc_gYgo --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.zmbC75tH/b1 --logfile b1/build.log hoichess_0.22.0-3.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.zmbC75tH/pbuilderrc_haBw --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.zmbC75tH/b2 --logfile b2/build.log hoichess_0.22.0-3.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-21-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 7 07:42 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/4058008/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 9 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/816453/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -153,7 +185,7 @@ Get: 34 http://deb.debian.org/debian unstable/main amd64 libreadline8t64 amd64 8.2-4 [167 kB] Get: 35 http://deb.debian.org/debian unstable/main amd64 libreadline-dev amd64 8.2-4 [152 kB] Get: 36 http://deb.debian.org/debian unstable/main amd64 pgn-extract amd64 19.04-1 [141 kB] -Fetched 20.0 MB in 0s (57.2 MB/s) +Fetched 20.0 MB in 0s (87.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package readline-common. (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.) @@ -316,7 +348,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/hoichess-0.22.0/ && 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 > ../hoichess_0.22.0-3_source.changes +I: user script /srv/workspace/pbuilder/816453/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/816453/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/hoichess-0.22.0/ && 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 > ../hoichess_0.22.0-3_source.changes dpkg-buildpackage: info: source package hoichess dpkg-buildpackage: info: source version 0.22.0-3 dpkg-buildpackage: info: source distribution unstable @@ -326,7 +362,7 @@ debian/rules clean dh clean dh_auto_clean - make -j20 clean + make -j42 clean make[1]: Entering directory '/build/reproducible-path/hoichess-0.22.0' make -C src clean make[2]: Entering directory '/build/reproducible-path/hoichess-0.22.0/src' @@ -350,7 +386,7 @@ make[1]: Entering directory '/build/reproducible-path/hoichess-0.22.0' cp /usr/share/pgn-extract/eco.pgn ./book/hoichess-book.pgn dh_auto_build - make -j20 "INSTALL=install --strip-program=true" + make -j42 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/reproducible-path/hoichess-0.22.0' make -C src all make -C book @@ -358,49 +394,72 @@ pod2html --title "HoiChess" hoichess.6.pod > hoichess.6.html make[3]: Entering directory '/build/reproducible-path/hoichess-0.22.0/src' m4 -D DATADIR=/usr/share/games/hoichess hoichess.rc.m4 > hoichess.rc -m4 -D DATADIR=/usr/share/games/hoichess hoixiangqi.rc.m4 > hoixiangqi.rc make[3]: Entering directory '/build/reproducible-path/hoichess-0.22.0/book' +m4 -D DATADIR=/usr/share/games/hoichess hoixiangqi.rc.m4 > hoixiangqi.rc make -C ../src CXX="g++" CXXFLAGS+="-W -Wall -O2" BUILDDIR="../build/host/" all-hoichess make[4]: Entering directory '/build/reproducible-path/hoichess-0.22.0/src' mkdir -p ../build/x86_64-linux-gnu/ CXX="g++" CXXFLAGS="-g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DDATA_DIR='"/usr/share/games/hoichess"'" build/configure.sh ../build/x86_64-linux-gnu -Checking if getopt_long is available...mkdir -p ../build/host// -CXX="g++" CXXFLAGS="-g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DDATA_DIR='"/usr/share/games/hoichess"'" build/configure.sh ../build/host/ +mkdir -p ../build/host// +Checking if getopt_long is available...CXX="g++" CXXFLAGS="-g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DDATA_DIR='"/usr/share/games/hoichess"'" build/configure.sh ../build/host/ Checking if getopt_long is available...yes Checking if pthread is available...yes Checking if pthread is available...yes +Checking if readline is available...yes +Checking if readline is available...no +no +Checking if snprintf is available...Checking if snprintf is available...yes yes -Checking if readline is available...Checking if readline is available...no -Checking if snprintf is available...no -Checking if snprintf is available...yes -Checking if strtok_r is available...yes -Checking if strtok_r is available...yes +Checking if strtok_r is available...Checking if strtok_r is available...yes yes +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/debug.o -MD -MF ../build/host//build-hoichess/debug.d -c -o ../build/host//build-hoichess/debug.o debug.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/init.o -MD -MF ../build/host//build-hoichess/init.d -c -o ../build/host//build-hoichess/init.o init.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/debug.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/debug.d -c -o ../build/x86_64-linux-gnu/build-hoichess/debug.o debug.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/main.o -MD -MF ../build/host//build-hoichess/main.d -c -o ../build/host//build-hoichess/main.o main.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/init.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/init.d -c -o ../build/x86_64-linux-gnu/build-hoichess/init.o init.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/uint64_table.o -MD -MF ../build/host//build-hoichess/uint64_table.d -c -o ../build/host//build-hoichess/uint64_table.o uint64_table.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/main.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/main.d -c -o ../build/x86_64-linux-gnu/build-hoichess/main.o main.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/uint64_table.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/uint64_table.d -c -o ../build/x86_64-linux-gnu/build-hoichess/uint64_table.o uint64_table.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/util.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/util.d -c -o ../build/x86_64-linux-gnu/build-hoichess/util.o util.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/util.o -MD -MF ../build/host//build-hoichess/util.d -c -o ../build/host//build-hoichess/util.o util.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/version.o -MD -MF ../build/host//build-hoichess/version.d -c -o ../build/host//build-hoichess/version.o version.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/book.o -MD -MF ../build/host//build-hoichess/common/book.d -c -o ../build/host//build-hoichess/common/book.o common/book.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/version.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/version.d -c -o ../build/x86_64-linux-gnu/build-hoichess/version.o version.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/clock.o -MD -MF ../build/host//build-hoichess/common/clock.d -c -o ../build/host//build-hoichess/common/clock.o common/clock.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/common/book.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/common/book.d -c -o ../build/x86_64-linux-gnu/build-hoichess/common/book.o common/book.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/debug.o -MD -MF ../build/host//build-hoichess/debug.d -c -o ../build/host//build-hoichess/debug.o debug.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/common/clock.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/common/clock.d -c -o ../build/x86_64-linux-gnu/build-hoichess/common/clock.o common/clock.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/common/epd.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/common/epd.d -c -o ../build/x86_64-linux-gnu/build-hoichess/common/epd.o common/epd.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/epd.o -MD -MF ../build/host//build-hoichess/common/epd.d -c -o ../build/host//build-hoichess/common/epd.o common/epd.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/eval.o -MD -MF ../build/host//build-hoichess/common/eval.d -c -o ../build/host//build-hoichess/common/eval.o common/eval.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/common/eval.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/common/eval.d -c -o ../build/x86_64-linux-gnu/build-hoichess/common/eval.o common/eval.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/evalcache.o -MD -MF ../build/host//build-hoichess/common/evalcache.d -c -o ../build/host//build-hoichess/common/evalcache.o common/evalcache.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/common/evalcache.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/common/evalcache.d -c -o ../build/x86_64-linux-gnu/build-hoichess/common/evalcache.o common/evalcache.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/common/game.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/common/game.d -c -o ../build/x86_64-linux-gnu/build-hoichess/common/game.o common/game.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/common/hash.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/common/hash.d -c -o ../build/x86_64-linux-gnu/build-hoichess/common/hash.o common/hash.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/game.o -MD -MF ../build/host//build-hoichess/common/game.d -c -o ../build/host//build-hoichess/common/game.o common/game.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/hash.o -MD -MF ../build/host//build-hoichess/common/hash.d -c -o ../build/host//build-hoichess/common/hash.o common/hash.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/movelist.o -MD -MF ../build/host//build-hoichess/common/movelist.d -c -o ../build/host//build-hoichess/common/movelist.o common/movelist.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/node.o -MD -MF ../build/host//build-hoichess/common/node.d -c -o ../build/host//build-hoichess/common/node.o common/node.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/common/movelist.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/common/movelist.d -c -o ../build/x86_64-linux-gnu/build-hoichess/common/movelist.o common/movelist.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/pawnhash.o -MD -MF ../build/host//build-hoichess/common/pawnhash.d -c -o ../build/host//build-hoichess/common/pawnhash.o common/pawnhash.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/common/node.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/common/node.d -c -o ../build/x86_64-linux-gnu/build-hoichess/common/node.o common/node.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/common/pawnhash.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/common/pawnhash.d -c -o ../build/x86_64-linux-gnu/build-hoichess/common/pawnhash.o common/pawnhash.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/common/pgn.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/common/pgn.d -c -o ../build/x86_64-linux-gnu/build-hoichess/common/pgn.o common/pgn.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/pgn.o -MD -MF ../build/host//build-hoichess/common/pgn.d -c -o ../build/host//build-hoichess/common/pgn.o common/pgn.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/search.o -MD -MF ../build/host//build-hoichess/common/search.d -c -o ../build/host//build-hoichess/common/search.o common/search.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/search_util.o -MD -MF ../build/host//build-hoichess/common/search_util.d -c -o ../build/host//build-hoichess/common/search_util.o common/search_util.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/shell.o -MD -MF ../build/host//build-hoichess/common/shell.d -c -o ../build/host//build-hoichess/common/shell.o common/shell.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/common/search.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/common/search.d -c -o ../build/x86_64-linux-gnu/build-hoichess/common/search.o common/search.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/common/search_util.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/common/search_util.d -c -o ../build/x86_64-linux-gnu/build-hoichess/common/search_util.o common/search_util.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/shell_cmd.o -MD -MF ../build/host//build-hoichess/common/shell_cmd.d -c -o ../build/host//build-hoichess/common/shell_cmd.o common/shell_cmd.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/common/shell.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/common/shell.d -c -o ../build/x86_64-linux-gnu/build-hoichess/common/shell.o common/shell.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/shell_util.o -MD -MF ../build/host//build-hoichess/common/shell_util.d -c -o ../build/host//build-hoichess/common/shell_util.o common/shell_util.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/mutex.o -MD -MF ../build/host//build-hoichess/mutex.d -c -o ../build/host//build-hoichess/mutex.o mutex.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/common/shell_cmd.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/common/shell_cmd.d -c -o ../build/x86_64-linux-gnu/build-hoichess/common/shell_cmd.o common/shell_cmd.cc In file included from chess/bitboard.h:141, from chess/board.h:23, - from chess/eval.h:23, - from debug.cc:26: + from common/evalcache.h:23, + from common/evalcache.cc:21: chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 214 | Bitboard tmp = *this; @@ -442,122 +501,109 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::get_pawns(Color) const': -chess/board.h:113:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 113 | { return position[side][PAWN]; } - | ~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::get_knights(Color) const': -chess/board.h:116:39: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 116 | { return position[side][KNIGHT]; } - | ~~~~~~~~~~~~~~~~~~~~~^ +In file included from chess/bitboard.h:141, + from chess/board.h:23, + from common/pawnhash.h:23, + from common/pawnhash.cc:21: +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': +chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 214 | Bitboard tmp = *this; + | ^~~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::get_bishops(Color) const': -chess/board.h:119:39: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 119 | { return position[side][BISHOP]; } - | ~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 216 | return tmp; + | ^~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::get_rooks(Color) const': -chess/board.h:122:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 122 | { return position[side][ROOK]; } - | ~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': +chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::get_queens(Color) const': -chess/board.h:125:38: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 125 | { return position[side][QUEEN]; } - | ~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': +chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::get_kings(Color) const': -chess/board.h:128:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 128 | { return position[side][KING]; } - | ~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': +chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::get_pieces(Color) const': -chess/board.h:131:35: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 131 | { return position_all[side]; } - | ~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': +chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::get_blocker() const': -chess/board.h:134:18: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 134 | { return occupied; } - | ^~~~~~~~ +In file included from chess/bitboard.h:141, + from chess/board.h:23, + from chess/eval.h:23, + from common/eval.cc:21: +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': +chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 214 | Bitboard tmp = *this; + | ^~~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': -chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 335 | return (bb); - | ^ +chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 216 | return tmp; + | ^~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::pawn_noncaptures(Square, Color) const': -chess/board.h:350:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 350 | return (bb); - | ^ +In file included from chess/bitboard.h:141, + from chess/board.h:23, + from init.cc:22: +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': +chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 214 | Bitboard tmp = *this; + | ^~~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::knight_attacks(Square) const': -chess/board.h:355:49: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 355 | return (Bitboard::attack_bb[KNIGHT][from]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 216 | return tmp; + | ^~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': +chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::king_attacks(Square) const': -chess/board.h:375:47: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 375 | return (Bitboard::attack_bb[KING][from]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -In file included from chess/eval.h:25: -common/pawnhash.h: In member function 'Bitboard PawnHashEntry::get_passed(Color) const': -common/pawnhash.h:114:27: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 114 | return passed[side]; - | ~~~~~~~~~~~^ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': +chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/common/shell_cmd.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/common/shell_cmd.d -c -o ../build/x86_64-linux-gnu/build-hoichess/common/shell_cmd.o common/shell_cmd.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/init.o -MD -MF ../build/host//build-hoichess/init.d -c -o ../build/host//build-hoichess/init.o init.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/common/shell_util.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/common/shell_util.d -c -o ../build/x86_64-linux-gnu/build-hoichess/common/shell_util.o common/shell_util.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/mutex.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/mutex.d -c -o ../build/x86_64-linux-gnu/build-hoichess/mutex.o mutex.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/main.o -MD -MF ../build/host//build-hoichess/main.d -c -o ../build/host//build-hoichess/main.o main.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/uint64_table.o -MD -MF ../build/host//build-hoichess/uint64_table.d -c -o ../build/host//build-hoichess/uint64_table.o uint64_table.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/queue.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/queue.d -c -o ../build/x86_64-linux-gnu/build-hoichess/queue.o queue.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/util.o -MD -MF ../build/host//build-hoichess/util.d -c -o ../build/host//build-hoichess/util.o util.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/spinlock.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/spinlock.d -c -o ../build/x86_64-linux-gnu/build-hoichess/spinlock.o spinlock.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/version.o -MD -MF ../build/host//build-hoichess/version.d -c -o ../build/host//build-hoichess/version.o version.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/book.o -MD -MF ../build/host//build-hoichess/common/book.d -c -o ../build/host//build-hoichess/common/book.o common/book.cc -In file included from chess/bitboard.h:141, - from chess/board.h:23, - from init.cc:22: -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': -chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 214 | Bitboard tmp = *this; - | ^~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': +chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 216 | return tmp; - | ^~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': +chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ @@ -645,83 +691,6 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': -chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 335 | return (bb); - | ^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::pawn_noncaptures(Square, Color) const': -chess/board.h:350:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 350 | return (bb); - | ^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::knight_attacks(Square) const': -chess/board.h:355:49: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 355 | return (Bitboard::attack_bb[KNIGHT][from]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::king_attacks(Square) const': -chess/board.h:375:47: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 375 | return (Bitboard::attack_bb[KING][from]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/thread.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/thread.d -c -o ../build/x86_64-linux-gnu/build-hoichess/thread.o thread.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/common/parallelsearch.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/common/parallelsearch.d -c -o ../build/x86_64-linux-gnu/build-hoichess/common/parallelsearch.o common/parallelsearch.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/clock.o -MD -MF ../build/host//build-hoichess/common/clock.d -c -o ../build/host//build-hoichess/common/clock.o common/clock.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/epd.o -MD -MF ../build/host//build-hoichess/common/epd.d -c -o ../build/host//build-hoichess/common/epd.o common/epd.cc -In file included from chess/bitboard.h:141, - from chess/board.h:23, - from common/shell.h:23, - from main.cc:33: -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': -chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 214 | Bitboard tmp = *this; - | ^~~~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 216 | return tmp; - | ^~~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': -chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': -chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': -chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': -chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_pawns(Color) const': chess/board.h:113:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 113 | { return position[side][PAWN]; } @@ -785,88 +754,6 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::pawn_noncaptures(Square, Color) const': -chess/board.h:350:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 350 | return (bb); - | ^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::knight_attacks(Square) const': -chess/board.h:355:49: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 355 | return (Bitboard::attack_bb[KNIGHT][from]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::king_attacks(Square) const': -chess/board.h:375:47: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 375 | return (Bitboard::attack_bb[KING][from]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/chess/basic.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/chess/basic.d -c -o ../build/x86_64-linux-gnu/build-hoichess/chess/basic.o chess/basic.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/chess/bitboard.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/chess/bitboard.d -c -o ../build/x86_64-linux-gnu/build-hoichess/chess/bitboard.o chess/bitboard.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/eval.o -MD -MF ../build/host//build-hoichess/common/eval.d -c -o ../build/host//build-hoichess/common/eval.o common/eval.cc -In file included from chess/eval.h:25, - from common/search.h:25, - from common/shell.h:28: -common/pawnhash.h: In member function 'Bitboard PawnHashEntry::get_passed(Color) const': -common/pawnhash.h:114:27: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 114 | return passed[side]; - | ~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/evalcache.o -MD -MF ../build/host//build-hoichess/common/evalcache.d -c -o ../build/host//build-hoichess/common/evalcache.o common/evalcache.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/chess/bitboard_rotated.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/chess/bitboard_rotated.d -c -o ../build/x86_64-linux-gnu/build-hoichess/chess/bitboard_rotated.o chess/bitboard_rotated.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/chess/board.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/chess/board.d -c -o ../build/x86_64-linux-gnu/build-hoichess/chess/board.o chess/board.cc -In file included from chess/bitboard.h:141, - from chess/board.h:23, - from common/epd.h:23, - from common/epd.cc:21: -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': -chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 214 | Bitboard tmp = *this; - | ^~~~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 216 | return tmp; - | ^~~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': -chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': -chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': -chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': -chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_pawns(Color) const': chess/board.h:113:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 113 | { return position[side][PAWN]; } @@ -899,6 +786,20 @@ chess/board.h:125:38: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 125 | { return position[side][QUEEN]; } | ~~~~~~~~~~~~~~~~~~~~^ +chess/board.h: In member function 'Bitboard Board::pawn_noncaptures(Square, Color) const': +chess/board.h:350:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 350 | return (bb); + | ^ +chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': +chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 335 | return (bb); + | ^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ @@ -913,6 +814,13 @@ chess/board.h:131:35: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 131 | { return position_all[side]; } | ~~~~~~~~~~~~~~~~~^ +chess/board.h: In member function 'Bitboard Board::knight_attacks(Square) const': +chess/board.h:355:49: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 355 | return (Bitboard::attack_bb[KNIGHT][from]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ @@ -923,13 +831,6 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': -chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 335 | return (bb); - | ^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::pawn_noncaptures(Square, Color) const': chess/board.h:350:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 350 | return (bb); @@ -937,13 +838,6 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::knight_attacks(Square) const': -chess/board.h:355:49: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 355 | return (Bitboard::attack_bb[KNIGHT][from]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::king_attacks(Square) const': chess/board.h:375:47: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 375 | return (Bitboard::attack_bb[KING][from]); @@ -951,49 +845,10 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/chess/board_attack.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/chess/board_attack.d -c -o ../build/x86_64-linux-gnu/build-hoichess/chess/board_attack.o chess/board_attack.cc -In file included from chess/bitboard.h:141, - from chess/board.h:23, - from chess/eval.h:23, - from common/eval.cc:21: -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': -chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 214 | Bitboard tmp = *this; - | ^~~~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 216 | return tmp; - | ^~~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': -chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': -chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': -chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': -chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/board.h: In member function 'Bitboard Board::knight_attacks(Square) const': +chess/board.h:355:49: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 355 | return (Bitboard::attack_bb[KNIGHT][from]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ @@ -1022,6 +877,24 @@ chess/board.h:122:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 122 | { return position[side][ROOK]; } | ~~~~~~~~~~~~~~~~~~~^ +chess/board.h: In member function 'Bitboard Board::king_attacks(Square) const': +chess/board.h:375:47: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 375 | return (Bitboard::attack_bb[KING][from]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +In file included from chess/bitboard.h:141, + from chess/board.h:23, + from common/game.h:23, + from common/game.cc:21: +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': +chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 214 | Bitboard tmp = *this; + | ^~~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ @@ -1032,6 +905,19 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': +chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 335 | return (bb); + | ^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 216 | return tmp; + | ^~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_kings(Color) const': chess/board.h:128:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 128 | { return position[side][KING]; } @@ -1046,6 +932,17 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +In file included from chess/bitboard.h:141, + from chess/board.h:23, + from common/epd.h:23, + from common/epd.cc:21: +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': +chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 214 | Bitboard tmp = *this; + | ^~~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_blocker() const': chess/board.h:134:18: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 134 | { return occupied; } @@ -1053,10 +950,9 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': -chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 335 | return (bb); - | ^ +chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 216 | return tmp; + | ^~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ @@ -1074,42 +970,31 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::king_attacks(Square) const': -chess/board.h:375:47: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 375 | return (Bitboard::attack_bb[KING][from]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': +chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -In file included from chess/eval.h:25: common/pawnhash.h: In member function 'Bitboard PawnHashEntry::get_passed(Color) const': common/pawnhash.h:114:27: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 114 | return passed[side]; | ~~~~~~~~~~~^ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': +chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -In file included from chess/bitboard.h:141, - from chess/board.h:23, - from common/book.h:23, - from common/book.cc:32: -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': -chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 214 | Bitboard tmp = *this; - | ^~~~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 216 | return tmp; - | ^~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': -chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': +chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ @@ -1120,6 +1005,27 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::king_attacks(Square) const': +chess/board.h:375:47: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 375 | return (Bitboard::attack_bb[KING][from]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': +chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 335 | return (bb); + | ^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': +chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; @@ -1134,95 +1040,106 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/chess/board_generate.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/chess/board_generate.d -c -o ../build/x86_64-linux-gnu/build-hoichess/chess/board_generate.o chess/board_generate.cc -chess/board.h: In member function 'Bitboard Board::get_pawns(Color) const': -chess/board.h:113:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 113 | { return position[side][PAWN]; } - | ~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': +chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::get_knights(Color) const': -chess/board.h:116:39: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 116 | { return position[side][KNIGHT]; } - | ~~~~~~~~~~~~~~~~~~~~~^ +chess/board.h: In member function 'Bitboard Board::pawn_noncaptures(Square, Color) const': +chess/board.h:350:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 350 | return (bb); + | ^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::get_bishops(Color) const': -chess/board.h:119:39: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 119 | { return position[side][BISHOP]; } - | ~~~~~~~~~~~~~~~~~~~~~^ +chess/board.h: In member function 'Bitboard Board::knight_attacks(Square) const': +chess/board.h:355:49: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 355 | return (Bitboard::attack_bb[KNIGHT][from]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::get_rooks(Color) const': -chess/board.h:122:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 122 | { return position[side][ROOK]; } - | ~~~~~~~~~~~~~~~~~~~^ +chess/board.h: In member function 'Bitboard Board::king_attacks(Square) const': +chess/board.h:375:47: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 375 | return (Bitboard::attack_bb[KING][from]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +In file included from chess/eval.h:25: +common/pawnhash.h: In member function 'Bitboard PawnHashEntry::get_passed(Color) const': +common/pawnhash.h:114:27: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 114 | return passed[side]; + | ~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::get_queens(Color) const': -chess/board.h:125:38: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 125 | { return position[side][QUEEN]; } - | ~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::get_kings(Color) const': -chess/board.h:128:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 128 | { return position[side][KING]; } - | ~~~~~~~~~~~~~~~~~~~^ +In file included from chess/bitboard.h:141, + from chess/board.h:23, + from common/movelist.cc:21: +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': +chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 214 | Bitboard tmp = *this; + | ^~~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::get_pieces(Color) const': -chess/board.h:131:35: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 131 | { return position_all[side]; } - | ~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 216 | return tmp; + | ^~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::get_blocker() const': -chess/board.h:134:18: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 134 | { return occupied; } - | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': +chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': -chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 335 | return (bb); - | ^ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': +chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::pawn_noncaptures(Square, Color) const': -chess/board.h:350:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 350 | return (bb); - | ^ +In file included from chess/bitboard.h:141, + from chess/board.h:23, + from chess/eval.h:23, + from debug.cc:26: +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': +chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 214 | Bitboard tmp = *this; + | ^~~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::knight_attacks(Square) const': -chess/board.h:355:49: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 355 | return (Bitboard::attack_bb[KNIGHT][from]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 216 | return tmp; + | ^~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::king_attacks(Square) const': -chess/board.h:375:47: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 375 | return (Bitboard::attack_bb[KING][from]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': +chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': +chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ In file included from chess/bitboard.h:141, from chess/board.h:23, - from common/evalcache.h:23, - from common/evalcache.cc:21: + from common/hash.cc:21: chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 214 | Bitboard tmp = *this; @@ -1247,6 +1164,34 @@ chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': +chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': +chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': +chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': +chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ @@ -1320,49 +1265,45 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': -chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 335 | return (bb); - | ^ +chess/board.h: In member function 'Bitboard Board::get_pawns(Color) const': +chess/board.h:113:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 113 | { return position[side][PAWN]; } + | ~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::pawn_noncaptures(Square, Color) const': -chess/board.h:350:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 350 | return (bb); - | ^ +chess/board.h: In member function 'Bitboard Board::get_knights(Color) const': +chess/board.h:116:39: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 116 | { return position[side][KNIGHT]; } + | ~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::knight_attacks(Square) const': -chess/board.h:355:49: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 355 | return (Bitboard::attack_bb[KNIGHT][from]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +chess/board.h: In member function 'Bitboard Board::get_bishops(Color) const': +chess/board.h:119:39: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 119 | { return position[side][BISHOP]; } + | ~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::king_attacks(Square) const': -chess/board.h:375:47: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 375 | return (Bitboard::attack_bb[KING][from]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +chess/board.h: In member function 'Bitboard Board::get_rooks(Color) const': +chess/board.h:122:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 122 | { return position[side][ROOK]; } + | ~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::get_queens(Color) const': +chess/board.h:125:38: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 125 | { return position[side][QUEEN]; } + | ~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/chess/board_init.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/chess/board_init.d -c -o ../build/x86_64-linux-gnu/build-hoichess/chess/board_init.o chess/board_init.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/game.o -MD -MF ../build/host//build-hoichess/common/game.d -c -o ../build/host//build-hoichess/common/game.o common/game.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/chess/board_util.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/chess/board_util.d -c -o ../build/x86_64-linux-gnu/build-hoichess/chess/board_util.o chess/board_util.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/hash.o -MD -MF ../build/host//build-hoichess/common/hash.d -c -o ../build/host//build-hoichess/common/hash.o common/hash.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/movelist.o -MD -MF ../build/host//build-hoichess/common/movelist.d -c -o ../build/host//build-hoichess/common/movelist.o common/movelist.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/node.o -MD -MF ../build/host//build-hoichess/common/node.d -c -o ../build/host//build-hoichess/common/node.o common/node.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/chess/eval.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/chess/eval.d -c -o ../build/x86_64-linux-gnu/build-hoichess/chess/eval.o chess/eval.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/pawnhash.o -MD -MF ../build/host//build-hoichess/common/pawnhash.d -c -o ../build/host//build-hoichess/common/pawnhash.o common/pawnhash.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/chess/move.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/chess/move.d -c -o ../build/x86_64-linux-gnu/build-hoichess/chess/move.o chess/move.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/pgn.o -MD -MF ../build/host//build-hoichess/common/pgn.d -c -o ../build/host//build-hoichess/common/pgn.o common/pgn.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/debug.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/debug.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/debug.o debug.cc In file included from chess/bitboard.h:141, from chess/board.h:23, - from common/game.h:23, - from common/game.cc:21: + from chess/eval.h:23, + from common/node.cc:21: chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 214 | Bitboard tmp = *this; @@ -1370,12 +1311,40 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::get_kings(Color) const': +chess/board.h:128:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 128 | { return position[side][KING]; } + | ~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 216 | return tmp; | ^~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::get_pieces(Color) const': +chess/board.h:131:35: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 131 | { return position_all[side]; } + | ~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::get_blocker() const': +chess/board.h:134:18: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 134 | { return occupied; } + | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': +chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 335 | return (bb); + | ^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; @@ -1383,6 +1352,13 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::pawn_noncaptures(Square, Color) const': +chess/board.h:350:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 350 | return (bb); + | ^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; @@ -1390,6 +1366,13 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::knight_attacks(Square) const': +chess/board.h:355:49: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 355 | return (Bitboard::attack_bb[KNIGHT][from]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; @@ -1397,6 +1380,13 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': +chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 335 | return (bb); + | ^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; @@ -1404,6 +1394,20 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::king_attacks(Square) const': +chess/board.h:375:47: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 375 | return (Bitboard::attack_bb[KING][from]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::pawn_noncaptures(Square, Color) const': +chess/board.h:350:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 350 | return (bb); + | ^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_pawns(Color) const': chess/board.h:113:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 113 | { return position[side][PAWN]; } @@ -1418,6 +1422,13 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::knight_attacks(Square) const': +chess/board.h:355:49: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 355 | return (Bitboard::attack_bb[KNIGHT][from]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_bishops(Color) const': chess/board.h:119:39: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 119 | { return position[side][BISHOP]; } @@ -1446,6 +1457,10 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::king_attacks(Square) const': +chess/board.h:375:47: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 375 | return (Bitboard::attack_bb[KING][from]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ chess/board.h: In member function 'Bitboard Board::get_pieces(Color) const': chess/board.h:131:35: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 131 | { return position_all[side]; } @@ -1453,6 +1468,9 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_blocker() const': chess/board.h:134:18: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 134 | { return occupied; } @@ -1460,79 +1478,69 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': -chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 335 | return (bb); - | ^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::pawn_noncaptures(Square, Color) const': -chess/board.h:350:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 350 | return (bb); - | ^ +chess/board.h: In member function 'Bitboard Board::get_pawns(Color) const': +chess/board.h:113:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 113 | { return position[side][PAWN]; } + | ~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::knight_attacks(Square) const': -chess/board.h:355:49: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 355 | return (Bitboard::attack_bb[KNIGHT][from]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +chess/board.h: In member function 'Bitboard Board::get_knights(Color) const': +chess/board.h:116:39: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 116 | { return position[side][KNIGHT]; } + | ~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::king_attacks(Square) const': -chess/board.h:375:47: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 375 | return (Bitboard::attack_bb[KING][from]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +chess/board.h: In member function 'Bitboard Board::get_bishops(Color) const': +chess/board.h:119:39: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 119 | { return position[side][BISHOP]; } + | ~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -In file included from chess/bitboard.h:141, - from chess/board.h:23, - from common/hash.cc:21: -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': -chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 214 | Bitboard tmp = *this; - | ^~~~ +chess/board.h: In member function 'Bitboard Board::get_rooks(Color) const': +chess/board.h:122:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 122 | { return position[side][ROOK]; } + | ~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 216 | return tmp; - | ^~~ +chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': +chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 335 | return (bb); + | ^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': -chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/board.h: In member function 'Bitboard Board::get_queens(Color) const': +chess/board.h:125:38: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 125 | { return position[side][QUEEN]; } + | ~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': -chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/board.h: In member function 'Bitboard Board::get_kings(Color) const': +chess/board.h:128:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 128 | { return position[side][KING]; } + | ~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': -chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/board.h: In member function 'Bitboard Board::get_pieces(Color) const': +chess/board.h:131:35: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 131 | { return position_all[side]; } + | ~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': -chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/board.h: In member function 'Bitboard Board::get_blocker() const': +chess/board.h:134:18: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 134 | { return occupied; } + | ^~~~~~~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/init.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/init.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/init.o init.cc chess/board.h: In member function 'Bitboard Board::get_pawns(Color) const': chess/board.h:113:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 113 | { return position[side][PAWN]; } @@ -1547,6 +1555,10 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::pawn_noncaptures(Square, Color) const': +chess/board.h:350:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 350 | return (bb); + | ^ chess/board.h: In member function 'Bitboard Board::get_bishops(Color) const': chess/board.h:119:39: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 119 | { return position[side][BISHOP]; } @@ -1554,6 +1566,9 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_rooks(Color) const': chess/board.h:122:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 122 | { return position[side][ROOK]; } @@ -1565,6 +1580,13 @@ chess/board.h:125:38: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 125 | { return position[side][QUEEN]; } | ~~~~~~~~~~~~~~~~~~~~^ +chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': +chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 335 | return (bb); + | ^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ @@ -1575,6 +1597,10 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::knight_attacks(Square) const': +chess/board.h:355:49: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 355 | return (Bitboard::attack_bb[KNIGHT][from]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ chess/board.h: In member function 'Bitboard Board::get_pieces(Color) const': chess/board.h:131:35: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 131 | { return position_all[side]; } @@ -1582,6 +1608,9 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_blocker() const': chess/board.h:134:18: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 134 | { return occupied; } @@ -1589,13 +1618,6 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': -chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 335 | return (bb); - | ^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::pawn_noncaptures(Square, Color) const': chess/board.h:350:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 350 | return (bb); @@ -1617,48 +1639,48 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/main.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/main.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/main.o main.cc -In file included from chess/bitboard.h:141, - from chess/board.h:23, - from common/movelist.cc:21: -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': -chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 214 | Bitboard tmp = *this; - | ^~~~ +chess/board.h: In member function 'Bitboard Board::king_attacks(Square) const': +chess/board.h:375:47: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 375 | return (Bitboard::attack_bb[KING][from]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': +chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 335 | return (bb); + | ^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 216 | return tmp; - | ^~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': -chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/board.h: In member function 'Bitboard Board::pawn_noncaptures(Square, Color) const': +chess/board.h:350:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 350 | return (bb); + | ^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': -chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/board.h: In member function 'Bitboard Board::knight_attacks(Square) const': +chess/board.h:355:49: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 355 | return (Bitboard::attack_bb[KNIGHT][from]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': -chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +In file included from chess/bitboard.h:141, + from chess/board.h:23, + from common/search.h:23, + from common/search_util.cc:22: +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': +chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 214 | Bitboard tmp = *this; + | ^~~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': -chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 216 | return tmp; + | ^~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ @@ -1676,6 +1698,13 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::king_attacks(Square) const': +chess/board.h:375:47: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 375 | return (Bitboard::attack_bb[KING][from]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_bishops(Color) const': chess/board.h:119:39: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 119 | { return position[side][BISHOP]; } @@ -1697,6 +1726,13 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': +chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_kings(Color) const': chess/board.h:128:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 128 | { return position[side][KING]; } @@ -1711,6 +1747,13 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': +chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_blocker() const': chess/board.h:134:18: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 134 | { return occupied; } @@ -1718,6 +1761,28 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': +chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': +chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +In file included from chess/eval.h:25: +common/pawnhash.h: In member function 'Bitboard PawnHashEntry::get_passed(Color) const': +common/pawnhash.h:114:27: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 114 | return passed[side]; + | ~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 335 | return (bb); @@ -1746,10 +1811,22 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +In file included from chess/eval.h:25: +common/pawnhash.h: In member function 'Bitboard PawnHashEntry::get_passed(Color) const': +common/pawnhash.h:114:27: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 114 | return passed[side]; + | ~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::get_pawns(Color) const': +chess/board.h:113:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 113 | { return position[side][PAWN]; } + | ~~~~~~~~~~~~~~~~~~~^ In file included from chess/bitboard.h:141, from chess/board.h:23, - from chess/eval.h:23, - from common/node.cc:21: + from common/game.h:23, + from common/pgn.cc:21: chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 214 | Bitboard tmp = *this; @@ -1757,47 +1834,12 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 216 | return tmp; - | ^~~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': -chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': -chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': -chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': -chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::get_pawns(Color) const': -chess/board.h:113:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 113 | { return position[side][PAWN]; } - | ~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 216 | return tmp; + | ^~~ chess/board.h: In member function 'Bitboard Board::get_knights(Color) const': chess/board.h:116:39: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 116 | { return position[side][KNIGHT]; } @@ -1805,6 +1847,9 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_bishops(Color) const': chess/board.h:119:39: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 119 | { return position[side][BISHOP]; } @@ -1847,6 +1892,51 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': +chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': +chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': +chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': +chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +In file included from chess/bitboard.h:141, + from chess/board.h:23, + from common/search.h:23, + from common/search.cc:21: +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': +chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 214 | Bitboard tmp = *this; + | ^~~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 216 | return tmp; + | ^~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 335 | return (bb); @@ -1861,6 +1951,13 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': +chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::knight_attacks(Square) const': chess/board.h:355:49: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 355 | return (Bitboard::attack_bb[KNIGHT][from]); @@ -1868,25 +1965,37 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': +chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': +chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::king_attacks(Square) const': chess/board.h:375:47: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 375 | return (Bitboard::attack_bb[KING][from]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': +chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -In file included from chess/eval.h:25: -common/pawnhash.h: In member function 'Bitboard PawnHashEntry::get_passed(Color) const': -common/pawnhash.h:114:27: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 114 | return passed[side]; - | ~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ In file included from chess/bitboard.h:141, from chess/board.h:23, - from common/pawnhash.h:23, - from common/pawnhash.cc:21: + from common/shell.cc:21: chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 214 | Bitboard tmp = *this; @@ -1904,6 +2013,15 @@ chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +In file included from chess/eval.h:25, + from common/search.h:25: +common/pawnhash.h: In member function 'Bitboard PawnHashEntry::get_passed(Color) const': +common/pawnhash.h:114:27: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 114 | return passed[side]; + | ~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ @@ -1928,6 +2046,38 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +In file included from chess/bitboard.h:141, + from chess/board.h:23, + from common/shell.h:23, + from common/shell_util.cc:21: +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': +chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 214 | Bitboard tmp = *this; + | ^~~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 216 | return tmp; + | ^~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': +chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': +chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/common/shell_util.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/common/shell_util.d -c -o ../build/x86_64-linux-gnu/build-hoichess/common/shell_util.o common/shell_util.cc chess/board.h: In member function 'Bitboard Board::get_pawns(Color) const': chess/board.h:113:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 113 | { return position[side][PAWN]; } @@ -1935,6 +2085,10 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': +chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ chess/board.h: In member function 'Bitboard Board::get_knights(Color) const': chess/board.h:116:39: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 116 | { return position[side][KNIGHT]; } @@ -1942,6 +2096,9 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_bishops(Color) const': chess/board.h:119:39: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 119 | { return position[side][BISHOP]; } @@ -1970,6 +2127,10 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': +chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ chess/board.h: In member function 'Bitboard Board::get_pieces(Color) const': chess/board.h:131:35: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 131 | { return position_all[side]; } @@ -1977,6 +2138,9 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_blocker() const': chess/board.h:134:18: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 134 | { return occupied; } @@ -1984,87 +2148,6 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': -chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 335 | return (bb); - | ^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::pawn_noncaptures(Square, Color) const': -chess/board.h:350:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 350 | return (bb); - | ^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::knight_attacks(Square) const': -chess/board.h:355:49: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 355 | return (Bitboard::attack_bb[KNIGHT][from]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::king_attacks(Square) const': -chess/board.h:375:47: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 375 | return (Bitboard::attack_bb[KING][from]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -common/pawnhash.h: In member function 'Bitboard PawnHashEntry::get_passed(Color) const': -common/pawnhash.h:114:27: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 114 | return passed[side]; - | ~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -In file included from chess/bitboard.h:141, - from chess/board.h:23, - from common/game.h:23, - from common/pgn.cc:21: -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': -chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 214 | Bitboard tmp = *this; - | ^~~~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 216 | return tmp; - | ^~~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': -chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': -chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': -chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': -chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/uint64_table.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/uint64_table.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/uint64_table.o uint64_table.cc chess/board.h: In member function 'Bitboard Board::get_pawns(Color) const': chess/board.h:113:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 113 | { return position[side][PAWN]; } @@ -2107,6 +2190,13 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': +chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 335 | return (bb); + | ^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_pieces(Color) const': chess/board.h:131:35: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 131 | { return position_all[side]; } @@ -2121,13 +2211,6 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': -chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 335 | return (bb); - | ^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::pawn_noncaptures(Square, Color) const': chess/board.h:350:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 350 | return (bb); @@ -2149,60 +2232,6 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/search.o -MD -MF ../build/host//build-hoichess/common/search.d -c -o ../build/host//build-hoichess/common/search.o common/search.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/util.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/util.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/util.o util.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/search_util.o -MD -MF ../build/host//build-hoichess/common/search_util.d -c -o ../build/host//build-hoichess/common/search_util.o common/search_util.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/shell.o -MD -MF ../build/host//build-hoichess/common/shell.d -c -o ../build/host//build-hoichess/common/shell.o common/shell.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/version.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/version.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/version.o version.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/book.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/book.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/book.o common/book.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/clock.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/clock.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/clock.o common/clock.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/epd.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/epd.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/epd.o common/epd.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/eval.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/eval.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/eval.o common/eval.cc -In file included from chess/bitboard.h:141, - from chess/board.h:23, - from common/search.h:23, - from common/search_util.cc:22: -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': -chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 214 | Bitboard tmp = *this; - | ^~~~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 216 | return tmp; - | ^~~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': -chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': -chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': -chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': -chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_pawns(Color) const': chess/board.h:113:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 113 | { return position[side][PAWN]; } @@ -2217,6 +2246,10 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::pawn_captures(Square, Color) const': +chess/board.h:335:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 335 | return (bb); + | ^ chess/board.h: In member function 'Bitboard Board::get_bishops(Color) const': chess/board.h:119:39: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 119 | { return position[side][BISHOP]; } @@ -2224,6 +2257,9 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_rooks(Color) const': chess/board.h:122:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 122 | { return position[side][ROOK]; } @@ -2231,6 +2267,13 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::pawn_noncaptures(Square, Color) const': +chess/board.h:350:19: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 350 | return (bb); + | ^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_queens(Color) const': chess/board.h:125:38: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 125 | { return position[side][QUEEN]; } @@ -2238,6 +2281,13 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::knight_attacks(Square) const': +chess/board.h:355:49: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 355 | return (Bitboard::attack_bb[KNIGHT][from]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_kings(Color) const': chess/board.h:128:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 128 | { return position[side][KING]; } @@ -2249,6 +2299,13 @@ chess/board.h:131:35: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 131 | { return position_all[side]; } | ~~~~~~~~~~~~~~~~~^ +chess/board.h: In member function 'Bitboard Board::king_attacks(Square) const': +chess/board.h:375:47: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 375 | return (Bitboard::attack_bb[KING][from]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ @@ -2256,6 +2313,7 @@ chess/board.h:134:18: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 134 | { return occupied; } | ^~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/queue.o -MD -MF ../build/host//build-hoichess/queue.d -c -o ../build/host//build-hoichess/queue.o queue.cc chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ @@ -2280,13 +2338,6 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board.h: In member function 'Bitboard Board::king_attacks(Square) const': -chess/board.h:375:47: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 375 | return (Bitboard::attack_bb[KING][from]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ In file included from chess/eval.h:25, from common/search.h:25: common/pawnhash.h: In member function 'Bitboard PawnHashEntry::get_passed(Color) const': @@ -2296,62 +2347,6 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/shell_cmd.o -MD -MF ../build/host//build-hoichess/common/shell_cmd.d -c -o ../build/host//build-hoichess/common/shell_cmd.o common/shell_cmd.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/evalcache.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/evalcache.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/evalcache.o common/evalcache.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/shell_util.o -MD -MF ../build/host//build-hoichess/common/shell_util.d -c -o ../build/host//build-hoichess/common/shell_util.o common/shell_util.cc -common/epd.cc: In constructor 'EPD::EPD(const std::string&)': -common/epd.cc:43:16: warning: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] - 43 | delete s; - | ^ -common/epd.cc:37:40: note: returned from 'void* operator new [](std::size_t)' - 37 | char * s = new char[_s.size()+1]; - | ^ -In file included from chess/bitboard.h:141, - from chess/board.h:23, - from common/search.h:23, - from common/search.cc:21: -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': -chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 214 | Bitboard tmp = *this; - | ^~~~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 216 | return tmp; - | ^~~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': -chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': -chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': -chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': -chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/game.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/game.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/game.o common/game.cc chess/board.h: In member function 'Bitboard Board::get_pawns(Color) const': chess/board.h:113:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 113 | { return position[side][PAWN]; } @@ -2373,6 +2368,10 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/board.h: In member function 'Bitboard Board::king_attacks(Square) const': +chess/board.h:375:47: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 375 | return (Bitboard::attack_bb[KING][from]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ chess/board.h: In member function 'Bitboard Board::get_rooks(Color) const': chess/board.h:122:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 122 | { return position[side][ROOK]; } @@ -2380,6 +2379,9 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_queens(Color) const': chess/board.h:125:38: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 125 | { return position[side][QUEEN]; } @@ -2436,20 +2438,12 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/mutex.o -MD -MF ../build/host//build-hoichess/mutex.d -c -o ../build/host//build-hoichess/mutex.o mutex.cc -In file included from chess/eval.h:25, - from common/search.h:25: -common/pawnhash.h: In member function 'Bitboard PawnHashEntry::get_passed(Color) const': -common/pawnhash.h:114:27: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 114 | return passed[side]; - | ~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/hash.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/hash.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/hash.o common/hash.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/mutex.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/mutex.d -c -o ../build/x86_64-linux-gnu/build-hoichess/mutex.o mutex.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/queue.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/queue.d -c -o ../build/x86_64-linux-gnu/build-hoichess/queue.o queue.cc In file included from chess/bitboard.h:141, from chess/board.h:23, - from common/shell.cc:21: + from common/shell.h:23, + from main.cc:33: chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 214 | Bitboard tmp = *this; @@ -2575,24 +2569,15 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -In file included from chess/eval.h:25, - from common/search.h:25, - from common/shell.h:28, - from common/shell.cc:22: -common/pawnhash.h: In member function 'Bitboard PawnHashEntry::get_passed(Color) const': -common/pawnhash.h:114:27: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 114 | return passed[side]; - | ~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/movelist.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/movelist.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/movelist.o common/movelist.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/queue.o -MD -MF ../build/host//build-hoichess/queue.d -c -o ../build/host//build-hoichess/queue.o queue.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/node.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/node.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/node.o common/node.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/spinlock.o -MD -MF ../build/host//build-hoichess/spinlock.d -c -o ../build/host//build-hoichess/spinlock.o spinlock.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/thread.o -MD -MF ../build/host//build-hoichess/thread.d -c -o ../build/host//build-hoichess/thread.o thread.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/common/parallelsearch.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/common/parallelsearch.d -c -o ../build/x86_64-linux-gnu/build-hoichess/common/parallelsearch.o common/parallelsearch.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/spinlock.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/spinlock.d -c -o ../build/x86_64-linux-gnu/build-hoichess/spinlock.o spinlock.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/thread.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/thread.d -c -o ../build/x86_64-linux-gnu/build-hoichess/thread.o thread.cc In file included from chess/bitboard.h:141, from chess/board.h:23, from common/shell.h:23, - from common/shell_util.cc:21: + from common/shell_cmd.cc:21: chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 214 | Bitboard tmp = *this; @@ -2669,6 +2654,7 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/chess/basic.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/chess/basic.d -c -o ../build/x86_64-linux-gnu/build-hoichess/chess/basic.o chess/basic.cc chess/board.h: In member function 'Bitboard Board::get_kings(Color) const': chess/board.h:128:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 128 | { return position[side][KING]; } @@ -2680,6 +2666,7 @@ chess/board.h:131:35: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 131 | { return position_all[side]; } | ~~~~~~~~~~~~~~~~~^ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/parallelsearch.o -MD -MF ../build/host//build-hoichess/common/parallelsearch.d -c -o ../build/host//build-hoichess/common/parallelsearch.o common/parallelsearch.cc chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ @@ -2718,10 +2705,61 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/chess/bitboard.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/chess/bitboard.d -c -o ../build/x86_64-linux-gnu/build-hoichess/chess/bitboard.o chess/bitboard.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/chess/bitboard_rotated.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/chess/bitboard_rotated.d -c -o ../build/x86_64-linux-gnu/build-hoichess/chess/bitboard_rotated.o chess/bitboard_rotated.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/chess/basic.o -MD -MF ../build/host//build-hoichess/chess/basic.d -c -o ../build/host//build-hoichess/chess/basic.o chess/basic.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/chess/board.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/chess/board.d -c -o ../build/x86_64-linux-gnu/build-hoichess/chess/board.o chess/board.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/chess/bitboard.o -MD -MF ../build/host//build-hoichess/chess/bitboard.d -c -o ../build/host//build-hoichess/chess/bitboard.o chess/bitboard.cc +In file included from chess/eval.h:25, + from common/search.h:25, + from common/shell.h:28, + from common/shell.cc:22: +common/pawnhash.h: In member function 'Bitboard PawnHashEntry::get_passed(Color) const': +common/pawnhash.h:114:27: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 114 | return passed[side]; + | ~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +In file included from chess/eval.h:25, + from common/search.h:25, + from common/shell.h:28: +common/pawnhash.h: In member function 'Bitboard PawnHashEntry::get_passed(Color) const': +common/pawnhash.h:114:27: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 114 | return passed[side]; + | ~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/chess/bitboard_rotated.o -MD -MF ../build/host//build-hoichess/chess/bitboard_rotated.d -c -o ../build/host//build-hoichess/chess/bitboard_rotated.o chess/bitboard_rotated.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/chess/board.o -MD -MF ../build/host//build-hoichess/chess/board.d -c -o ../build/host//build-hoichess/chess/board.o chess/board.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/chess/board_attack.o -MD -MF ../build/host//build-hoichess/chess/board_attack.d -c -o ../build/host//build-hoichess/chess/board_attack.o chess/board_attack.cc +In file included from chess/eval.h:25, + from common/search.h:25, + from common/shell.h:28: +common/pawnhash.h: In member function 'Bitboard PawnHashEntry::get_passed(Color) const': +common/pawnhash.h:114:27: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 114 | return passed[side]; + | ~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/chess/board_generate.o -MD -MF ../build/host//build-hoichess/chess/board_generate.d -c -o ../build/host//build-hoichess/chess/board_generate.o chess/board_generate.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/chess/board_init.o -MD -MF ../build/host//build-hoichess/chess/board_init.d -c -o ../build/host//build-hoichess/chess/board_init.o chess/board_init.cc +In file included from chess/eval.h:25, + from common/search.h:25, + from common/shell.h:28: +common/pawnhash.h: In member function 'Bitboard PawnHashEntry::get_passed(Color) const': +common/pawnhash.h:114:27: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 114 | return passed[side]; + | ~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ In file included from chess/bitboard.h:141, from chess/board.h:23, - from common/shell.h:23, - from common/shell_cmd.cc:21: + from common/book.h:23, + from common/book.cc:32: chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 214 | Bitboard tmp = *this; @@ -2847,39 +2885,52 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -In file included from chess/eval.h:25, - from common/search.h:25, - from common/shell.h:28: -common/pawnhash.h: In member function 'Bitboard PawnHashEntry::get_passed(Color) const': -common/pawnhash.h:114:27: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 114 | return passed[side]; - | ~~~~~~~~~~~^ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/chess/board_util.o -MD -MF ../build/host//build-hoichess/chess/board_util.d -c -o ../build/host//build-hoichess/chess/board_util.o chess/board_util.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/chess/eval.o -MD -MF ../build/host//build-hoichess/chess/eval.d -c -o ../build/host//build-hoichess/chess/eval.o chess/eval.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/chess/move.o -MD -MF ../build/host//build-hoichess/chess/move.d -c -o ../build/host//build-hoichess/chess/move.o chess/move.cc +In file included from chess/bitboard.h:141, + from chess/bitboard.cc:21: +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': +chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 214 | Bitboard tmp = *this; + | ^~~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/spinlock.o -MD -MF ../build/host//build-hoichess/spinlock.d -c -o ../build/host//build-hoichess/spinlock.o spinlock.cc -In file included from chess/eval.h:25, - from common/search.h:25, - from common/shell.h:28: -common/pawnhash.h: In member function 'Bitboard PawnHashEntry::get_passed(Color) const': -common/pawnhash.h:114:27: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 114 | return passed[side]; - | ~~~~~~~~~~~^ +chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 216 | return tmp; + | ^~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': +chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': +chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': +chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': +chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/pawnhash.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/pawnhash.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/pawnhash.o common/pawnhash.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/pgn.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/pgn.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/pgn.o common/pgn.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/thread.o -MD -MF ../build/host//build-hoichess/thread.d -c -o ../build/host//build-hoichess/thread.o thread.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/search.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/search.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/search.o common/search.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/search_util.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/search_util.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/search_util.o common/search_util.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/common/parallelsearch.o -MD -MF ../build/host//build-hoichess/common/parallelsearch.d -c -o ../build/host//build-hoichess/common/parallelsearch.o common/parallelsearch.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/chess/basic.o -MD -MF ../build/host//build-hoichess/chess/basic.d -c -o ../build/host//build-hoichess/chess/basic.o chess/basic.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/shell.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/shell.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/shell.o common/shell.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/chess/bitboard.o -MD -MF ../build/host//build-hoichess/chess/bitboard.d -c -o ../build/host//build-hoichess/chess/bitboard.o chess/bitboard.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/chess/bitboard_rotated.o -MD -MF ../build/host//build-hoichess/chess/bitboard_rotated.d -c -o ../build/host//build-hoichess/chess/bitboard_rotated.o chess/bitboard_rotated.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/chess/board.o -MD -MF ../build/host//build-hoichess/chess/board.d -c -o ../build/host//build-hoichess/chess/board.o chess/board.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/shell_cmd.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/shell_cmd.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/shell_cmd.o common/shell_cmd.cc In file included from chess/bitboard.h:141, from chess/board.h:23, from common/search.h:23, @@ -2898,6 +2949,7 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/chess/board_attack.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/chess/board_attack.d -c -o ../build/x86_64-linux-gnu/build-hoichess/chess/board_attack.o chess/board_attack.cc chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; @@ -2919,6 +2971,7 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/chess/board_generate.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/chess/board_generate.d -c -o ../build/x86_64-linux-gnu/build-hoichess/chess/board_generate.o chess/board_generate.cc chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; @@ -3010,6 +3063,7 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/chess/board_init.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/chess/board_init.d -c -o ../build/x86_64-linux-gnu/build-hoichess/chess/board_init.o chess/board_init.cc In file included from chess/eval.h:25, from common/search.h:25: common/pawnhash.h: In member function 'Bitboard PawnHashEntry::get_passed(Color) const': @@ -3019,9 +3073,7 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/chess/board_attack.o -MD -MF ../build/host//build-hoichess/chess/board_attack.d -c -o ../build/host//build-hoichess/chess/board_attack.o chess/board_attack.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/chess/board_generate.o -MD -MF ../build/host//build-hoichess/chess/board_generate.d -c -o ../build/host//build-hoichess/chess/board_generate.o chess/board_generate.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/shell_util.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/shell_util.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/shell_util.o common/shell_util.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/chess/board_util.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/chess/board_util.d -c -o ../build/x86_64-linux-gnu/build-hoichess/chess/board_util.o chess/board_util.cc In file included from chess/bitboard.h:141, from chess/bitboard_rotated.cc:21: chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': @@ -3065,49 +3117,7 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -In file included from chess/bitboard.h:141, - from chess/bitboard.cc:21: -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': -chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 214 | Bitboard tmp = *this; - | ^~~~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 216 | return tmp; - | ^~~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': -chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': -chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': -chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': -chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/chess/eval.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/chess/eval.d -c -o ../build/x86_64-linux-gnu/build-hoichess/chess/eval.o chess/eval.cc In file included from chess/bitboard.h:141, from chess/board.h:23, from chess/board.cc:21: @@ -3131,7 +3141,6 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/mutex.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/mutex.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/mutex.o mutex.cc chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; @@ -3237,9 +3246,10 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/x86_64-linux-gnu/build-hoichess/chess/move.o -MD -MF ../build/x86_64-linux-gnu/build-hoichess/chess/move.d -c -o ../build/x86_64-linux-gnu/build-hoichess/chess/move.o chess/move.cc In file included from chess/bitboard.h:141, from chess/board.h:23, - from chess/board_attack.cc:21: + from chess/board_generate.cc:21: chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 214 | Bitboard tmp = *this; @@ -3281,6 +3291,7 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/debug.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/debug.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/debug.o debug.cc chess/board.h: In member function 'Bitboard Board::get_pawns(Color) const': chess/board.h:113:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 113 | { return position[side][PAWN]; } @@ -3334,6 +3345,7 @@ chess/board.h:134:18: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 134 | { return occupied; } | ^~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/init.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/init.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/init.o init.cc chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ @@ -3365,24 +3377,53 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board_attack.cc: In member function 'Bitboard Board::attackers(Square, Color) const': -chess/board_attack.cc:79:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 79 | return ret_bb; - | ^~~~~~ +In file included from chess/bitboard.h:141, + from chess/board.h:23, + from chess/board_attack.cc:21: +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': +chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 214 | Bitboard tmp = *this; + | ^~~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board_attack.cc: In member function 'Bitboard Board::pinned(Square, Color) const': -chess/board_attack.cc:142:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 142 | return ret_bb; - | ^~~~~~ +chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 216 | return tmp; + | ^~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': +chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': +chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': +chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': +chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/chess/board_init.o -MD -MF ../build/host//build-hoichess/chess/board_init.d -c -o ../build/host//build-hoichess/chess/board_init.o chess/board_init.cc In file included from chess/bitboard.h:141, from chess/board.h:23, - from chess/board_generate.cc:21: + from chess/board_init.cc:21: chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 214 | Bitboard tmp = *this; @@ -3508,51 +3549,17 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/queue.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/queue.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/queue.o queue.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/spinlock.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/spinlock.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/spinlock.o spinlock.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/chess/board_util.o -MD -MF ../build/host//build-hoichess/chess/board_util.d -c -o ../build/host//build-hoichess/chess/board_util.o chess/board_util.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/thread.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/thread.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/thread.o thread.cc -In file included from chess/bitboard.h:141, - from chess/board.h:23, - from chess/board_init.cc:21: -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': -chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 214 | Bitboard tmp = *this; - | ^~~~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 216 | return tmp; - | ^~~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': -chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': -chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': -chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/board_attack.cc: In member function 'Bitboard Board::attackers(Square, Color) const': +chess/board_attack.cc:79:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 79 | return ret_bb; + | ^~~~~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': -chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/board_attack.cc: In member function 'Bitboard Board::pinned(Square, Color) const': +chess/board_attack.cc:142:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 142 | return ret_bb; + | ^~~~~~ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ @@ -3640,11 +3647,13 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/parallelsearch.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/parallelsearch.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/parallelsearch.o common/parallelsearch.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/chess/eval.o -MD -MF ../build/host//build-hoichess/chess/eval.d -c -o ../build/host//build-hoichess/chess/eval.o chess/eval.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ichess -MT ../build/host//build-hoichess/chess/move.o -MD -MF ../build/host//build-hoichess/chess/move.d -c -o ../build/host//build-hoichess/chess/move.o chess/move.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/basic.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/basic.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/basic.o xiangqi/basic.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board.o xiangqi/board.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/main.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/main.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/main.o main.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/uint64_table.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/uint64_table.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/uint64_table.o uint64_table.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/util.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/util.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/util.o util.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/version.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/version.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/version.o version.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/book.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/book.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/book.o common/book.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/clock.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/clock.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/clock.o common/clock.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/epd.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/epd.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/epd.o common/epd.cc In file included from chess/bitboard.h:141, from chess/board.h:23, from chess/board_util.cc:21: @@ -3689,6 +3698,51 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +In file included from chess/bitboard.h:141, + from chess/board.h:23, + from chess/eval.h:23, + from chess/eval.cc:21: +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': +chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 214 | Bitboard tmp = *this; + | ^~~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 216 | return tmp; + | ^~~ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': +chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': +chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': +chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': +chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_pawns(Color) const': chess/board.h:113:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 113 | { return position[side][PAWN]; } @@ -3773,58 +3827,6 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ -chess/board_util.cc: In member function 'Move Board::do_parse_move_1(const std::string&) const': -chess/board_util.cc:729:75: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 729 | Bitboard ray = Bitboard::ray_bb[to][get_king(side)]; - | ^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -In file included from chess/bitboard.h:141, - from chess/board.h:23, - from chess/eval.h:23, - from chess/eval.cc:21: -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::operator++(int)': -chess/bitboard_inlines.h:214:25: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 214 | Bitboard tmp = *this; - | ^~~~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h:216:16: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 216 | return tmp; - | ^~~ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atk0(Square) const': -chess/bitboard_inlines.h:322:62: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 322 | return rot_atk_0[from][(bits >> shift_0(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl90(Square) const': -chess/bitboard_inlines.h:327:66: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 327 | return rot_atk_l90[from][(bits >> shift_l90(from)) & 0xff]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkl45(Square) const': -chess/bitboard_inlines.h:332:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 332 | return rot_atk_l45[from][(bits >> shift_l45(from)) & diagmask_l45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ -chess/bitboard_inlines.h: In member function 'Bitboard Bitboard::atkr45(Square) const': -chess/bitboard_inlines.h:337:80: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] - 337 | return rot_atk_r45[from][(bits >> shift_r45(from)) & diagmask_r45(from)]; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' - 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) - | ^~~~~~~~ chess/board.h: In member function 'Bitboard Board::get_pawns(Color) const': chess/board.h:113:37: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] 113 | { return position[side][PAWN]; } @@ -3933,12 +3935,15 @@ common/pawnhash.h:117:60: note: initializing argument 2 of 'void PawnHashEntry::set_passed(Color, Bitboard)' 117 | inline void PawnHashEntry::set_passed(Color side, Bitboard bb) | ~~~~~~~~~^~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_attack.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_attack.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_attack.o xiangqi/board_attack.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_generate.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_generate.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_generate.o xiangqi/board_generate.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_init.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_init.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_init.o xiangqi/board_init.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_util.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_util.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_util.o xiangqi/board_util.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/eval.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/eval.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/eval.o xiangqi/eval.cc -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/move.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/move.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/move.o xiangqi/move.cc +chess/board_util.cc: In member function 'Move Board::do_parse_move_1(const std::string&) const': +chess/board_util.cc:729:75: warning: implicitly-declared 'constexpr Bitboard::Bitboard(const Bitboard&)' is deprecated [-Wdeprecated-copy] + 729 | Bitboard ray = Bitboard::ray_bb[to][get_king(side)]; + | ^ +chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' + 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) + | ^~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/eval.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/eval.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/eval.o common/eval.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/evalcache.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/evalcache.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/evalcache.o common/evalcache.cc In file included from chess/bitboard.h:141, from chess/board.h:23, from chess/move.cc:21: @@ -4067,6 +4072,7 @@ chess/bitboard_inlines.h:165:19: note: because 'Bitboard' has user-provided 'Bitboard& Bitboard::operator=(const Bitboard&)' 165 | inline Bitboard & Bitboard::operator=(const Bitboard & bb) | ^~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/game.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/game.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/game.o common/game.cc chess/move.cc: In static member function 'static Move Move::autoselect(const Board&, Square, Square, Piece)': chess/move.cc:59:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 58 | if ((from == E1 && (to == C1 || to == G1)) @@ -4076,6 +4082,36 @@ chess/move.cc:64:9: note: here 64 | default: | ^~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/hash.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/hash.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/hash.o common/hash.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/movelist.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/movelist.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/movelist.o common/movelist.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/node.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/node.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/node.o common/node.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/pawnhash.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/pawnhash.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/pawnhash.o common/pawnhash.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/pgn.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/pgn.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/pgn.o common/pgn.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/search.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/search.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/search.o common/search.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/search_util.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/search_util.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/search_util.o common/search_util.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/shell.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/shell.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/shell.o common/shell.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/shell_cmd.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/shell_cmd.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/shell_cmd.o common/shell_cmd.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/shell_util.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/shell_util.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/shell_util.o common/shell_util.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/mutex.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/mutex.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/mutex.o mutex.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/queue.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/queue.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/queue.o queue.cc +common/epd.cc: In constructor 'EPD::EPD(const std::string&)': +common/epd.cc:43:16: warning: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] + 43 | delete s; + | ^ +common/epd.cc:37:40: note: returned from 'void* operator new [](std::size_t)' + 37 | char * s = new char[_s.size()+1]; + | ^ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/spinlock.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/spinlock.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/spinlock.o spinlock.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/thread.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/thread.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/thread.o thread.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/common/parallelsearch.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/common/parallelsearch.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/common/parallelsearch.o common/parallelsearch.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/basic.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/basic.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/basic.o xiangqi/basic.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board.o xiangqi/board.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_attack.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_attack.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_attack.o xiangqi/board_attack.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_generate.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_generate.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_generate.o xiangqi/board_generate.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_init.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_init.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_init.o xiangqi/board_init.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_util.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_util.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/board_util.o xiangqi/board_util.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/eval.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/eval.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/eval.o xiangqi/eval.cc +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOIXIANGQI -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Icommon -Ixiangqi -MT ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/move.o -MD -MF ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/move.d -c -o ../build/x86_64-linux-gnu/build-hoixiangqi/xiangqi/move.o xiangqi/move.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ../build/x86_64-linux-gnu/build-hoichess/version.o version.cc g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-exceptions -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wl,-z,relro -Wl,-z,now -o ../build/x86_64-linux-gnu/hoichess ../build/x86_64-linux-gnu/build-hoichess/debug.o ../build/x86_64-linux-gnu/build-hoichess/init.o ../build/x86_64-linux-gnu/build-hoichess/main.o ../build/x86_64-linux-gnu/build-hoichess/uint64_table.o ../build/x86_64-linux-gnu/build-hoichess/util.o ../build/x86_64-linux-gnu/build-hoichess/version.o ../build/x86_64-linux-gnu/build-hoichess/common/book.o ../build/x86_64-linux-gnu/build-hoichess/common/clock.o ../build/x86_64-linux-gnu/build-hoichess/common/epd.o ../build/x86_64-linux-gnu/build-hoichess/common/eval.o ../build/x86_64-linux-gnu/build-hoichess/common/evalcache.o ../build/x86_64-linux-gnu/build-hoichess/common/game.o ../build/x86_64-linux-gnu/build-hoichess/common/hash.o ../build/x86_64-linux-gnu/build-hoichess/common/movelist.o ../build/x86_64-linux-gnu/build-hoichess/common/node.o ../build/x86_64-linux-gnu/build-hoichess/common/pawnhash.o ../build/x86_64-linux-gnu/build-hoichess/common/pgn.o ../build/x86_64-linux-gnu/build-hoichess/common/search.o ../build/x86_64-linux-gnu/build-hoichess/common/search_util.o ../build/x86_64-linux-gnu/build-hoichess/common/shell.o ../build/x86_64-linux-gnu/build-hoichess/common/shell_cmd.o ../build/x86_64-linux-gnu/build-hoichess/common/shell_util.o ../build/x86_64-linux-gnu/build-hoichess/mutex.o ../build/x86_64-linux-gnu/build-hoichess/queue.o ../build/x86_64-linux-gnu/build-hoichess/spinlock.o ../build/x86_64-linux-gnu/build-hoichess/thread.o ../build/x86_64-linux-gnu/build-hoichess/common/parallelsearch.o ../build/x86_64-linux-gnu/build-hoichess/chess/basic.o ../build/x86_64-linux-gnu/build-hoichess/chess/bitboard.o ../build/x86_64-linux-gnu/build-hoichess/chess/bitboard_rotated.o ../build/x86_64-linux-gnu/build-hoichess/chess/board.o ../build/x86_64-linux-gnu/build-hoichess/chess/board_attack.o ../build/x86_64-linux-gnu/build-hoichess/chess/board_generate.o ../build/x86_64-linux-gnu/build-hoichess/chess/board_init.o ../build/x86_64-linux-gnu/build-hoichess/chess/board_util.o ../build/x86_64-linux-gnu/build-hoichess/chess/eval.o ../build/x86_64-linux-gnu/build-hoichess/chess/move.o -lpthread g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/hoichess-0.22.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -W -Wall -O2 -DHAVE_PTHREAD -DWITH_THREAD -DHAVE_GETOPT -DHAVE_SNPRINTF -DHAVE_STRTOK_R -DDATA_DIR='"/usr/share/games/hoichess"' -DHOICHESS -DVERSION='"0.22.0-3-debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ../build/host//build-hoichess/version.o version.cc @@ -4113,7 +4149,7 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/hoichess-0.22.0' dh_auto_install -- 'CXX=x86_64-linux-gnu-g++' - make -j20 install DESTDIR=/build/reproducible-path/hoichess-0.22.0/debian/hoichess AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" CXX=x86_64-linux-gnu-g\+\+ + make -j42 install DESTDIR=/build/reproducible-path/hoichess-0.22.0/debian/hoichess AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" CXX=x86_64-linux-gnu-g\+\+ make[2]: Entering directory '/build/reproducible-path/hoichess-0.22.0' make -C src all make -C book @@ -4126,8 +4162,8 @@ make -C src install DESTDIR="/build/reproducible-path/hoichess-0.22.0/debian/hoichess" make[3]: Entering directory '/build/reproducible-path/hoichess-0.22.0/src' install --strip-program=true -m 755 -D ../build/x86_64-linux-gnu/hoichess /build/reproducible-path/hoichess-0.22.0/debian/hoichess/usr/games/hoichess -install: install --strip-program=true -m 755 -D ../build/x86_64-linux-gnu/hoixiangqi /build/reproducible-path/hoichess-0.22.0/debian/hoichess/usr/games/hoixiangqi -WARNING: ignoring --strip-program option as -s option was not specified +install --strip-program=true -m 755 -D ../build/x86_64-linux-gnu/hoixiangqi /build/reproducible-path/hoichess-0.22.0/debian/hoichess/usr/games/hoixiangqi +install: WARNING: ignoring --strip-program option as -s option was not specified install: WARNING: ignoring --strip-program option as -s option was not specified make[3]: Leaving directory '/build/reproducible-path/hoichess-0.22.0/src' install -m 644 -D hoichess.6 /build/reproducible-path/hoichess-0.22.0/debian/hoichess/usr/share/man/man6/hoichess.6 @@ -4173,12 +4209,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/816453/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/816453/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/4058008 and its subdirectories -I: Current time: Tue May 7 08:54:26 -12 2024 -I: pbuilder-time-stamp: 1715115266 +I: removing directory /srv/workspace/pbuilder/816453 and its subdirectories +I: Current time: Tue Jun 10 17:18:11 +14 2025 +I: pbuilder-time-stamp: 1749525491