Diff of the two buildlogs: -- --- b1/build.log 2024-05-11 20:31:00.387009990 +0000 +++ b2/build.log 2024-05-11 20:31:52.784778524 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 11 08:29:47 -12 2024 -I: pbuilder-time-stamp: 1715459387 +I: Current time: Sat Jun 14 16:54:03 +14 2025 +I: pbuilder-time-stamp: 1749869643 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -27,52 +27,84 @@ dpkg-source: info: applying ac-path-pkgconfig.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1171395/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1496505/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 14 02:54 /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/1496505/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1496505/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='cbadb56a69e043758f3d16f604f12792' - 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='1171395' - PS1='# ' - PS2='> ' + INVOCATION_ID=1ddb2c0427d24cc8a89097d432fdb068 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1496505 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.eUERU0If/pbuilderrc_fAN7 --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.eUERU0If/b1 --logfile b1/build.log toon_0.0~git20220106104723.370dcd9-3.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.eUERU0If/pbuilderrc_7rRQ --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.eUERU0If/b2 --logfile b2/build.log toon_0.0~git20220106104723.370dcd9-3.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink02-arm64 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 11 07:42 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1171395/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 13 14:06 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1496505/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -151,7 +183,7 @@ Get: 37 http://deb.debian.org/debian unstable/main arm64 pkgconf-bin arm64 1.8.1-1+b2 [29.3 kB] Get: 38 http://deb.debian.org/debian unstable/main arm64 pkgconf arm64 1.8.1-1+b2 [26.2 kB] Get: 39 http://deb.debian.org/debian unstable/main arm64 pkg-config arm64 1.8.1-1+b2 [14.0 kB] -Fetched 24.7 MB in 0s (194 MB/s) +Fetched 24.7 MB in 0s (113 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19744 files and directories currently installed.) @@ -326,7 +358,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/toon-0.0~git20220106104723.370dcd9/ && 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 > ../toon_0.0~git20220106104723.370dcd9-3_source.changes +I: user script /srv/workspace/pbuilder/1496505/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1496505/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/toon-0.0~git20220106104723.370dcd9/ && 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 > ../toon_0.0~git20220106104723.370dcd9-3_source.changes dpkg-buildpackage: info: source package toon dpkg-buildpackage: info: source version 0.0~git20220106104723.370dcd9-3 dpkg-buildpackage: info: source distribution unstable @@ -455,7 +491,7 @@ chmod +x tests/swap.test; \ } In file included from ./TooN/TooN.h:347, - from tests/diagonal_matrix.cc:1: + from tests/vector_resize.cc:1: ./TooN/internal/make_vector.hh: In function 'TooN::Vector<1> TooN::makeVector(double)': ./TooN/internal/make_vector.hh:4:38: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 4 | inline Vector<1> makeVector(double x1){ @@ -473,26 +509,14 @@ 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ | ^ In file included from ./TooN/TooN.h:347, - from tests/swap.cc:1: + from tests/fill.cc:1: ./TooN/internal/make_vector.hh: In function 'TooN::Vector<1> TooN::makeVector(double)': ./TooN/internal/make_vector.hh:4:38: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 4 | inline Vector<1> makeVector(double x1){ | ^ -./TooN/internal/make_vector.hh: In function 'TooN::Vector<2> TooN::makeVector(double, double)': -./TooN/internal/make_vector.hh:14:49: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 14 | inline Vector<2> makeVector(double x1, double x2){ - | ^ -./TooN/internal/make_vector.hh: In function 'TooN::Vector<3> TooN::makeVector(double, double, double)': -./TooN/internal/make_vector.hh:26:60: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 26 | inline Vector<3> makeVector(double x1, double x2, double x3){ - | ^ -./TooN/internal/make_vector.hh: In function 'TooN::Vector<4> TooN::makeVector(double, double, double, double)': -./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ - | ^ In file included from ./TooN/TooN.h:347, - from ./tests/test_helper.h:1, - from tests/slice.cc:1: + from ./TooN/so3.h:31, + from tests/so3.cc:1: ./TooN/internal/make_vector.hh: In function 'TooN::Vector<1> TooN::makeVector(double)': ./TooN/internal/make_vector.hh:4:38: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 4 | inline Vector<1> makeVector(double x1){ @@ -501,6 +525,14 @@ ./TooN/internal/make_vector.hh:14:49: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 14 | inline Vector<2> makeVector(double x1, double x2){ | ^ +./TooN/internal/make_vector.hh: In function 'TooN::Vector<2> TooN::makeVector(double, double)': +./TooN/internal/make_vector.hh:14:49: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 14 | inline Vector<2> makeVector(double x1, double x2){ + | ^ +./TooN/internal/make_vector.hh: In function 'TooN::Vector<3> TooN::makeVector(double, double, double)': +./TooN/internal/make_vector.hh:26:60: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 26 | inline Vector<3> makeVector(double x1, double x2, double x3){ + | ^ ./TooN/internal/make_vector.hh: In function 'TooN::Vector<3> TooN::makeVector(double, double, double)': ./TooN/internal/make_vector.hh:26:60: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 26 | inline Vector<3> makeVector(double x1, double x2, double x3){ @@ -509,25 +541,17 @@ ./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ | ^ +./TooN/internal/make_vector.hh: In function 'TooN::Vector<4> TooN::makeVector(double, double, double, double)': +./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ + | ^ In file included from ./TooN/TooN.h:347, - from ./tests/test_helper.h:1, - from tests/gaussian_elimination.cc:1: + from ./TooN/GR_SVD.h:31, + from tests/gr_svd.cc:1: ./TooN/internal/make_vector.hh: In function 'TooN::Vector<1> TooN::makeVector(double)': ./TooN/internal/make_vector.hh:4:38: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 4 | inline Vector<1> makeVector(double x1){ | ^ -./TooN/internal/make_vector.hh: In function 'TooN::Vector<2> TooN::makeVector(double, double)': -./TooN/internal/make_vector.hh:14:49: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 14 | inline Vector<2> makeVector(double x1, double x2){ - | ^ -./TooN/internal/make_vector.hh: In function 'TooN::Vector<3> TooN::makeVector(double, double, double)': -./TooN/internal/make_vector.hh:26:60: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 26 | inline Vector<3> makeVector(double x1, double x2, double x3){ - | ^ -./TooN/internal/make_vector.hh: In function 'TooN::Vector<4> TooN::makeVector(double, double, double, double)': -./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ - | ^ In file included from ./TooN/TooN.h:347, from ./tests/test_helper.h:1, from tests/gauss_jordan.cc:1: @@ -539,6 +563,14 @@ ./TooN/internal/make_vector.hh:14:49: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 14 | inline Vector<2> makeVector(double x1, double x2){ | ^ +./TooN/internal/make_vector.hh: In function 'TooN::Vector<2> TooN::makeVector(double, double)': +./TooN/internal/make_vector.hh:14:49: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 14 | inline Vector<2> makeVector(double x1, double x2){ + | ^ +./TooN/internal/make_vector.hh: In function 'TooN::Vector<3> TooN::makeVector(double, double, double)': +./TooN/internal/make_vector.hh:26:60: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 26 | inline Vector<3> makeVector(double x1, double x2, double x3){ + | ^ ./TooN/internal/make_vector.hh: In function 'TooN::Vector<3> TooN::makeVector(double, double, double)': ./TooN/internal/make_vector.hh:26:60: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 26 | inline Vector<3> makeVector(double x1, double x2, double x3){ @@ -547,9 +579,13 @@ ./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ | ^ +./TooN/internal/make_vector.hh: In function 'TooN::Vector<4> TooN::makeVector(double, double, double, double)': +./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ + | ^ In file included from ./TooN/TooN.h:347, - from ./tests/test_helper.h:1, - from tests/zeros.cc:1: + from ./TooN/Cholesky.h:32, + from tests/chol_toon.cc:1: ./TooN/internal/make_vector.hh: In function 'TooN::Vector<1> TooN::makeVector(double)': ./TooN/internal/make_vector.hh:4:38: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 4 | inline Vector<1> makeVector(double x1){ @@ -566,25 +602,8 @@ ./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ | ^ -In file included from ./TooN/TooN.h:357: -./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': -./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 65 | inline Matrix<2> inv(const Matrix<2>& m) - | ^ -In file included from ./TooN/TooN.h:357: -./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': -./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 65 | inline Matrix<2> inv(const Matrix<2>& m) - | ^ In file included from ./TooN/TooN.h:347, - from tests/vector_resize.cc:1: -./TooN/internal/make_vector.hh: In function 'TooN::Vector<1> TooN::makeVector(double)': -./TooN/internal/make_vector.hh:4:38: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 4 | inline Vector<1> makeVector(double x1){ - | ^ -In file included from ./TooN/TooN.h:347, - from ./TooN/GR_SVD.h:31, - from tests/gr_svd.cc:1: + from tests/diagonal_matrix.cc:1: ./TooN/internal/make_vector.hh: In function 'TooN::Vector<1> TooN::makeVector(double)': ./TooN/internal/make_vector.hh:4:38: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 4 | inline Vector<1> makeVector(double x1){ @@ -593,14 +612,6 @@ ./TooN/internal/make_vector.hh:14:49: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 14 | inline Vector<2> makeVector(double x1, double x2){ | ^ -./TooN/internal/make_vector.hh: In function 'TooN::Vector<2> TooN::makeVector(double, double)': -./TooN/internal/make_vector.hh:14:49: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 14 | inline Vector<2> makeVector(double x1, double x2){ - | ^ -./TooN/internal/make_vector.hh: In function 'TooN::Vector<3> TooN::makeVector(double, double, double)': -./TooN/internal/make_vector.hh:26:60: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 26 | inline Vector<3> makeVector(double x1, double x2, double x3){ - | ^ ./TooN/internal/make_vector.hh: In function 'TooN::Vector<3> TooN::makeVector(double, double, double)': ./TooN/internal/make_vector.hh:26:60: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 26 | inline Vector<3> makeVector(double x1, double x2, double x3){ @@ -609,10 +620,6 @@ ./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ | ^ -./TooN/internal/make_vector.hh: In function 'TooN::Vector<4> TooN::makeVector(double, double, double, double)': -./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ - | ^ In file included from ./TooN/TooN.h:347, from ./tests/test_helper.h:1, from tests/complex.cc:2: @@ -620,28 +627,6 @@ ./TooN/internal/make_vector.hh:4:38: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 4 | inline Vector<1> makeVector(double x1){ | ^ -In file included from ./TooN/TooN.h:352: -./TooN/internal/diagmatrix.h: In instantiation of 'TooN::Vector::size, typename TooN::Internal::MultiplyType::type> TooN::operator*(const DiagonalMatrix&, const Vector&) [with int S1 = 2; P1 = double; B1 = Internal::VBase; int S2 = 2; P2 = double; B2 = Internal::VBase; typename Internal::MultiplyType::type = double]': -tests/diagonal_matrix.cc:23:14: required from here -./TooN/internal/diagmatrix.h:173:1: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 173 | operator*(const DiagonalMatrix& d, const Vector& v){ - | ^~~~~~~~ -In file included from ./TooN/TooN.h:347, - from ./TooN/so3.h:31, - from tests/so3.cc:1: -./TooN/internal/make_vector.hh: In function 'TooN::Vector<1> TooN::makeVector(double)': -./TooN/internal/make_vector.hh:4:38: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 4 | inline Vector<1> makeVector(double x1){ - | ^ -./TooN/internal/diagmatrix.h: In instantiation of 'TooN::DiagonalMatrix TooN::DiagonalMatrix::operator-() const [with int Size = 2; Precision = double; Base = TooN::Internal::VBase]': -tests/diagonal_matrix.cc:26:6: required from here -./TooN/internal/diagmatrix.h:156:41: note: parameter passing for argument of type 'TooN::DiagonalMatrix<2, double, TooN::Internal::VBase>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 156 | DiagonalMatrix operator-() const - | ^~~~~~~~ -./TooN/internal/make_vector.hh: In function 'TooN::Vector<2> TooN::makeVector(double, double)': -./TooN/internal/make_vector.hh:14:49: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 14 | inline Vector<2> makeVector(double x1, double x2){ - | ^ ./TooN/internal/make_vector.hh: In function 'TooN::Vector<2> TooN::makeVector(double, double)': ./TooN/internal/make_vector.hh:14:49: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 14 | inline Vector<2> makeVector(double x1, double x2){ @@ -650,27 +635,13 @@ ./TooN/internal/make_vector.hh:26:60: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 26 | inline Vector<3> makeVector(double x1, double x2, double x3){ | ^ -./TooN/internal/make_vector.hh: In function 'TooN::Vector<3> TooN::makeVector(double, double, double)': -./TooN/internal/make_vector.hh:26:60: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 26 | inline Vector<3> makeVector(double x1, double x2, double x3){ - | ^ -./TooN/internal/make_vector.hh: In function 'TooN::Vector<4> TooN::makeVector(double, double, double, double)': -./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ - | ^ ./TooN/internal/make_vector.hh: In function 'TooN::Vector<4> TooN::makeVector(double, double, double, double)': ./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ | ^ -In file included from ./TooN/TooN.h:348: -./TooN/internal/operators.hh: In instantiation of 'TooN::Vector::size, typename TooN::Internal::MultiplyType::type> TooN::diagmult(const Vector&, const Vector&) [with int S1 = 2; int S2 = 2; P1 = double; P2 = double; B1 = Internal::VBase; B2 = Internal::VBase; typename Internal::MultiplyType::type = double]': -./TooN/internal/diagmatrix.h:174:17: required from 'TooN::Vector::size, typename TooN::Internal::MultiplyType::type> TooN::operator*(const DiagonalMatrix&, const Vector&) [with int S1 = 2; P1 = double; B1 = Internal::VBase; int S2 = 2; P2 = double; B2 = Internal::VBase; typename Internal::MultiplyType::type = double]' -tests/diagonal_matrix.cc:23:14: required from here -./TooN/internal/operators.hh:173:84: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 173 | Vector::size, typename Internal::MultiplyType::type> diagmult(const Vector& v1, const Vector& v2) - | ^~~~~~~~ In file included from ./TooN/TooN.h:347, - from tests/fill.cc:1: + from ./tests/test_helper.h:1, + from tests/gaussian_elimination.cc:1: ./TooN/internal/make_vector.hh: In function 'TooN::Vector<1> TooN::makeVector(double)': ./TooN/internal/make_vector.hh:4:38: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 4 | inline Vector<1> makeVector(double x1){ @@ -683,32 +654,22 @@ ./TooN/internal/make_vector.hh:26:60: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 26 | inline Vector<3> makeVector(double x1, double x2, double x3){ | ^ -tests/diagonal_matrix.cc: In function 'int main()': -tests/diagonal_matrix.cc:26:12: note: parameter passing for argument of type 'TooN::DiagonalMatrix<2, double, TooN::Internal::VBase>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 26 | m2=-d; - | ^~ ./TooN/internal/make_vector.hh: In function 'TooN::Vector<4> TooN::makeVector(double, double, double, double)': ./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ | ^ -./TooN/internal/diagmatrix.h: In function 'TooN::Vector::size, typename TooN::Internal::MultiplyType::type> TooN::operator*(const DiagonalMatrix&, const Vector&) [with int S1 = 2; P1 = double; B1 = Internal::VBase; int S2 = 2; P2 = double; B2 = Internal::VBase]': -./TooN/internal/diagmatrix.h:173:1: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 173 | operator*(const DiagonalMatrix& d, const Vector& v){ - | ^~~~~~~~ In file included from ./TooN/TooN.h:347, - from ./TooN/Cholesky.h:32, - from tests/chol_toon.cc:1: + from ./tests/test_helper.h:1, + from tests/zeros.cc:1: ./TooN/internal/make_vector.hh: In function 'TooN::Vector<1> TooN::makeVector(double)': ./TooN/internal/make_vector.hh:4:38: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 4 | inline Vector<1> makeVector(double x1){ | ^ -./TooN/internal/diagmatrix.h: In member function 'TooN::DiagonalMatrix TooN::DiagonalMatrix::operator-() const [with int Size = 2; Precision = double; Base = TooN::Internal::VBase]': -./TooN/internal/diagmatrix.h:156:41: note: parameter passing for argument of type 'TooN::DiagonalMatrix<2, double, TooN::Internal::VBase>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 156 | DiagonalMatrix operator-() const - | ^~~~~~~~ -./TooN/internal/diagmatrix.h:158:24: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 158 | return -this->my_vector; - | ^~~~~~~~~~~~~~~~ +In file included from ./TooN/TooN.h:357: +./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': +./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 65 | inline Matrix<2> inv(const Matrix<2>& m) + | ^ ./TooN/internal/make_vector.hh: In function 'TooN::Vector<2> TooN::makeVector(double, double)': ./TooN/internal/make_vector.hh:14:49: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 14 | inline Vector<2> makeVector(double x1, double x2){ @@ -731,31 +692,6 @@ ./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 65 | inline Matrix<2> inv(const Matrix<2>& m) | ^ -tests/diagonal_matrix.cc: In function 'int main()': -tests/diagonal_matrix.cc:26:13: note: parameter passing for argument of type 'TooN::DiagonalMatrix<2, double, TooN::Internal::VBase>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 26 | m2=-d; - | ^ -tests/diagonal_matrix.cc:6:5: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 6 | int main() - | ^~~~ -In file included from ./TooN/TooN.h:357: -./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': -./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 65 | inline Matrix<2> inv(const Matrix<2>& m) - | ^ -tests/slice.cc: In function 'int main()': -tests/slice.cc:9:29: warning: implicitly-declared 'constexpr TooN::Matrix<3>::Matrix(const TooN::Matrix<3>&)' is deprecated [-Wdeprecated-copy] - 9 | const Matrix<3> n = m; - | ^ -In file included from ./TooN/TooN.h:344: -./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<3>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = 3; int Cols = 3; Precision = double; Layout = TooN::RowMajor]' - 164 | inline Matrix& operator= (const Matrix& from) - | ^~~~~~~~ -In file included from ./TooN/TooN.h:357: -./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': -./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 65 | inline Matrix<2> inv(const Matrix<2>& m) - | ^ In file included from ./TooN/TooN.h:357: ./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': ./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 @@ -770,11 +706,6 @@ tests/gauss_jordan.cc:30:13: warning: implicitly-declared 'TooN::Matrix<10, 20>::Matrix(const TooN::Matrix<10, 20>&)' is deprecated [-Wdeprecated-copy] 30 | test(m); | ~~~~^~~ -In file included from ./TooN/TooN.h:357: -./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': -./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 65 | inline Matrix<2> inv(const Matrix<2>& m) - | ^ In file included from ./TooN/TooN.h:344: ./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<10, 20>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = 10; int Cols = 20; Precision = double; Layout = TooN::RowMajor]' 164 | inline Matrix& operator= (const Matrix& from) @@ -797,55 +728,33 @@ ./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = -1; int Cols = -1; Precision = double; Layout = TooN::RowMajor]' 164 | inline Matrix& operator= (const Matrix& from) | ^~~~~~~~ -In file included from ./TooN/TooN.h:357: -./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': -./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 65 | inline Matrix<2> inv(const Matrix<2>& m) - | ^ -In file included from ./TooN/TooN.h:357: -./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': -./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 65 | inline Matrix<2> inv(const Matrix<2>& m) - | ^ -In file included from ./TooN/TooN.h:357: -./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': -./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 65 | inline Matrix<2> inv(const Matrix<2>& m) - | ^ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/toon-0.0~git20220106104723.370dcd9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -W -O3 tests/initializer_list.cc -o tests/initializer_list.test -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_SNAN -I . -Wl,-z,relro -llapack ||\ -{ \ - echo "echo 'Compile error!'" > tests/initializer_list.test ; \ - chmod +x tests/initializer_list.test; \ -} -tests/gaussian_elimination.cc: In function 'int main()': -tests/gaussian_elimination.cc:30:50: warning: implicitly-declared 'TooN::Matrix<>::Matrix(const TooN::Matrix<>&)' is deprecated [-Wdeprecated-copy] - 30 | Matrix<> x = gaussian_elimination(A, b); - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ -In file included from ./TooN/TooN.h:344: -./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = -1; int Cols = -1; Precision = double; Layout = TooN::RowMajor]' - 164 | inline Matrix& operator= (const Matrix& from) - | ^~~~~~~~ -In file included from ./TooN/helpers.h:34: -./TooN/gaussian_elimination.h:105:116: note: initializing argument 1 of 'TooN::Matrix::s, C2, Precision> TooN::gaussian_elimination(Matrix, Matrix) [with int R1 = -1; int C1 = -1; int R2 = -1; int C2 = -1; Precision = double]' - 105 | inline Matrix::s, C2, Precision> gaussian_elimination (Matrix A, Matrix b) { - | ~~~~~~~~~~~~~~~~~~~~~~~~^ -tests/gaussian_elimination.cc:30:50: warning: implicitly-declared 'TooN::Matrix<>::Matrix(const TooN::Matrix<>&)' is deprecated [-Wdeprecated-copy] - 30 | Matrix<> x = gaussian_elimination(A, b); - | ~~~~~~~~~~~~~~~~~~~~^~~~~~ -./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = -1; int Cols = -1; Precision = double; Layout = TooN::RowMajor]' - 164 | inline Matrix& operator= (const Matrix& from) - | ^~~~~~~~ -./TooN/gaussian_elimination.h:105:145: note: initializing argument 2 of 'TooN::Matrix::s, C2, Precision> TooN::gaussian_elimination(Matrix, Matrix) [with int R1 = -1; int C1 = -1; int R2 = -1; int C2 = -1; Precision = double]' - 105 | inline Matrix::s, C2, Precision> gaussian_elimination (Matrix A, Matrix b) { - | ~~~~~~~~~~~~~~~~~~~~~~~~~~^ -tests/vector_resize.cc: In function 'int main()': -tests/vector_resize.cc:7:41: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 7 | Vector r = makeVector(4.); - | ~~~~~~~~~~^~~~ tests/so3.cc: In function 'int main()': tests/so3.cc:9:44: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 9 | Vector<3> v = makeVector(M_PI, 0, 0); | ^ +In file included from ./TooN/TooN.h:347, + from ./tests/test_helper.h:1, + from tests/slice.cc:1: +./TooN/internal/make_vector.hh: In function 'TooN::Vector<1> TooN::makeVector(double)': +./TooN/internal/make_vector.hh:4:38: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 4 | inline Vector<1> makeVector(double x1){ + | ^ +./TooN/internal/make_vector.hh: In function 'TooN::Vector<2> TooN::makeVector(double, double)': +./TooN/internal/make_vector.hh:14:49: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 14 | inline Vector<2> makeVector(double x1, double x2){ + | ^ +./TooN/internal/make_vector.hh: In function 'TooN::Vector<3> TooN::makeVector(double, double, double)': +./TooN/internal/make_vector.hh:26:60: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 26 | inline Vector<3> makeVector(double x1, double x2, double x3){ + | ^ +./TooN/internal/make_vector.hh: In function 'TooN::Vector<4> TooN::makeVector(double, double, double, double)': +./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ + | ^ +tests/vector_resize.cc: In function 'int main()': +tests/vector_resize.cc:7:41: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 7 | Vector r = makeVector(4.); + | ~~~~~~~~~~^~~~ ./TooN/Cholesky.h: In instantiation of 'TooN::Cholesky::Cholesky(const TooN::Matrix&) [with P2 = double; B2 = TooN::RowMajor; int Size = 3; Precision = double]': tests/chol_toon.cc:18:23: required from here ./TooN/Cholesky.h:76:19: warning: implicitly-declared 'constexpr TooN::Matrix<3>::Matrix(const TooN::Matrix<3>&)' is deprecated [-Wdeprecated-copy] @@ -908,19 +817,6 @@ ./TooN/Cholesky.h:130:33: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 130 | Vector backsub (const Vector& v) const { | ^~~~~~~ -./TooN/gaussian_elimination.h: In instantiation of 'TooN::Matrix::s, C2, Precision> TooN::gaussian_elimination(Matrix, Matrix) [with int R1 = -1; int C1 = -1; int R2 = -1; int C2 = -1; Precision = double]': -tests/gaussian_elimination.cc:30:36: required from here -./TooN/gaussian_elimination.h:157:24: warning: implicitly-declared 'TooN::Matrix<>::Matrix(const TooN::Matrix<>&)' is deprecated [-Wdeprecated-copy] - 157 | return x; - | ^ -./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = -1; int Cols = -1; Precision = double; Layout = TooN::RowMajor]' - 164 | inline Matrix& operator= (const Matrix& from) - | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/toon-0.0~git20220106104723.370dcd9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -W -O3 tests/initializer_list_fail_1.cc -o tests/initializer_list_fail_1.test -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_SNAN -I . -Wl,-z,relro -llapack ||\ -{ \ - echo "echo 'Compile error!'" > tests/initializer_list_fail_1.test ; \ - chmod +x tests/initializer_list_fail_1.test; \ -} ./TooN/Cholesky.h: In instantiation of 'TooN::Matrix TooN::Cholesky::backsub(const TooN::Matrix&) const [with int Size2 = 3; int C2 = 3; P2 = double; B2 = TooN::RowMajor; int Size = 3; Precision = double]': ./TooN/Cholesky.h:202:17: required from 'TooN::Matrix TooN::Cholesky::get_inverse() [with int Size = 3; Precision = double]' tests/chol_toon.cc:30:43: required from here @@ -930,6 +826,11 @@ ./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<3>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = 3; int Cols = 3; Precision = double; Layout = TooN::RowMajor]' 164 | inline Matrix& operator= (const Matrix& from) | ^~~~~~~~ +In file included from ./TooN/TooN.h:357: +./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': +./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 65 | inline Matrix<2> inv(const Matrix<2>& m) + | ^ ./TooN/Cholesky.h: In instantiation of 'TooN::Matrix TooN::Cholesky::backsub(const TooN::Matrix&) const [with int Size2 = -1; int C2 = -1; P2 = float; B2 = TooN::RowMajor; int Size = -1; Precision = float]': ./TooN/Cholesky.h:202:17: required from 'TooN::Matrix TooN::Cholesky::get_inverse() [with int Size = -1; Precision = float]' tests/chol_toon.cc:44:45: required from here @@ -939,11 +840,141 @@ ./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<-1, -1, float, TooN::RowMajor>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = -1; int Cols = -1; Precision = float; Layout = TooN::RowMajor]' 164 | inline Matrix& operator= (const Matrix& from) | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/toon-0.0~git20220106104723.370dcd9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -W -O3 tests/initializer_list_fail_2.cc -o tests/initializer_list_fail_2.test -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_SNAN -I . -Wl,-z,relro -llapack ||\ +In file included from ./TooN/TooN.h:357: +./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': +./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 65 | inline Matrix<2> inv(const Matrix<2>& m) + | ^ +In file included from ./TooN/TooN.h:347, + from tests/swap.cc:1: +./TooN/internal/make_vector.hh: In function 'TooN::Vector<1> TooN::makeVector(double)': +./TooN/internal/make_vector.hh:4:38: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 4 | inline Vector<1> makeVector(double x1){ + | ^ +./TooN/internal/make_vector.hh: In function 'TooN::Vector<2> TooN::makeVector(double, double)': +./TooN/internal/make_vector.hh:14:49: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 14 | inline Vector<2> makeVector(double x1, double x2){ + | ^ +./TooN/internal/make_vector.hh: In function 'TooN::Vector<3> TooN::makeVector(double, double, double)': +./TooN/internal/make_vector.hh:26:60: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 26 | inline Vector<3> makeVector(double x1, double x2, double x3){ + | ^ +./TooN/internal/make_vector.hh: In function 'TooN::Vector<4> TooN::makeVector(double, double, double, double)': +./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ + | ^ +In file included from ./TooN/TooN.h:357: +./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': +./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 65 | inline Matrix<2> inv(const Matrix<2>& m) + | ^ +tests/gaussian_elimination.cc: In function 'int main()': +tests/gaussian_elimination.cc:30:50: warning: implicitly-declared 'TooN::Matrix<>::Matrix(const TooN::Matrix<>&)' is deprecated [-Wdeprecated-copy] + 30 | Matrix<> x = gaussian_elimination(A, b); + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +In file included from ./TooN/TooN.h:344: +./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = -1; int Cols = -1; Precision = double; Layout = TooN::RowMajor]' + 164 | inline Matrix& operator= (const Matrix& from) + | ^~~~~~~~ +In file included from ./TooN/helpers.h:34: +./TooN/gaussian_elimination.h:105:116: note: initializing argument 1 of 'TooN::Matrix::s, C2, Precision> TooN::gaussian_elimination(Matrix, Matrix) [with int R1 = -1; int C1 = -1; int R2 = -1; int C2 = -1; Precision = double]' + 105 | inline Matrix::s, C2, Precision> gaussian_elimination (Matrix A, Matrix b) { + | ~~~~~~~~~~~~~~~~~~~~~~~~^ +tests/gaussian_elimination.cc:30:50: warning: implicitly-declared 'TooN::Matrix<>::Matrix(const TooN::Matrix<>&)' is deprecated [-Wdeprecated-copy] + 30 | Matrix<> x = gaussian_elimination(A, b); + | ~~~~~~~~~~~~~~~~~~~~^~~~~~ +./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = -1; int Cols = -1; Precision = double; Layout = TooN::RowMajor]' + 164 | inline Matrix& operator= (const Matrix& from) + | ^~~~~~~~ +./TooN/gaussian_elimination.h:105:145: note: initializing argument 2 of 'TooN::Matrix::s, C2, Precision> TooN::gaussian_elimination(Matrix, Matrix) [with int R1 = -1; int C1 = -1; int R2 = -1; int C2 = -1; Precision = double]' + 105 | inline Matrix::s, C2, Precision> gaussian_elimination (Matrix A, Matrix b) { + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^ +In file included from ./TooN/TooN.h:357: +./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': +./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 65 | inline Matrix<2> inv(const Matrix<2>& m) + | ^ +In file included from ./TooN/TooN.h:357: +./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': +./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 65 | inline Matrix<2> inv(const Matrix<2>& m) + | ^ +./TooN/gaussian_elimination.h: In instantiation of 'TooN::Matrix::s, C2, Precision> TooN::gaussian_elimination(Matrix, Matrix) [with int R1 = -1; int C1 = -1; int R2 = -1; int C2 = -1; Precision = double]': +tests/gaussian_elimination.cc:30:36: required from here +./TooN/gaussian_elimination.h:157:24: warning: implicitly-declared 'TooN::Matrix<>::Matrix(const TooN::Matrix<>&)' is deprecated [-Wdeprecated-copy] + 157 | return x; + | ^ +./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = -1; int Cols = -1; Precision = double; Layout = TooN::RowMajor]' + 164 | inline Matrix& operator= (const Matrix& from) + | ^~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/toon-0.0~git20220106104723.370dcd9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -W -O3 tests/initializer_list.cc -o tests/initializer_list.test -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_SNAN -I . -Wl,-z,relro -llapack ||\ { \ - echo "echo 'Compile error!'" > tests/initializer_list_fail_2.test ; \ - chmod +x tests/initializer_list_fail_2.test; \ + echo "echo 'Compile error!'" > tests/initializer_list.test ; \ + chmod +x tests/initializer_list.test; \ } +In file included from ./TooN/TooN.h:352: +./TooN/internal/diagmatrix.h: In instantiation of 'TooN::Vector::size, typename TooN::Internal::MultiplyType::type> TooN::operator*(const DiagonalMatrix&, const Vector&) [with int S1 = 2; P1 = double; B1 = Internal::VBase; int S2 = 2; P2 = double; B2 = Internal::VBase; typename Internal::MultiplyType::type = double]': +tests/diagonal_matrix.cc:23:14: required from here +./TooN/internal/diagmatrix.h:173:1: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 173 | operator*(const DiagonalMatrix& d, const Vector& v){ + | ^~~~~~~~ +./TooN/internal/diagmatrix.h: In instantiation of 'TooN::DiagonalMatrix TooN::DiagonalMatrix::operator-() const [with int Size = 2; Precision = double; Base = TooN::Internal::VBase]': +tests/diagonal_matrix.cc:26:6: required from here +./TooN/internal/diagmatrix.h:156:41: note: parameter passing for argument of type 'TooN::DiagonalMatrix<2, double, TooN::Internal::VBase>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 156 | DiagonalMatrix operator-() const + | ^~~~~~~~ +In file included from ./TooN/TooN.h:357: +./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': +./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 65 | inline Matrix<2> inv(const Matrix<2>& m) + | ^ +In file included from ./TooN/TooN.h:348: +./TooN/internal/operators.hh: In instantiation of 'TooN::Vector::size, typename TooN::Internal::MultiplyType::type> TooN::diagmult(const Vector&, const Vector&) [with int S1 = 2; int S2 = 2; P1 = double; P2 = double; B1 = Internal::VBase; B2 = Internal::VBase; typename Internal::MultiplyType::type = double]': +./TooN/internal/diagmatrix.h:174:17: required from 'TooN::Vector::size, typename TooN::Internal::MultiplyType::type> TooN::operator*(const DiagonalMatrix&, const Vector&) [with int S1 = 2; P1 = double; B1 = Internal::VBase; int S2 = 2; P2 = double; B2 = Internal::VBase; typename Internal::MultiplyType::type = double]' +tests/diagonal_matrix.cc:23:14: required from here +./TooN/internal/operators.hh:173:84: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 173 | Vector::size, typename Internal::MultiplyType::type> diagmult(const Vector& v1, const Vector& v2) + | ^~~~~~~~ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/toon-0.0~git20220106104723.370dcd9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -W -O3 tests/initializer_list_fail_1.cc -o tests/initializer_list_fail_1.test -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_SNAN -I . -Wl,-z,relro -llapack ||\ +{ \ + echo "echo 'Compile error!'" > tests/initializer_list_fail_1.test ; \ + chmod +x tests/initializer_list_fail_1.test; \ +} +tests/slice.cc: In function 'int main()': +tests/slice.cc:9:29: warning: implicitly-declared 'constexpr TooN::Matrix<3>::Matrix(const TooN::Matrix<3>&)' is deprecated [-Wdeprecated-copy] + 9 | const Matrix<3> n = m; + | ^ +In file included from ./TooN/TooN.h:344: +./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<3>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = 3; int Cols = 3; Precision = double; Layout = TooN::RowMajor]' + 164 | inline Matrix& operator= (const Matrix& from) + | ^~~~~~~~ +tests/diagonal_matrix.cc: In function 'int main()': +tests/diagonal_matrix.cc:26:12: note: parameter passing for argument of type 'TooN::DiagonalMatrix<2, double, TooN::Internal::VBase>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 26 | m2=-d; + | ^~ +./TooN/internal/diagmatrix.h: In function 'TooN::Vector::size, typename TooN::Internal::MultiplyType::type> TooN::operator*(const DiagonalMatrix&, const Vector&) [with int S1 = 2; P1 = double; B1 = Internal::VBase; int S2 = 2; P2 = double; B2 = Internal::VBase]': +./TooN/internal/diagmatrix.h:173:1: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 173 | operator*(const DiagonalMatrix& d, const Vector& v){ + | ^~~~~~~~ +./TooN/internal/diagmatrix.h: In member function 'TooN::DiagonalMatrix TooN::DiagonalMatrix::operator-() const [with int Size = 2; Precision = double; Base = TooN::Internal::VBase]': +./TooN/internal/diagmatrix.h:156:41: note: parameter passing for argument of type 'TooN::DiagonalMatrix<2, double, TooN::Internal::VBase>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 156 | DiagonalMatrix operator-() const + | ^~~~~~~~ +./TooN/internal/diagmatrix.h:158:24: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 158 | return -this->my_vector; + | ^~~~~~~~~~~~~~~~ +In file included from ./TooN/TooN.h:357: +./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': +./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 65 | inline Matrix<2> inv(const Matrix<2>& m) + | ^ +tests/diagonal_matrix.cc: In function 'int main()': +tests/diagonal_matrix.cc:26:13: note: parameter passing for argument of type 'TooN::DiagonalMatrix<2, double, TooN::Internal::VBase>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 26 | m2=-d; + | ^ +tests/diagonal_matrix.cc:6:5: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 6 | int main() + | ^~~~ In file included from ./TooN/TooN.h:347, from tests/initializer_list.cc:1: ./TooN/internal/make_vector.hh: In function 'TooN::Vector<1> TooN::makeVector(double)': @@ -962,6 +993,11 @@ ./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ | ^ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/toon-0.0~git20220106104723.370dcd9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -W -O3 tests/initializer_list_fail_2.cc -o tests/initializer_list_fail_2.test -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_SNAN -I . -Wl,-z,relro -llapack ||\ +{ \ + echo "echo 'Compile error!'" > tests/initializer_list_fail_2.test ; \ + chmod +x tests/initializer_list_fail_2.test; \ +} g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/toon-0.0~git20220106104723.370dcd9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -W -O3 tests/sim3.cc -o tests/sim3.test -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_SNAN -I . -Wl,-z,relro -llapack ||\ { \ echo "echo 'Compile error!'" > tests/sim3.test ; \ @@ -977,11 +1013,6 @@ echo "echo 'Compile error!'" > tests/chol_lapack.test ; \ chmod +x tests/chol_lapack.test; \ } -In file included from ./TooN/TooN.h:357: -./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': -./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 65 | inline Matrix<2> inv(const Matrix<2>& m) - | ^ In file included from ./TooN/TooN.h:347, from tests/initializer_list_fail_1.cc:1: ./TooN/internal/make_vector.hh: In function 'TooN::Vector<1> TooN::makeVector(double)': @@ -1000,6 +1031,11 @@ ./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ | ^ +In file included from ./TooN/TooN.h:357: +./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': +./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 65 | inline Matrix<2> inv(const Matrix<2>& m) + | ^ g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/toon-0.0~git20220106104723.370dcd9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -W -O3 tests/sym_eigen.cc -o tests/sym_eigen.test -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_SNAN -I . -Wl,-z,relro -llapack ||\ { \ echo "echo 'Compile error!'" > tests/sym_eigen.test ; \ @@ -1010,6 +1046,11 @@ echo "echo 'Compile error!'" > tests/qr.test ; \ chmod +x tests/qr.test; \ } +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/toon-0.0~git20220106104723.370dcd9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -W -O3 tests/lu.cc -o tests/lu.test -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_SNAN -I . -Wl,-z,relro -llapack ||\ +{ \ + echo "echo 'Compile error!'" > tests/lu.test ; \ + chmod +x tests/lu.test; \ +} In file included from ./TooN/TooN.h:347, from tests/initializer_list_fail_2.cc:1: ./TooN/internal/make_vector.hh: In function 'TooN::Vector<1> TooN::makeVector(double)': @@ -1028,6 +1069,11 @@ ./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ | ^ +In file included from ./TooN/TooN.h:357: +./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': +./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 65 | inline Matrix<2> inv(const Matrix<2>& m) + | ^ In file included from ./TooN/TooN.h:347, from ./TooN/so3.h:31, from ./TooN/se3.h:31, @@ -1037,6 +1083,11 @@ ./TooN/internal/make_vector.hh:4:38: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 4 | inline Vector<1> makeVector(double x1){ | ^ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/toon-0.0~git20220106104723.370dcd9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -W -O3 tests/determinant.cc -o tests/determinant.test -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_SNAN -I . -Wl,-z,relro -llapack ||\ +{ \ + echo "echo 'Compile error!'" > tests/determinant.test ; \ + chmod +x tests/determinant.test; \ +} ./TooN/internal/make_vector.hh: In function 'TooN::Vector<2> TooN::makeVector(double, double)': ./TooN/internal/make_vector.hh:14:49: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 14 | inline Vector<2> makeVector(double x1, double x2){ @@ -1063,15 +1114,48 @@ ./TooN/internal/make_vector.hh:26:60: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 26 | inline Vector<3> makeVector(double x1, double x2, double x3){ | ^ +In file included from ./TooN/TooN.h:333: +./TooN/internal/allocator.hh: In instantiation of 'TooN::Internal::VectorAlloc::VectorAlloc(const Precision2 (&)[Size2]) [with Precision2 = int; int Size2 = 5; int Size = 4; Precision = double]': +./TooN/internal/vbase.hh:140:8: required from 'TooN::Internal::GenericVBase::GenericVBase(const Precision2 (&)[Size2]) [with Precision2 = int; int Size2 = 5; int Size = 4; Precision = double; int Stride = 1; Mem = TooN::Internal::VectorAlloc<4, double>]' +./TooN/internal/vbase.hh:104:70: required from 'TooN::Internal::VBase::VLayout::VLayout(const Precision2 (&)[Size2]) [with Precision2 = int; int Size2 = 5; int Size = 4; Precision = double]' +./TooN/internal/vector.hh:182:48: required from 'TooN::Vector::Vector(const Precision2 (&)[Size2]) [with Precision2 = int; int Size2 = 5; int Size = 4; Precision = double; Base = TooN::Internal::VBase]' +tests/initializer_list_fail_1.cc:8:29: required from here +./TooN/internal/allocator.hh:133:36: error: static assertion failed: Wrong number of elements to initialize static vector + 133 | static_assert(Size == Size2, "Wrong number of elements to initialize static vector"); + | ~~~~~^~~~~~~~ +./TooN/internal/allocator.hh:133:36: note: the comparison reduces to '(4 == 5)' ./TooN/internal/make_vector.hh: In function 'TooN::Vector<4> TooN::makeVector(double, double, double, double)': ./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ | ^ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/toon-0.0~git20220106104723.370dcd9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -W -O3 tests/lu.cc -o tests/lu.test -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_SNAN -I . -Wl,-z,relro -llapack ||\ -{ \ - echo "echo 'Compile error!'" > tests/lu.test ; \ - chmod +x tests/lu.test; \ -} +tests/slice.test > tests/slice.testout || ( echo Crash!!! > tests/slice.testout ) +tests/vector_resize.test > tests/vector_resize.testout || ( echo Crash!!! > tests/vector_resize.testout ) +In file included from ./TooN/TooN.h:347, + from ./TooN/Lapack_Cholesky.h:32, + from tests/chol_lapack.cc:1: +./TooN/internal/make_vector.hh: In function 'TooN::Vector<1> TooN::makeVector(double)': +./TooN/internal/make_vector.hh:4:38: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 4 | inline Vector<1> makeVector(double x1){ + | ^ +./TooN/internal/make_vector.hh: In function 'TooN::Vector<2> TooN::makeVector(double, double)': +./TooN/internal/make_vector.hh:14:49: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 14 | inline Vector<2> makeVector(double x1, double x2){ + | ^ +tests/gauss_jordan.test > tests/gauss_jordan.testout || ( echo Crash!!! > tests/gauss_jordan.testout ) +./TooN/internal/make_vector.hh: In function 'TooN::Vector<3> TooN::makeVector(double, double, double)': +./TooN/internal/make_vector.hh:26:60: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 26 | inline Vector<3> makeVector(double x1, double x2, double x3){ + | ^ +./TooN/internal/make_vector.hh: In function 'TooN::Vector<4> TooN::makeVector(double, double, double, double)': +./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ + | ^ +tests/fill.test > tests/fill.testout || ( echo Crash!!! > tests/fill.testout ) +tests/so3.test > tests/so3.testout || ( echo Crash!!! > tests/so3.testout ) +tests/complex.test > tests/complex.testout || ( echo Crash!!! > tests/complex.testout ) +tests/gr_svd.test > tests/gr_svd.testout || ( echo Crash!!! > tests/gr_svd.testout ) +tests/diagonal_matrix.test > tests/diagonal_matrix.testout || ( echo Crash!!! > tests/diagonal_matrix.testout ) +tests/gaussian_elimination.test > tests/gaussian_elimination.testout || ( echo Crash!!! > tests/gaussian_elimination.testout ) In file included from ./TooN/TooN.h:357: ./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': ./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 @@ -1097,19 +1181,9 @@ ./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ | ^ -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/toon-0.0~git20220106104723.370dcd9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -Wextra -W -O3 tests/determinant.cc -o tests/determinant.test -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_SNAN -I . -Wl,-z,relro -llapack ||\ -{ \ - echo "echo 'Compile error!'" > tests/determinant.test ; \ - chmod +x tests/determinant.test; \ -} -In file included from ./TooN/TooN.h:357: -./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': -./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 65 | inline Matrix<2> inv(const Matrix<2>& m) - | ^ In file included from ./TooN/TooN.h:347, from ./tests/test_helper.h:1, - from tests/qr.cc:1: + from tests/lu.cc:1: ./TooN/internal/make_vector.hh: In function 'TooN::Vector<1> TooN::makeVector(double)': ./TooN/internal/make_vector.hh:4:38: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 4 | inline Vector<1> makeVector(double x1){ @@ -1126,33 +1200,19 @@ ./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ | ^ -In file included from ./TooN/TooN.h:357: -./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': -./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 65 | inline Matrix<2> inv(const Matrix<2>& m) - | ^ -tests/slice.test > tests/slice.testout || ( echo Crash!!! > tests/slice.testout ) -tests/vector_resize.test > tests/vector_resize.testout || ( echo Crash!!! > tests/vector_resize.testout ) -tests/fill.test > tests/fill.testout || ( echo Crash!!! > tests/fill.testout ) In file included from ./TooN/TooN.h:333: -./TooN/internal/allocator.hh: In instantiation of 'TooN::Internal::VectorAlloc::VectorAlloc(const Precision2 (&)[Size2]) [with Precision2 = int; int Size2 = 5; int Size = 4; Precision = double]': -./TooN/internal/vbase.hh:140:8: required from 'TooN::Internal::GenericVBase::GenericVBase(const Precision2 (&)[Size2]) [with Precision2 = int; int Size2 = 5; int Size = 4; Precision = double; int Stride = 1; Mem = TooN::Internal::VectorAlloc<4, double>]' -./TooN/internal/vbase.hh:104:70: required from 'TooN::Internal::VBase::VLayout::VLayout(const Precision2 (&)[Size2]) [with Precision2 = int; int Size2 = 5; int Size = 4; Precision = double]' -./TooN/internal/vector.hh:182:48: required from 'TooN::Vector::Vector(const Precision2 (&)[Size2]) [with Precision2 = int; int Size2 = 5; int Size = 4; Precision = double; Base = TooN::Internal::VBase]' -tests/initializer_list_fail_1.cc:8:29: required from here +./TooN/internal/allocator.hh: In instantiation of 'TooN::Internal::VectorAlloc::VectorAlloc(const Precision2 (&)[Size2]) [with Precision2 = int; int Size2 = 2; int Size = 3; Precision = double]': +./TooN/internal/vbase.hh:140:8: required from 'TooN::Internal::GenericVBase::GenericVBase(const Precision2 (&)[Size2]) [with Precision2 = int; int Size2 = 2; int Size = 3; Precision = double; int Stride = 1; Mem = TooN::Internal::VectorAlloc<3, double>]' +./TooN/internal/vbase.hh:104:70: required from 'TooN::Internal::VBase::VLayout::VLayout(const Precision2 (&)[Size2]) [with Precision2 = int; int Size2 = 2; int Size = 3; Precision = double]' +./TooN/internal/vector.hh:182:48: required from 'TooN::Vector::Vector(const Precision2 (&)[Size2]) [with Precision2 = int; int Size2 = 2; int Size = 3; Precision = double; Base = TooN::Internal::VBase]' +tests/initializer_list_fail_2.cc:8:19: required from here ./TooN/internal/allocator.hh:133:36: error: static assertion failed: Wrong number of elements to initialize static vector 133 | static_assert(Size == Size2, "Wrong number of elements to initialize static vector"); | ~~~~~^~~~~~~~ -./TooN/internal/allocator.hh:133:36: note: the comparison reduces to '(4 == 5)' -tests/so3.test > tests/so3.testout || ( echo Crash!!! > tests/so3.testout ) -tests/complex.test > tests/complex.testout || ( echo Crash!!! > tests/complex.testout ) -tests/gr_svd.test > tests/gr_svd.testout || ( echo Crash!!! > tests/gr_svd.testout ) -tests/diagonal_matrix.test > tests/diagonal_matrix.testout || ( echo Crash!!! > tests/diagonal_matrix.testout ) -tests/gaussian_elimination.test > tests/gaussian_elimination.testout || ( echo Crash!!! > tests/gaussian_elimination.testout ) -tests/zeros.test > tests/zeros.testout || ( echo Crash!!! > tests/zeros.testout ) +./TooN/internal/allocator.hh:133:36: note: the comparison reduces to '(3 == 2)' In file included from ./TooN/TooN.h:347, - from ./TooN/Lapack_Cholesky.h:32, - from tests/chol_lapack.cc:1: + from ./tests/test_helper.h:1, + from tests/qr.cc:1: ./TooN/internal/make_vector.hh: In function 'TooN::Vector<1> TooN::makeVector(double)': ./TooN/internal/make_vector.hh:4:38: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 4 | inline Vector<1> makeVector(double x1){ @@ -1169,6 +1229,39 @@ ./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ | ^ +tests/zeros.test > tests/zeros.testout || ( echo Crash!!! > tests/zeros.testout ) +tests/initializer_list.test > tests/initializer_list.testout || ( echo Crash!!! > tests/initializer_list.testout ) +tests/initializer_list_fail_1.test > tests/initializer_list_fail_1.testout || ( echo Crash!!! > tests/initializer_list_fail_1.testout ) +tests/initializer_list_fail_2.test > tests/initializer_list_fail_2.testout || ( echo Crash!!! > tests/initializer_list_fail_2.testout ) +awk -vname=slice -f tests/numdiff.awk -vf1=tests/slice.testout -vf2=tests/slice.txt > tests/slice.result +In file included from ./TooN/TooN.h:357: +./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': +./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 65 | inline Matrix<2> inv(const Matrix<2>& m) + | ^ +awk -vname=vector_resize -f tests/numdiff.awk -vf1=tests/vector_resize.testout -vf2=tests/vector_resize.txt > tests/vector_resize.result +awk -vname=gauss_jordan -f tests/numdiff.awk -vf1=tests/gauss_jordan.testout -vf2=tests/gauss_jordan.txt > tests/gauss_jordan.result +awk -vname=fill -f tests/numdiff.awk -vf1=tests/fill.testout -vf2=tests/fill.txt > tests/fill.result +In file included from ./TooN/TooN.h:357: +./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': +./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 65 | inline Matrix<2> inv(const Matrix<2>& m) + | ^ +awk -vname=so3 -f tests/numdiff.awk -vf1=tests/so3.testout -vf2=tests/so3.txt > tests/so3.result +In file included from ./TooN/TooN.h:357: +./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': +./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 65 | inline Matrix<2> inv(const Matrix<2>& m) + | ^ +awk -vname=complex -f tests/numdiff.awk -vf1=tests/complex.testout -vf2=tests/complex.txt > tests/complex.result +awk -vname=gr_svd -f tests/numdiff.awk -vf1=tests/gr_svd.testout -vf2=tests/gr_svd.txt > tests/gr_svd.result +awk -vname=diagonal_matrix -f tests/numdiff.awk -vf1=tests/diagonal_matrix.testout -vf2=tests/diagonal_matrix.txt > tests/diagonal_matrix.result +awk -vname=zeros -f tests/numdiff.awk -vf1=tests/zeros.testout -vf2=tests/zeros.txt > tests/zeros.result +tests/swap.test > tests/swap.testout || ( echo Crash!!! > tests/swap.testout ) +awk -vname=initializer_list -f tests/numdiff.awk -vf1=tests/initializer_list.testout -vf2=tests/initializer_list.txt > tests/initializer_list.result +awk -vname=initializer_list_fail_1 -f tests/numdiff.awk -vf1=tests/initializer_list_fail_1.testout -vf2=tests/initializer_list_fail_1.txt > tests/initializer_list_fail_1.result +awk -vname=initializer_list_fail_2 -f tests/numdiff.awk -vf1=tests/initializer_list_fail_2.testout -vf2=tests/initializer_list_fail_2.txt > tests/initializer_list_fail_2.result +awk -vname=swap -f tests/numdiff.awk -vf1=tests/swap.testout -vf2=tests/swap.txt > tests/swap.result In file included from tests/eigen-sqrt.cc:3: ./TooN/SymEigen.h: In instantiation of 'TooN::Vector TooN::SymEigen::get_inv_diag(double) const [with int Size = 3; Precision = double]': ./TooN/SymEigen.h:452:37: required from 'TooN::Matrix TooN::SymEigen::get_pinv(double) const [with int Size = 3; Precision = double]' @@ -1176,13 +1269,29 @@ ./TooN/SymEigen.h:461:33: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 461 | Vector get_inv_diag(const double condition) const { | ^~~~~~~~~~~~ -tests/swap.test > tests/swap.testout || ( echo Crash!!! > tests/swap.testout ) -In file included from ./TooN/TooN.h:357: -./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': -./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 65 | inline Matrix<2> inv(const Matrix<2>& m) - | ^ -tests/initializer_list.test > tests/initializer_list.testout || ( echo Crash!!! > tests/initializer_list.testout ) +./TooN/Lapack_Cholesky.h: In instantiation of 'TooN::Lapack_Cholesky::Lapack_Cholesky(const TooN::Matrix&) [with P2 = double; B2 = TooN::RowMajor; int Size = 3; Precision = double]': +tests/chol_lapack.cc:18:30: required from here +./TooN/Lapack_Cholesky.h:77:13: warning: implicitly-declared 'constexpr TooN::Matrix<3>::Matrix(const TooN::Matrix<3>&)' is deprecated [-Wdeprecated-copy] + 77 | : my_cholesky(m), my_cholesky_lapack(m) { + | ^~~~~~~~~~~~~~ +In file included from ./TooN/TooN.h:344: +./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<3>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = 3; int Cols = 3; Precision = double; Layout = TooN::RowMajor]' + 164 | inline Matrix& operator= (const Matrix& from) + | ^~~~~~~~ +./TooN/Lapack_Cholesky.h:77:29: warning: implicitly-declared 'constexpr TooN::Matrix<3>::Matrix(const TooN::Matrix<3>&)' is deprecated [-Wdeprecated-copy] + 77 | : my_cholesky(m), my_cholesky_lapack(m) { + | ^~~~~~~~~~~~~~~~~~~~~ +./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<3>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = 3; int Cols = 3; Precision = double; Layout = TooN::RowMajor]' + 164 | inline Matrix& operator= (const Matrix& from) + | ^~~~~~~~ +./TooN/Lapack_Cholesky.h: In instantiation of 'TooN::Matrix TooN::Lapack_Cholesky::get_L() const [with int Size = 3; Precision = double]': +tests/chol_lapack.cc:25:36: required from here +./TooN/Lapack_Cholesky.h:151:24: warning: implicitly-declared 'constexpr TooN::Matrix<3>::Matrix(const TooN::Matrix<3>&)' is deprecated [-Wdeprecated-copy] + 151 | return my_cholesky; + | ^~~~~~~~~~~ +./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<3>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = 3; int Cols = 3; Precision = double; Layout = TooN::RowMajor]' + 164 | inline Matrix& operator= (const Matrix& from) + | ^~~~~~~~ ./TooN/SymEigen.h: In instantiation of 'static void TooN::Internal::ComputeSymEigen<3>::compute(const TooN::Matrix<3, 3, P, B>&, TooN::Matrix<3, 3, P>&, TooN::Vector<3, Precision>&) [with P = double; B = TooN::RowMajor]': ./TooN/SymEigen.h:425:43: required from 'void TooN::SymEigen::compute(const TooN::Matrix&) [with int R = 3; int C = 3; B = TooN::RowMajor; int Size = 3; Precision = double]' ./TooN/SymEigen.h:417:10: required from 'TooN::SymEigen::SymEigen(const TooN::Matrix&) [with int R = 3; int C = 3; B = TooN::RowMajor; int Size = 3; Precision = double]' @@ -1223,10 +1332,38 @@ ./TooN/SymEigen.h:173:37: note: the temporary was destroyed at the end of the full expression '(& m)->TooN::Matrix<3>::.TooN::RowMajor::MLayout<3, 3, double>::.TooN::Internal::GenericMBase<3, 3, double, 3, 1, TooN::Internal::MatrixAlloc<3, 3, double, true> >::operator[](2).TooN::Vector<3, const double, TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default> >::.TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default>::VLayout<3, const double>::.TooN::Internal::GenericVBase<3, const double, 1, TooN::Internal::VectorSlice<3, const double, const double*, const double*, const double&, const double&> >::operator[](2)' 173 | const double& a33 = m[2][2]; | ~~~~^ -tests/initializer_list_fail_1.test > tests/initializer_list_fail_1.testout || ( echo Crash!!! > tests/initializer_list_fail_1.testout ) -awk -vname=slice -f tests/numdiff.awk -vf1=tests/slice.testout -vf2=tests/slice.txt > tests/slice.result -awk -vname=vector_resize -f tests/numdiff.awk -vf1=tests/vector_resize.testout -vf2=tests/vector_resize.txt > tests/vector_resize.result -tests/gauss_jordan.test > tests/gauss_jordan.testout || ( echo Crash!!! > tests/gauss_jordan.testout ) +./TooN/Lapack_Cholesky.h: In instantiation of 'TooN::Matrix TooN::Lapack_Cholesky::get_L() const [with int Size = -1; Precision = float]': +tests/chol_lapack.cc:37:37: required from here +./TooN/Lapack_Cholesky.h:151:24: warning: implicitly-declared 'TooN::Matrix<-1, -1, float, TooN::RowMajor>::Matrix(const TooN::Matrix<-1, -1, float, TooN::RowMajor>&)' is deprecated [-Wdeprecated-copy] + 151 | return my_cholesky; + | ^~~~~~~~~~~ +./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<-1, -1, float, TooN::RowMajor>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = -1; int Cols = -1; Precision = float; Layout = TooN::RowMajor]' + 164 | inline Matrix& operator= (const Matrix& from) + | ^~~~~~~~ +./TooN/Lapack_Cholesky.h: In instantiation of 'TooN::Vector TooN::Lapack_Cholesky::backsub(const TooN::Vector&) const [with int Size2 = 3; P2 = double; B2 = TooN::Internal::VBase; int Size = 3; Precision = double]': +tests/chol_lapack.cc:46:25: required from here +./TooN/Lapack_Cholesky.h:120:41: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 120 | Vector backsub (const Vector& v) const { + | ^~~~~~~ +In file included from ./TooN/TooN.h:347, + from ./tests/test_helper.h:1, + from tests/determinant.cc:1: +./TooN/internal/make_vector.hh: In function 'TooN::Vector<1> TooN::makeVector(double)': +./TooN/internal/make_vector.hh:4:38: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 4 | inline Vector<1> makeVector(double x1){ + | ^ +./TooN/internal/make_vector.hh: In function 'TooN::Vector<2> TooN::makeVector(double, double)': +./TooN/internal/make_vector.hh:14:49: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 14 | inline Vector<2> makeVector(double x1, double x2){ + | ^ +./TooN/internal/make_vector.hh: In function 'TooN::Vector<3> TooN::makeVector(double, double, double)': +./TooN/internal/make_vector.hh:26:60: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 26 | inline Vector<3> makeVector(double x1, double x2, double x3){ + | ^ +./TooN/internal/make_vector.hh: In function 'TooN::Vector<4> TooN::makeVector(double, double, double, double)': +./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ + | ^ ./TooN/sim3.h: In instantiation of 'TooN::Vector<4, typename TooN::Internal::MultiplyType::type> TooN::operator*(const SIM3

&, const Vector&) [with int S = 4; PV = double; A = Internal::VBase; P = double; typename Internal::MultiplyType::type = double]': tests/sim3.cc:38:47: required from here ./TooN/sim3.h:306:56: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 @@ -1241,7 +1378,6 @@ ./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<4, 4, double, TooN::RowMajor>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = 4; int Cols = 4; Precision = double; Layout = TooN::RowMajor]' 164 | inline Matrix& operator= (const Matrix& from) | ^~~~~~~~ -awk -vname=fill -f tests/numdiff.awk -vf1=tests/fill.testout -vf2=tests/fill.txt > tests/fill.result ./TooN/sim3.h:128:32: warning: implicitly-declared 'constexpr TooN::Matrix<4, 4, double, TooN::RowMajor>::Matrix(const TooN::Matrix<4, 4, double, TooN::RowMajor>&)' is deprecated [-Wdeprecated-copy] 128 | return result; | ^~~~~~ @@ -1254,13 +1390,13 @@ ./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<4, 4, double, TooN::RowMajor>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = 4; int Cols = 4; Precision = double; Layout = TooN::RowMajor]' 164 | inline Matrix& operator= (const Matrix& from) | ^~~~~~~~ -awk -vname=so3 -f tests/numdiff.awk -vf1=tests/so3.testout -vf2=tests/so3.txt > tests/so3.result -awk -vname=complex -f tests/numdiff.awk -vf1=tests/complex.testout -vf2=tests/complex.txt > tests/complex.result -awk -vname=gr_svd -f tests/numdiff.awk -vf1=tests/gr_svd.testout -vf2=tests/gr_svd.txt > tests/gr_svd.result -awk -vname=diagonal_matrix -f tests/numdiff.awk -vf1=tests/diagonal_matrix.testout -vf2=tests/diagonal_matrix.txt > tests/diagonal_matrix.result -awk -vname=zeros -f tests/numdiff.awk -vf1=tests/zeros.testout -vf2=tests/zeros.txt > tests/zeros.result -awk -vname=swap -f tests/numdiff.awk -vf1=tests/swap.testout -vf2=tests/swap.txt > tests/swap.result -awk -vname=initializer_list -f tests/numdiff.awk -vf1=tests/initializer_list.testout -vf2=tests/initializer_list.txt > tests/initializer_list.result +tests/chol_toon.test > tests/chol_toon.testout || ( echo Crash!!! > tests/chol_toon.testout ) +awk -vname=chol_toon -f tests/numdiff.awk -vf1=tests/chol_toon.testout -vf2=tests/chol_toon.txt > tests/chol_toon.result +In file included from ./TooN/TooN.h:357: +./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': +./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 65 | inline Matrix<2> inv(const Matrix<2>& m) + | ^ In file included from ./TooN/TooN.h:348: ./TooN/internal/operators.hh: In instantiation of 'TooN::Vector::Type> TooN::operator*(const Vector&, const P2&) [with int Size = 3; P1 = const double; B1 = Internal::SliceVBase<1, Internal::Default, Internal::Default, Internal::Default, Internal::Default>; P2 = double; typename Internal::Multiply::Return::Type = double]': ./TooN/sim3.h:256:44: required from 'std::ostream& TooN::operator<<(std::ostream&, const SIM3&) [with Precision = double; std::ostream = std::basic_ostream]' @@ -1268,30 +1404,6 @@ ./TooN/internal/operators.hh:520:64: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 520 | Vector::Type> operator*(const Vector& v, const P2& s){ | ^~~~~~~~ -awk -vname=initializer_list_fail_1 -f tests/numdiff.awk -vf1=tests/initializer_list_fail_1.testout -vf2=tests/initializer_list_fail_1.txt > tests/initializer_list_fail_1.result -In file included from ./TooN/TooN.h:348: -./TooN/internal/operators.hh: In instantiation of 'TooN::Vector::type> TooN::operator*(const Matrix&, const Vector&) [with int R = 2; int C = 2; int Size = 2; P1 = double; P2 = double; B1 = RowMajor; B2 = Internal::SliceVBase<1, Internal::Default, Internal::Default, Internal::Default, Internal::Default>; typename Internal::MultiplyType::type = double]': -tests/sym_eigen.cc:50:25: required from 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 2]' -tests/sym_eigen.cc:68:13: required from 'void test_things_(int, int&, double&) [with int Size1 = 2]' -tests/sym_eigen.cc:85:18: required from here -./TooN/internal/operators.hh:384:57: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 384 | Vector::type> operator*(const Matrix& m, const Vector& v) - | ^~~~~~~~ -In file included from ./TooN/TooN.h:352: -./TooN/internal/diagmatrix.h: In instantiation of 'TooN::Matrix::type> TooN::operator*(const Matrix&, const DiagonalMatrix&) [with int R = 2; int C = 2; int Size = 2; P1 = double; P2 = double; B1 = Internal::Slice<1, 2>; B2 = Internal::SliceVBase<1, double*, const double*, double&, const double&>; typename Internal::MultiplyType::type = double]': -tests/sym_eigen.cc:52:48: required from 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 2]' -tests/sym_eigen.cc:68:13: required from 'void test_things_(int, int&, double&) [with int Size1 = 2]' -tests/sym_eigen.cc:85:18: required from here -./TooN/internal/diagmatrix.h:193:1: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 193 | operator* (const Matrix& m, const DiagonalMatrix& d){ - | ^~~~~~~~ -./TooN/internal/operators.hh: In instantiation of 'TooN::Vector::type> TooN::operator*(const Matrix&, const Vector&) [with int R = 3; int C = 3; int Size = 3; P1 = double; P2 = double; B1 = RowMajor; B2 = Internal::SliceVBase<1, Internal::Default, Internal::Default, Internal::Default, Internal::Default>; typename Internal::MultiplyType::type = double]': -tests/sym_eigen.cc:50:25: required from 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 3]' -tests/sym_eigen.cc:68:13: required from 'void test_things_(int, int&, double&) [with int Size1 = 3]' -tests/sym_eigen.cc:86:18: required from here -./TooN/internal/operators.hh:384:57: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 384 | Vector::type> operator*(const Matrix& m, const Vector& v) - | ^~~~~~~~ In file included from tests/sim3.cc:2: ./TooN/functions/derivatives.h: In instantiation of 'std::pair<_ForwardIterator, _ForwardIterator> TooN::Internal::extrapolate_to_zero(F&) [with F = CentralDifferenceGradient&)>, double, 7, VBase>; Precision = double]': ./TooN/functions/derivatives.h:362:75: required from 'TooN::Vector TooN::numerical_gradient(const F&, const Vector&) [with F = main()::&)>; int S = 7; P = double; B = Internal::VBase]' @@ -1299,61 +1411,6 @@ ./TooN/functions/derivatives.h:44:84: note: parameter passing for argument of type 'std::pair' when C++17 is enabled changed to match C++14 in GCC 10.1 44 | template std::pair extrapolate_to_zero(F& f) | ^~~~~~~~~~~~~~~~~~~ -./TooN/internal/operators.hh: In instantiation of 'TooN::Vector::type> TooN::operator*(const Matrix&, const Vector&) [with int R = 4; int C = 4; int Size = 4; P1 = double; P2 = double; B1 = RowMajor; B2 = Internal::SliceVBase<1, Internal::Default, Internal::Default, Internal::Default, Internal::Default>; typename Internal::MultiplyType::type = double]': -tests/sym_eigen.cc:50:25: required from 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 4]' -tests/sym_eigen.cc:68:13: required from 'void test_things_(int, int&, double&) [with int Size1 = 4]' -tests/sym_eigen.cc:93:18: required from here -./TooN/internal/operators.hh:384:57: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 -./TooN/internal/operators.hh: In instantiation of 'TooN::Matrix::type> TooN::diagmult(const Matrix&, const Vector&) [with int R = 2; int C = 2; int Size = 2; P1 = double; P2 = double; B1 = Internal::Slice<1, 2>; B2 = Internal::SliceVBase<1, double*, const double*, double&, const double&>; typename Internal::MultiplyType::type = double]': -./TooN/internal/diagmatrix.h:194:17: required from 'TooN::Matrix::type> TooN::operator*(const Matrix&, const DiagonalMatrix&) [with int R = 2; int C = 2; int Size = 2; P1 = double; P2 = double; B1 = Internal::Slice<1, 2>; B2 = Internal::SliceVBase<1, double*, const double*, double&, const double&>; typename Internal::MultiplyType::type = double]' -tests/sym_eigen.cc:52:48: required from 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 2]' -tests/sym_eigen.cc:68:13: required from 'void test_things_(int, int&, double&) [with int Size1 = 2]' -tests/sym_eigen.cc:85:18: required from here -./TooN/internal/operators.hh:440:60: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 440 | Matrix::type> diagmult(const Matrix& m, const Vector& v) - | ^~~~~~~~ -./TooN/SymEigen.h: In instantiation of 'static void TooN::Internal::ComputeSymEigen<3>::compute(const TooN::Matrix<3, 3, P, B>&, TooN::Matrix<3, 3, P>&, TooN::Vector<3, Precision>&) [with P = double; B = TooN::RowMajor]': -./TooN/SymEigen.h:425:43: required from 'void TooN::SymEigen::compute(const TooN::Matrix&) [with int R = 3; int C = 3; B = TooN::RowMajor; int Size = 3; Precision = double]' -./TooN/SymEigen.h:417:10: required from 'TooN::SymEigen::SymEigen(const TooN::Matrix&) [with int R = 3; int C = 3; B = TooN::RowMajor; int Size = 3; Precision = double]' -tests/sym_eigen.cc:35:18: required from 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 3]' -tests/sym_eigen.cc:68:13: required from 'void test_things_(int, int&, double&) [with int Size1 = 3]' -tests/sym_eigen.cc:86:18: required from here -./TooN/SymEigen.h:166:27: warning: possibly dangling reference to a temporary [-Wdangling-reference] - 166 | const double& a11 = m[0][0]; - | ^~~ -./TooN/SymEigen.h:166:37: note: the temporary was destroyed at the end of the full expression '(& m)->TooN::Matrix<3, 3, double, TooN::RowMajor>::.TooN::RowMajor::MLayout<3, 3, double>::.TooN::Internal::GenericMBase<3, 3, double, 3, 1, TooN::Internal::MatrixAlloc<3, 3, double, true> >::operator[](0).TooN::Vector<3, const double, TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default> >::.TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default>::VLayout<3, const double>::.TooN::Internal::GenericVBase<3, const double, 1, TooN::Internal::VectorSlice<3, const double, const double*, const double*, const double&, const double&> >::operator[](0)' - 166 | const double& a11 = m[0][0]; - | ~~~~^ -./TooN/SymEigen.h:167:27: warning: possibly dangling reference to a temporary [-Wdangling-reference] - 167 | const double& a12 = m[0][1]; - | ^~~ -./TooN/SymEigen.h:167:37: note: the temporary was destroyed at the end of the full expression '(& m)->TooN::Matrix<3, 3, double, TooN::RowMajor>::.TooN::RowMajor::MLayout<3, 3, double>::.TooN::Internal::GenericMBase<3, 3, double, 3, 1, TooN::Internal::MatrixAlloc<3, 3, double, true> >::operator[](0).TooN::Vector<3, const double, TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default> >::.TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default>::VLayout<3, const double>::.TooN::Internal::GenericVBase<3, const double, 1, TooN::Internal::VectorSlice<3, const double, const double*, const double*, const double&, const double&> >::operator[](1)' - 167 | const double& a12 = m[0][1]; - | ~~~~^ -./TooN/SymEigen.h:168:27: warning: possibly dangling reference to a temporary [-Wdangling-reference] - 168 | const double& a13 = m[0][2]; - | ^~~ -./TooN/SymEigen.h:168:37: note: the temporary was destroyed at the end of the full expression '(& m)->TooN::Matrix<3, 3, double, TooN::RowMajor>::.TooN::RowMajor::MLayout<3, 3, double>::.TooN::Internal::GenericMBase<3, 3, double, 3, 1, TooN::Internal::MatrixAlloc<3, 3, double, true> >::operator[](0).TooN::Vector<3, const double, TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default> >::.TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default>::VLayout<3, const double>::.TooN::Internal::GenericVBase<3, const double, 1, TooN::Internal::VectorSlice<3, const double, const double*, const double*, const double&, const double&> >::operator[](2)' - 168 | const double& a13 = m[0][2]; - | ~~~~^ -./TooN/SymEigen.h:170:27: warning: possibly dangling reference to a temporary [-Wdangling-reference] - 170 | const double& a22 = m[1][1]; - | ^~~ -./TooN/SymEigen.h:170:37: note: the temporary was destroyed at the end of the full expression '(& m)->TooN::Matrix<3, 3, double, TooN::RowMajor>::.TooN::RowMajor::MLayout<3, 3, double>::.TooN::Internal::GenericMBase<3, 3, double, 3, 1, TooN::Internal::MatrixAlloc<3, 3, double, true> >::operator[](1).TooN::Vector<3, const double, TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default> >::.TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default>::VLayout<3, const double>::.TooN::Internal::GenericVBase<3, const double, 1, TooN::Internal::VectorSlice<3, const double, const double*, const double*, const double&, const double&> >::operator[](1)' - 170 | const double& a22 = m[1][1]; - | ~~~~^ -./TooN/SymEigen.h:171:27: warning: possibly dangling reference to a temporary [-Wdangling-reference] - 171 | const double& a23 = m[1][2]; - | ^~~ -./TooN/SymEigen.h:171:37: note: the temporary was destroyed at the end of the full expression '(& m)->TooN::Matrix<3, 3, double, TooN::RowMajor>::.TooN::RowMajor::MLayout<3, 3, double>::.TooN::Internal::GenericMBase<3, 3, double, 3, 1, TooN::Internal::MatrixAlloc<3, 3, double, true> >::operator[](1).TooN::Vector<3, const double, TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default> >::.TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default>::VLayout<3, const double>::.TooN::Internal::GenericVBase<3, const double, 1, TooN::Internal::VectorSlice<3, const double, const double*, const double*, const double&, const double&> >::operator[](2)' - 171 | const double& a23 = m[1][2]; - | ~~~~^ -./TooN/SymEigen.h:173:27: warning: possibly dangling reference to a temporary [-Wdangling-reference] - 173 | const double& a33 = m[2][2]; - | ^~~ -./TooN/SymEigen.h:173:37: note: the temporary was destroyed at the end of the full expression '(& m)->TooN::Matrix<3, 3, double, TooN::RowMajor>::.TooN::RowMajor::MLayout<3, 3, double>::.TooN::Internal::GenericMBase<3, 3, double, 3, 1, TooN::Internal::MatrixAlloc<3, 3, double, true> >::operator[](2).TooN::Vector<3, const double, TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default> >::.TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default>::VLayout<3, const double>::.TooN::Internal::GenericVBase<3, const double, 1, TooN::Internal::VectorSlice<3, const double, const double*, const double*, const double&, const double&> >::operator[](2)' - 173 | const double& a33 = m[2][2]; - | ~~~~^ ./TooN/internal/operators.hh: In instantiation of 'TooN::Vector::type> TooN::operator*(const Matrix&, const Vector&) [with int R = 3; int C = 3; int Size = 3; P1 = double; P2 = double; B1 = RowMajor; B2 = Internal::VBase; typename Internal::MultiplyType::type = double]': ./TooN/so3.h:338:26: required from 'TooN::Vector<3, typename TooN::Internal::MultiplyType::type> TooN::operator*(const SO3

&, const Vector&) [with int S = 3; P = double; PV = double; A = Internal::VBase; typename Internal::MultiplyType::type = double]' ./TooN/sim3.h:88:38: required from 'TooN::SIM3 TooN::SIM3::inverse() const [with Precision = double]' @@ -1366,16 +1423,11 @@ ./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 65 | inline Matrix<2> inv(const Matrix<2>& m) | ^ -./TooN/internal/operators.hh: In instantiation of 'TooN::Vector::Precision>::Type> TooN::operator-(const Vector&, const Operator&) [with int Size = 3; P1 = double; B1 = Internal::VBase; Op = Internal::Scalars; typename Internal::Subtract::Return::Precision>::Type = double; typename Operator::Precision = double]': -./TooN/SymEigen.h:204:114: required from 'static void TooN::Internal::ComputeSymEigen<3>::compute(const TooN::Matrix<3, 3, P, B>&, TooN::Matrix<3, 3, P>&, TooN::Vector<3, Precision>&) [with P = double; B = TooN::RowMajor]' -./TooN/SymEigen.h:425:43: required from 'void TooN::SymEigen::compute(const TooN::Matrix&) [with int R = 3; int C = 3; B = TooN::RowMajor; int Size = 3; Precision = double]' -./TooN/SymEigen.h:417:10: required from 'TooN::SymEigen::SymEigen(const TooN::Matrix&) [with int R = 3; int C = 3; B = TooN::RowMajor; int Size = 3; Precision = double]' -tests/sym_eigen.cc:35:18: required from 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 3]' -tests/sym_eigen.cc:68:13: required from 'void test_things_(int, int&, double&) [with int Size1 = 3]' -tests/sym_eigen.cc:86:18: required from here -./TooN/internal/operators.hh:645:94: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 645 | Vector::Precision>::Type> operator-(const Vector& v, const Operator& op){ - | ^~~~~~~~ +In file included from ./TooN/TooN.h:357: +./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': +./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 65 | inline Matrix<2> inv(const Matrix<2>& m) + | ^ ./TooN/sim3.h: In instantiation of 'TooN::Vector<4, typename TooN::Internal::MultiplyType::type> TooN::operator*(const Vector&, const SIM3

&) [with int S = 4; PV = const double; A = Internal::SliceVBase<1, Internal::Default, Internal::Default, Internal::Default, Internal::Default>; P = double; typename Internal::MultiplyType::type = double]': ./TooN/sim3.h:406:20: required from 'void TooN::Operator >::eval(TooN::Matrix&) const [with int R0 = 4; int C0 = 4; P0 = double; A0 = TooN::RowMajor; int Rows = 4; int C = 4; PM = double; A = TooN::RowMajor; P = double]' ./TooN/internal/matrix.hh:149:10: required from 'TooN::Matrix::Matrix(const TooN::Operator&) [with Op = TooN::Internal::MSIM3Mult<4, 4, double, TooN::RowMajor, double>; int Rows = 4; int Cols = 4; Precision = double; Layout = TooN::RowMajor]' @@ -1384,46 +1436,6 @@ ./TooN/sim3.h:347:56: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 347 | Vector<4, typename Internal::MultiplyType::type> operator*( const Vector& lhs, const SIM3

& rhs){ | ^~~~~~~~ -tests/sym_eigen.cc: In function 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 2]': -tests/sym_eigen.cc:50:62: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 50 | e = max(e, norm_inf(m * sm.get_evectors()[i] - sm.get_evalues()[i] * sm.get_evectors()[i])); - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -tests/sym_eigen.cc:52:31: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 52 | e = max(e, norm_inf(m - sm.get_evectors().T() * sm.get_evalues().as_diagonal() * sm.get_evectors())/m.num_rows()); - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./TooN/internal/operators.hh: In function 'TooN::Vector::type> TooN::operator*(const Matrix&, const Vector&) [with int R = 2; int C = 2; int Size = 2; P1 = double; P2 = double; B1 = RowMajor; B2 = Internal::SliceVBase<1, Internal::Default, Internal::Default, Internal::Default, Internal::Default>]': -./TooN/internal/operators.hh:384:57: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 384 | Vector::type> operator*(const Matrix& m, const Vector& v) - | ^~~~~~~~ -./TooN/internal/diagmatrix.h: In function 'TooN::Matrix::type> TooN::operator*(const Matrix&, const DiagonalMatrix&) [with int R = 2; int C = 2; int Size = 2; P1 = double; P2 = double; B1 = Internal::Slice<1, 2>; B2 = Internal::SliceVBase<1, double*, const double*, double&, const double&>]': -./TooN/internal/diagmatrix.h:193:1: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 193 | operator* (const Matrix& m, const DiagonalMatrix& d){ - | ^~~~~~~~ -tests/sym_eigen.cc: In function 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 3]': -tests/sym_eigen.cc:50:62: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 50 | e = max(e, norm_inf(m * sm.get_evectors()[i] - sm.get_evalues()[i] * sm.get_evectors()[i])); - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./TooN/TooN.h:347, - from ./tests/test_helper.h:1, - from tests/lu.cc:1: -./TooN/internal/make_vector.hh: In function 'TooN::Vector<1> TooN::makeVector(double)': -./TooN/internal/make_vector.hh:4:38: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 4 | inline Vector<1> makeVector(double x1){ - | ^ -./TooN/internal/make_vector.hh: In function 'TooN::Vector<2> TooN::makeVector(double, double)': -./TooN/internal/make_vector.hh:14:49: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 14 | inline Vector<2> makeVector(double x1, double x2){ - | ^ -./TooN/internal/make_vector.hh: In function 'TooN::Vector<3> TooN::makeVector(double, double, double)': -./TooN/internal/make_vector.hh:26:60: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 26 | inline Vector<3> makeVector(double x1, double x2, double x3){ - | ^ -./TooN/internal/make_vector.hh: In function 'TooN::Vector<4> TooN::makeVector(double, double, double, double)': -./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ - | ^ -tests/sym_eigen.cc: In function 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 4]': -tests/sym_eigen.cc:50:62: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 ./TooN/internal/operators.hh: In instantiation of 'TooN::Vector::Type> TooN::operator*(const Vector&, const P2&) [with int Size = 3; P1 = double; B1 = Internal::VBase; P2 = int; typename Internal::Multiply::Return::Type = double]': ./TooN/internal/operators.hh:187:15: required from 'void TooN::Operator >::eval(TooN::Vector&) const [with int S0 = 3; P0 = double; A0 = TooN::Internal::VBase; int S = 3; P = double; A = TooN::Internal::VBase]' ./TooN/internal/vector.hh:209:10: required from 'TooN::Vector::Vector(const TooN::Operator&) [with Op = TooN::Internal::VNegate<3, double, TooN::Internal::VBase>; int Size = 3; Precision = double; Base = TooN::Internal::VBase]' @@ -1433,27 +1445,10 @@ ./TooN/internal/operators.hh:520:64: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 520 | Vector::Type> operator*(const Vector& v, const P2& s){ | ^~~~~~~~ -In file included from ./TooN/TooN.h:357: -./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': -./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 65 | inline Matrix<2> inv(const Matrix<2>& m) - | ^ -In file included from ./TooN/TooN.h:333: -./TooN/internal/allocator.hh: In instantiation of 'TooN::Internal::VectorAlloc::VectorAlloc(const Precision2 (&)[Size2]) [with Precision2 = int; int Size2 = 2; int Size = 3; Precision = double]': -./TooN/internal/vbase.hh:140:8: required from 'TooN::Internal::GenericVBase::GenericVBase(const Precision2 (&)[Size2]) [with Precision2 = int; int Size2 = 2; int Size = 3; Precision = double; int Stride = 1; Mem = TooN::Internal::VectorAlloc<3, double>]' -./TooN/internal/vbase.hh:104:70: required from 'TooN::Internal::VBase::VLayout::VLayout(const Precision2 (&)[Size2]) [with Precision2 = int; int Size2 = 2; int Size = 3; Precision = double]' -./TooN/internal/vector.hh:182:48: required from 'TooN::Vector::Vector(const Precision2 (&)[Size2]) [with Precision2 = int; int Size2 = 2; int Size = 3; Precision = double; Base = TooN::Internal::VBase]' -tests/initializer_list_fail_2.cc:8:19: required from here -./TooN/internal/allocator.hh:133:36: error: static assertion failed: Wrong number of elements to initialize static vector - 133 | static_assert(Size == Size2, "Wrong number of elements to initialize static vector"); - | ~~~~~^~~~~~~~ -./TooN/internal/allocator.hh:133:36: note: the comparison reduces to '(3 == 2)' -tests/initializer_list_fail_2.test > tests/initializer_list_fail_2.testout || ( echo Crash!!! > tests/initializer_list_fail_2.testout ) tests/sim3.cc: In function 'int main()': tests/sim3.cc:38:60: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 38 | Jf.T()[i] = SIM3<>::generator_field(i, a * p).slice<0,3>(); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -awk -vname=initializer_list_fail_2 -f tests/numdiff.awk -vf1=tests/initializer_list_fail_2.testout -vf2=tests/initializer_list_fail_2.txt > tests/initializer_list_fail_2.result ./TooN/sim3.h: In member function 'TooN::SIM3 TooN::SIM3::inverse() const [with Precision = double]': ./TooN/sim3.h:88:35: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 88 | return SIM3(rinv, -(inv_scale*(rinv*get_translation())), inv_scale); @@ -1482,7 +1477,6 @@ ./TooN/functions/derivatives.h:362:96: note: parameter passing for argument of type 'std::pair' when C++17 is enabled changed to match C++14 in GCC 10.1 362 | grad[i] = extrapolate_to_zero, P>(d).first; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ -awk -vname=gauss_jordan -f tests/numdiff.awk -vf1=tests/gauss_jordan.testout -vf2=tests/gauss_jordan.txt > tests/gauss_jordan.result tests/sim3.cc: In lambda function: tests/sim3.cc:50:60: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 50 | return (SIM3<>::exp(v) * a * p)[i]; @@ -1529,84 +1523,6 @@ ./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<3, 4>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = 3; int Cols = 4; Precision = double; Layout = TooN::RowMajor]' 164 | inline Matrix& operator= (const Matrix& from) | ^~~~~~~~ -In file included from ./TooN/TooN.h:347, - from ./tests/test_helper.h:1, - from tests/determinant.cc:1: -./TooN/internal/make_vector.hh: In function 'TooN::Vector<1> TooN::makeVector(double)': -./TooN/internal/make_vector.hh:4:38: note: parameter passing for argument of type 'TooN::Vector<1>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 4 | inline Vector<1> makeVector(double x1){ - | ^ -./TooN/internal/make_vector.hh: In function 'TooN::Vector<2> TooN::makeVector(double, double)': -./TooN/internal/make_vector.hh:14:49: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 14 | inline Vector<2> makeVector(double x1, double x2){ - | ^ -./TooN/QR.h: In instantiation of 'TooN::QR::QR(const TooN::Matrix&) [with int R = -1; int C = -1; P = double; B = TooN::RowMajor; int Rows = -1; int Cols = -1; Precision = double]': -tests/qr.cc:24:5: required from 'void test() [with C = TooN::QR<>]' -tests/qr.cc:70:13: required from here -./TooN/QR.h:63:18: warning: implicitly-declared 'TooN::Matrix<>::Matrix(const TooN::Matrix<>&)' is deprecated [-Wdeprecated-copy] - 63 | :m(m_), Q(Identity(square_size())) - | ^~~~~ -./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = -1; int Cols = -1; Precision = double; Layout = TooN::RowMajor]' - 164 | inline Matrix& operator= (const Matrix& from) - | ^~~~~~~~ -./TooN/internal/make_vector.hh: In function 'TooN::Vector<3> TooN::makeVector(double, double, double)': -./TooN/internal/make_vector.hh:26:60: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 26 | inline Vector<3> makeVector(double x1, double x2, double x3){ - | ^ -./TooN/internal/make_vector.hh: In function 'TooN::Vector<4> TooN::makeVector(double, double, double, double)': -./TooN/internal/make_vector.hh:40:71: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 40 | inline Vector<4> makeVector(double x1, double x2, double x3, double x4){ - | ^ -In file included from ./TooN/TooN.h:357: -./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': -./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 65 | inline Matrix<2> inv(const Matrix<2>& m) - | ^ -tests/eigen-sqrt.test > tests/eigen-sqrt.testout || ( echo Crash!!! > tests/eigen-sqrt.testout ) -In file included from ./TooN/TooN.h:357: -./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': -./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 65 | inline Matrix<2> inv(const Matrix<2>& m) - | ^ -awk -vname=eigen-sqrt -f tests/numdiff.awk -vf1=tests/eigen-sqrt.testout -vf2=tests/eigen-sqrt.txt > tests/eigen-sqrt.result -tests/chol_toon.test > tests/chol_toon.testout || ( echo Crash!!! > tests/chol_toon.testout ) -awk -vname=chol_toon -f tests/numdiff.awk -vf1=tests/chol_toon.testout -vf2=tests/chol_toon.txt > tests/chol_toon.result -./TooN/Lapack_Cholesky.h: In instantiation of 'TooN::Lapack_Cholesky::Lapack_Cholesky(const TooN::Matrix&) [with P2 = double; B2 = TooN::RowMajor; int Size = 3; Precision = double]': -tests/chol_lapack.cc:18:30: required from here -./TooN/Lapack_Cholesky.h:77:13: warning: implicitly-declared 'constexpr TooN::Matrix<3>::Matrix(const TooN::Matrix<3>&)' is deprecated [-Wdeprecated-copy] - 77 | : my_cholesky(m), my_cholesky_lapack(m) { - | ^~~~~~~~~~~~~~ -In file included from ./TooN/TooN.h:344: -./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<3>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = 3; int Cols = 3; Precision = double; Layout = TooN::RowMajor]' - 164 | inline Matrix& operator= (const Matrix& from) - | ^~~~~~~~ -./TooN/Lapack_Cholesky.h:77:29: warning: implicitly-declared 'constexpr TooN::Matrix<3>::Matrix(const TooN::Matrix<3>&)' is deprecated [-Wdeprecated-copy] - 77 | : my_cholesky(m), my_cholesky_lapack(m) { - | ^~~~~~~~~~~~~~~~~~~~~ -./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<3>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = 3; int Cols = 3; Precision = double; Layout = TooN::RowMajor]' - 164 | inline Matrix& operator= (const Matrix& from) - | ^~~~~~~~ -./TooN/Lapack_Cholesky.h: In instantiation of 'TooN::Matrix TooN::Lapack_Cholesky::get_L() const [with int Size = 3; Precision = double]': -tests/chol_lapack.cc:25:36: required from here -./TooN/Lapack_Cholesky.h:151:24: warning: implicitly-declared 'constexpr TooN::Matrix<3>::Matrix(const TooN::Matrix<3>&)' is deprecated [-Wdeprecated-copy] - 151 | return my_cholesky; - | ^~~~~~~~~~~ -./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<3>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = 3; int Cols = 3; Precision = double; Layout = TooN::RowMajor]' - 164 | inline Matrix& operator= (const Matrix& from) - | ^~~~~~~~ -./TooN/Lapack_Cholesky.h: In instantiation of 'TooN::Matrix TooN::Lapack_Cholesky::get_L() const [with int Size = -1; Precision = float]': -tests/chol_lapack.cc:37:37: required from here -./TooN/Lapack_Cholesky.h:151:24: warning: implicitly-declared 'TooN::Matrix<-1, -1, float, TooN::RowMajor>::Matrix(const TooN::Matrix<-1, -1, float, TooN::RowMajor>&)' is deprecated [-Wdeprecated-copy] - 151 | return my_cholesky; - | ^~~~~~~~~~~ -./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<-1, -1, float, TooN::RowMajor>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = -1; int Cols = -1; Precision = float; Layout = TooN::RowMajor]' - 164 | inline Matrix& operator= (const Matrix& from) - | ^~~~~~~~ -./TooN/Lapack_Cholesky.h: In instantiation of 'TooN::Vector TooN::Lapack_Cholesky::backsub(const TooN::Vector&) const [with int Size2 = 3; P2 = double; B2 = TooN::Internal::VBase; int Size = 3; Precision = double]': -tests/chol_lapack.cc:46:25: required from here -./TooN/Lapack_Cholesky.h:120:41: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 120 | Vector backsub (const Vector& v) const { - | ^~~~~~~ In file included from ./TooN/determinant.h:32, from ./TooN/TooN.h:358: ./TooN/LU.h: In instantiation of 'TooN::Matrix TooN::LU::get_inverse() [with int Size = -1; Precision = double]': @@ -1640,30 +1556,108 @@ ./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<10, 10>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = 10; int Cols = 10; Precision = double; Layout = TooN::RowMajor]' 164 | inline Matrix& operator= (const Matrix& from) | ^~~~~~~~ -tests/sym_eigen.cc: In function 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 2]': -tests/sym_eigen.cc:50:62: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 50 | e = max(e, norm_inf(m * sm.get_evectors()[i] - sm.get_evalues()[i] * sm.get_evectors()[i])); - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -tests/sym_eigen.cc:52:55: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 52 | e = max(e, norm_inf(m - sm.get_evectors().T() * sm.get_evalues().as_diagonal() * sm.get_evectors())/m.num_rows()); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -tests/sym_eigen.cc: In function 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 4]': -tests/sym_eigen.cc:50:62: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 50 | e = max(e, norm_inf(m * sm.get_evectors()[i] - sm.get_evalues()[i] * sm.get_evectors()[i])); - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./TooN/QR.h: In instantiation of 'TooN::QR::QR(const TooN::Matrix&) [with int R = -1; int C = -1; P = double; B = TooN::RowMajor; int Rows = -1; int Cols = -1; Precision = double]': +tests/qr.cc:24:5: required from 'void test() [with C = TooN::QR<>]' +tests/qr.cc:70:13: required from here +./TooN/QR.h:63:18: warning: implicitly-declared 'TooN::Matrix<>::Matrix(const TooN::Matrix<>&)' is deprecated [-Wdeprecated-copy] + 63 | :m(m_), Q(Identity(square_size())) + | ^~~~~ +./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = -1; int Cols = -1; Precision = double; Layout = TooN::RowMajor]' + 164 | inline Matrix& operator= (const Matrix& from) + | ^~~~~~~~ +In file included from ./TooN/TooN.h:348: +./TooN/internal/operators.hh: In instantiation of 'TooN::Vector::type> TooN::operator*(const Matrix&, const Vector&) [with int R = 2; int C = 2; int Size = 2; P1 = double; P2 = double; B1 = RowMajor; B2 = Internal::SliceVBase<1, Internal::Default, Internal::Default, Internal::Default, Internal::Default>; typename Internal::MultiplyType::type = double]': +tests/sym_eigen.cc:50:25: required from 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 2]' +tests/sym_eigen.cc:68:13: required from 'void test_things_(int, int&, double&) [with int Size1 = 2]' +tests/sym_eigen.cc:85:18: required from here +./TooN/internal/operators.hh:384:57: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 384 | Vector::type> operator*(const Matrix& m, const Vector& v) + | ^~~~~~~~ +In file included from ./TooN/TooN.h:352: +./TooN/internal/diagmatrix.h: In instantiation of 'TooN::Matrix::type> TooN::operator*(const Matrix&, const DiagonalMatrix&) [with int R = 2; int C = 2; int Size = 2; P1 = double; P2 = double; B1 = Internal::Slice<1, 2>; B2 = Internal::SliceVBase<1, double*, const double*, double&, const double&>; typename Internal::MultiplyType::type = double]': +tests/sym_eigen.cc:52:48: required from 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 2]' +tests/sym_eigen.cc:68:13: required from 'void test_things_(int, int&, double&) [with int Size1 = 2]' +tests/sym_eigen.cc:85:18: required from here +./TooN/internal/diagmatrix.h:193:1: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 193 | operator* (const Matrix& m, const DiagonalMatrix& d){ + | ^~~~~~~~ +./TooN/internal/operators.hh: In instantiation of 'TooN::Vector::type> TooN::operator*(const Matrix&, const Vector&) [with int R = 3; int C = 3; int Size = 3; P1 = double; P2 = double; B1 = RowMajor; B2 = Internal::SliceVBase<1, Internal::Default, Internal::Default, Internal::Default, Internal::Default>; typename Internal::MultiplyType::type = double]': +tests/sym_eigen.cc:50:25: required from 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 3]' +tests/sym_eigen.cc:68:13: required from 'void test_things_(int, int&, double&) [with int Size1 = 3]' +tests/sym_eigen.cc:86:18: required from here +./TooN/internal/operators.hh:384:57: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 384 | Vector::type> operator*(const Matrix& m, const Vector& v) + | ^~~~~~~~ +./TooN/internal/operators.hh: In instantiation of 'TooN::Vector::type> TooN::operator*(const Matrix&, const Vector&) [with int R = 4; int C = 4; int Size = 4; P1 = double; P2 = double; B1 = RowMajor; B2 = Internal::SliceVBase<1, Internal::Default, Internal::Default, Internal::Default, Internal::Default>; typename Internal::MultiplyType::type = double]': +tests/sym_eigen.cc:50:25: required from 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 4]' +tests/sym_eigen.cc:68:13: required from 'void test_things_(int, int&, double&) [with int Size1 = 4]' +tests/sym_eigen.cc:93:18: required from here +./TooN/internal/operators.hh:384:57: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 In file included from ./TooN/TooN.h:357: ./TooN/helpers.h: In function 'TooN::Matrix<2> TooN::inv(const Matrix<2>&)': ./TooN/helpers.h:65:48: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 65 | inline Matrix<2> inv(const Matrix<2>& m) | ^ -./TooN/SymEigen.h: In static member function 'static void TooN::Internal::ComputeSymEigen<3>::compute(const TooN::Matrix<3, 3, P, B>&, TooN::Matrix<3, 3, P>&, TooN::Vector<3, Precision>&) [with P = double; B = TooN::RowMajor]': -./TooN/SymEigen.h:204:29: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 204 | ev = makeVector(A_plus_B, -A_plus_B/2 + A_minus_B * sqrt(3)/2, -A_plus_B/2 - A_minus_B * sqrt(3)/2) - Ones * a/3; - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -tests/sym_eigen.cc: In function 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 4]': -tests/sym_eigen.cc:50:39: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 - 50 | e = max(e, norm_inf(m * sm.get_evectors()[i] - sm.get_evalues()[i] * sm.get_evectors()[i])); - | ~~^~~~~~~~~~~~~~~~~~~~ +./TooN/internal/operators.hh: In instantiation of 'TooN::Matrix::type> TooN::diagmult(const Matrix&, const Vector&) [with int R = 2; int C = 2; int Size = 2; P1 = double; P2 = double; B1 = Internal::Slice<1, 2>; B2 = Internal::SliceVBase<1, double*, const double*, double&, const double&>; typename Internal::MultiplyType::type = double]': +./TooN/internal/diagmatrix.h:194:17: required from 'TooN::Matrix::type> TooN::operator*(const Matrix&, const DiagonalMatrix&) [with int R = 2; int C = 2; int Size = 2; P1 = double; P2 = double; B1 = Internal::Slice<1, 2>; B2 = Internal::SliceVBase<1, double*, const double*, double&, const double&>; typename Internal::MultiplyType::type = double]' +tests/sym_eigen.cc:52:48: required from 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 2]' +tests/sym_eigen.cc:68:13: required from 'void test_things_(int, int&, double&) [with int Size1 = 2]' +tests/sym_eigen.cc:85:18: required from here +./TooN/internal/operators.hh:440:60: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 440 | Matrix::type> diagmult(const Matrix& m, const Vector& v) + | ^~~~~~~~ +./TooN/SymEigen.h: In instantiation of 'static void TooN::Internal::ComputeSymEigen<3>::compute(const TooN::Matrix<3, 3, P, B>&, TooN::Matrix<3, 3, P>&, TooN::Vector<3, Precision>&) [with P = double; B = TooN::RowMajor]': +./TooN/SymEigen.h:425:43: required from 'void TooN::SymEigen::compute(const TooN::Matrix&) [with int R = 3; int C = 3; B = TooN::RowMajor; int Size = 3; Precision = double]' +./TooN/SymEigen.h:417:10: required from 'TooN::SymEigen::SymEigen(const TooN::Matrix&) [with int R = 3; int C = 3; B = TooN::RowMajor; int Size = 3; Precision = double]' +tests/sym_eigen.cc:35:18: required from 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 3]' +tests/sym_eigen.cc:68:13: required from 'void test_things_(int, int&, double&) [with int Size1 = 3]' +tests/sym_eigen.cc:86:18: required from here +./TooN/SymEigen.h:166:27: warning: possibly dangling reference to a temporary [-Wdangling-reference] + 166 | const double& a11 = m[0][0]; + | ^~~ +./TooN/SymEigen.h:166:37: note: the temporary was destroyed at the end of the full expression '(& m)->TooN::Matrix<3, 3, double, TooN::RowMajor>::.TooN::RowMajor::MLayout<3, 3, double>::.TooN::Internal::GenericMBase<3, 3, double, 3, 1, TooN::Internal::MatrixAlloc<3, 3, double, true> >::operator[](0).TooN::Vector<3, const double, TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default> >::.TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default>::VLayout<3, const double>::.TooN::Internal::GenericVBase<3, const double, 1, TooN::Internal::VectorSlice<3, const double, const double*, const double*, const double&, const double&> >::operator[](0)' + 166 | const double& a11 = m[0][0]; + | ~~~~^ +./TooN/SymEigen.h:167:27: warning: possibly dangling reference to a temporary [-Wdangling-reference] + 167 | const double& a12 = m[0][1]; + | ^~~ +./TooN/SymEigen.h:167:37: note: the temporary was destroyed at the end of the full expression '(& m)->TooN::Matrix<3, 3, double, TooN::RowMajor>::.TooN::RowMajor::MLayout<3, 3, double>::.TooN::Internal::GenericMBase<3, 3, double, 3, 1, TooN::Internal::MatrixAlloc<3, 3, double, true> >::operator[](0).TooN::Vector<3, const double, TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default> >::.TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default>::VLayout<3, const double>::.TooN::Internal::GenericVBase<3, const double, 1, TooN::Internal::VectorSlice<3, const double, const double*, const double*, const double&, const double&> >::operator[](1)' + 167 | const double& a12 = m[0][1]; + | ~~~~^ +./TooN/SymEigen.h:168:27: warning: possibly dangling reference to a temporary [-Wdangling-reference] + 168 | const double& a13 = m[0][2]; + | ^~~ +./TooN/SymEigen.h:168:37: note: the temporary was destroyed at the end of the full expression '(& m)->TooN::Matrix<3, 3, double, TooN::RowMajor>::.TooN::RowMajor::MLayout<3, 3, double>::.TooN::Internal::GenericMBase<3, 3, double, 3, 1, TooN::Internal::MatrixAlloc<3, 3, double, true> >::operator[](0).TooN::Vector<3, const double, TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default> >::.TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default>::VLayout<3, const double>::.TooN::Internal::GenericVBase<3, const double, 1, TooN::Internal::VectorSlice<3, const double, const double*, const double*, const double&, const double&> >::operator[](2)' + 168 | const double& a13 = m[0][2]; + | ~~~~^ +./TooN/SymEigen.h:170:27: warning: possibly dangling reference to a temporary [-Wdangling-reference] + 170 | const double& a22 = m[1][1]; + | ^~~ +./TooN/SymEigen.h:170:37: note: the temporary was destroyed at the end of the full expression '(& m)->TooN::Matrix<3, 3, double, TooN::RowMajor>::.TooN::RowMajor::MLayout<3, 3, double>::.TooN::Internal::GenericMBase<3, 3, double, 3, 1, TooN::Internal::MatrixAlloc<3, 3, double, true> >::operator[](1).TooN::Vector<3, const double, TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default> >::.TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default>::VLayout<3, const double>::.TooN::Internal::GenericVBase<3, const double, 1, TooN::Internal::VectorSlice<3, const double, const double*, const double*, const double&, const double&> >::operator[](1)' + 170 | const double& a22 = m[1][1]; + | ~~~~^ +./TooN/SymEigen.h:171:27: warning: possibly dangling reference to a temporary [-Wdangling-reference] + 171 | const double& a23 = m[1][2]; + | ^~~ +./TooN/SymEigen.h:171:37: note: the temporary was destroyed at the end of the full expression '(& m)->TooN::Matrix<3, 3, double, TooN::RowMajor>::.TooN::RowMajor::MLayout<3, 3, double>::.TooN::Internal::GenericMBase<3, 3, double, 3, 1, TooN::Internal::MatrixAlloc<3, 3, double, true> >::operator[](1).TooN::Vector<3, const double, TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default> >::.TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default>::VLayout<3, const double>::.TooN::Internal::GenericVBase<3, const double, 1, TooN::Internal::VectorSlice<3, const double, const double*, const double*, const double&, const double&> >::operator[](2)' + 171 | const double& a23 = m[1][2]; + | ~~~~^ +./TooN/SymEigen.h:173:27: warning: possibly dangling reference to a temporary [-Wdangling-reference] + 173 | const double& a33 = m[2][2]; + | ^~~ +./TooN/SymEigen.h:173:37: note: the temporary was destroyed at the end of the full expression '(& m)->TooN::Matrix<3, 3, double, TooN::RowMajor>::.TooN::RowMajor::MLayout<3, 3, double>::.TooN::Internal::GenericMBase<3, 3, double, 3, 1, TooN::Internal::MatrixAlloc<3, 3, double, true> >::operator[](2).TooN::Vector<3, const double, TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default> >::.TooN::Internal::SliceVBase<1, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default, TooN::Internal::Default>::VLayout<3, const double>::.TooN::Internal::GenericVBase<3, const double, 1, TooN::Internal::VectorSlice<3, const double, const double*, const double*, const double&, const double&> >::operator[](2)' + 173 | const double& a33 = m[2][2]; + | ~~~~^ +./TooN/internal/operators.hh: In instantiation of 'TooN::Vector::Precision>::Type> TooN::operator-(const Vector&, const Operator&) [with int Size = 3; P1 = double; B1 = Internal::VBase; Op = Internal::Scalars; typename Internal::Subtract::Return::Precision>::Type = double; typename Operator::Precision = double]': +./TooN/SymEigen.h:204:114: required from 'static void TooN::Internal::ComputeSymEigen<3>::compute(const TooN::Matrix<3, 3, P, B>&, TooN::Matrix<3, 3, P>&, TooN::Vector<3, Precision>&) [with P = double; B = TooN::RowMajor]' +./TooN/SymEigen.h:425:43: required from 'void TooN::SymEigen::compute(const TooN::Matrix&) [with int R = 3; int C = 3; B = TooN::RowMajor; int Size = 3; Precision = double]' +./TooN/SymEigen.h:417:10: required from 'TooN::SymEigen::SymEigen(const TooN::Matrix&) [with int R = 3; int C = 3; B = TooN::RowMajor; int Size = 3; Precision = double]' +tests/sym_eigen.cc:35:18: required from 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 3]' +tests/sym_eigen.cc:68:13: required from 'void test_things_(int, int&, double&) [with int Size1 = 3]' +tests/sym_eigen.cc:86:18: required from here +./TooN/internal/operators.hh:645:94: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 645 | Vector::Precision>::Type> operator-(const Vector& v, const Operator& op){ + | ^~~~~~~~ In file included from ./TooN/TooN.h:358: ./TooN/determinant.h: In instantiation of 'Precision TooN::determinant_gaussian_elimination(const Matrix&) [with int R = 2; int C = 2; Precision = double; Base = RowMajor]': tests/determinant.cc:5:88: required from here @@ -1714,6 +1708,29 @@ ./TooN/internal/matrix.hh:164:24: note: because 'TooN::Matrix<6>' has user-provided 'TooN::Matrix& TooN::Matrix::operator=(const TooN::Matrix&) [with int Rows = 6; int Cols = 6; Precision = double; Layout = TooN::RowMajor]' 164 | inline Matrix& operator= (const Matrix& from) | ^~~~~~~~ +tests/sym_eigen.cc: In function 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 2]': +tests/sym_eigen.cc:50:62: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 50 | e = max(e, norm_inf(m * sm.get_evectors()[i] - sm.get_evalues()[i] * sm.get_evectors()[i])); + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +tests/sym_eigen.cc:52:31: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 52 | e = max(e, norm_inf(m - sm.get_evectors().T() * sm.get_evalues().as_diagonal() * sm.get_evectors())/m.num_rows()); + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./TooN/internal/operators.hh: In function 'TooN::Vector::type> TooN::operator*(const Matrix&, const Vector&) [with int R = 2; int C = 2; int Size = 2; P1 = double; P2 = double; B1 = RowMajor; B2 = Internal::SliceVBase<1, Internal::Default, Internal::Default, Internal::Default, Internal::Default>]': +./TooN/internal/operators.hh:384:57: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 384 | Vector::type> operator*(const Matrix& m, const Vector& v) + | ^~~~~~~~ +./TooN/internal/diagmatrix.h: In function 'TooN::Matrix::type> TooN::operator*(const Matrix&, const DiagonalMatrix&) [with int R = 2; int C = 2; int Size = 2; P1 = double; P2 = double; B1 = Internal::Slice<1, 2>; B2 = Internal::SliceVBase<1, double*, const double*, double&, const double&>]': +./TooN/internal/diagmatrix.h:193:1: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 193 | operator* (const Matrix& m, const DiagonalMatrix& d){ + | ^~~~~~~~ +tests/sym_eigen.cc: In function 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 3]': +tests/sym_eigen.cc:50:62: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 50 | e = max(e, norm_inf(m * sm.get_evectors()[i] - sm.get_evalues()[i] * sm.get_evectors()[i])); + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +tests/sym_eigen.cc: In function 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 4]': +tests/sym_eigen.cc:50:62: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 +tests/eigen-sqrt.test > tests/eigen-sqrt.testout || ( echo Crash!!! > tests/eigen-sqrt.testout ) +awk -vname=eigen-sqrt -f tests/numdiff.awk -vf1=tests/eigen-sqrt.testout -vf2=tests/eigen-sqrt.txt > tests/eigen-sqrt.result tests/sim3.cc: In function 'int main()': tests/sim3.cc:38:60: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 38 | Jf.T()[i] = SIM3<>::generator_field(i, a * p).slice<0,3>(); @@ -1808,12 +1825,34 @@ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/lu.test > tests/lu.testout || ( echo Crash!!! > tests/lu.testout ) awk -vname=lu -f tests/numdiff.awk -vf1=tests/lu.testout -vf2=tests/lu.txt > tests/lu.result -tests/qr.test > tests/qr.testout || ( echo Crash!!! > tests/qr.testout ) tests/chol_lapack.test > tests/chol_lapack.testout || ( echo Crash!!! > tests/chol_lapack.testout ) awk -vname=chol_lapack -f tests/numdiff.awk -vf1=tests/chol_lapack.testout -vf2=tests/chol_lapack.txt > tests/chol_lapack.result +tests/sym_eigen.cc: In function 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 2]': +tests/sym_eigen.cc:50:62: note: parameter passing for argument of type 'TooN::Vector<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 50 | e = max(e, norm_inf(m * sm.get_evectors()[i] - sm.get_evalues()[i] * sm.get_evectors()[i])); + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +tests/sym_eigen.cc:52:55: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 52 | e = max(e, norm_inf(m - sm.get_evectors().T() * sm.get_evalues().as_diagonal() * sm.get_evectors())/m.num_rows()); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +tests/sym_eigen.cc: In function 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 4]': +tests/sym_eigen.cc:50:62: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 50 | e = max(e, norm_inf(m * sm.get_evectors()[i] - sm.get_evalues()[i] * sm.get_evectors()[i])); + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./TooN/SymEigen.h: In static member function 'static void TooN::Internal::ComputeSymEigen<3>::compute(const TooN::Matrix<3, 3, P, B>&, TooN::Matrix<3, 3, P>&, TooN::Vector<3, Precision>&) [with P = double; B = TooN::RowMajor]': +./TooN/SymEigen.h:204:29: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 204 | ev = makeVector(A_plus_B, -A_plus_B/2 + A_minus_B * sqrt(3)/2, -A_plus_B/2 - A_minus_B * sqrt(3)/2) - Ones * a/3; + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +tests/sym_eigen.cc: In function 'void test_matrix(const TooN::Matrix&, int&, double&) [with int Size1 = 4]': +tests/sym_eigen.cc:50:39: note: parameter passing for argument of type 'TooN::Vector<4>' when C++17 is enabled changed to match C++14 in GCC 10.1 + 50 | e = max(e, norm_inf(m * sm.get_evectors()[i] - sm.get_evalues()[i] * sm.get_evectors()[i])); + | ~~^~~~~~~~~~~~~~~~~~~~ +tests/qr.test > tests/qr.testout || ( echo Crash!!! > tests/qr.testout ) tests/sim3.test > tests/sim3.testout || ( echo Crash!!! > tests/sim3.testout ) awk -vname=sim3 -f tests/numdiff.awk -vf1=tests/sim3.testout -vf2=tests/sim3.txt > tests/sim3.result awk -vname=qr -f tests/numdiff.awk -vf1=tests/qr.testout -vf2=tests/qr.txt > tests/qr.result +tests/determinant.test > tests/determinant.testout || ( echo Crash!!! > tests/determinant.testout ) +awk -vname=determinant -f tests/numdiff.awk -vf1=tests/determinant.testout -vf2=tests/determinant.txt > tests/determinant.result +awk -vname=gaussian_elimination -f tests/numdiff.awk -vf1=tests/gaussian_elimination.testout -vf2=tests/gaussian_elimination.txt > tests/gaussian_elimination.result ./TooN/internal/operators.hh: In function 'TooN::Matrix::type> TooN::operator*(const Matrix&, const Matrix&) [with int R1 = 2; int C1 = 2; int R2 = 2; int C2 = 2; P1 = double; P2 = double; B1 = RowMajor; B2 = RowMajor]': ./TooN/internal/operators.hh:335:63: note: parameter passing for argument of type 'TooN::Matrix<2>' when C++17 is enabled changed to match C++14 in GCC 10.1 335 | Matrix::type> operator*(const Matrix& m1, const Matrix& m2) @@ -1829,9 +1868,6 @@ ./TooN/SymEigen.h:204:114: note: parameter passing for argument of type 'TooN::Vector<3>' when C++17 is enabled changed to match C++14 in GCC 10.1 204 | ev = makeVector(A_plus_B, -A_plus_B/2 + A_minus_B * sqrt(3)/2, -A_plus_B/2 - A_minus_B * sqrt(3)/2) - Ones * a/3; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -tests/determinant.test > tests/determinant.testout || ( echo Crash!!! > tests/determinant.testout ) -awk -vname=determinant -f tests/numdiff.awk -vf1=tests/determinant.testout -vf2=tests/determinant.txt > tests/determinant.result -awk -vname=gaussian_elimination -f tests/numdiff.awk -vf1=tests/gaussian_elimination.testout -vf2=tests/gaussian_elimination.txt > tests/gaussian_elimination.result tests/sym_eigen.test > tests/sym_eigen.testout || ( echo Crash!!! > tests/sym_eigen.testout ) awk -vname=sym_eigen -f tests/numdiff.awk -vf1=tests/sym_eigen.testout -vf2=tests/sym_eigen.txt > tests/sym_eigen.result cat tests/slice.result tests/vector_resize.result tests/gauss_jordan.result tests/chol_toon.result tests/fill.result tests/so3.result tests/complex.result tests/gr_svd.result tests/diagonal_matrix.result tests/gaussian_elimination.result tests/zeros.result tests/swap.result tests/initializer_list.result tests/initializer_list_fail_1.result tests/initializer_list_fail_2.result tests/sim3.result tests/eigen-sqrt.result tests/chol_lapack.result tests/sym_eigen.result tests/qr.result tests/lu.result tests/determinant.result > tests/results @@ -1859,7 +1895,7 @@ lu Passed determinant Passed make[1]: Leaving directory '/build/reproducible-path/toon-0.0~git20220106104723.370dcd9' - rm -fr -- /tmp/dh-xdg-rundir-gvVHzl_b + rm -fr -- /tmp/dh-xdg-rundir-qc5fkGpZ create-stamp debian/debhelper-build-stamp dh_prep rm -f -- debian/libtoon-dev.substvars @@ -1927,12 +1963,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/1496505/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1496505/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/1171395 and its subdirectories -I: Current time: Sat May 11 08:30:59 -12 2024 -I: pbuilder-time-stamp: 1715459459 +I: removing directory /srv/workspace/pbuilder/1496505 and its subdirectories +I: Current time: Sat Jun 14 16:54:51 +14 2025 +I: pbuilder-time-stamp: 1749869691